task_detail_wai.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  1. <template>
  2. <view :class="showAutograph?'indexFixed container':'container '" >
  3. <view class="detail-desc">
  4. <view class="d-header">
  5. <text>派车单</text>
  6. </view>
  7. <view class="c-list">
  8. <view class="c-row b-b">
  9. <text class="tit">派车单号</text>
  10. <view class="con-list">
  11. <text>{{purchaseInfo.sendCarNo}}</text>
  12. </view>
  13. </view>
  14. <view class="c-row b-b">
  15. <text class="tit">出发地</text>
  16. <view class="con-list">
  17. <text>{{purchaseInfo.startPlace}}</text>
  18. </view>
  19. </view>
  20. <view class="c-row b-b">
  21. <text class="tit">目的地</text>
  22. <view class="con-list">
  23. <text>{{purchaseInfo.endPlace}}</text>
  24. </view>
  25. </view>
  26. <view class="c-row b-b">
  27. <text class="tit">车牌号</text>
  28. <view class="con-list">
  29. <text>{{purchaseInfo.carNo}}</text>
  30. </view>
  31. </view>
  32. <view class="c-row b-b">
  33. <text class="tit">司机</text>
  34. <view class="con-list">
  35. <text>{{purchaseInfo.driver}}</text>
  36. </view>
  37. </view>
  38. <view class="c-row b-b">
  39. <text class="tit">司机电话</text>
  40. <view class="con-list">
  41. <text>{{purchaseInfo.driverPhone}}</text>
  42. </view>
  43. </view>
  44. <view class="c-row b-b">
  45. <text class="tit">运价</text>
  46. <view class="con-list">
  47. <text>{{purchaseInfo.price}}</text>
  48. </view>
  49. </view>
  50. <view class="c-row b-b">
  51. <text class="tit">发运净重</text>
  52. <view class="con-list">
  53. <text>{{purchaseInfo.netWeight}}</text>
  54. </view>
  55. </view>
  56. <view v-if='purchaseInfo.num' class="c-row b-b">
  57. <text class="tit">任务量</text>
  58. <view class="con-list">
  59. <text>{{numFilter(purchaseInfo.num)}}</text>
  60. </view>
  61. </view>
  62. </view>
  63. <view class="d-header">
  64. <text>入库数据</text>
  65. </view>
  66. <view class="c-list">
  67. <view class="c-row b-b">
  68. <text class="tit">毛重(吨)</text>
  69. <view class="con-list">
  70. <input placeholder="请填写毛重" name="input" v-model="grossWeight" @input="grossWeightInput"></input>
  71. </view>
  72. </view>
  73. <view class="c-row b-b">
  74. <text class="tit">皮重(吨)</text>
  75. <view class="con-list">
  76. <input placeholder="请填写皮重" name="input" v-model="skinWeight" @input="skinWeightInput"></input>
  77. </view>
  78. </view>
  79. <view class="c-row b-b">
  80. <text class="tit">净重(自动计算)</text>
  81. <view class="con-list">
  82. <text>{{numFilter(netWeight)}}</text>
  83. </view>
  84. </view>
  85. <view class="cu-bar bg-white ">
  86. <view class="action">
  87. 磅单照片
  88. </view>
  89. </view>
  90. <view class="cu-form-group">
  91. <view class="grid col-2 grid-square flex-sub">
  92. <view class="bg-img" v-if="poundImg != ''" @tap="ViewImage" :data-url="poundImg">
  93. <image :src="poundImg" mode="aspectFit"></image>
  94. <view class="cu-tag bg-red" @tap.stop="DelImg" >
  95. <text class='cuIcon-close'></text>
  96. </view>
  97. </view>
  98. <view class="solids" @tap="ChooseImage" v-if="poundImg == ''">
  99. <text class='cuIcon-cameraadd'></text>
  100. </view>
  101. </view>
  102. </view>
  103. </view>
  104. <view class="d-header">
  105. <text>到货粮质</text>
  106. </view>
  107. <view class="c-list">
  108. <view class="c-row b-b">
  109. <text class="tit">水分(%){{'<='}}</text>
  110. <view class="con-list">
  111. <input placeholder="请填写水分" name="input" v-model="waterContent" @input="waterContentInput"></input>
  112. </view>
  113. </view>
  114. <view class="c-row b-b">
  115. <text class="tit">容重(克/升){{'>='}}</text>
  116. <view class="con-list">
  117. <input placeholder="请填写容重" name="input" v-model="bulkDensity" @input="bulkDensityInput"></input>
  118. </view>
  119. </view>
  120. <view class="c-row b-b">
  121. <text class="tit">焦糊粒(%){{'<='}}</text>
  122. <view class="con-list">
  123. <input placeholder="请填写焦糊粒" name="input" v-model="burnt" @input="burntInput"></input>
  124. </view>
  125. </view>
  126. <view class="c-row b-b">
  127. <text class="tit">霉变粒(%){{'<='}}</text>
  128. <view class="con-list">
  129. <input placeholder="请填写霉变" name="input" v-model="moldy" @input="moldyInput"></input>
  130. </view>
  131. </view>
  132. </view>
  133. </view>
  134. <view class="cu-modal" :class="modalName=='inModal'?'show':''" @tap="hideModal">
  135. <scroll-view scroll-y class="cu-dialog" :style="userStyle" @tap.stop="">
  136. <view class="cu-list menu text-center" >
  137. <view class="cu-item" v-for="(item,index) in userList" :key="index" @click="selectInPerson(item)">
  138. <label class="flex justify-between align-center flex-sub">
  139. <view class="flex-sub">{{item.userName}}</view>
  140. </label>
  141. </view>
  142. </view>
  143. </scroll-view>
  144. </view>
  145. <view class="cu-modal" :class="modalName=='userModal'?'show':''" @tap="hideModal">
  146. <scroll-view scroll-y class="cu-dialog" :style="userStyle" @tap.stop="">
  147. <view class="cu-list menu text-center" >
  148. <view class="cu-item" v-for="(item,index) in userList" :key="index" @click="mygaipai(item.id)">
  149. <label class="flex justify-between align-center flex-sub">
  150. <view class="flex-sub">{{item.userName}}</view>
  151. </label>
  152. </view>
  153. </view>
  154. </scroll-view>
  155. </view>
  156. <view v-if="taskStatus == 1" class="page-bottom">
  157. <view class="action-btn-group">
  158. <button type="primary" class=" action-btn no-border buy-now-btn" @click="save">保存</button>
  159. <button type="primary" class=" action-btn no-border add-cart-btn" @click="finish">完成</button>
  160. <button type="primary" class=" action-btn no-border add-cart-btn" @click="gaipai">改派</button>
  161. </view>
  162. </view>
  163. </view>
  164. </template>
  165. <script>
  166. import uploadImage from '@/components/ossutil/uploadFile.js';
  167. import Handwriting from '@/components/ossutil/signature.js';
  168. import {
  169. mapState
  170. } from 'vuex';
  171. export default {
  172. data() {
  173. return {
  174. purchaseInfo:[],
  175. poundImg:'',
  176. grossWeight:'',
  177. skinWeight:'',
  178. netWeight:'',
  179. taskStatus:'',
  180. userStyle:'',
  181. modalName:'',
  182. userList:[],
  183. inPersonName:'',
  184. inPersonId:'',
  185. taskType:'',
  186. ctx: [], //绘图图像
  187. points: [], //路径点集合
  188. signature: '',
  189. taskId:'',
  190. waterContent:'',
  191. bulkDensity:'',
  192. burnt:'',
  193. moldy:'',
  194. goodsValue:'',
  195. addNumStatus:false,
  196. wechatNo:'',
  197. lineColor:'black',
  198. slideValue:50,
  199. handwriting:'',
  200. selectColor:'black',
  201. color:'',
  202. };
  203. },
  204. computed: {
  205. ...mapState(['hasLogin','userInfo'])
  206. },
  207. onShow() {
  208. },
  209. onLoad(options) {
  210. const that = this
  211. this.taskStatus = options.taskStatus
  212. this.taskType = options.taskType
  213. this.taskId = options.taskId
  214. uni.showLoading({
  215. title: '正在加载',
  216. mask:true
  217. })
  218. that.$api.request('tran', 'getPurchaseInfoBySendCarNo', {
  219. purchaseNo: options.sendCarNo
  220. }, failres => {
  221. that.$api.msg(failres.errmsg)
  222. uni.hideLoading()
  223. }).then(res => {
  224. that.purchaseInfo = res.data
  225. that.inPersonName = res.data.receiver
  226. that.grossWeight = that.purchaseInfo.grossWeightRec
  227. that.skinWeight = that.purchaseInfo.skinWeightRec
  228. that.netWeight = that.purchaseInfo.netWeightRec
  229. that.poundImg = that.purchaseInfo.poundImgRec
  230. that.waterContent = that.purchaseInfo.waterContentRec
  231. that.bulkDensity = that.purchaseInfo.bulkDensityRec
  232. that.burnt = that.purchaseInfo.burntRec
  233. that.moldy = that.purchaseInfo.moldyRec
  234. uni.hideLoading()
  235. })
  236. },
  237. onReady(){
  238. },
  239. methods: {
  240. numFilter (value) {
  241. if(!value){
  242. return 0
  243. }
  244. // 截取当前数据到小数点后两位
  245. let realVal = parseFloat(value).toFixed(2)
  246. return realVal
  247. },
  248. uploadScaleStart(event){
  249. this.handwriting.uploadScaleStart(event)
  250. },
  251. uploadScaleMove(event){
  252. this.handwriting.uploadScaleMove(event)
  253. },
  254. uploadScaleEnd(event){
  255. this.handwriting.uploadScaleEnd(event)
  256. },
  257. retDraw() {
  258. this.handwriting.retDraw()
  259. },
  260. selectInPerson(item){
  261. this.inPersonId = item.id
  262. this.inPersonName = item.userName
  263. this.modalName = null
  264. },
  265. hideModal(e) {
  266. this.modalName = null
  267. },
  268. ViewImage(e) {
  269. var img = [];
  270. img = e.currentTarget.dataset.url.split(' ')
  271. uni.previewImage({
  272. current:0,
  273. urls: img
  274. });
  275. },
  276. ViewSignImage(e) {
  277. let imgsArray = [];
  278. imgsArray[0] = e.currentTarget.dataset.url;
  279. uni.previewImage({
  280. current: 0,
  281. urls: imgsArray,
  282. });
  283. },
  284. DelImg(e) {
  285. uni.showModal({
  286. title: '提示',
  287. content: '确定要删除该磅单照片吗?',
  288. cancelText: '取消',
  289. confirmText: '确定',
  290. success: res => {
  291. if (res.confirm) {
  292. this.poundImg = "";
  293. }
  294. }
  295. })
  296. },
  297. ChooseImage() {
  298. uni.chooseImage({
  299. count: 1, //默认9
  300. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  301. sourceType: ['album','camera'], //从相册选择
  302. success: (res) => {
  303. //上传图片
  304. //图片路径可自行修改
  305. uploadImage(res.tempFilePaths[0], 'carNoImg/',
  306. result => {
  307. this.poundImg = result
  308. uni.hideLoading();
  309. }
  310. )
  311. }
  312. });
  313. },
  314. waterContentInput(e){
  315. this.waterContent = e.detail.value
  316. },
  317. bulkDensityInput(e){
  318. this.bulkDensity = e.detail.value
  319. },
  320. burntInput(e){
  321. this.burnt = e.detail.value
  322. },
  323. moldyInput(e){
  324. this.moldy = e.detail.value
  325. },
  326. grossWeightInput(e) {
  327. this.grossWeight = e.detail.value
  328. if(this.grossWeight && this.skinWeight){
  329. this.netWeight = this.numFilter(this.grossWeight - this.skinWeight)
  330. if(this.netWeight > this.purchaseInfo.num){
  331. this.addNumStatus = true
  332. }
  333. }
  334. },
  335. skinWeightInput(e) {
  336. this.skinWeight = e.detail.value
  337. if(this.grossWeight && this.skinWeight){
  338. this.netWeight = this.numFilter(this.grossWeight - this.skinWeight)
  339. if(this.netWeight > this.purchaseInfo.num){
  340. this.addNumStatus = true
  341. }
  342. else{
  343. this.addNumStatus = false
  344. }
  345. }
  346. },
  347. save(){
  348. const that = this
  349. uni.showLoading({
  350. title: '正在加载',
  351. mask:true
  352. })
  353. that.$api.request('tran', 'savePurchaseWaiInfo', {
  354. purchaseNo: that.purchaseInfo.sendCarNo,
  355. grossWeightRec:!that.grossWeight?'':that.grossWeight,
  356. skinWeightRec:!that.skinWeight?'':that.skinWeight,
  357. netWeightRec:!that.netWeight?'':that.netWeight,
  358. poundImgRec:!that.poundImg?'':that.poundImg,
  359. waterContentRec:!that.waterContent?'':that.waterContent,
  360. bulkDensityRec:!that.bulkDensity?'':that.bulkDensity,
  361. burntRec:!that.burnt?'':that.burnt,
  362. moldyRec:!that.moldy?'':that.moldy,
  363. taskType:that.taskType,
  364. }, failres => {
  365. that.$api.msg(failres.errmsg)
  366. uni.hideLoading()
  367. }).then(res => {
  368. that.$api.msg('保存成功')
  369. uni.hideLoading()
  370. })
  371. },
  372. finish(){
  373. const that = this
  374. if(!that.grossWeight){
  375. this.$api.msg('请填写毛重');
  376. return;
  377. }
  378. if(!that.skinWeight){
  379. this.$api.msg('请填写皮重');
  380. return;
  381. }
  382. if(!that.poundImg){
  383. this.$api.msg('请上传磅单照片');
  384. return;
  385. }
  386. if (!that.waterContent) {
  387. that.$api.msg('请填写水分');
  388. return
  389. }
  390. if (!that.bulkDensity) {
  391. that.$api.msg('请填写容重');
  392. return
  393. }
  394. uni.showLoading({
  395. title: '正在加载',
  396. mask:true
  397. })
  398. that.$api.request('tran', 'finishPurchaseWaiInfo', {
  399. purchaseNo: that.purchaseInfo.sendCarNo,
  400. grossWeightRec:that.grossWeight,
  401. skinWeightRec:that.skinWeight,
  402. netWeightRec:that.netWeight,
  403. poundImgRec:that.poundImg,
  404. waterContentRec:!that.waterContent?'':that.waterContent,
  405. bulkDensityRec:!that.bulkDensity?'':that.bulkDensity,
  406. burntRec:!that.burnt?'':that.burnt,
  407. moldyRec:!that.moldy?'':that.moldy,
  408. taskId:that.taskId
  409. }, failres => {
  410. that.$api.msg(failres.errmsg)
  411. uni.hideLoading()
  412. }).then(res => {
  413. uni.hideLoading()
  414. that.$api.msg('完成成功')
  415. setTimeout(()=>{uni.navigateBack({
  416. delta: 1
  417. })},1000);
  418. })
  419. },
  420. selectPerson(){
  421. const that = this
  422. uni.showLoading({
  423. title: '正在加载',
  424. mask:true
  425. })
  426. that.$api.request('user', 'getUserList', {
  427. role:'外勤'
  428. }, failres => {
  429. that.$api.msg(failres.errmsg)
  430. uni.hideLoading()
  431. }).then(res => {
  432. that.userList = res.data
  433. if(that.userList.length == 0){
  434. that.$api.msg('暂无外勤信息')
  435. }
  436. else{
  437. var height = that.userList.length * 100
  438. var width = 500
  439. that.userStyle = "height:"+height+"rpx;width:" + width+"rpx"
  440. that.modalName = 'inModal'
  441. }
  442. uni.hideLoading()
  443. })
  444. },
  445. gaipai(){
  446. const that = this
  447. uni.showLoading({
  448. title: '正在加载',
  449. mask:true
  450. })
  451. that.$api.request('user', 'getUserList', {
  452. role:'外勤'
  453. }, failres => {
  454. that.$api.msg(failres.errmsg)
  455. uni.hideLoading()
  456. }).then(res => {
  457. that.userList = res.data
  458. if(that.userList.length == 0){
  459. that.$api.msg('暂无外勤信息')
  460. }
  461. else{
  462. var height = that.userList.length * 100
  463. var width = 500
  464. that.userStyle = "height:"+height+"rpx;width:" + width+"rpx"
  465. that.modalName = 'userModal'
  466. }
  467. uni.hideLoading()
  468. })
  469. },
  470. mygaipai(id){
  471. var that = this
  472. that.$api.request('tran', 'gaipai',{
  473. taskId: that.taskId,
  474. outPersonId:id,
  475. taskType:that.taskType
  476. },failres => {
  477. that.$api.msg(failres.errmsg)
  478. that.modalName = null
  479. uni.hideLoading()
  480. }).then(res => {
  481. that.modalName = null
  482. setTimeout(()=>{uni.navigateBack({
  483. delta: 2
  484. })},1000);
  485. uni.hideLoading()
  486. })
  487. },
  488. },
  489. }
  490. </script>
  491. <style lang='scss' scoped="true">
  492. .container{
  493. padding-bottom: 160upx;
  494. }
  495. .detail-desc {
  496. background: #fff;
  497. margin-top: 16upx;
  498. width: 750upx;
  499. .d-header {
  500. display: flex;
  501. justify-content: center;
  502. align-items: center;
  503. height: 80upx;
  504. font-size: $font-base + 2upx;
  505. color: $font-color-dark;
  506. position: relative;
  507. text {
  508. padding: 0 20upx;
  509. background: #fff;
  510. position: relative;
  511. z-index: 1;
  512. }
  513. &:after {
  514. position: absolute;
  515. left: 50%;
  516. top: 50%;
  517. transform: translateX(-50%);
  518. width: 300upx;
  519. height: 0;
  520. content: '';
  521. border-bottom: 1px solid #ccc;
  522. }
  523. }
  524. }
  525. .c-list {
  526. font-size: $font-sm + 2upx;
  527. color: $font-color-base;
  528. background: #fff;
  529. .c-row {
  530. display: flex;
  531. align-items: center;
  532. padding: 20upx 30upx;
  533. position: relative;
  534. }
  535. .tit {
  536. width: 220upx;
  537. }
  538. .con {
  539. flex: 1;
  540. color: $font-color-dark;
  541. .selected-text {
  542. margin-right: 10upx;
  543. }
  544. }
  545. .bz-list {
  546. height: 40upx;
  547. font-size: $font-sm+2upx;
  548. color: $font-color-dark;
  549. text {
  550. display: inline-block;
  551. margin-right: 30upx;
  552. }
  553. }
  554. .con-list {
  555. flex: 1;
  556. display: flex;
  557. flex-direction: column;
  558. color: $font-color-dark;
  559. line-height: 40upx;
  560. text-align: right;
  561. padding-right: 20upx;
  562. }
  563. .red {
  564. color: $uni-color-primary;
  565. }
  566. }
  567. /* 底部操作菜单 */
  568. .page-bottom {
  569. .action-btn-group {
  570. .action-btn {
  571. width: 33.3333%;
  572. }
  573. }
  574. }
  575. @mixin playcenter {
  576. display: flex;
  577. align-items: center;
  578. justify-content: center;
  579. }
  580. .xsh-start {
  581. width: 105rpx;
  582. height: 105rpx;
  583. background: #FFFFFF;
  584. border-radius: 50%;
  585. font-size: 29rpx;
  586. color: #4135EB;
  587. @include playcenter;
  588. flex-wrap: wrap;
  589. }
  590. .x-modal {
  591. width: 100%;
  592. .x-m-title {
  593. width: 100%;
  594. height: 90rpx;
  595. padding: 0 38rpx 0 31rpx;
  596. box-sizing: border-box;
  597. font-size: 29rpx;
  598. color: #333333;
  599. border-bottom: 1px dashed #999;
  600. @include playcenter;
  601. justify-content: space-between;
  602. .xm-t-clear {
  603. font-size: 25rpx;
  604. color: #341DB7;
  605. @include playcenter;
  606. >image {
  607. width: 28rpx;
  608. height: 28rpx;
  609. display: block;
  610. margin-right: 8rpx;
  611. }
  612. }
  613. }
  614. .x-m-con {
  615. width: 100%;
  616. padding: 0 31rpx 18rpx;
  617. margin-top: 5rpx;
  618. box-sizing: border-box;
  619. }
  620. }
  621. .wrapper {
  622. width: 100%;
  623. height: 100%;
  624. margin: 30upx 0;
  625. overflow: hidden;
  626. display: flex;
  627. align-content: center;
  628. flex-direction: column;
  629. justify-content: center;
  630. font-size: 28upx;
  631. }
  632. .handWriting {
  633. background: #fff;
  634. width: 100%;
  635. height: 350upx;
  636. }
  637. .handRight {
  638. align-items: center;
  639. }
  640. .handCenter {
  641. border: 4upx dashed #e9e9e9;
  642. flex: 5;
  643. overflow: hidden;
  644. box-sizing: border-box;
  645. width: 90%;
  646. margin: 0 auto;
  647. }
  648. .handTitle {
  649. flex: 1;
  650. color: #666;
  651. justify-content: center;
  652. font-size: 30upx;
  653. }
  654. .handBtn {
  655. flex-direction: column;
  656. padding: 40upx 20upx;
  657. }
  658. .buttons{
  659. width: 100%;
  660. margin-top: 20upx;
  661. justify-content: space-between;
  662. }
  663. .buttons>button{
  664. font-size: 30upx;
  665. height: 80upx;
  666. }
  667. .delBtn {
  668. background: #23df02;
  669. color: #fff;
  670. }
  671. .color{
  672. align-items: center;
  673. }
  674. .color>text{
  675. margin-right: 20upx;
  676. }
  677. .subBtn {
  678. background: #008ef6;
  679. color: #fff;
  680. text-align: center;
  681. justify-content: center;
  682. }
  683. .black-select {
  684. width: 60upx;
  685. height: 60upx;
  686. }
  687. .black-select.color_select {
  688. width: 90upx;
  689. height: 90upx;
  690. }
  691. .red-select {
  692. width: 60upx;
  693. height: 60upx;
  694. }
  695. .red-select.color_select {
  696. width: 90upx;
  697. height: 90upx;
  698. }
  699. .slide-wrapper {
  700. align-items: center;
  701. margin-bottom: 20upx;
  702. }
  703. .slider{
  704. width: 400upx;
  705. padding-left: 20upx;
  706. }
  707. .drop {
  708. width: 50upx;
  709. height: 50upx;
  710. border-radius: 50%;
  711. background: #FFF;
  712. position: absolute;
  713. left: 0upx;
  714. top: -10upx;
  715. box-shadow: 0px 1px 5px #888888;
  716. }
  717. .slide {
  718. width: 250upx;
  719. height: 30upx;
  720. }
  721. .showimg{
  722. border: 4upx solid #e9e9e9;
  723. overflow: hidden;
  724. width: 90%;
  725. margin: 0 auto;
  726. background: #eee;
  727. height: 350upx;
  728. margin-top: 40upx;
  729. align-items: center;
  730. justify-content: center;
  731. }
  732. .showimg>image{
  733. width: 100%;
  734. height: 100%;
  735. }
  736. .showimg>text{
  737. font-size: 40upx;
  738. color: #888;
  739. }
  740. .indexFixed{
  741. position: fixed;
  742. left:0;
  743. bottom:0;
  744. right:0;
  745. }
  746. </style>