contract.vue 22 KB

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