contract.vue 23 KB

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