contract.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881
  1. <template>
  2. <view class="center">
  3. <view v-for="(item , index) in lists" :Key="index" class="region">
  4. <view>
  5. <view class="c-row ">
  6. <text class="tit">{{item.orderType}}</text>
  7. <view class="enterprise">
  8. 编号{{item.contractNo}}{{item.procurementPlanType}}
  9. </view>
  10. <text class="status">{{item.status}}</text>
  11. </view>
  12. </view>
  13. <view>
  14. <view class="c-row ">
  15. <text class="tit1">买方</text>
  16. <view class="enterprise">
  17. {{item.customer}}
  18. </view>
  19. </view>
  20. </view>
  21. <view class="forList flex">
  22. <view class="title">{{item.goodsName}}:<text>{{item.goodsName}}</text></view>
  23. <view class="title">单价:¥<text>{{item.unitPrice}}</text></view>
  24. <view class="title">基差:¥<text>{{item.basis}}</text></view>
  25. </view>
  26. <view class="c-row flex annius">
  27. <text class="anniu" @click="commit"> 附件</text>
  28. <text class="anniu" @click="someprice(item)"> 点价</text>
  29. <text class="anniu1" @click="commit1(item)"> 发货</text>
  30. <text class="anniu1" @click="commit2(item)"> 收货</text>
  31. </view>
  32. </view>
  33. <view v-if='pricestatus' class='shade'>
  34. <view class='shade-content'>
  35. <view class="titles1">点价</view>
  36. <view class='shade-content-item flex'>
  37. <input v-model='price' placeholder="请输入点价价格" type="number" class="pointprice">
  38. <text style="font-size: 16px; color: #AFB3BF;margin-top: -3px;">元/吨</text>
  39. </view>
  40. <view class="flex">
  41. <view class="btns btn1" @click='pricestatus=false'>取消</view>
  42. <view class="btns btn2" @click='amendprice'>确定</view>
  43. </view>
  44. </view>
  45. </view>
  46. <view v-if='shadestatus' class='shade'>
  47. <view class='shade-content'>
  48. <view class='shade-content-item'>
  49. <view class="titles">请于以下时间段进行点价操作:</view>
  50. <view class="timeslot">11:30 ~ 12:30</view>
  51. <view class="timeslot">15:20 ~ 20:00</view>
  52. <view class="timeslot">23:00 ~ 08:00</view>
  53. </view>
  54. <view class="cancel" @click='shadestatus=false'>知道了</view>
  55. </view>
  56. </view>
  57. <view class="padding flex flex-direction">
  58. <!-- <button class="cu-btn commit margin-tb-sm lg" @click="commit">提交</button> -->
  59. </view>
  60. <!-- </block> -->
  61. </view>
  62. </template>
  63. <script>
  64. import uploadImage from '@/components/ossutil/uploadFile.js';
  65. import {
  66. mapState
  67. } from 'vuex';
  68. export default {
  69. name: "trust",
  70. data() {
  71. return {
  72. lists: [],
  73. shadestatus: false,
  74. pricestatus: false,
  75. goods: {
  76. pageSize: 10,
  77. currentPage: 1,
  78. id: "41651544",
  79. // pcFlag : 0,
  80. },
  81. procurementPlanInfo: {
  82. pageSize: 10,
  83. currentPage: 1
  84. },
  85. tran: {
  86. total: 0,
  87. price: 0,
  88. startPlace: undefined,
  89. endPlace: undefined,
  90. goodsName: undefined,
  91. sender: '',
  92. senderPhone: '',
  93. status: 0,
  94. receiver: '',
  95. receiverPhone: '',
  96. verifyCode: '',
  97. driver: '',
  98. driverPhone: '',
  99. carNo: '',
  100. personNoImg: '',
  101. personNoImg1: '',
  102. driverNoImg: '',
  103. driverNoImg1: '',
  104. carNoImg: '',
  105. carNoImg1: ''
  106. },
  107. id: 0,
  108. PageCur: "trust",
  109. TabCur: 0,
  110. priceTypeIndex: -1,
  111. priceType: ['库内价', '到库价', '到港价'],
  112. unitPrice: 0,
  113. seller: '',
  114. sellerPhone: '',
  115. minSale: '',
  116. exsitCount: 0,
  117. origin: '',
  118. stock: '',
  119. goodsName: '',
  120. verifyCode: '',
  121. sendText0: '获取验证码',
  122. sendText1: '获取验证码',
  123. sendText2: '获取验证码',
  124. sendText3: '获取验证码',
  125. sendDisabled0: false,
  126. sendDisabled1: false,
  127. sendDisabled2: false,
  128. sendDisabled3: false,
  129. buyer: '',
  130. buyerPhone: '',
  131. level: '',
  132. sender: '',
  133. senderPhone: '',
  134. receiver: '',
  135. receiverPhone: '',
  136. total: 0,
  137. startPlace: '',
  138. endPlace: '',
  139. driver: '',
  140. driverPhone: '',
  141. carNo: '',
  142. personNoImg: '',
  143. personNoImg1: '',
  144. driverNoImg: '',
  145. driverNoImg1: '',
  146. carNoImg: '',
  147. carNoImg1: '',
  148. showTran: true
  149. };
  150. },
  151. computed: {
  152. ...mapState(['hasLogin', 'userInfo'])
  153. },
  154. // onShow() {
  155. // this.loadData()
  156. // },
  157. onLoad() {
  158. this.getList()
  159. },
  160. methods: {
  161. amendprice() {
  162. this.$api.doRequest('post', '/purchaseOrder/api/pointPrice', {
  163. id: this.id,
  164. unitPrice: Number(this.price)
  165. }).then(res => {
  166. if (res.data.code == 200) {
  167. this.pricestatus = false
  168. } else {
  169. uni.showToast({
  170. title: res.data.message,
  171. icon: 'none',
  172. duration: 2000
  173. })
  174. }
  175. })
  176. .catch(res => {
  177. uni.showToast({
  178. title: res.errmsg,
  179. icon: 'none',
  180. duration: 2000
  181. })
  182. });
  183. },
  184. someprice(item) {
  185. var time = new Date().getTime()
  186. var time1 = new Date(new Date(new Date().toLocaleDateString()).getTime() - (1 * 60 * 60 * 1000))
  187. var time2 = new Date()
  188. time2.setHours(8);
  189. time2.setMinutes(0);
  190. time2.setSeconds(0);
  191. var time3 = new Date()
  192. time3.setHours(11);
  193. time3.setMinutes(30);
  194. time3.setSeconds(0);
  195. var time4 = new Date()
  196. time4.setHours(12);
  197. time4.setMinutes(30);
  198. time4.setSeconds(0);
  199. var time5 = new Date()
  200. time5.setHours(15);
  201. time5.setMinutes(30);
  202. time5.setSeconds(0);
  203. var time6 = new Date()
  204. time6.setHours(20);
  205. time6.setMinutes(0);
  206. time6.setSeconds(0);
  207. if (time < time2.getTime() && time > time1 || time < time4.getTime() && time > time3.getTime() || time <
  208. time6.getTime() && time > time5.getTime()) {
  209. this.id = item.id
  210. this.pricestatus = true
  211. } else {
  212. this.shadestatus = true
  213. }
  214. },
  215. commit1(item) {
  216. uni.navigateTo({
  217. url: `/pageB/contract/look?id=${item.id}&contractNo=${item.contractNo}&customer=${item.customer}&goodsName=${item.goodsName}`
  218. })
  219. },
  220. commit2(item) {
  221. uni.navigateTo({
  222. url: `/pageB/contract/collectLook?id=${item.id}&contractNo=${item.contractNo}&customer=${item.customer}&goodsName=${item.goodsName}`
  223. })
  224. },
  225. getList() {
  226. this.goods.commonId = this.userInfo.id
  227. this.$api.doRequest('get', '/purchaseOrder/selectPurchaseOrderApp', this.goods).then(res => {
  228. if (res.data.code == 200) {
  229. this.lists = res.data.data.records
  230. } else {
  231. uni.showToast({
  232. title: res.data.message,
  233. icon: 'none',
  234. duration: 2000
  235. })
  236. }
  237. })
  238. .catch(res => {
  239. uni.showToast({
  240. title: res.errmsg,
  241. icon: 'none',
  242. duration: 2000
  243. })
  244. });
  245. },
  246. ChooseImageCar() {
  247. uni.chooseImage({
  248. count: 1, //默认9
  249. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  250. sourceType: ['album', 'camera'], //从相册选择
  251. success: (res) => {
  252. //上传图片
  253. //图片路径可自行修改
  254. uploadImage(res.tempFilePaths[0], 'carNoImg/',
  255. result => {
  256. if (this.carNoImg.length != 0) {
  257. this.carNoImg1 = result
  258. } else {
  259. this.carNoImg = result
  260. }
  261. uni.hideLoading();
  262. }
  263. )
  264. }
  265. });
  266. },
  267. ViewImage(e) {
  268. var img = [];
  269. img = e.currentTarget.dataset.url.split(' ')
  270. uni.previewImage({
  271. current: 0,
  272. urls: img
  273. });
  274. },
  275. // DelImg(e) {
  276. // uni.showModal({
  277. // title: '提示',
  278. // content: '确定要删除该照片吗?',
  279. // cancelText: '取消',
  280. // confirmText: '确定',
  281. // success: res => {
  282. // if (res.confirm) {
  283. // if (e.currentTarget.dataset.index == 0) {
  284. // this.personNoImg = "";
  285. // } else if (e.currentTarget.dataset.index == 1) {
  286. // this.personNoImg1 = "";
  287. // } else if (e.currentTarget.dataset.index == 2) {
  288. // this.driverNoImg = "";
  289. // } else if (e.currentTarget.dataset.index == 3) {
  290. // this.driverNoImg1 = "";
  291. // } else if (e.currentTarget.dataset.index == 4) {
  292. // this.carNoImg = "";
  293. // } else if (e.currentTarget.dataset.index == 5) {
  294. // this.carNoImg1 = "";
  295. // }
  296. // }
  297. // }
  298. // })
  299. // },
  300. commit11() {
  301. if (this.hasLogin) {
  302. uni.showModal({
  303. title: '登录提示',
  304. content: '您尚未登录,是否立即登录?',
  305. showCancel: true,
  306. confirmText: '登录',
  307. success: (e) => {
  308. if (e.confirm) {
  309. uni.navigateTo({
  310. url: '/pagesB/contract/look'
  311. })
  312. }
  313. },
  314. fail: () => {},
  315. complete: () => {}
  316. })
  317. } else {
  318. const that = this
  319. if (this.TabCur == 0) {
  320. // if (!that.seller) {
  321. // this.$api.msg('请填写卖方');
  322. // return;
  323. // }
  324. // if (!that.sellerPhone) {
  325. // this.$api.msg('请填写手机号码');
  326. // return;
  327. // }
  328. // if (!that.exsitCount) {
  329. // this.$api.msg('请填写库存量');
  330. // return;
  331. // }
  332. // if (!that.minSale) {
  333. // this.$api.msg('请填写最小成交量');
  334. // return;
  335. // }
  336. // if (!that.goodsName) {
  337. // this.$api.msg('请填写货名');
  338. // return;
  339. // }
  340. // if (!that.verifyCode) {
  341. // this.$api.msg('请填写验证码');
  342. // return;
  343. // }
  344. // if (!that.price) {
  345. // that.$api.msg('请选择价格类型')
  346. // return
  347. // }
  348. // if (!that.unitPrice) {
  349. // that.$api.msg('请填写协议价格(元/吨)');
  350. // return
  351. // }
  352. // if (!that.origin) {
  353. // this.$api.msg('请填写产地');
  354. // return;
  355. // }
  356. // if (!that.stock) {
  357. // this.$api.msg('请填写库存地');
  358. // return;
  359. // }
  360. // if (!that.level) {
  361. // this.$api.msg('请填写国标等级');
  362. // return;
  363. // }
  364. // that.saleInfo.seller = that.seller
  365. // that.saleInfo.sellerPhone = that.sellerPhone
  366. // that.saleInfo.priceType = that.price
  367. // that.saleInfo.unitPrice = that.unitPrice
  368. // that.saleInfo.minSale = that.minSale
  369. // that.saleInfo.exsitCount = that.exsitCount
  370. // that.saleInfo.origin = that.origin
  371. // that.saleInfo.stock = that.stock
  372. // that.saleInfo.verifyCode = that.verifyCode
  373. // that.saleInfo.goodsName = that.goodsName
  374. // that.saleInfo.buyer = that.buyer
  375. // that.saleInfo.buyerPhone = that.buyerPhone
  376. // that.saleInfo.level = that.level
  377. } else if (this.TabCur == 1) {
  378. if (!that.buyer) {
  379. this.$api.msg('请填写买方');
  380. return;
  381. }
  382. if (!that.buyerPhone) {
  383. this.$api.msg('请填写手机号码');
  384. return;
  385. }
  386. if (!that.goodsName) {
  387. this.$api.msg('请填写货名');
  388. return;
  389. }
  390. if (!that.verifyCode) {
  391. this.$api.msg('请填写验证码');
  392. return;
  393. }
  394. if (!that.price) {
  395. that.$api.msg('请选择价格类型')
  396. return
  397. }
  398. if (!that.unitPrice) {
  399. that.$api.msg('请填写协议价格(元/吨)');
  400. return
  401. }
  402. if (!that.origin) {
  403. this.$api.msg('请填写产地');
  404. return;
  405. }
  406. if (!that.stock) {
  407. this.$api.msg('请填写库存地');
  408. return;
  409. }
  410. if (!that.level) {
  411. this.$api.msg('请填写国标等级');
  412. return;
  413. }
  414. that.saleInfo.seller = that.seller
  415. that.saleInfo.sellerPhone = that.sellerPhone
  416. that.saleInfo.priceType = that.price
  417. that.saleInfo.unitPrice = that.unitPrice
  418. that.saleInfo.minSale = that.minSale
  419. that.saleInfo.exsitCount = that.exsitCount
  420. that.saleInfo.origin = that.origin
  421. that.saleInfo.stock = that.stock
  422. that.saleInfo.verifyCode = that.verifyCode
  423. that.saleInfo.goodsName = that.goodsName
  424. that.saleInfo.buyer = that.buyer
  425. that.saleInfo.buyerPhone = that.buyerPhone
  426. that.saleInfo.level = that.level
  427. } else if (this.TabCur == 2) {
  428. if (!that.sender) {
  429. this.$api.msg('请填写发货方');
  430. return;
  431. }
  432. if (!that.senderPhone) {
  433. this.$api.msg('请填写发货方手机号码');
  434. return;
  435. }
  436. if (!that.receiver) {
  437. this.$api.msg('请填写收货方');
  438. return;
  439. }
  440. if (!that.receiverPhone) {
  441. this.$api.msg('请填写收货方手机号码');
  442. return;
  443. }
  444. if (!that.goodsName) {
  445. this.$api.msg('请填写货名');
  446. return;
  447. }
  448. if (!that.verifyCode) {
  449. this.$api.msg('请填写验证码');
  450. return;
  451. }
  452. that.tran.sender = that.sender
  453. that.tran.senderPhone = that.senderPhone
  454. that.tran.receiver = that.receiver
  455. that.tran.receiverPhone = that.receiverPhone
  456. that.tran.verifyCode = that.verifyCode
  457. that.tran.goodsName = that.goodsName
  458. that.tran.total = that.total
  459. that.tran.price = that.price
  460. that.tran.startPlace = that.startPlace
  461. that.tran.endPlace = that.endPlace
  462. } else if (this.TabCur == 3) {
  463. if (!that.startPlace) {
  464. this.$api.msg('请填写起始地');
  465. return;
  466. }
  467. if (!that.endPlace) {
  468. this.$api.msg('请填写目的地');
  469. return;
  470. }
  471. if (!that.driver) {
  472. this.$api.msg('请填写承运人');
  473. return;
  474. }
  475. if (!that.driverPhone) {
  476. this.$api.msg('请填写承运人手机号码');
  477. return;
  478. }
  479. if (!/(^1[3|4|5|7|8][0-9]{9}$)/.test(that.driverPhone)) {
  480. that.$api.msg('请输入正确的承运人手机号码');
  481. return
  482. }
  483. if (!that.carNo) {
  484. this.$api.msg('请填写车牌号');
  485. return;
  486. }
  487. if (!that.verifyCode) {
  488. this.$api.msg('请填写验证码');
  489. return;
  490. }
  491. if (!that.personNoImg || !that.personNoImg1) {
  492. that.$api.msg('请上传身份证正、反面照片');
  493. return
  494. }
  495. if (!that.driverNoImg || !that.driverNoImg1) {
  496. that.$api.msg('请上传驾驶证主、副页照片');
  497. return
  498. }
  499. if (!that.carNoImg || !that.carNoImg1) {
  500. that.$api.msg('请上传行车证主、副页照片');
  501. return
  502. }
  503. that.tran.driver = that.driver
  504. that.tran.driverPhone = that.driverPhone
  505. that.tran.verifyCode = that.verifyCode
  506. that.tran.price = that.price
  507. that.tran.startPlace = that.startPlace
  508. that.tran.endPlace = that.endPlace
  509. that.tran.carNo = that.carNo
  510. that.tran.personNoImg = that.personNoImg
  511. that.tran.personNoImg1 = that.personNoImg1
  512. that.tran.driverNoImg = that.driverNoImg
  513. that.tran.driverNoImg1 = that.driverNoImg1
  514. that.tran.carNoImg = that.carNoImg
  515. that.tran.carNoImg1 = that.carNoImg1
  516. }
  517. // 获取用户的当前设置,判断是否点击了“总是保持以上,不在询问”
  518. wx.getSetting({
  519. // withSubscriptions: true,//是否获取用户订阅消息的订阅状态,默认false不返回
  520. success(res) {
  521. if (res.authSetting['scope.subscribeMessage']) {
  522. uni.openSetting({ // 打开设置页
  523. success(res) {
  524. console.log(res.authSetting)
  525. }
  526. });
  527. } else { // 用户没有点击“总是保持以上,不再询问”则每次都会调起订阅消息
  528. uni.requestSubscribeMessage({
  529. tmplIds: ['8cVkckXi_8zfHeScXRHhjN6cgZFYYCWIMPDTiPWagXY'], //
  530. success(res) {
  531. if (res['8cVkckXi_8zfHeScXRHhjN6cgZFYYCWIMPDTiPWagXY'] ==
  532. "accept") { // 字段就是tmplIds模板id
  533. uni.showLoading({
  534. title: '正在提交',
  535. mask: true
  536. })
  537. if (that.TabCur == 0) {
  538. that.$api.request('sale', 'addSale', that.saleInfo,
  539. failres => {
  540. uni.hideLoading()
  541. that.$api.msg(failres.errmsg);
  542. }).then(res => {
  543. uni.hideLoading()
  544. uni.showModal({
  545. title: '提示',
  546. content: "发布提交成功,工作人员会尽快联系该号码:" +
  547. that.sellerPhone,
  548. showCancel: false,
  549. confirmText: '确定',
  550. success: () => {
  551. uni.navigateBack()
  552. }
  553. })
  554. // that.$api.prePage().refreshList(data, that.manageType);
  555. })
  556. } else if (that.TabCur == 1) {
  557. that.$api.request('sale', 'addBuy', that.saleInfo,
  558. failres => {
  559. uni.hideLoading()
  560. that.$api.msg(failres.errmsg);
  561. }).then(res => {
  562. uni.hideLoading()
  563. uni.showModal({
  564. title: '提示',
  565. showCancel: false,
  566. content: "发布提交成功,工作人员会尽快联系该号码:" +
  567. that.buyerPhone,
  568. confirmText: '确定',
  569. success: () => {
  570. uni.navigateBack()
  571. }
  572. })
  573. // that.$api.prePage().refreshList(data, that.manageType);
  574. })
  575. } else if (that.TabCur == 2) {
  576. that.$api.request('tran', 'addTran', that.tran,
  577. failres => {
  578. uni.hideLoading()
  579. that.$api.msg(failres.errmsg);
  580. }).then(res => {
  581. uni.hideLoading()
  582. uni.showModal({
  583. title: '提示',
  584. showCancel: false,
  585. content: "发布提交成功,工作人员会尽快联系该号码:" +
  586. that.senderPhone,
  587. confirmText: '确定',
  588. success: () => {
  589. uni.navigateBack()
  590. }
  591. })
  592. // that.$api.prePage().refreshList(data, that.manageType);
  593. })
  594. } else if (that.TabCur == 3) {
  595. that.$api.request('tran', 'addCarDriver', that.tran,
  596. failres => {
  597. uni.hideLoading()
  598. that.$api.msg(failres.errmsg);
  599. }).then(res => {
  600. uni.hideLoading()
  601. uni.showModal({
  602. title: '提示',
  603. showCancel: false,
  604. content: "发布提交成功,工作人员会尽快联系该号码:" +
  605. that.driverPhone,
  606. confirmText: '确定',
  607. success: () => {
  608. uni.navigateBack()
  609. }
  610. })
  611. // that.$api.prePage().refreshList(data, that.manageType);
  612. })
  613. }
  614. }
  615. }
  616. })
  617. }
  618. }
  619. })
  620. }
  621. }
  622. },
  623. }
  624. </script>
  625. <style scoped>
  626. .center {
  627. padding: 10px 20px;
  628. background-color: #F5F6FA;
  629. }
  630. .region {
  631. background-color: #FFFFFF;
  632. border-radius: 20px;
  633. margin-top: 10px;
  634. }
  635. .zan-dialog__mask {
  636. position: fixed;
  637. top: 0;
  638. left: 0;
  639. right: 0;
  640. bottom: 0;
  641. z-index: 10;
  642. background: rgba(0, 0, 0, 0);
  643. /*设置阴影半透明背景如: background: rgba(0, 0, 0, 0.4);*/
  644. display: none;
  645. }
  646. .zan-dialog__container {
  647. position: fixed;
  648. bottom: 400rpx;
  649. width: 650rpx;
  650. /*弹窗布局宽*/
  651. height: 350rpx;
  652. /*弹窗布局高,与下面弹出距离transform有关*/
  653. margin-left: 50rpx;
  654. background: #f8f8f8;
  655. transform: translateY(300%);
  656. /*弹框弹出距离,与弹框布局高度有关,如300%表示弹起距离为3倍弹窗高度 */
  657. transition: all 0.4s ease;
  658. z-index: 12;
  659. border-radius: 20rpx;
  660. box-shadow: 0px 3px 3px 2px gainsboro;
  661. /*弹框的悬浮阴影效果,如不需要可注释该行*/
  662. }
  663. .zan-dialog--show .zan-dialog__container {
  664. transform: translateY(0);
  665. }
  666. .zan-dialog--show .zan-dialog__mask {
  667. display: block;
  668. }
  669. .container {
  670. padding-bottom: 160rpx;
  671. }
  672. .cu-form-group input {
  673. text-align: right;
  674. }
  675. .text-white text {
  676. background: linear-gradient(45deg, #3DC146, #B2D612);
  677. padding: 5px 10px;
  678. border-radius: 38rpx;
  679. }
  680. .cu-form-group textarea {
  681. text-align: right;
  682. }
  683. .commit {
  684. background: linear-gradient(45deg, #DF331C, #DA611A);
  685. color: #fff;
  686. }
  687. .shade {
  688. position: fixed;
  689. top: 0;
  690. left: 0;
  691. width: 100%;
  692. background: rgba(0, 0, 0, 0.5);
  693. height: 100%;
  694. z-index: 999999;
  695. }
  696. .shade-content {
  697. background: #fff;
  698. position: absolute;
  699. top: 50%;
  700. left: 50%;
  701. border-radius: 20px;
  702. transform: translateX(-50%) translateY(-50%);
  703. z-index: 999999;
  704. text-align: center;
  705. }
  706. .shade-content-item {
  707. width: 277px;
  708. text-align: center;
  709. height: 121px;
  710. padding: 35px 10px;
  711. }
  712. .c-row {
  713. display: -webkit-box;
  714. display: -webkit-flex;
  715. display: flex;
  716. -webkit-box-align: center;
  717. -webkit-align-items: center;
  718. align-items: center;
  719. padding: 20rpx 30rpx;
  720. position: relative;
  721. }
  722. .con-list {
  723. -webkit-box-flex: 1;
  724. -webkit-flex: 1;
  725. flex: 1;
  726. display: -webkit-box;
  727. display: -webkit-flex;
  728. display: flex;
  729. -webkit-box-orient: vertical;
  730. -webkit-box-direction: normal;
  731. -webkit-flex-direction: column;
  732. flex-direction: column;
  733. color: #303133;
  734. line-height: 40rpx;
  735. text-align: right;
  736. padding-right: 20rpx;
  737. font-size: 14px;
  738. }
  739. .forList {
  740. width: 90%;
  741. height: 30px;
  742. margin: 0 auto;
  743. background-color: #F9F9FA;
  744. border-radius: 10px;
  745. }
  746. .forList .title {
  747. line-height: 30px;
  748. margin-left: 15px;
  749. color: #9698A2;
  750. }
  751. .tit {
  752. width: 34px;
  753. height: 24px;
  754. background-color: #E9F8F0;
  755. color: #22C572;
  756. padding: 2px 3px;
  757. border-radius: 5px;
  758. }
  759. .tit1 {
  760. width: 34px;
  761. height: 24px;
  762. background-color: #FEECE6;
  763. color: #FE6430;
  764. padding: 2px 3px;
  765. border-radius: 5px;
  766. }
  767. .enterprise {
  768. font-size: 16px;
  769. font-weight: 600;
  770. margin-left: 20px;
  771. }
  772. .annius{
  773. width: 70%;
  774. margin-left: 110px;
  775. }
  776. .anniu{
  777. width: 50px;
  778. font-size: 16px;
  779. border: 1px solid #CDCDCD;
  780. border-radius: 12px;
  781. position: relative;
  782. margin-right: 10px;
  783. text-align: center;
  784. line-height: 30px;
  785. }
  786. .anniu1{
  787. width: 50px;
  788. font-size: 16px;
  789. border: 1px solid #22C572;
  790. border-radius: 15px;
  791. color: #22C572;
  792. position: relative;
  793. margin-right: 10px;
  794. text-align: center;
  795. line-height: 30px;
  796. }
  797. .titles{
  798. color: #333333;
  799. font-size: 16px;
  800. font-weight: 600;
  801. margin-top: -16px;
  802. margin-bottom: 10px;
  803. }
  804. .timeslot{
  805. font-size: 14px;
  806. color: #333333;
  807. height: 20px;
  808. }
  809. .cancel{
  810. text-align: center;
  811. width: 100%;
  812. color:#22C572;
  813. border-top: 1px solid #EEEEEE;
  814. margin-bottom: 6px;
  815. font-size: 18px;
  816. line-height: 40px;
  817. display:inline-block;
  818. }
  819. .pointprice{
  820. border-bottom: 1px solid #EEEEEE;
  821. text-align: left;
  822. padding-left: 10px;
  823. width: 70%;
  824. margin: 0 auto;
  825. }
  826. .titles1{
  827. color: #333333;
  828. font-size: 16px;
  829. font-weight: 600;
  830. margin-top: 10px;
  831. }
  832. .btns{
  833. width: 50%;
  834. line-height: 50px;
  835. font-size: 18px;
  836. border-top: 1px solid #EEEEEE;
  837. margin-top: -20px;
  838. }
  839. .btn1{
  840. color: #AFB3BF;
  841. border-right: 1px solid #EEEEEE;
  842. }
  843. .btn2{
  844. color: #22C572;
  845. }
  846. .status{
  847. right: 20px;
  848. position: absolute;
  849. }
  850. </style>