add_quality_testing.vue 20 KB

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