contract.vue 20 KB

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