add_quality_testing.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705
  1. <template>
  2. <view>
  3. <view class='wrap'>
  4. <view class='title_b'>基本信息</view>
  5. <view class="c-row ">
  6. <view class="title">仓库</view>
  7. <view class="con-list">
  8. {{gridList.warehouseName}}
  9. </view>
  10. </view>
  11. <view class="c-row ">
  12. <view class="title">编号</view>
  13. <view class="con-list">
  14. {{gridList.qualityNo}}
  15. </view>
  16. </view>
  17. <view class="c-row ">
  18. <view class="title">客户</view>
  19. <view class="con-list">
  20. <view @click='gocustomer' v-if='gridList.customerName'>
  21. {{gridList.customerName}}({{gridList.customerPhone}})
  22. </view>
  23. <view @click='gocustomer' v-else>
  24. 选择客户
  25. </view>
  26. </view>
  27. </view>
  28. <view class="c-row ">
  29. <view class="title">车牌号</view>
  30. <view class="con-list">
  31. <input v-model='gridList.carNumber' placeholder="请输入车牌号"
  32. name="input"></input>
  33. </view>
  34. </view>
  35. <view v-if="gridList.paramType != '1'" class="c-row ">
  36. <view class="title">扣重比</view>
  37. <view class="con-list">
  38. <input v-model='gridList.buckleWeightRatio' placeholder="请输入扣重比"
  39. name="input"></input>
  40. </view>
  41. </view>
  42. <view v-else class="c-row ">
  43. <view class="title">扣杂</view>
  44. <view class="con-list">
  45. <input v-model='gridList.buckleMiscellaneous' placeholder="初检扣杂" @input="waterContentChange"
  46. name="input"></input>
  47. <input v-model='gridList.reBuckleMiscellaneous' placeholder="复检扣杂" @input="waterContentChange"
  48. name="input"></input>
  49. </view>
  50. </view>
  51. <view class="c-row ">
  52. <view class="title">购粮性质</view>
  53. <view class="con-list">
  54. <input v-model='gridList.natureOfGrainPurchase' placeholder="请输入购粮性质"
  55. name="input"></input>
  56. </view>
  57. </view>
  58. <view class="c-row ">
  59. <view class="title">仓位号</view>
  60. <view class="con-list">
  61. <view @click='show=true'>{{gridList.binNumber?gridList.binNumber:'请选择仓位号'}}</view>
  62. <u-picker :range="warehouseList" range-key="binNumber" @confirm='binNumberpicker($event)' v-model="show" mode="selector" >
  63. </u-picker>
  64. </view>
  65. </view>
  66. <view class="c-row ">
  67. <view class="title">囤位号</view>
  68. <view class="con-list">
  69. <input type='number' v-model='gridList.storageTagNo' placeholder="请输入囤位号"
  70. name="input"></input>
  71. </view>
  72. </view>
  73. <view class="c-row ">
  74. <view class="title">货名</view>
  75. <view class="con-list">
  76. <view @click='show2=true'>{{gridList.goodsName}}</view>
  77. <u-picker :range="goodsList" range-key="goodsName" @confirm='goodspicker($event)' v-model="show2" mode="selector" >
  78. </u-picker>
  79. </view>
  80. </view>
  81. <view class="c-row ">
  82. <view class="title">类型</view>
  83. <view class="con-list">
  84. <view @click='show3=true'>{{gridList.type}}</view>
  85. <u-picker :range="typeList" @confirm='typepicker($event)' v-model="show3" mode="selector" >
  86. </u-picker>
  87. </view>
  88. </view>
  89. <view v-if="gridList.type == '潮粮'" class="c-row">
  90. <view class="title">净重单价(元/公斤)</view>
  91. <view class="con-list">
  92. <input v-model='gridList.tidalGrainPrice' disabled placeholder="自动获取,不可编辑"
  93. name="input"></input>
  94. </view>
  95. </view>
  96. <view v-if="gridList.type == '干粮'" class="c-row">
  97. <view class="title">干粮单价(元/公斤)</view>
  98. <view class="con-list">
  99. <input v-model='gridList.dryGrainPrice' placeholder="请输入干粮单价"
  100. name="input"></input>
  101. </view>
  102. </view>
  103. </view>
  104. <view style='margin-bottom:300rpx;' class='wrap'>
  105. <view class='title_b'>化验信息</view>
  106. <view class="c-row ">
  107. <view class="title">等级</view>
  108. <view class="con-list">
  109. <view @click='show1=true'>{{gridList.grade?gridList.grade:'请选择等级'}}</view>
  110. <u-picker :range="gradeList" range-key="value" @confirm='gradepicker($event)' v-model="show1" mode="selector" >
  111. </u-picker>
  112. </view>
  113. </view>
  114. <view class="c-row ">
  115. <view class="title">水分(%)</view>
  116. <view class="con-list">
  117. <input v-model='gridList.waterContent' placeholder="初检水分" @input="waterContentChange"
  118. name="input"></input>
  119. <input v-model='gridList.rewaterContent' placeholder="复检水分" @input="waterContentChange"
  120. name="input"></input>
  121. </view>
  122. </view>
  123. <view class="c-row ">
  124. <view class="title">容重(克/升)</view>
  125. <view class="con-list">
  126. <input v-model='gridList.bulkDensity' placeholder="请输入容重"
  127. name="input"></input>
  128. </view>
  129. </view>
  130. <view class="c-row ">
  131. <view class="title">不完善粒(%)</view>
  132. <view class="con-list">
  133. <input v-model='gridList.imperfectGrain' placeholder="请输入不完整粒占比"
  134. name="input"></input>
  135. </view>
  136. </view>
  137. <view class="c-row ">
  138. <view class="title">杂质(%)</view>
  139. <view class="con-list">
  140. <input v-model='gridList.impurity' placeholder="请输入杂质占比"
  141. name="input"></input>
  142. </view>
  143. </view>
  144. <view class="c-row ">
  145. <view class="title">霉变粒(%)</view>
  146. <view class="con-list">
  147. <input v-model='gridList.mildewGrain' placeholder="请输入霉变粒占比"
  148. name="input"></input>
  149. </view>
  150. </view>
  151. <view class="c-row">
  152. <view class="title">热损伤(%)</view>
  153. <view class="con-list">
  154. <input v-model='gridList.jiaorenli' placeholder="请输入热损伤占比"
  155. name="input"></input>
  156. </view>
  157. </view>
  158. </view>
  159. <view class="footer">
  160. <view @click='submit' class="button">提交</view>
  161. </view>
  162. </view>
  163. </template>
  164. <script>
  165. import dragButton from "@/components/drag-button/drag-button.vue";
  166. import {
  167. mapState
  168. } from 'vuex';
  169. let startY = 0,
  170. moveY = 0,
  171. pageAtTop = true;
  172. export default {
  173. components: {
  174. dragButton
  175. },
  176. data() {
  177. return {
  178. inputShow: false,
  179. modalName: '',
  180. mycarStyle: '',
  181. feild: undefined,
  182. id:0,
  183. show:false,
  184. selector:[],
  185. show1:false,
  186. inputContent: '',
  187. coverTransform: 'translateY(0px)',
  188. coverTransition: '0s',
  189. moving: false,
  190. footprintList: [],
  191. searchKeyWord:'',
  192. isVip: false,
  193. userInfoTmp: [],
  194. inputStatus: 'none',
  195. carInfo: [],
  196. gridCol: 4,
  197. pageSize:10,
  198. show3:false,
  199. show2:false,
  200. goodsList:[],
  201. currentPage:1,
  202. gridBorder: false,
  203. headUrl:"../../static/img/myimg/YongHu@3x.png",
  204. userphone:"",
  205. username:"请更改昵称",
  206. gridList: {
  207. natureOfGrainPurchase:'贸易粮',
  208. type:'潮粮',
  209. tidalGrainPrice:'',
  210. dryGrainPrice:'',
  211. buckleMiscellaneous:0
  212. },
  213. typeList:['潮粮','干粮'],
  214. managementType:'',
  215. warehouseName: '',
  216. warehouseList:[],
  217. warehouseCount:'',
  218. commonWarehouseNo:'',
  219. showTran: true,
  220. companyId: 1,
  221. current: 4,
  222. gradeList:[
  223. {key:1,value:'一等品'},
  224. {key:2,value:'二等品'},
  225. {key:3,value:'三等品'},
  226. {key:4,value:'等外'},
  227. ],
  228. cangid:''
  229. }
  230. },
  231. // #ifndef MP
  232. onNavigationBarButtonTap(e) {
  233. const index = e.index;
  234. if (index === 0) {
  235. this.navTo('/pages/set/set');
  236. } else if (index === 1) {
  237. // #ifdef APP-PLUS
  238. const pages = getCurrentPages();
  239. const page = pages[pages.length - 1];
  240. const currentWebview = page.$getAppWebview();
  241. currentWebview.hideTitleNViewButtonRedDot({
  242. index
  243. });
  244. // #endif
  245. uni.navigateTo({
  246. url: '/pages/notice/notice'
  247. })
  248. }
  249. },
  250. // #endif
  251. computed: {
  252. ...mapState(['hasLogin', 'userInfo']),
  253. // 手机号中间4位加*
  254. starUserphone(){
  255. let reg = /^(\d{3})\d{4}(\d{4})$/;
  256. if(this.userphone){
  257. return this.userphone.replace(reg, "$1****$2");
  258. }
  259. }
  260. },
  261. onLoad(options){
  262. this.commonWarehouseNo=options.commonWarehouseNo
  263. this.warehouseCount=Number(options.warehouseCount) + 1
  264. let number = '000' + this.warehouseCount
  265. number = number.substring(number.length - 4, number.length)
  266. this.gridList.warehouseName=options.warehouseName
  267. this.gridList.qualityNo='SGRK' + this.getdate() + this.commonWarehouseNo + number
  268. this.cangid=options.cangid
  269. this.$api.doRequest('get', '/qualityInspectionManagement/api/goodsName',{
  270. warehouseId:this.cangid
  271. }).then(res => {
  272. if(res.data.data){
  273. }
  274. })
  275. this.managementType=options.managementType
  276. },
  277. onShow() {
  278. this.purchasePriceList=uni.getStorageSync('purchasePriceList')
  279. if(uni.getStorageSync('checkcustomer')){
  280. this.gridList.customerName=uni.getStorageSync('checkcustomer').customerName
  281. this.gridList.customerPhone=uni.getStorageSync('checkcustomer').customerPhone
  282. }
  283. this.gridList.grade=this.gradeList[0].value
  284. this.gridList.gradeKey=this.gradeList[0].key
  285. var that = this
  286. this.$api.doRequest('get', '/identityAuthenticationInfo/identityAuthenticationInfoCustomer',{
  287. compId:'',
  288. authenticationStatusKey:7
  289. }).then(res => {
  290. if(res.data.data){
  291. // let data = res.data.data
  292. // that.gridList =data
  293. that.$api.doRequest('get', '/warehouseBaseInfo/getWarehouse',{
  294. id:this.cangid
  295. }).then(res => {
  296. that.warehouseList=res.data.data.warehousePositionInfoList
  297. })
  298. }
  299. })
  300. this.$api.doRequest('get', '/qualityInspectionManagement/api/goodsName',{
  301. warehouseId:this.cangid
  302. }).then(res => {
  303. if(res.data.data){
  304. that.goodsList = res.data.data
  305. if(that.goodsList.length > 0){
  306. that.gridList.goodsName=that.goodsList[0].goodsName
  307. uni.setStorageSync('purchasePriceList',that.goodsList)
  308. that.purchasePriceList=uni.getStorageSync('purchasePriceList')
  309. that.waterContentChange()
  310. }
  311. // for (let i = 0; i < res.data.data.length; i++) {
  312. // this.goodsList.push(res.data.data[i].goodsName)
  313. // }
  314. // if(this.goodsList.some(item=>{return item.goodsName=='玉米'})){
  315. // this.gridList.goodsName='玉米'
  316. // uni.setStorageSync('goodsName',this.gridList.goodsName)
  317. // }else{
  318. // this.gridList.goodsName=this.goodsList[0].goodsName
  319. // uni.setStorageSync('goodsName',this.gridList.goodsName)
  320. // }
  321. }
  322. })
  323. },
  324. methods: {
  325. waterContentChange() {
  326. var that = this
  327. if(this.gridList.goodsName && this.cangid){
  328. this.$api.doRequest('get', '/purchasePrice/dryGrainPrice',{
  329. warehouseId:this.cangid,
  330. goodsName:this.gridList.goodsName
  331. }).then(res => {
  332. that.gridList.dryGrainPrice = res.data.data
  333. })
  334. }
  335. if (this.gridList.goodsName) {
  336. for (var i = 0; i < this.purchasePriceList.length; i++) {
  337. if (this.purchasePriceList[i].goodsName == this.gridList.goodsName) {
  338. this.gridList.buckleWeightRatio = this.purchasePriceList[i].deductWeight
  339. this.gridList.paramType = this.purchasePriceList[i].paramType
  340. }
  341. }
  342. }
  343. var numReg = /^[0-9]*$/
  344. var numRe = new RegExp(numReg)
  345. //潮粮单价改变事件
  346. if (
  347. this.gridList.goodsName &&
  348. this.gridList.waterContent &&
  349. this.gridList.grade&&
  350. numRe.test(this.gridList.waterContent)
  351. ) {
  352. this.$api.doRequest('get', '/purchasePrice/tidalGrainPrice',{
  353. warehouseId:this.cangid,
  354. goodsName:this.gridList.goodsName,
  355. waterContent: this.gridList.waterContent,
  356. grade: this.gridList.grade,
  357. }).then(res => {
  358. if(that.gridList.paramType == '1'){
  359. that.gridList.tidalGrainPrice = parseFloat(parseFloat(res.data.data) - parseFloat(that.gridList.buckleMiscellaneous)/100*parseFloat(that.gridList.dryGrainPrice)).toFixed(4)
  360. if(!that.gridList.tidalGrainPrice){
  361. that.gridList.tidalGrainPrice = ''
  362. }
  363. }else{
  364. that.gridList.tidalGrainPrice = res.data.data
  365. }
  366. })
  367. }
  368. },
  369. gocustomer(){
  370. uni.navigateTo({
  371. url:'/pages/erpbusiness/customer?cangid='+this.cangid
  372. })
  373. },
  374. getdate() {
  375. var date = new Date()
  376. var year = date.getFullYear() //获取完整的年份(4位)
  377. var mouth = date.getMonth() + 1 //获取当前月份(0-11,0代表1月)
  378. var datetime = date.getDate() //获取当前日(1-31)
  379. if (mouth < 10) {
  380. mouth = '0' + mouth
  381. }
  382. if (datetime < 10) {
  383. datetime = '0' + datetime
  384. }
  385. return year +'' + mouth + '' + datetime
  386. },
  387. submit(){
  388. var that = this
  389. if (!this.gridList.qualityNo) {
  390. this.$api.msg('编号不能为空')
  391. return
  392. }
  393. if (!this.gridList.binNumber) {
  394. this.$api.msg('仓位不能为空')
  395. return
  396. }
  397. if (!this.gridList.customerName) {
  398. this.$api.msg('客户不能为空')
  399. return
  400. }
  401. if (!this.gridList.storageTagNo) {
  402. this.$api.msg('囤位号不能为空')
  403. return
  404. }
  405. if (this.gridList.storageTagNo.length > 10) {
  406. this.$api.msg('囤位号不能为空')
  407. return
  408. }
  409. if (!this.gridList.carNumber) {
  410. this.$api.msg('车牌号不能为空')
  411. return
  412. }
  413. if (this.gridList.carNumber.length != 7) {
  414. this.$api.msg('车牌号输入错误')
  415. return
  416. }
  417. if (!this.gridList.goodsName) {
  418. this.$api.msg('货名不能为空')
  419. return
  420. }
  421. if (this.gridList.buckleWeightRatio < 0 ||this.gridList.buckleWeightRatio > 2) {
  422. this.$api.msg('扣重比输入错误')
  423. return
  424. }
  425. if (
  426. String(this.gridList.buckleWeightRatio).indexOf('.') != -1 &&
  427. String(this.gridList.buckleWeightRatio).length -
  428. (String(this.gridList.buckleWeightRatio).indexOf('.') + 1) > 2)
  429. {
  430. this.$api.msg('扣重比输入错误')
  431. return
  432. }
  433. if (!this.gridList.type) {
  434. this.$api.msg('类型不能为空')
  435. return
  436. }
  437. if (!this.gridList.natureOfGrainPurchase) {
  438. this.$api.msg('购粮性质不能为空')
  439. return
  440. }
  441. if (!this.gridList.grade) {
  442. this.$api.msg('等级不能为空')
  443. return
  444. }
  445. if (!this.gridList.impurity) {
  446. this.$api.msg('杂质不能为空')
  447. return
  448. }
  449. if (!this.gridList.waterContent) {
  450. this.$api.msg('水分不能为空')
  451. return
  452. }
  453. if (!this.gridList.mildewGrain) {
  454. this.$api.msg('霉变粒不能为空')
  455. return
  456. }
  457. if (!this.gridList.bulkDensity) {
  458. this.$api.msg('容重不能为空')
  459. return
  460. }
  461. if (!this.gridList.jiaorenli) {
  462. this.$api.msg('热损伤不能为空')
  463. return
  464. }
  465. if (!this.gridList.imperfectGrain) {
  466. this.$api.msg('不完整粒不能为空')
  467. return
  468. }
  469. uni.showModal({
  470. content: "确定提交质检信息?",
  471. showCancel: true,
  472. confirmText: '提交',
  473. success: function(res) {
  474. if (res.confirm) {
  475. that.$api.doRequest('post', '/qualityInspectionManagement/api/addQualityInspection',that.gridList).then(res => {
  476. if(res.data.code==200){
  477. that.$api.msg('提交成功')
  478. uni.navigateBack({
  479. })
  480. }else{
  481. hat.$api.msg('提交失败')
  482. }
  483. })
  484. }
  485. }
  486. })
  487. },
  488. gradepicker(e){
  489. console.log(e)
  490. // this.$set(this.gradeList,'grade',this.gradeList[e[0]].value)
  491. this.gridList.grade=this.gradeList[e[0]].value
  492. this.gridList.gradeKey=this.gradeList[e[0]].key
  493. this.waterContentChange()
  494. },
  495. goodspicker(e){
  496. console.log(e)
  497. // this.$set(this.gradeList,'grade',this.gradeList[e[0]].value)
  498. this.gridList.goodsName=this.goodsList[e[0]].goodsName
  499. uni.setStorageSync('goodsName',this.gridList.goodsName)
  500. if(this.gridList.type == "干粮" && this.gridList.goodsName){
  501. this.$api.doRequest('get', '/purchasePrice/dryGrainPrice',{
  502. warehouseId:this.cangid,
  503. goodsName:this.gridList.goodsName
  504. }).then(res => {
  505. that.gridList.dryGrainPrice = res.data.data
  506. })
  507. }
  508. this.waterContentChange()
  509. },
  510. typepicker(e){
  511. var that = this
  512. this.gridList.type=this.typeList[e[0]]
  513. if(this.gridList.type == "干粮" &&this.gridList.goodsName){
  514. this.$api.doRequest('get', '/purchasePrice/dryGrainPrice',{
  515. warehouseId:this.cangid,
  516. goodsName:this.gridList.goodsName
  517. }).then(res => {
  518. that.gridList.dryGrainPrice = res.data.data
  519. })
  520. }
  521. },
  522. binNumberpicker(e){
  523. this.gridList.binNumber=this.warehouseList[e[0]].binNumber
  524. },
  525. del(item){
  526. this.$api.doRequest('get', '/qualityInspectionManagement/api/deleteQualityInspection',{
  527. id:item.id
  528. }).then(res => {
  529. if(res.data.code==200){
  530. this.$api.msg('删除成功')
  531. }else{
  532. this.$api.msg('系统异常,请联系管理员')
  533. }
  534. })
  535. },
  536. contactUs() {
  537. const that = this
  538. uni.makePhoneCall({
  539. // 手机号
  540. phoneNumber: '18241771147',
  541. // 成功回调
  542. success: (res) => {},
  543. // 失败回调
  544. fail: (res) => {}
  545. });
  546. },
  547. loadData() {
  548. // const that = this
  549. // if(uni.getStorageSync("PageCur")){
  550. // that.PageCur = uni.getStorageSync("PageCur");
  551. // }
  552. // that.userInfoTmp = uni.getStorageSync("userInfo")
  553. // uni.showLoading({
  554. // title: '正在加载',
  555. // mask:true
  556. // })
  557. // that.$api.request('integral', 'getIndexData', failres => {
  558. // that.$api.msg(failres.errmsg)
  559. // uni.hideLoading()
  560. // }).then(res => {
  561. // let data = res.data
  562. // uni.setStorageSync("message", data.message);
  563. // uni.setStorageSync("task", data.task);
  564. // uni.setStorageSync("contract", data.contract);
  565. // uni.setStorageSync('showTran', data.showTran);
  566. // that.showTran = data.showTran
  567. // that.gridList[4].tips = data.task
  568. // that.gridList[2].tips = data.contract
  569. // that.companyId = data.companyId
  570. // uni.hideLoading()
  571. // })
  572. },
  573. confirm() {
  574. const that = this
  575. if (!that.inputContent) {
  576. that.$api.msg('输入不能为空')
  577. return
  578. }
  579. let obj = {}
  580. obj[that.feild] = that.inputContent
  581. that.$api.request('user', 'syncUserInfo', obj).then(res => {
  582. that.userInfo.nickname = that.inputContent
  583. that.inputContent = ''
  584. that.$store.commit('login', that.userInfo)
  585. })
  586. },
  587. cancel() {
  588. this.inputShow = false
  589. this.inputStatus = 'none'
  590. this.genderShow = false
  591. },
  592. myAccount() {
  593. uni.navigateTo({
  594. url: `/pageA/pages/contract`
  595. })
  596. },
  597. /**
  598. * 统一跳转接口,拦截未登录路由
  599. * navigator标签现在默认没有转场动画,所以用view
  600. */
  601. navTo(url) {
  602. if (!this.hasLogin) {
  603. url = '/pages/public/login';
  604. }
  605. uni.navigateTo({
  606. url
  607. })
  608. },
  609. mycarClick(carNo) {
  610. this.modalName = null
  611. uni.navigateTo({
  612. url: `/pageB/car/mycar_detail?carNo=${carNo}`
  613. })
  614. },
  615. scanCode() {
  616. uni.scanCode({
  617. success: function(res) {
  618. uni.navigateTo({
  619. url: res.result
  620. })
  621. }
  622. })
  623. },
  624. hideModal(e) {
  625. this.modalName = null
  626. },
  627. }
  628. }
  629. </script>
  630. <style lang='scss' scoped>
  631. page{
  632. background:#F5F6FA;
  633. }
  634. .title_b {
  635. margin: 20rpx 20rpx 0rpx 20rpx;
  636. padding: 20rpx 10rpx 20rpx 10rpx;
  637. font-size: 18px;
  638. font-weight: 550;
  639. }
  640. .c-row {
  641. display: -webkit-box;
  642. display: -webkit-flex;
  643. display: flex;
  644. -webkit-box-align: center;
  645. -webkit-align-items: center;
  646. align-items: center;
  647. padding: 20rpx 30rpx;
  648. position: relative;
  649. }
  650. .con-list {
  651. -webkit-box-flex: 1;
  652. -webkit-flex: 1;
  653. flex: 1;
  654. display: -webkit-box;
  655. display: -webkit-flex;
  656. display: flex;
  657. -webkit-box-orient: vertical;
  658. -webkit-box-direction: normal;
  659. -webkit-flex-direction: column;
  660. flex-direction: column;
  661. color: #303133;
  662. line-height: 40rpx;
  663. text-align: right;
  664. padding-right: 20rpx;
  665. }
  666. .wrap{
  667. padding-bottom:10px;
  668. font-size:14px;
  669. background:#fff;margin:10px;border-radius:10px;
  670. input{
  671. font-size:14px;
  672. }
  673. >.title{
  674. padding:10px 16px;
  675. }
  676. }
  677. .footer{
  678. background:#fff;
  679. position:fixed;
  680. bottom:0;
  681. width:100%;
  682. padding:20px 10px;
  683. z-index:10;
  684. .button{
  685. background:#22C572;
  686. width:90%;
  687. margin:0 auto;
  688. padding:10px;
  689. color:#fff;
  690. text-align:center;
  691. border-radius: 30px;
  692. }
  693. }
  694. </style>