addPage.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  1. <!-- 称重登记-新增 -->
  2. <template>
  3. <view class="weighingRegistrationAddPage">
  4. <view class="weighingRegistrationAddPage-center-box">
  5. <view class="text-title-p">基础信息</view>
  6. <view class="content-box" style="padding-bottom:20rpx;">
  7. <view class="sub-picker-box">
  8. <view class="title-box-1" style="width:220rpx;">报备单编号:</view>
  9. <view class="text-p-1">{{addForm.reportNo}}</view>
  10. </view>
  11. <view class="sub-picker-box">
  12. <view class="title-box-1" style="width:220rpx;">实验室:</view>
  13. <view class="text-p-1">{{addForm.subName}}({{addForm.roomNum}})</view>
  14. </view>
  15. <view class="sub-picker-box">
  16. <view class="title-box-1" style="width:220rpx;">上门回收日期:</view>
  17. <view class="text-p-1">{{addForm.expectTime}}({{addForm.expectWeek}})</view>
  18. </view>
  19. <view class="sub-picker-box">
  20. <view class="title-box-1" style="width:220rpx;">废物种类:</view>
  21. <view class="text-p-1">{{addForm.typeNum}}</view>
  22. </view>
  23. <view class="sub-picker-box">
  24. <view class="title-box-1" style="width:220rpx;">报备人:</view>
  25. <view class="text-p-1">{{addForm.reportName}}({{addForm.reportAccount}})</view>
  26. </view>
  27. <view class="sub-picker-box">
  28. <view class="title-box-1" style="width:220rpx;">报备时间:</view>
  29. <view class="text-p-1">{{addForm.reportTime}}</view>
  30. </view>
  31. </view>
  32. <view class="text-title-p">称重登记</view>
  33. <view class="content-box">
  34. <view class="for-content-box" v-for="(item,index) in addForm.formData4" :key="index">
  35. <view class="sub-picker-box">
  36. <view class="mark-box">*</view>
  37. <view class="title-box">类型:</view>
  38. <view class="picker-box">
  39. <picker @change="(val)=>forChange(index,val)" :value="item.forData3" :range="item.forList" :range-key="'wasteName'">
  40. <view class="picker-p" :class="item.forData1?'check-picker-p':''">{{item.forData1?item.forData2:'请选择危废类型'}}</view>
  41. </picker>
  42. </view>
  43. <img class="right-button" v-if="addForm.formData4[1]"
  44. @click="reductionItemButton(index)"
  45. :src="imagesUrl('commonality/icon_zgsq_jian.png')">
  46. </view>
  47. <view class="sub-picker-box" v-if="item.forData1&&item.forData4">
  48. <view class="mark-box">*</view>
  49. <view class="title-box">数量:</view>
  50. <view class="picker-text-box">{{item.forData4+item.forData5}}</view>
  51. </view>
  52. <view class="sub-picker-box">
  53. <view class="mark-box">*</view>
  54. <view class="title-box">称重:</view>
  55. <view class="reduction-button" @click="reductionAdd(1,index)">-</view>
  56. <input class="input-p" type="digit" maxlength="10" @input="(val)=>handleInput(index,val)" v-model="item.forData6">
  57. <view class="add-button" @click="reductionAdd(2,index)">+</view>
  58. <view class="unit-p">kg</view>
  59. </view>
  60. </view>
  61. <view class="add-item-button" v-if="this.addForm.formData4.length < this.dialogOptionForList.length"
  62. @click="addItemButton()">补充其他未报备类型</view>
  63. <view class="sub-picker-box">
  64. <view class="mark-box"></view>
  65. <view class="title-box">图片:</view>
  66. <view class="explain-box">可拍摄称重凭据或回收人员照片,最多可上传3张</view>
  67. </view>
  68. <view class="sub-picker-box">
  69. <view class="img-list-box" v-if="addForm.imgList[0]">
  70. <view class="for-img-box" v-for="(img,imgIndex) in addForm.imgList" :key="imgIndex" >
  71. <p @click="delImg(imgIndex)">x</p>
  72. <img :src="baseUrl+img">
  73. </view>
  74. </view>
  75. <view class="img-up-p" @click="selectImage()" v-if="!addForm.imgList[2]">+</view>
  76. </view>
  77. <view class="sub-picker-box" style="padding-bottom:50rpx;">
  78. </view>
  79. </view>
  80. <view class="submit-check-box" @click="buttonCheck()">
  81. <img v-if="!checkType" class="left-box" :src="imagesUrl('commonality/icon_12.png')">
  82. <img v-if="checkType" class="left-box" :src="imagesUrl('commonality/icon_13.png')">
  83. <view :class="checkType?'check-view':''">本人已认真核对本次危险废物的登记类别及重量信息,确认数据真实、准确、完整,并对其真实性依法承担相应责任。</view>
  84. </view>
  85. <view class="submit-button" :class="!checkType?'no-submit-button':''" @click="submitButton">登记完成,提交</view>
  86. </view>
  87. </view>
  88. </template>
  89. <script>
  90. import {
  91. parseTime
  92. } from '@/component/public.js'
  93. import { config } from '@/api/request/config.js'
  94. import {
  95. hwmsAppWasteOrderList,
  96. hwmsAppWasteOrderWasteDetail,
  97. } from '@/pages_hazardousWasteRecycling/api/index.js'
  98. export default {
  99. data() {
  100. return {
  101. baseUrl:config.base_url,
  102. addForm:{
  103. expectTime: "",
  104. expectWeek: "",
  105. id: 0,
  106. subId: 0,
  107. reportAccount: "",
  108. reportName: "",
  109. reportNo: "",
  110. reportTime: "",
  111. roomNum: "",
  112. subName: "",
  113. typeNum: 0,
  114. formData4:[],
  115. imgList:[],
  116. },
  117. dialogOptionList:[],
  118. dialogOptionForList:[],
  119. checkType:false,
  120. }
  121. },
  122. onLoad(option) {
  123. this.hwmsAppWasteOrderList(option.id);
  124. },
  125. onShow() {
  126. },
  127. mounted() {
  128. },
  129. methods: {
  130. buttonCheck(){
  131. this.$set(this,'checkType',!this.checkType);
  132. },
  133. //提交按钮
  134. submitButton(){
  135. let self = this;
  136. if(!this.checkType){
  137. return
  138. }
  139. if(!this.addForm.formData4[0]){
  140. uni.showToast({
  141. title: '请添加危废类型',
  142. icon: "none",
  143. mask: true,
  144. duration: 2000
  145. });
  146. return
  147. }
  148. for(let i=0;i<self.addForm.formData4.length;i++){
  149. if(!self.addForm.formData4[i].forData1){
  150. uni.showToast({
  151. title: '第'+(i+1)+'个类型没有选择',
  152. icon: "none",
  153. mask: true,
  154. duration: 2000
  155. });
  156. return
  157. }
  158. if(self.addForm.formData4[i].forData6 == 0){
  159. uni.showToast({
  160. title: self.addForm.formData4[i].forData2+'没有填写数量',
  161. icon: "none",
  162. mask: true,
  163. duration: 2000
  164. });
  165. return
  166. }
  167. }
  168. let obj = {
  169. id:this.addForm.id,
  170. recycleTime:this.addForm.expectTime,
  171. subId:this.addForm.subId,
  172. registerOrderAddItemBos:[],
  173. images:self.addForm.imgList,
  174. };
  175. for(let i=0;i<self.addForm.formData4.length;i++){
  176. obj.registerOrderAddItemBos.push({
  177. typeId:self.addForm.formData4[i].forData1,
  178. weight:self.addForm.formData4[i].forData6,
  179. })
  180. }
  181. // uni.navigateTo({
  182. // url: "/pages_hazardousWasteRecycling/views/weighingRegistration/signatureComponent?data=" + encodeURIComponent(JSON.stringify(obj))
  183. // });
  184. let info = {
  185. reportNo:this.addForm.reportNo,
  186. subName:this.addForm.subName,
  187. roomNum:this.addForm.roomNum,
  188. expectTime:this.addForm.expectTime,
  189. expectWeek:this.addForm.expectWeek,
  190. reportName:this.addForm.reportName,
  191. reportAccount:this.addForm.reportAccount,
  192. reportTime:this.addForm.reportTime,
  193. details:[],
  194. images:self.addForm.imgList,
  195. }
  196. for(let i=0;i<self.addForm.formData4.length;i++){
  197. info.details.push({
  198. typeName:self.addForm.formData4[i].forData2,
  199. weight:self.addForm.formData4[i].forData6,
  200. })
  201. }
  202. uni.navigateTo({
  203. url: "/pages_hazardousWasteRecycling/views/weighingRegistration/confirmation?data=" + encodeURIComponent(JSON.stringify(obj))+'&info='+ encodeURIComponent(JSON.stringify(info))
  204. });
  205. },
  206. async hwmsAppWasteOrderList(id){
  207. const {
  208. data
  209. } = await hwmsAppWasteOrderList();
  210. if (data.code == 200) {
  211. this.$set(this,'dialogOptionForList',data.data.wasteOrder);
  212. this.hwmsAppWasteOrderWasteDetail(id);
  213. }
  214. },
  215. //详情
  216. async hwmsAppWasteOrderWasteDetail(id) {
  217. let self = this;
  218. const {
  219. data
  220. } = await hwmsAppWasteOrderWasteDetail({id:id});
  221. if (data.code == 200) {
  222. let list = [];
  223. for(let i=0;i<data.data.wasteOrderDetailItemVos.length;i++){
  224. for(let o=0;o<self.dialogOptionForList.length;o++){
  225. if(data.data.wasteOrderDetailItemVos[i].typeId == self.dialogOptionForList[o].id){
  226. let obj = {
  227. forData1:self.dialogOptionForList[o].id,
  228. forData2:self.dialogOptionForList[o].wasteName,
  229. forData3:o,
  230. forData4:data.data.wasteOrderDetailItemVos[i].quantity,
  231. forData5:self.dialogOptionForList[o].unit,
  232. forData6:0,
  233. forList:self.dialogOptionForList,
  234. }
  235. list.push(JSON.parse(JSON.stringify(obj)))
  236. }
  237. }
  238. }
  239. // item2.endDate = parseTime(item2.endDate, "{y}-{m}-{d}");
  240. this.$set(self.addForm,'expectTime',data.data.expectTime);
  241. this.$set(self.addForm,'expectWeek',data.data.expectWeek);
  242. this.$set(self.addForm,'id',data.data.id);
  243. this.$set(self.addForm,'subId',data.data.subId);
  244. this.$set(self.addForm,'reportAccount',data.data.reportAccount);
  245. this.$set(self.addForm,'reportName',data.data.reportName);
  246. this.$set(self.addForm,'reportNo',data.data.reportNo);
  247. this.$set(self.addForm,'reportTime',parseTime(data.data.reportTime, "{y}-{m}-{d} {h}:{i}:{s}"));
  248. this.$set(self.addForm,'roomNum',data.data.roomNum);
  249. this.$set(self.addForm,'subName',data.data.subName);
  250. this.$set(self.addForm,'typeNum',data.data.typeNum);
  251. this.$set(self.addForm,'formData4',list);
  252. this.filtrateList();
  253. }
  254. },
  255. //选中类型
  256. forChange(index,e){
  257. this.$set(this.addForm.formData4[index],'forData1',this.addForm.formData4[index].forList[e.detail.value].id);
  258. this.$set(this.addForm.formData4[index],'forData2',this.addForm.formData4[index].forList[e.detail.value].wasteName);
  259. this.$set(this.addForm.formData4[index],'forData5',this.addForm.formData4[index].forList[e.detail.value].unit);
  260. this.$set(this.addForm.formData4[index],'forData3',e.detail.value);
  261. this.filtrateList();
  262. },
  263. //单位值加减
  264. reductionAdd(type,index){
  265. if(type == 1){
  266. //减
  267. if(this.addForm.formData4[index].forData6>=1){
  268. this.$set(this.addForm.formData4[index],'forData6',this.addForm.formData4[index].forData6-1);
  269. }
  270. }else if(type == 2){
  271. //加
  272. if(this.addForm.formData4[index].forData6<9999){
  273. this.$set(this.addForm.formData4[index],'forData6',this.addForm.formData4[index].forData6+1);
  274. }
  275. }
  276. },
  277. //添加类型
  278. addItemButton(){
  279. if(this.addForm.formData4.length>= this.dialogOptionForList.length){
  280. uni.showToast({
  281. title: '没有更多类型可添加',
  282. icon: "none",
  283. mask: true,
  284. duration: 2000
  285. });
  286. return
  287. }
  288. this.addForm.formData4.push({
  289. forData1:'',
  290. forData2:'',
  291. forData3:'',
  292. forData4:0,
  293. forData5:'',
  294. forData6:0,
  295. forList:[],
  296. })
  297. this.filtrateList();
  298. },
  299. //删除类型
  300. reductionItemButton(index){
  301. let self = this;
  302. uni.showModal({
  303. // title: '确认要退出吗?',
  304. content: '确认删除该类型?',
  305. cancelColor: "#999",
  306. confirmColor: "#0183FA",
  307. success: function(res) {
  308. if (res.confirm) {
  309. self.addForm.formData4.splice(index,1);
  310. self.filtrateList();
  311. } else if (res.cancel) {}
  312. }
  313. });
  314. },
  315. // 图片上传
  316. selectImage() {
  317. let self = this;
  318. wx.chooseImage({
  319. count: 1,
  320. sizeType: ["original", "compressed"],
  321. sourceType: ["album", "camera"],
  322. success: function(res) {
  323. let tempFilePaths = res.tempFilePaths[0];
  324. self.uploadImg(tempFilePaths);
  325. }
  326. });
  327. },
  328. async uploadImg(tempFilePaths){
  329. var self = this;
  330. uni.showLoading({
  331. title: '上传中',
  332. mask: true
  333. });
  334. uni.uploadFile({
  335. url: config.base_url + '/system/file/upload', //仅为示例,非真实的接口地址
  336. header:{'Authorization':uni.getStorageSync('token')},
  337. filePath: tempFilePaths,
  338. name: 'file',
  339. formData: {
  340. 'user': 'test'
  341. },
  342. success: (uploadFileRes) => {
  343. let res = JSON.parse(uploadFileRes.data);
  344. if(res.code == 200){
  345. self.addForm.imgList.push(res.data.url)
  346. }else{
  347. uni.showToast({
  348. title: res.msg,
  349. icon:"none",
  350. mask:true,
  351. duration: 2000
  352. });
  353. }
  354. },
  355. fail: err => {},
  356. complete: () => {
  357. uni.hideLoading()
  358. }
  359. });
  360. },
  361. //删除图片
  362. delImg(index){
  363. let self = this;
  364. uni.showModal({
  365. // title: '确认要退出吗?',
  366. content: '确认删除该图片?',
  367. cancelColor: "#999",
  368. confirmColor: "#0183FA",
  369. success: function(res) {
  370. if (res.confirm) {
  371. self.addForm.imgList.splice(index,1);
  372. } else if (res.cancel) {}
  373. }
  374. });
  375. },
  376. // 小数点后两位
  377. handleInput(index,e){
  378. // 一定要加nextTick,否则特殊情况的更改不生效【如:000时,更改为0】
  379. this.$nextTick(() => {
  380. let value = e.detail.value
  381. // 如果当前输入为空,直接允许清空
  382. if (!value) {
  383. this.addForm.formData4[index].forData6 = ''
  384. } else if (value?.charAt(0) === '0' && value.charAt(1) && value.charAt(1) !== '.') {
  385. // // 1. 当第一位为0时,只能输入小数点【第二位必须是小数点】
  386. value = '0'
  387. }
  388. value = value.replace(/[^\d.]/g, '') // 清除"数字"和"."以外的字符
  389. value = value.replace(/\.{2,}/g, '.') // 只保留第一个. 清除多余的
  390. value = value.match(/^\d*(\.?\d{0,3})/g)[0] || '' // 保留3位小数
  391. this.addForm.formData4[index].forData6 = value
  392. })
  393. },
  394. //匹配数据
  395. filtrateList(){
  396. let self = this;
  397. let forList = JSON.parse(JSON.stringify(this.dialogOptionForList));
  398. let newList = JSON.parse(JSON.stringify(this.dialogOptionForList));
  399. for(let i=0;i<forList.length;i++){
  400. let num = 0;
  401. for(let o=0;o<self.addForm.formData4.length;o++){
  402. if(forList[i].id == self.addForm.formData4[o].forData1){
  403. num++
  404. break
  405. }
  406. }
  407. if(num!=0){
  408. forList.splice(i,1);
  409. i--
  410. }
  411. }
  412. for(let i=0;i<self.addForm.formData4.length;i++){
  413. let list = [];
  414. if(self.addForm.formData4[i].forData1){
  415. for(let o=0;o<newList.length;o++){
  416. if(self.addForm.formData4[i].forData1 == newList[o].value){
  417. list.push(newList[o]);
  418. }
  419. }
  420. }
  421. list = list.concat(forList)
  422. self.$set(self.addForm.formData4[i],'forList',JSON.parse(JSON.stringify(list)));
  423. }
  424. },
  425. },
  426. }
  427. </script>
  428. <style lang="stylus" scoped>
  429. .weighingRegistrationAddPage{
  430. height: 100%;
  431. display flex;
  432. flex:1;
  433. flex-direction column;
  434. overflow: hidden;
  435. .weighingRegistrationAddPage-top-box{
  436. height:380rpx;
  437. }
  438. .weighingRegistrationAddPage-center-box{
  439. flex:1;
  440. overflow-y: scroll;
  441. overflow-x: hidden
  442. display flex;
  443. flex-direction column;
  444. }
  445. .text-title-p{
  446. font-size:32rpx;
  447. color:#0183FA;
  448. line-height:80rpx;
  449. margin:0 20rpx;
  450. }
  451. .content-box{
  452. margin:0 20rpx;
  453. background-color: #fff;
  454. border-radius:10rpx;
  455. padding:20rpx 20rpx 0 10rpx;
  456. .for-content-box:nth-child(1){
  457. padding-top:0;
  458. border-top:none;
  459. }
  460. .for-content-box{
  461. margin-bottom:20rpx;
  462. padding-top:30rpx;
  463. border-top:1px solid #dedede;
  464. .right-button{
  465. margin-top:8rpx;
  466. margin-left:20rpx;
  467. width:50rpx;
  468. height:50rpx;
  469. }
  470. }
  471. .sub-picker-box{
  472. display: flex;
  473. padding:10rpx;
  474. .mark-box{
  475. width:17rpx;
  476. color:red;
  477. margin-left:10rpx;
  478. height:60rpx;
  479. line-height:60rpx;
  480. margin-bottom:20rpx;
  481. }
  482. .title-box-1{
  483. width:100rpx;
  484. margin:0 10rpx;
  485. height:40rpx;
  486. line-height:40rpx;
  487. }
  488. .text-p-1{
  489. flex:1;
  490. height:40rpx;
  491. line-height:40rpx;
  492. display:block;
  493. overflow:hidden;
  494. text-overflow:ellipsis;
  495. white-space:nowrap;
  496. }
  497. .title-box{
  498. width:100rpx;
  499. margin:0 10rpx;
  500. height:60rpx;
  501. line-height:60rpx;
  502. }
  503. .text-p{
  504. flex:1;
  505. text-align: right;
  506. height:60rpx;
  507. line-height:60rpx;
  508. }
  509. .picker-box{
  510. height:60rpx;
  511. flex:1;
  512. border:1rpx solid #dedede;
  513. border-radius:10rpx;
  514. .picker-p{
  515. padding:0 20rpx;
  516. color:#666;
  517. line-height:60rpx;
  518. width:300rpx;
  519. display:block;
  520. overflow:hidden;
  521. text-overflow:ellipsis;
  522. white-space:nowrap;
  523. }
  524. .check-picker-p{
  525. }
  526. }
  527. .picker-text-box{
  528. width:400rpx;
  529. line-height:60rpx;
  530. }
  531. .reduction-button{
  532. width:60rpx;
  533. height:60rpx;
  534. border:1rpx solid #0183FA;
  535. color:#0183FA;
  536. text-align: center;
  537. font-size:30rpx;
  538. line-height:58rpx;
  539. border-radius:6rpx;
  540. font-size:34rpx;
  541. font-weight:700;
  542. }
  543. .input-p{
  544. width:140rpx;
  545. height:60rpx;
  546. height:60rpx;
  547. text-align: center;
  548. border:1rpx solid #dedede;
  549. border-radius:6rpx;
  550. margin:0 20rpx;
  551. }
  552. .add-button{
  553. width:60rpx;
  554. height:60rpx;
  555. border:1rpx solid #0183FA;
  556. color:#0183FA;
  557. text-align: center;
  558. font-size:30rpx;
  559. line-height:58rpx;
  560. border-radius:6rpx;
  561. font-size:34rpx;
  562. font-weight:700;
  563. }
  564. .unit-p{
  565. text-align: center;
  566. flex:1;
  567. height:62rpx;
  568. line-height:60rpx;
  569. font-size:30rpx;
  570. }
  571. .input-text-p{
  572. flex:1;
  573. height:185rpx;
  574. border:1rpx solid #dedede;
  575. border-radius:6rpx;
  576. padding:20rpx;
  577. margin-right:70rpx;
  578. margin-bottom:30rpx;
  579. }
  580. .explain-box{
  581. flex:1;
  582. height:32rpx;
  583. line-height:30rpx;
  584. font-size:28rpx;
  585. color:#999;
  586. }
  587. .img-list-box{
  588. display: flex;
  589. .for-img-box{
  590. position: relative;
  591. width:200rpx;
  592. height:200rpx;
  593. margin-left:18rpx;
  594. p{
  595. position: absolute;
  596. top:0;
  597. right:0;
  598. border-radius:50%;
  599. width:40rpx;
  600. height:40rpx;
  601. line-height:38rpx;
  602. text-align: center;
  603. color:#fff;
  604. background-color: #FF6A6A;
  605. }
  606. img{
  607. display: inline-block;
  608. width:200rpx;
  609. height:200rpx;
  610. }
  611. }
  612. }
  613. .img-up-p{
  614. width:200rpx;
  615. height:200rpx;
  616. margin-left:18rpx;
  617. line-height:200rpx;
  618. text-align: center;
  619. border:1rpx solid #999;
  620. border-radius:10rpx;
  621. color:#999;
  622. line-height:200rpx;
  623. font-size:50rpx;
  624. }
  625. }
  626. .add-item-button{
  627. width:588rpx;
  628. line-height:80rpx;
  629. height:80rpx;
  630. margin:0 50rpx 20rpx;
  631. background-color: #fff;
  632. border:1rpx solid #0183FA;
  633. color:#0183FA;
  634. font-size:30rpx;
  635. text-align: center;
  636. border-radius:6rpx;
  637. }
  638. }
  639. .submit-check-box{
  640. display: flex;
  641. padding:20rpx;
  642. img{
  643. width:40rpx;
  644. height:40rpx;
  645. margin:20rpx 20rpx 0 20rpx;
  646. }
  647. view{
  648. flex:1;
  649. line-height: 40rpx;
  650. color:#666;
  651. }
  652. .check-view{
  653. color:#0183FA !important;
  654. }
  655. }
  656. .submit-button{
  657. width:650rpx;
  658. line-height:80rpx;
  659. height:80rpx;
  660. margin:20rpx 50rpx 60rpx;
  661. background-color: #0183FA;
  662. color:#fff;
  663. font-size:30rpx;
  664. text-align: center;
  665. border-radius:6rpx;
  666. }
  667. .no-submit-button{
  668. background-color: #999 !important;
  669. }
  670. }
  671. </style>