contract.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836
  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">采购</text>
  7. <view class="enterprise">
  8. 编号{{item.contractNo}}{{item.procurementPlanType}}
  9. </view>
  10. </view>
  11. <text>{{item.status}}</text>
  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><button class="cu-btn commit margin-tb-sm lg"
  31. style=" width: 75px;height: 25px; margin-left: 15px;" @click="commit">附件</button></text>
  32. <text><button class="cu-btn commit margin-tb-sm lg"
  33. style=" margin-left: 15px; width: 75px;height: 25px;"
  34. @click="someprice(item)">点价</button></text>
  35. <text><button class="cu-btn commit margin-tb-sm lg"
  36. style=" margin-left: 15px; width: 75px;height: 25px;" @click="commit1(item)">发货</button></text>-->
  37. </view>
  38. </view>
  39. <view v-if='pricestatus' class='shade'>
  40. <view class='shade-content'>
  41. <view class='shade-content-item'>
  42. <input v-model='price' placeholder="请输入点价价格" type="number">元/吨
  43. </view>
  44. <view>
  45. <button style='width:50%;display:inline-block;' @click='pricestatus=false'>取消</button>
  46. <button style='width:50%;display:inline-block;' @click='amendprice'>确定</button>
  47. </view>
  48. </view>
  49. </view>
  50. <view v-if='shadestatus' class='shade'>
  51. <view class='shade-content'>
  52. <view class='shade-content-item'>
  53. <view>请于以下时间段进行点价操作:</view>
  54. <view>11:30 ~ 12:30</view>
  55. <view>14:19 ~ 20:00</view>
  56. <view>23:00 ~ 08:00</view>
  57. </view>
  58. <button style='width:50%;display:inline-block;' @click='shadestatus=false'>取消</button>
  59. </view>
  60. </view>
  61. <view class="padding flex flex-direction">
  62. <!-- <button class="cu-btn commit margin-tb-sm lg" @click="commit">提交</button> -->
  63. </view>
  64. <!-- </block> -->
  65. </view>
  66. </template>
  67. <script>
  68. import uploadImage from '@/components/ossutil/uploadFile.js';
  69. import {
  70. mapState
  71. } from 'vuex';
  72. export default {
  73. name: "trust",
  74. data() {
  75. return {
  76. lists: [],
  77. shadestatus: false,
  78. pricestatus: false,
  79. goods: {
  80. pageSize: 10,
  81. currentPage: 1,
  82. id: "41651544",
  83. // pcFlag : 0,
  84. },
  85. procurementPlanInfo: {
  86. pageSize: 10,
  87. currentPage: 1
  88. },
  89. tran: {
  90. total: 0,
  91. price: 0,
  92. startPlace: undefined,
  93. endPlace: undefined,
  94. goodsName: undefined,
  95. sender: '',
  96. senderPhone: '',
  97. status: 0,
  98. receiver: '',
  99. receiverPhone: '',
  100. verifyCode: '',
  101. driver: '',
  102. driverPhone: '',
  103. carNo: '',
  104. personNoImg: '',
  105. personNoImg1: '',
  106. driverNoImg: '',
  107. driverNoImg1: '',
  108. carNoImg: '',
  109. carNoImg1: ''
  110. },
  111. id: 0,
  112. PageCur: "trust",
  113. TabCur: 0,
  114. priceTypeIndex: -1,
  115. priceType: ['库内价', '到库价', '到港价'],
  116. unitPrice: 0,
  117. price: 0,
  118. seller: '',
  119. sellerPhone: '',
  120. minSale: '',
  121. exsitCount: 0,
  122. origin: '',
  123. stock: '',
  124. goodsName: '',
  125. verifyCode: '',
  126. sendText0: '获取验证码',
  127. sendText1: '获取验证码',
  128. sendText2: '获取验证码',
  129. sendText3: '获取验证码',
  130. sendDisabled0: false,
  131. sendDisabled1: false,
  132. sendDisabled2: false,
  133. sendDisabled3: false,
  134. buyer: '',
  135. buyerPhone: '',
  136. level: '',
  137. sender: '',
  138. senderPhone: '',
  139. receiver: '',
  140. receiverPhone: '',
  141. total: 0,
  142. startPlace: '',
  143. endPlace: '',
  144. driver: '',
  145. driverPhone: '',
  146. carNo: '',
  147. personNoImg: '',
  148. personNoImg1: '',
  149. driverNoImg: '',
  150. driverNoImg1: '',
  151. carNoImg: '',
  152. carNoImg1: '',
  153. showTran: true
  154. };
  155. },
  156. computed: {
  157. ...mapState(['hasLogin', 'userInfo'])
  158. },
  159. // onShow() {
  160. // this.loadData()
  161. // },
  162. onLoad() {
  163. this.getList()
  164. },
  165. methods: {
  166. amendprice() {
  167. this.$api.doRequest('post', '/purchaseOrder/api/pointPrice', {
  168. id: this.id,
  169. unitPrice: Number(this.price)
  170. }).then(res => {
  171. if (res.data.code == 200) {
  172. this.pricestatus = false
  173. } else {
  174. uni.showToast({
  175. title: res.data.message,
  176. icon: 'none',
  177. duration: 2000
  178. })
  179. }
  180. })
  181. .catch(res => {
  182. uni.showToast({
  183. title: res.errmsg,
  184. icon: 'none',
  185. duration: 2000
  186. })
  187. });
  188. },
  189. someprice(item) {
  190. var time = new Date().getTime()
  191. var time1 = new Date(new Date(new Date().toLocaleDateString()).getTime() - (1 * 60 * 60 * 1000))
  192. var time2 = new Date()
  193. time2.setHours(8);
  194. time2.setMinutes(0);
  195. time2.setSeconds(0);
  196. var time3 = new Date()
  197. time3.setHours(11);
  198. time3.setMinutes(30);
  199. time3.setSeconds(0);
  200. var time4 = new Date()
  201. time4.setHours(12);
  202. time4.setMinutes(30);
  203. time4.setSeconds(0);
  204. var time5 = new Date()
  205. time5.setHours(15);
  206. time5.setMinutes(30);
  207. time5.setSeconds(0);
  208. var time6 = new Date()
  209. time6.setHours(20);
  210. time6.setMinutes(0);
  211. time6.setSeconds(0);
  212. if (time < time2.getTime() && time > time1 || time < time4.getTime() && time > time3.getTime() || time <
  213. time6.getTime() && time > time5.getTime()) {
  214. this.id = item.id
  215. this.pricestatus = true
  216. } else {
  217. this.shadestatus = true
  218. }
  219. },
  220. commit1(item) {
  221. uni.navigateTo({
  222. url: `/pageB/contract/look?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/selectPurchaseOrder', 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. console.log(res)
  532. if (res['8cVkckXi_8zfHeScXRHhjN6cgZFYYCWIMPDTiPWagXY'] ==
  533. "accept") { // 字段就是tmplIds模板id
  534. uni.showLoading({
  535. title: '正在提交',
  536. mask: true
  537. })
  538. if (that.TabCur == 0) {
  539. that.$api.request('sale', 'addSale', that.saleInfo,
  540. failres => {
  541. uni.hideLoading()
  542. that.$api.msg(failres.errmsg);
  543. }).then(res => {
  544. uni.hideLoading()
  545. uni.showModal({
  546. title: '提示',
  547. content: "发布提交成功,工作人员会尽快联系该号码:" +
  548. that.sellerPhone,
  549. showCancel: false,
  550. confirmText: '确定',
  551. success: () => {
  552. uni.navigateBack()
  553. }
  554. })
  555. // that.$api.prePage().refreshList(data, that.manageType);
  556. })
  557. } else if (that.TabCur == 1) {
  558. that.$api.request('sale', 'addBuy', that.saleInfo,
  559. failres => {
  560. uni.hideLoading()
  561. that.$api.msg(failres.errmsg);
  562. }).then(res => {
  563. uni.hideLoading()
  564. uni.showModal({
  565. title: '提示',
  566. showCancel: false,
  567. content: "发布提交成功,工作人员会尽快联系该号码:" +
  568. that.buyerPhone,
  569. confirmText: '确定',
  570. success: () => {
  571. uni.navigateBack()
  572. }
  573. })
  574. // that.$api.prePage().refreshList(data, that.manageType);
  575. })
  576. } else if (that.TabCur == 2) {
  577. that.$api.request('tran', 'addTran', that.tran,
  578. failres => {
  579. uni.hideLoading()
  580. that.$api.msg(failres.errmsg);
  581. }).then(res => {
  582. uni.hideLoading()
  583. uni.showModal({
  584. title: '提示',
  585. showCancel: false,
  586. content: "发布提交成功,工作人员会尽快联系该号码:" +
  587. that.senderPhone,
  588. confirmText: '确定',
  589. success: () => {
  590. uni.navigateBack()
  591. }
  592. })
  593. // that.$api.prePage().refreshList(data, that.manageType);
  594. })
  595. } else if (that.TabCur == 3) {
  596. that.$api.request('tran', 'addCarDriver', that.tran,
  597. failres => {
  598. uni.hideLoading()
  599. that.$api.msg(failres.errmsg);
  600. }).then(res => {
  601. uni.hideLoading()
  602. uni.showModal({
  603. title: '提示',
  604. showCancel: false,
  605. content: "发布提交成功,工作人员会尽快联系该号码:" +
  606. that.driverPhone,
  607. confirmText: '确定',
  608. success: () => {
  609. uni.navigateBack()
  610. }
  611. })
  612. // that.$api.prePage().refreshList(data, that.manageType);
  613. })
  614. }
  615. }
  616. }
  617. })
  618. }
  619. }
  620. })
  621. }
  622. }
  623. },
  624. }
  625. </script>
  626. <style scoped>
  627. .center {
  628. padding: 10px 20px;
  629. background-color: #F5F6FA;
  630. }
  631. .region {
  632. background-color: #FFFFFF;
  633. border-radius: 20px;
  634. margin-top: 10px;
  635. }
  636. .zan-dialog__mask {
  637. position: fixed;
  638. top: 0;
  639. left: 0;
  640. right: 0;
  641. bottom: 0;
  642. z-index: 10;
  643. background: rgba(0, 0, 0, 0);
  644. /*设置阴影半透明背景如: background: rgba(0, 0, 0, 0.4);*/
  645. display: none;
  646. }
  647. .zan-dialog__container {
  648. position: fixed;
  649. bottom: 400rpx;
  650. width: 650rpx;
  651. /*弹窗布局宽*/
  652. height: 350rpx;
  653. /*弹窗布局高,与下面弹出距离transform有关*/
  654. margin-left: 50rpx;
  655. background: #f8f8f8;
  656. transform: translateY(300%);
  657. /*弹框弹出距离,与弹框布局高度有关,如300%表示弹起距离为3倍弹窗高度 */
  658. transition: all 0.4s ease;
  659. z-index: 12;
  660. border-radius: 20rpx;
  661. box-shadow: 0px 3px 3px 2px gainsboro;
  662. /*弹框的悬浮阴影效果,如不需要可注释该行*/
  663. }
  664. .zan-dialog--show .zan-dialog__container {
  665. transform: translateY(0);
  666. }
  667. .zan-dialog--show .zan-dialog__mask {
  668. display: block;
  669. }
  670. .container {
  671. padding-bottom: 160rpx;
  672. }
  673. .cu-form-group input {
  674. text-align: right;
  675. }
  676. .text-white text {
  677. background: linear-gradient(45deg, #3DC146, #B2D612);
  678. padding: 5px 10px;
  679. border-radius: 38rpx;
  680. }
  681. .cu-form-group textarea {
  682. text-align: right;
  683. }
  684. .commit {
  685. background: linear-gradient(45deg, #DF331C, #DA611A);
  686. color: #fff;
  687. }
  688. .shade {
  689. position: fixed;
  690. top: 0;
  691. left: 0;
  692. width: 100%;
  693. background: rgba(0, 0, 0, 0.5);
  694. height: 100%;
  695. z-index: 999999;
  696. }
  697. .shade-content {
  698. background: #fff;
  699. position: absolute;
  700. top: 50%;
  701. left: 50%;
  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: 15px;
  781. /* margin-left: 20px; */
  782. position: relative;
  783. margin-right: 10px;
  784. text-align: center;
  785. line-height: 30px;
  786. }
  787. .anniu1{
  788. width: 50px;
  789. font-size: 16px;
  790. border: 1px solid #22C572;
  791. border-radius: 15px;
  792. color: #22C572;
  793. /* margin-left: 20px; */
  794. position: relative;
  795. margin-right: 10px;
  796. text-align: center;
  797. line-height: 30px;
  798. }
  799. </style>