buyGrain.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604
  1. <template>
  2. <view class="center">
  3. <view class="c-row b-b">
  4. <text class="tit">名头</text>
  5. <view class="con-list">
  6. <text @click="navToDetailPage">{{deptList.procurementPlanNo}}</text>
  7. </view>
  8. </view>
  9. <view class="c-row b-b">
  10. <text class="tit">标题</text>
  11. <view class="con-list">
  12. <input maxlength='16' minlength='2' placeholder="请输入标题,不超过16个字" name="input" v-model="deptList.title"></input>
  13. </view>
  14. </view>
  15. <view class="c-row b-b">
  16. <text class="tit">货名</text>
  17. <view class="con-list">
  18. <input placeholder="请输入货名,如玉米" name="input" v-model="deptList.goodsName"></input>
  19. </view>
  20. </view>
  21. <view class="c-row b-b">
  22. <text class="tit">采购量(吨)</text>
  23. <view class="con-list">
  24. <input placeholder="请输入采购重量,如1000" name="input" v-model="deptList.plannedPurchaseVolume"></input>
  25. </view>
  26. </view>
  27. <view class="c-row b-b">
  28. <text class="tit">最小成交量(吨)</text>
  29. <view class="con-list">
  30. <input placeholder="请输入最小成交量" name="input" v-model="deptList.minimumVolume"></input>
  31. </view>
  32. </view>
  33. <view class="c-row b-b">
  34. <text class="tit">类型</text>
  35. <picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list"
  36. >
  37. <view class="picker" v-model="deptList.procurementPlanType">
  38. {{typesIndex>-1?typesType[typesIndex]:'请选择类型'}}
  39. </view>
  40. </picker>
  41. </view>
  42. <view class="c-row b-b">
  43. <text class="tit">价格类型</text>
  44. <view class="con-list">
  45. <!-- <input placeholder="请填写价格类型" name="input" v-model="deptList.priceType"></input> -->
  46. {{deptList.priceType}}
  47. </view>
  48. </view>
  49. <view class="c-row b-b" v-if="this.typesIndex != 1">
  50. <text class="tit">单价(元/吨)</text>
  51. <view class="con-list">
  52. <input placeholder="请填写单价" name="input" v-model="deptList.unitPrice"></input>
  53. </view>
  54. </view>
  55. <view class="c-row b-b" v-if="this.typesIndex == 1">
  56. <text class="tit">基差(元/吨)</text>
  57. <view class="con-list">
  58. <input placeholder="请输入基差" name="input" v-model="deptList.basisPrice"></input>
  59. </view>
  60. </view>
  61. <view class="c-row b-b">
  62. <text class="tit">产地</text>
  63. <view class="con-list">
  64. <view @click='regionchange1'>{{region1}}</view>
  65. <u-picker :params='params1' @confirm='regionpicker1' mode="region" v-model="show1" ></u-picker>
  66. </view>
  67. </view>
  68. <view class="c-row b-b">
  69. <text class="tit">收货地区</text>
  70. <view class="con-list">
  71. <view @click='regionchange'>{{region}}</view>
  72. <u-picker :params='params' @confirm='regionpicker' mode="region" v-model="show" ></u-picker>
  73. </view>
  74. </view>
  75. <view class="c-row b-b">
  76. <text class="tit">买方手机号</text>
  77. <view class="con-list">
  78. <input placeholder="请输入买方手机号" name="input" v-model="deptList.buyerPhone"></input>
  79. </view>
  80. </view>
  81. <view class="c-row b-b">
  82. <button @click='getcode' type="default">{{sendText}}</button>
  83. <view class="con-list">
  84. <input placeholder="请填写6位短信验证码" name="input" v-model="deptList.title1"></input>
  85. </view>
  86. </view>
  87. <view class="c-row b-b">
  88. <checkbox style='transform: scale(0.8);' :checked="checked" @click='checkedbox'></checkbox>完善更多信息(选填,可由客服人员代为完善)
  89. </view>
  90. <view v-if='checked' class="c-row b-b">
  91. <text class="tit">水分(%)<= </text>
  92. <view class="con-list">
  93. <input placeholder="请填写水分占比" name="input" v-model="deptList.waterContent"></input>
  94. </view>
  95. </view>
  96. <view v-if='checked' class="c-row b-b">
  97. <text class="tit">容重(g/L)<= </text>
  98. <view class="con-list">
  99. <input placeholder="请填写容重" name="input" v-model="deptList.bulkDensity"></input>
  100. </view>
  101. </view>
  102. <view v-if='checked' class="c-row b-b">
  103. <text class="tit">热损伤(%)<= </text>
  104. <view class="con-list">
  105. <input placeholder="请填写热损伤占比" name="input" v-model="deptList.jiaorenli"></input>
  106. </view>
  107. </view>
  108. <view v-if='checked' class="c-row b-b">
  109. <text class="tit">杂质(%)<= </text>
  110. <view class="con-list">
  111. <input placeholder="请填写杂质占比" name="input" v-model="deptList.impurity"></input>
  112. </view>
  113. </view>
  114. <view v-if='checked' class="c-row b-b">
  115. <text class="tit">霉变粒(%)<= </text>
  116. <view class="con-list">
  117. <input placeholder="请填写霉变粒占比" name="input" v-model="deptList.mildewGrain"></input>
  118. </view>
  119. </view>
  120. <view v-if='checked' class="c-row b-b">
  121. <text class="tit">不完整粒(%)<= </text>
  122. <view class="con-list">
  123. <input placeholder="请填写不完整粒占比" name="input" v-model="deptList.imperfectGrain"></input>
  124. </view>
  125. </view>
  126. <view v-if='checked' class="c-row b-b">
  127. <text class="tit">蛋白(%)<= </text>
  128. <view class="con-list">
  129. <input placeholder="请填写蛋白占比" name="input" v-model="deptList.protein"></input>
  130. </view>
  131. </view>
  132. <view v-if='checked' class="c-row b-b">
  133. <text class="tit">粒型 </text>
  134. <picker @change="liChange" :value="liIndex" :range="liType" class="con-list" v-model="deptList.grain">
  135. <view class="con-list">
  136. {{liIndex>-1?liType[liIndex]:'请选择粒型'}}
  137. </view>
  138. </picker>
  139. </view>
  140. <view v-if='checked' class="c-row b-b">
  141. <text class="tit">品级 </text>
  142. <picker @change="pinChange" :value="pinIndex" :range="pinType" class="con-list">
  143. <view class="con-list">
  144. {{pinIndex>-1?pinType[pinIndex]:'请选择品级'}}
  145. </view>
  146. </picker>
  147. </view>
  148. <view v-if='checked' class="c-row b-b">
  149. <text class="tit">产出年份</text>
  150. <picker @change="nianChange" :value="nianIndex" :range="nianType" class="con-list">
  151. <view class="con-list">
  152. {{nianIndex>-1?nianType[nianIndex]:'请选择产出年份'}}
  153. </view>
  154. </picker>
  155. </view>
  156. <view v-if='checked' class="c-row b-b">
  157. <text class="tit">包装方式</text>
  158. <picker @change="baoChange" :value="baoIndex" :range="baoType" class="con-list">
  159. <view class="con-list">
  160. {{baoIndex>-1?baoType[baoIndex]:'请选择包装方式'}}
  161. </view>
  162. </picker>
  163. </view>
  164. <view v-if='checked&&baoIndex==2||!checked&&baoIndex==3' class="c-row b-b">
  165. <text class="tit">袋装备注</text>
  166. <view class="con-list">
  167. <input placeholder="请填写袋装备注" name="input" v-model="deptList.baggingNotes"></input>
  168. </view>
  169. </view>
  170. <view v-if='checked' class="c-row b-b">
  171. <text class="tit">运费承担方</text>
  172. <picker @change="chengChange" :value="chengIndex" :range="chengType" class="con-list">
  173. <view class="con-list">
  174. {{chengIndex>-1?chengType[chengIndex]:'请选择运费承担方'}}
  175. </view>
  176. </picker>
  177. </view>
  178. <button @click="commit()">发布</button>
  179. </view>
  180. </template>
  181. <script>
  182. import {
  183. mapState
  184. } from 'vuex';
  185. export default {
  186. data() {
  187. return {
  188. types: '',
  189. goods:{},
  190. typesType: ["现货", "期货"],
  191. typesIndex: 0,
  192. deptList: {
  193. priceType: "定价采购",
  194. procurementPlanType:"现货",
  195. grain:"不限",
  196. grainKey:1,
  197. grade:"不限",
  198. gradeKey:1,
  199. outputYear:"2020",
  200. packingType:"不限",
  201. packingTypeKey:0,
  202. freightPayer:"",
  203. },
  204. params:{
  205. province: true,
  206. city: true,
  207. area: true,
  208. },
  209. params1:{
  210. province: true,
  211. city: true,
  212. },
  213. checked:true,
  214. insertProcurementPlanInfo: {},
  215. liIndex: 0,
  216. liType: ['不限','塔粮', '筛粮', '中粒', '大粒'],
  217. pinIndex: 0,
  218. pinType: ['不限', '一等品', '二等品', '三等品', '等外'],
  219. nianIndex: 3,
  220. nianType: ['2023', '2022', '2021', '2020', '2019', '2018', '2017', '2016', '2015', '2014', '2013', '2012',
  221. '2011'
  222. ],
  223. sendText:'获取验证码',
  224. show:false,
  225. show1:false,
  226. region:'请选择收货地区',
  227. region1:'请选择产地',
  228. baoIndex: 0,
  229. baoType: ['不限', '散装', '大袋', '小袋'],
  230. chengIndex: -1,
  231. chengType: ['可议', '买方承担', '卖方承担']
  232. }
  233. },
  234. computed: {
  235. ...mapState(['hasLogin','userInfo'])
  236. },
  237. onLoad(options){
  238. if(options.customerName){
  239. this.deptList.procurementPlanNo=options.customerName
  240. }
  241. },
  242. onShow(){
  243. var that=this
  244. this.$api.doRequest('get', '/identityAuthenticationInfo/getInfo',{commonId:this.userInfo.id}).then(res => {
  245. if(res.data.code==200){
  246. if(res.data.data.customerTypeFlag==1){
  247. that.$set(this.deptList,'procurementPlanNo',res.data.data.customerName)
  248. }else{
  249. that.$set(this.deptList,'procurementPlanNo',res.data.data.compName)
  250. }
  251. this.goods=res.data.data
  252. }
  253. uni.hideLoading()
  254. })
  255. },
  256. methods: {
  257. getcode(){
  258. var that = this
  259. if(/^0?1[3|4|5|6|7|8][0-9]\d{8}$/.test(this.deptList.buyerPhone)){
  260. this.$api.doRequest('get','/commonUser/sendVerifyCode',{phone:this.deptList.buyerPhone}).then(res => {
  261. if(res.data.code==200){
  262. that.sendDisabled = true
  263. let sec = 60
  264. let interval = setInterval(() => {
  265. sec--;
  266. that.sendText = sec + 's后重发'
  267. if (sec <= 0) {
  268. that.sendDisabled = false
  269. that.sendText = "获取验证码"
  270. clearInterval(interval)
  271. }
  272. }, 1000)
  273. }else{
  274. uni.showToast({
  275. title: res.data.message,
  276. icon:'none',
  277. duration: 2000
  278. })
  279. }
  280. })
  281. .catch(res => {
  282. uni.showToast({
  283. title: res.data.message,
  284. icon:'none',
  285. duration: 2000
  286. })
  287. });
  288. }else{
  289. uni.showToast({
  290. title: '请输入正确的手机号',
  291. icon:'none',
  292. duration: 2000
  293. })
  294. }
  295. },
  296. regionpicker(e){
  297. this.deptList.receivePrivate=e.province.label
  298. this.deptList.receiveCity=e.city.label
  299. this.deptList.receiveArea=e.area.label
  300. this.region=e.province.label+'-'+e.city.label+'-'+e.area.label
  301. },
  302. regionchange(){
  303. this.show=true
  304. },
  305. regionpicker1(e){
  306. this.deptList.outputPrivate=e.province.label
  307. this.deptList.outputCity=e.city.label
  308. this.region1=e.province.label+'-'+e.city.label
  309. },
  310. regionchange1(){
  311. this.show1=true
  312. },
  313. checkedbox(e){
  314. this.checked=!this.checked
  315. },
  316. typeChange(e) {
  317. this.typesIndex = e.detail.value
  318. if(e.detail.value==0){
  319. this.deptList.priceType = '定价采购'
  320. this.deptList.procurementPlanTypeKey =2
  321. }else{
  322. this.deptList.priceType = '期货盘面价+基差'
  323. this.deptList.procurementPlanTypeKey =1
  324. }
  325. this.deptList.procurementPlanType = this.typesType[this.typesIndex];
  326. },
  327. navToDetailPage() {
  328. // if (index == 1) {
  329. uni.navigateTo({
  330. url: `/pageD/myRelease/Identity_switching`
  331. })
  332. },
  333. commit() {
  334. this.insertProcurementPlanInfo = this.deptList
  335. // if (!this.deptList.goodsName) {
  336. // this.$api.msg('货名1不能为空')
  337. // return
  338. // }
  339. if (!this.deptList.title) {
  340. this.$api.msg('标题不能为空')
  341. return
  342. }
  343. if (this.deptList.title.length>16||this.deptList.title.length<2) {
  344. this.$api.msg('标题输入错误')
  345. return
  346. }
  347. if (!this.deptList.goodsName) {
  348. this.$api.msg('货名不能为空')
  349. return
  350. }
  351. if (this.deptList.goodsName.length>6||this.deptList.goodsName.length<1) {
  352. this.$api.msg('货名输入错误')
  353. return
  354. }
  355. if (!this.insertProcurementPlanInfo.plannedPurchaseVolume) {
  356. this.$api.msg('采购量不能为空')
  357. return
  358. }
  359. if (this.deptList.plannedPurchaseVolume>100000||this.deptList.plannedPurchaseVolume<1) {
  360. this.$api.msg('采购量输入错误')
  361. return
  362. }
  363. if (this.deptList.plannedPurchaseVolume.indexOf('.')!=-1) {
  364. if(this.deptList.plannedPurchaseVolume.split('.')[1].length>2){
  365. this.$api.msg('采购量输入错误')
  366. return
  367. }
  368. }
  369. if (!this.insertProcurementPlanInfo.minimumVolume) {
  370. this.$api.msg('最小成交量不能为空')
  371. return
  372. }
  373. if (this.insertProcurementPlanInfo.minimumVolume>100000||this.insertProcurementPlanInfo.minimumVolume<1) {
  374. this.$api.msg('最小成交量输入错误')
  375. return
  376. }
  377. if (this.insertProcurementPlanInfo.minimumVolume.indexOf('.')!=-1) {
  378. if(this.insertProcurementPlanInfo.minimumVolume.split('.')[1].length>2){
  379. this.$api.msg('最小成交量输入错误')
  380. return
  381. }
  382. }
  383. if (!this.insertProcurementPlanInfo.procurementPlanType) {
  384. this.$api.msg('类型不能为空')
  385. return
  386. }
  387. if (!this.insertProcurementPlanInfo.priceType) {
  388. this.$api.msg('价格类型不能为空')
  389. return
  390. }
  391. if(this.insertProcurementPlanInfo.procurementPlanType == '现货'){
  392. if (!this.insertProcurementPlanInfo.unitPrice) {
  393. this.$api.msg('单价不能为空')
  394. return
  395. }
  396. if (this.insertProcurementPlanInfo.unitPrice>100000||this.insertProcurementPlanInfo.unitPrice<1) {
  397. this.$api.msg('单价输入错误')
  398. return
  399. }
  400. if (this.insertProcurementPlanInfo.unitPrice.indexOf('.')!=-1) {
  401. if(this.insertProcurementPlanInfo.unitPrice.split('.')[1].length>2){
  402. this.$api.msg('单价输入错误')
  403. return
  404. }
  405. }
  406. }else if(this.insertProcurementPlanInfo.procurementPlanType == '期货'){
  407. if (!this.insertProcurementPlanInfo.basisPrice) {
  408. this.$api.msg('基差不能为空')
  409. return
  410. }
  411. if (this.insertProcurementPlanInfo.basisPrice>10000||this.insertProcurementPlanInfo.basisPrice<1) {
  412. this.$api.msg('基差输入错误')
  413. return
  414. }
  415. if (this.insertProcurementPlanInfo.basisPrice.indexOf('.')!=-1) {
  416. if(this.insertProcurementPlanInfo.basisPrice.split('.')[1].length>2){
  417. this.$api.msg('基差输入错误')
  418. return
  419. }
  420. }
  421. }
  422. if (!this.insertProcurementPlanInfo.buyerPhone) {
  423. this.$api.msg('买方手机号不能为空')
  424. return
  425. }
  426. if (this.insertProcurementPlanInfo.waterContent&&this.insertProcurementPlanInfo.waterContent<1||
  427. this.insertProcurementPlanInfo.waterContent&&this.insertProcurementPlanInfo.waterContent>40) {
  428. this.$api.msg('水分输入错误')
  429. return
  430. }
  431. if (this.insertProcurementPlanInfo.waterContent&&this.insertProcurementPlanInfo.waterContent.indexOf('.')!=-1) {
  432. if(this.insertProcurementPlanInfo.waterContent.split('.')[1].length>2){
  433. this.$api.msg('水分输入错误')
  434. return
  435. }
  436. }
  437. if (this.insertProcurementPlanInfo.bulkDensity&&this.insertProcurementPlanInfo.bulkDensity<500||
  438. this.insertProcurementPlanInfo.bulkDensity&&this.insertProcurementPlanInfo.bulkDensity>1000) {
  439. this.$api.msg('容重输入错误')
  440. return
  441. }
  442. if (this.insertProcurementPlanInfo.jiaorenli&&this.insertProcurementPlanInfo.jiaorenli<1||
  443. this.insertProcurementPlanInfo.jiaorenli&&this.insertProcurementPlanInfo.jiaorenli>40) {
  444. this.$api.msg('热损伤输入错误')
  445. return
  446. }
  447. if (this.insertProcurementPlanInfo.jiaorenli&&this.insertProcurementPlanInfo.jiaorenli.indexOf('.')!=-1) {
  448. if(this.insertProcurementPlanInfo.jiaorenli.split('.')[1].length>2){
  449. this.$api.msg('热损伤输入错误')
  450. return
  451. }
  452. }
  453. if (this.insertProcurementPlanInfo.impurity&&this.insertProcurementPlanInfo.impurity<1||
  454. this.insertProcurementPlanInfo.impurity&&this.insertProcurementPlanInfo.impurity>40) {
  455. this.$api.msg('杂质输入错误')
  456. return
  457. }
  458. if (this.insertProcurementPlanInfo.impurity&&this.insertProcurementPlanInfo.impurity.indexOf('.')!=-1) {
  459. if(this.insertProcurementPlanInfo.impurity.split('.')[1].length>2){
  460. this.$api.msg('杂质输入错误')
  461. return
  462. }
  463. }
  464. if (this.insertProcurementPlanInfo.mildewGrain&&this.insertProcurementPlanInfo.mildewGrain<1||
  465. this.insertProcurementPlanInfo.mildewGrain&&this.insertProcurementPlanInfo.mildewGrain>40) {
  466. this.$api.msg('霉变粒输入错误')
  467. return
  468. }
  469. if (this.insertProcurementPlanInfo.mildewGrain&&this.insertProcurementPlanInfo.mildewGrain.indexOf('.')!=-1) {
  470. if(this.insertProcurementPlanInfo.mildewGrain.split('.')[1].length>2){
  471. this.$api.msg('霉变粒输入错误')
  472. return
  473. }
  474. }
  475. if (this.insertProcurementPlanInfo.imperfectGrain&&this.insertProcurementPlanInfo.imperfectGrain<1||
  476. this.insertProcurementPlanInfo.imperfectGrain&&this.insertProcurementPlanInfo.imperfectGrain>40) {
  477. this.$api.msg('不完整粒输入错误')
  478. return
  479. }
  480. if (this.insertProcurementPlanInfo.imperfectGrain&&this.insertProcurementPlanInfo.imperfectGrain.indexOf('.')!=-1) {
  481. if(this.insertProcurementPlanInfo.imperfectGrain.split('.')[1].length>2){
  482. this.$api.msg('不完整粒输入错误')
  483. return
  484. }
  485. }
  486. if (this.deptList.protein&&this.deptList.protein<1||
  487. this.deptList.protein&&this.deptList.protein>80) {
  488. this.$api.msg('蛋白输入错误')
  489. return
  490. }
  491. if (this.deptList.protein&&this.deptList.protein.indexOf('.')!=-1) {
  492. if(this.deptList.protein.split('.')[1].length>2){
  493. this.$api.msg('蛋白输入错误')
  494. return
  495. }
  496. }
  497. this.insertProcurementPlanInfo.basisPrice=-this.insertProcurementPlanInfo.basisPrice
  498. this.insertProcurementPlanInfo.commonId = this.userInfo.id
  499. this.insertProcurementPlanInfo.compId = "2710b21efc1e4393930c5dc800010dc4"
  500. uni.showModal({
  501. content: '确定发布交易信息?',
  502. success: (res) => {
  503. if(res.confirm) {
  504. this.$api.doRequest('post', '/procurementPlanInfo/api/insertProcurementPlanInfo', this
  505. .insertProcurementPlanInfo).then(res => {
  506. if(res.data.code==200){
  507. uni.showToast({
  508. title: "发布成功",
  509. icon: 'none',
  510. })
  511. setTimeout(() => {
  512. uni.navigateBack({})
  513. }, 2000)
  514. }else{
  515. uni.showToast({
  516. title: res.data.message,
  517. icon: 'none',
  518. duration: 2000
  519. })
  520. }
  521. })
  522. .catch(res => {
  523. uni.showToast({
  524. title: res.errmsg,
  525. icon: 'none',
  526. duration: 2000
  527. })
  528. });
  529. }
  530. }
  531. })
  532. },
  533. liChange(e) {
  534. this.liIndex = e.detail.value
  535. this.litypes = this.liType[this.liIndex];
  536. this.deptList.grainKey = e.detail.value+1
  537. this.deptList.grain = this.liType[this.liIndex]
  538. },
  539. pinChange(e) {
  540. this.pinIndex = e.detail.value
  541. this.pintypes = this.pinType[this.pinIndex];
  542. this.deptList.gradeKey = e.detail.value+1
  543. this.deptList.grade = this.pinType[this.pinIndex]
  544. },
  545. nianChange(e) {
  546. this.nianIndex = e.detail.value
  547. this.niantypes = this.nianType[this.nianIndex];
  548. this.deptList.outputYear = this.baoType[this.baoIndex]
  549. },
  550. baoChange(e) {
  551. this.baoIndex = e.detail.value
  552. this.baotypes = this.baoType[this.baoIndex];
  553. this.deptList.packingTypeKey = e.detail.value
  554. this.deptList.packingType = this.chengType[this.chengIndex];
  555. },
  556. chengChange(e) {
  557. this.chengIndex = e.detail.value
  558. this.chengtypes = this.chengType[this.chengIndex];
  559. this.deptList.freightPayerKey = e.detail.value+1
  560. this.deptList.freightPayer = this.chengType[this.chengIndex];
  561. }
  562. }
  563. }
  564. </script>
  565. <style>
  566. .center {
  567. padding: 10px 20px;
  568. }
  569. .c-row {
  570. display: -webkit-box;
  571. display: -webkit-flex;
  572. display: flex;
  573. -webkit-box-align: center;
  574. -webkit-align-items: center;
  575. align-items: center;
  576. padding: 20rpx 30rpx;
  577. position: relative;
  578. }
  579. .con-list {
  580. -webkit-box-flex: 1;
  581. -webkit-flex: 1;
  582. flex: 1;
  583. display: -webkit-box;
  584. display: -webkit-flex;
  585. display: flex;
  586. -webkit-box-orient: vertical;
  587. -webkit-box-direction: normal;
  588. -webkit-flex-direction: column;
  589. flex-direction: column;
  590. color: #303133;
  591. line-height: 40rpx;
  592. text-align: right;
  593. padding-right: 20rpx;
  594. font-size: 14px;
  595. }
  596. </style>