orderDetails.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683
  1. <!-- 订单详情-->
  2. <template>
  3. <view class="content">
  4. <view class="fixed1"></view>
  5. <view class="fixed">
  6. <view class='title flex flex-center'>
  7. <image class="back" src="../../static/images/return.png" @click="back" mode=""></image>
  8. <!-- <u-icon class="back" name="arrow-left" color="" size="20" ></u-icon> -->
  9. <view class="nav-title">订单</view>
  10. <image class="search" style='width:18px;height:18px;' src="../../static/images/kefu.png" @click="$helper.contactCustomerService" mode=""></image>
  11. <!-- <u-icon class="search" name="server-fill" color="" size="28" @click="$helper.contactCustomerService"></u-icon> -->
  12. </view>
  13. </view>
  14. <view class="content1">
  15. <view class="item1">
  16. <view class="status">{{dataObj.orderStatus}}</view>
  17. </view>
  18. <!-- flex flex-space-between -->
  19. <view class="item2">
  20. <u-button class="btn" text="查看合同" @click="lookContract" v-if="dataObj.driverContract=='1'"></u-button>
  21. <!-- <u-button class="btn" text="签订合同" @click="signContract" v-if="dataObj.cargoOwnerStatus=='未装车'&&dataObj.driverContract!='1'"></u-button> -->
  22. <u-button class="btn" text="终止" @click="stop" v-if="dataObj.orderStatus=='待货主确认'||dataObj.orderStatus=='未装车'"></u-button>
  23. <!-- <u-button class="btn" text="联系客服" @click="$helper.contactCustomerService()"></u-button> -->
  24. <u-button class="btn" text="确认装车" @click="confirmLoading" v-if="dataObj.orderStatus=='未装车'"></u-button>
  25. <!-- <u-button class="btn" text="确认装车" @click="confirmLoading"></u-button> -->
  26. <u-button class="btn" text="修改装车信息" @click="confirmLoading" v-if="dataObj.orderStatus=='货主驳回装车信息'||dataObj.orderStatus=='平台驳回装车信息'"></u-button>
  27. <u-button class="btn" text="确认卸车" @click="confirmUnLoading" v-if="dataObj.orderStatus=='运输中'"></u-button>
  28. <u-button class="btn" text="修改卸车信息" @click="confirmUnLoading" v-if="dataObj.orderStatus=='货主驳回卸车信息'||dataObj.orderStatus=='平台驳回卸车信息'"></u-button>
  29. <u-button class="btn" text="完结" @click="closed" v-if="dataObj.orderStatus=='结算中'"></u-button>
  30. </view>
  31. <view class="item3 flex flex-space-between align-center">
  32. <view class="left flex align-center">
  33. <u--image :showLoading="true" :src="dataObj.cargoOwnerPortrait" width="44px" height="44px" @click="" shape='circle'>
  34. </u--image>
  35. <view class="name">{{dataObj.cargoOwner}}</view>
  36. <view class="flex align-center">
  37. <!-- <view class="number">4.98</view> -->
  38. <!-- <u-icon class="star" name="star-fill" color="#FEC823" size="20" @click="back"></u-icon> -->
  39. </view>
  40. </view>
  41. <view class="right flex s-row align-center phone">
  42. <view class="bgc">
  43. <image class="phone" style='width:24px;height:24px;' src="../../static/images/dianhua.png" @click="$helper.contactCustomerService(dataObj.cargoOwnerPhone)" mode=""></image>
  44. <!-- <u-icon class="phone" name="phone-fill" color="#2772FB" size="20" @click="$helper.contactCustomerService(dataObj.cargoOwnerPhone)"></u-icon> -->
  45. </view>
  46. <view class="hz-name">联系货主</view>
  47. </view>
  48. </view>
  49. <!-- <view class='row-between'>
  50. <view class="">货主</view>
  51. <view>张三</view>
  52. </view>
  53. <view class='row-between'>
  54. <view class="">货主单位</view>
  55. <view>黑龙江中天昊元贸易有限公司</view>
  56. </view>
  57. <view class='row-between'>
  58. <view class="">卸货地</view>
  59. <view>黑龙江省齐齐哈尔市梅里斯达斡尔族区杜尔门沁达斡尔乡53农场</view>
  60. </view>
  61. <view class='row-between'>
  62. <view class="">货名</view>
  63. <view>玉米</view>
  64. </view>
  65. <view class='row-between'>
  66. <view class="">距离</view>
  67. <view>约15公里</view>
  68. </view>
  69. <view class='row-between'>
  70. <view class="">货运费</view>
  71. <view>100元/吨</view>
  72. </view> -->
  73. </view>
  74. <view class="content2">
  75. <view class="flex flex-space-between border">
  76. <view class="flex s-row item1">
  77. <view class="fontsize-46 fontweight-500 text">{{dataObj.sendCity}}</view>
  78. <view class="fontsize-28 gray">发货地</view>
  79. </view>
  80. <image class="change-btn" src="@/static/images/common/jt.png" mode='widthFix'></image>
  81. <view class="flex s-row item2">
  82. <view class="fontsize-46 fontweight-500 text" @click="">{{dataObj.unloadCity}}</view>
  83. <view class="fontsize-28 gray text-align-right">卸货地</view>
  84. </view>
  85. </view>
  86. <view class="level2-title">基本信息</view>
  87. <view class='row-between'>
  88. <view class=" gray">订单编号</view>
  89. <view class="">{{dataObj.orderNo}}</view>
  90. </view>
  91. <!-- <view class='row-between'>
  92. <view class=" gray">货主</view>
  93. <view class="">{{dataObj.cargoOwner}}</view>
  94. </view> -->
  95. <view class='row-between'>
  96. <view class=" gray">货主单位</view>
  97. <view class="">{{dataObj.compName?dataObj.compName:'个人货主'}}</view>
  98. </view>
  99. <view class='row-between'>
  100. <view class=" gray">发货地</view>
  101. <view class=" place">{{dataObj.sendPrivate}}{{dataObj.sendCity}}{{dataObj.sendArea}}{{dataObj.sendDetailedAddress}}</view>
  102. </view>
  103. <view class='row-between'>
  104. <view class=" gray">卸货地</view>
  105. <view class=" place">{{dataObj.unloadPrivate}}{{dataObj.unloadCity}}{{dataObj.unloadArea}}{{dataObj.unloadDetailedAddress}}</view>
  106. </view>
  107. <view class='row-between'>
  108. <view class=" gray">货名</view>
  109. <view class="">{{dataObj.goodsName}}</view>
  110. </view>
  111. <view class='row-between'>
  112. <view class=" gray">距离</view>
  113. <view class="">约{{dataObj.distance}}公里</view>
  114. </view>
  115. <view class='row-between'>
  116. <view class=" gray">收货联系人</view>
  117. <view class="flex">{{dataObj.publishTaskInfo.sender?dataObj.publishTaskInfo.sender:''}}
  118. <u-icon v-if='dataObj.publishTaskInfo.senderPhone' class="phone" name="phone-fill" color="#2772FB" size="20" @click="$helper.contactCustomerService(dataObj.publishTaskInfo.senderPhone)"></u-icon>
  119. </view>
  120. </view>
  121. <view class='row-between'>
  122. <view class=" gray">发货联系人</view>
  123. <view class="flex">{{dataObj.publishTaskInfo.receiver?dataObj.publishTaskInfo.receiver:''}}
  124. <u-icon v-if='dataObj.publishTaskInfo.receiverPhone' class="phone" name="phone-fill" color="#2772FB" size="20" @click="$helper.contactCustomerService(dataObj.publishTaskInfo.receiverPhone)"></u-icon>
  125. </view>
  126. </view>
  127. <!-- <view class='row-between'>
  128. <view class=" gray">运费</view>
  129. <view class="">{{dataObj.freight}}{{dataObj.illingMethod==0?'元/吨':'元/车'}}</view>
  130. </view> -->
  131. </view>
  132. <view class="content3" v-if='dataObj.orderStatus!="待货主确认"&&dataObj.orderStatus!="未装车"&&dataObj.orderStatus!="已终止"'>
  133. <view class="level2-title">承运信息</view>
  134. <view class='row-between'>
  135. <view class=" gray">合同编号</view>
  136. <view class="">{{carrierInfo.contractNo}}</view>
  137. </view>
  138. <view class='row-between'>
  139. <view class=" gray">车牌号</view>
  140. <view class="">{{carrierInfo.carNo}}</view>
  141. </view>
  142. <view class='row-between'>
  143. <view class=" gray">运费</view>
  144. <view class="">{{carrierInfo.estimatedFreight}}元</view>
  145. </view>
  146. <view class='row-between'>
  147. <view class=" gray">装车时间</view>
  148. <view class="">{{carrierInfo.loadingDate}}</view>
  149. </view>
  150. <view class='row-between'>
  151. <view class=" gray">装车照片</view>
  152. <view class="flex">
  153. <u--image :showLoading="true" :src='item' width="40px" height="40px" v-for="(item,index) in zcPhoneList"></u--image>
  154. </view>
  155. </view>
  156. <view v-if='dataObj.orderStatus!="待货主确认"&&dataObj.orderStatus!="未装车"&&dataObj.orderStatus!="待货主确认装车"&&dataObj.orderStatus!="货主驳回装车信息"&&dataObj.orderStatus!="待平台确认装车"&&dataObj.orderStatus!="平台驳回装车信息"&&dataObj.orderStatus!="运输中"&&dataObj.orderStatus!="已终止"'>
  157. <view class='row-between'>
  158. <view class=" gray">合计应付运费</view>
  159. <view class="">{{carrierInfo.totalFreight}}元</view>
  160. </view>
  161. <view class='row-between'>
  162. <view class=" gray">卸车时间</view>
  163. <view class="">{{carrierInfo.loadingDate}}</view>
  164. </view>
  165. <view class='row-between'>
  166. <view class=" gray">卸车照片</view>
  167. <view class="flex">
  168. <u--image :showLoading="true" :src='item' width="40px" height="40px" v-for="(item,index) in xcPhoneList"></u--image>
  169. </view>
  170. </view>
  171. </view>
  172. </view>
  173. <!-- v-if="status2 -->
  174. <!-- dataObj.orderStatus!="待货主确认"&&dataObj.orderStatus!="未装车"&&dataObj.orderStatus!="待货主确认装车"&&dataObj.orderStatus!="货主驳回装车信息"&&dataObj.orderStatus!="待平台确认装车"&&dataObj.orderStatus!="平台驳回装车信息"&&dataObj.orderStatus!="已终止" -->
  175. <view class="content4" v-if='status2'>
  176. <view class="level2-title gray">运费信息(单位:元)</view>
  177. <view class='row-between'>
  178. <view class=" gray">预付运费</view>
  179. <view class="">{{freightInfo.prepaidFreight}}</view>
  180. </view>
  181. <view class='flex flex-end'>
  182. <view class="">{{freightInfo.prepaidFreightDate}}</view>
  183. </view>
  184. <view class='row-between'>
  185. <view class=" gray">运费尾款</view>
  186. <view class="">{{freightInfo.freightBalance?freightInfo.freightBalance:'未支付'}}</view>
  187. </view>
  188. <view class='row-between mx ' v-if="freightInfo.freightBalance">
  189. 明细:预付{{freightInfo.prepaidFreight}}元,服务费{{freightInfo.driverServiceCharge}}元,尾款{{freightInfo.freightBalance}}元,合计收款{{freightInfo.totalCollection}}元。
  190. </view>
  191. </view>
  192. <u-modal :show="isShowAlert" :title="alertTitle" :content='alertContent' :confirmText='confirmText'
  193. :closeOnClickOverlay='true' :showCancelButton='true' @confirm="confirmClick" @close="cancelClick"
  194. @cancel="cancelClick" class="modal">
  195. <u-radio-group v-model="radiovalue1" placement="" v-if='isShowTerminationReason' class='row'>
  196. <u-radio :customStyle="{marginBottom: '8px'}" v-for="(item, index) in radiolist1" :key="index"
  197. :label="item.name" :name="item.name" @change="radioChange">
  198. </u-radio>
  199. </u-radio-group>
  200. <u--textarea class="row" v-model="value2" placeholder="终止原因描述" count maxlength='50'
  201. v-if='isShowTerminationReason'>
  202. </u--textarea>
  203. </u-modal>
  204. <u-popup :show="show" mode="bottom" @close="close" @open="open">
  205. <view class="">
  206. <view ><u-icon @click="closepopup" class='close' name="close" size="20"></u-icon></view>
  207. <view style='fon-size:34rpx;margin-bottom:20px;text-align:center;font-weight: 600;'>确认终止订单</view>
  208. <view style="margin: 0 auto;">
  209. <u-radio-group iconPlacement="right" v-model="radiovalue1" placement="" v-if='isShowTerminationReason' >
  210. <u-radio :customStyle="{marginBottom: '8px'}" v-for="(item, index) in radiolist1" :key="index"
  211. :label="item.name" :name="item.name" @change="radioChange" >
  212. </u-radio>
  213. </u-radio-group>
  214. </view>
  215. <view style='border-top:10px solid #F2F4F7;position:absolute;left:0;height:0;width:100%;'></view>
  216. <view style='padding:40rpx 0 30rpx;'>终止原因描述</view>
  217. <u--textarea class="row" v-model="value2" placeholder="终止原因描述" count maxlength='50'
  218. v-if='isShowTerminationReason'>
  219. </u--textarea>
  220. <view class='termination' :class="{'active':value2.length>0}" @click='confirmClick'>终止</view>
  221. </view>
  222. </u-popup>
  223. <u-toast ref="uToast"></u-toast>
  224. </view>
  225. </template>
  226. <script>
  227. import uniPopup from '@/components/uni-popup/uni-popup.vue'
  228. export default {
  229. components:{
  230. uniPopup
  231. },
  232. data() {
  233. return {
  234. zcPhoneList:[],
  235. xcPhoneList:[],
  236. show:false,
  237. carrierInfo:{},
  238. freightInfo:{},
  239. cyinfoStatus: '未装车',
  240. isShowTerminationReason: false,
  241. dataObj:{},
  242. status1:false,
  243. status2:false,
  244. id: '',
  245. value2: '',
  246. radiolist1: [{
  247. name: '已与货主协商',
  248. disabled: false
  249. },
  250. {
  251. name: '货主原因终止',
  252. disabled: false
  253. },
  254. {
  255. name: '司机个人原因终止',
  256. disabled: false
  257. }, {
  258. name: '其他',
  259. disabled: false
  260. }
  261. ],
  262. radiovalue1: '已与货主协商',
  263. confirmText: '终止',
  264. alertTitle: '确定终止订单?',
  265. alertContent: "",
  266. isShowAlert: false,
  267. }
  268. },
  269. onLoad(options) {
  270. this.id = options.id
  271. },
  272. onShow() {
  273. this.getList()
  274. },
  275. methods: {
  276. lookContract(){
  277. uni.downloadFile({
  278. url: this.dataObj.driverContractUrl,
  279. success: function (res) {
  280. var filePath = res.tempFilePath;
  281. uni.openDocument({
  282. filePath: filePath,
  283. showMenu: true,
  284. success: function (res) {
  285. console.log('打开文档成功');
  286. }
  287. });
  288. }
  289. });
  290. // this.$request.baseRequest('get', '/orderInfo/setPdf', {
  291. // }).then(res => {
  292. // if (res.code == 200) {
  293. // this.contractSrc = res.data
  294. // uni.downloadFile({
  295. // url: res.data,
  296. // success: function (res) {
  297. // var filePath = res.tempFilePath;
  298. // uni.openDocument({
  299. // filePath: filePath,
  300. // showMenu: true,
  301. // success: function (res) {
  302. // console.log('打开文档成功');
  303. // }
  304. // });
  305. // }
  306. // });
  307. // // this.$refs.uToast.show({
  308. // // type: 'success',
  309. // // message: "提交成功",
  310. // // complete() {
  311. // // that.upCallback({
  312. // // size: 10,
  313. // // num: 1
  314. // // })
  315. // // }
  316. // // })
  317. // }
  318. // })
  319. // .catch(res => {
  320. // uni.$u.toast(res.message);
  321. // });
  322. },
  323. signContract() {
  324. // this.lookAlert = true
  325. uni.$u.route('/pages/order/signContract',{obj:encodeURIComponent(JSON.stringify(this.dataObj))}
  326. );
  327. },
  328. // 完结
  329. closed() {
  330. let item = this.dataDetails
  331. let that = this
  332. this.$request.baseRequest('post', '/orderInfo/api/editEnd', {
  333. id: item.id,
  334. }).then(res => {
  335. if (res.code == 200) {
  336. this.$refs.uToast.show({
  337. type: 'success',
  338. message: "提交成功",
  339. complete() {
  340. that.upCallback({
  341. size: 10,
  342. num: 1
  343. })
  344. }
  345. })
  346. }
  347. })
  348. .catch(res => {
  349. uni.$u.toast(res.message);
  350. });
  351. },
  352. confirmLoading() {
  353. uni.$u.route('/pages/order/confirmLoading', {
  354. obj: JSON.stringify({id:this.id,carrierId:this.dataObj.hyCarrierInfo.id}),
  355. });
  356. // uni.$u.route('/pages/order/confirmLoading', {id:this.id});
  357. },
  358. confirmUnLoading() {
  359. let item = this.dataObj
  360. uni.$u.route('/pages/order/confirmUnloading', {obj:JSON.stringify(item)});
  361. },
  362. confirmClick() {
  363. let that = this
  364. if (this.radiovalue1 == '其他' && !this.value2) {
  365. this.$refs.uToast.show({
  366. type: 'error',
  367. message: "请填写终止原因描述!",
  368. })
  369. return
  370. }
  371. let _terminationReason = ''
  372. if (this.radiovalue1 == '已与货主协商') {
  373. _terminationReason = 1
  374. } else if (this.radiovalue1 == '货主原因终止') {
  375. _terminationReason = 2
  376. } else if (this.radiovalue1 == '司机个人原因终止') {
  377. _terminationReason = 3
  378. } else if (this.radiovalue1 == '其他') {
  379. _terminationReason = 4
  380. }
  381. this.$request.baseRequest('post', '/orderInfo/api/end', {
  382. id: this.id,
  383. terminationReason: _terminationReason,
  384. terminationReasonDescription: this.value2,
  385. terminator:1
  386. }).then(res => {
  387. this.show=false
  388. this.isShowAlert = false
  389. // this.mescroll.resetUpScroll()
  390. this.$refs.uToast.show({
  391. type: 'success',
  392. message: "提交成功!",
  393. complete() {
  394. that.getList()
  395. }
  396. })
  397. })
  398. .catch(res => {
  399. uni.$u.toast(res.message);
  400. });
  401. },
  402. cancelClick() {
  403. this.isShowAlert = false
  404. },
  405. stop() {
  406. let item = this.dataObj
  407. // 货主接单
  408. this.id = item.id
  409. if(item.orderStatus=='未装车'){
  410. if (item.orderStatusKey == 1) {
  411. this.isShowTerminationReason = false
  412. } else {
  413. this.isShowTerminationReason = true
  414. }
  415. this.show = true
  416. }else{
  417. this.isShowAlert=true
  418. }
  419. },
  420. toPhone(){
  421. uni.makePhoneCall({
  422. phoneNumber: this.dataObj.cargoOwnerPhone
  423. });
  424. },
  425. back() {
  426. uni.navigateBack()
  427. },
  428. getList(){
  429. this.$request.baseRequest('get', '/orderInfo/getOrderInfo', {
  430. id: this.id,
  431. }).then(res => {
  432. if(res.code==200){
  433. this.dataObj = res.data
  434. this.carrierInfo = res.data.hyCarrierInfo
  435. this.freightInfo = res.data.freightInfo
  436. if(this.carrierInfo.loadingImg&&this.carrierInfo.loadingImg.length>0){
  437. this.zcPhoneList = this.carrierInfo.loadingImg.split(',')
  438. }
  439. // if(res.data.orderStatus!="待货主确认"&&res.data.orderStatus!="未装车"&&res.data.orderStatus!="已终止"){
  440. // this.status1 = true
  441. // }
  442. // 运费信息
  443. if (res.data.cargoOwnerStatus != "待接单" && res.data.cargoOwnerStatus != "未装车" && res.data
  444. .cargoOwnerStatus != "待确认装车" && res.data.cargoOwnerStatus != "已驳回装车信息" && res.data
  445. .cargoOwnerStatus != "待平台确认装车" && res.data.cargoOwnerStatus != "平台驳回装车信息" && res.data.cargoOwnerStatus != "待结算" && res.data
  446. .cargoOwnerStatus != "已终止") {
  447. this.status2 = true
  448. }
  449. }
  450. })
  451. },
  452. goConfirmLoading(id) {
  453. uni.$u.route('/pages/order/confirmLoading', {
  454. obj: JSON.stringify({id:this.id}),
  455. });
  456. },
  457. }
  458. }
  459. </script>
  460. <style lang="scss">
  461. .fixed,
  462. .fixed1 {
  463. background: white;
  464. position: fixed;
  465. top: var(--status-bar-height);
  466. z-index: 999;
  467. width: 100%;
  468. }
  469. .fixed {
  470. padding-bottom: 10rpx;
  471. .title {
  472. background: white;
  473. position: relative;
  474. font-size: 36rpx;
  475. color: rgba(0, 0, 0, 0.85);
  476. .search {
  477. position: absolute;
  478. right: 20rpx;
  479. }
  480. .back {
  481. position: absolute;
  482. left: 20rpx;
  483. width:18px;height:18px;
  484. }
  485. }
  486. }
  487. .fixed1 {
  488. top: 0;
  489. height: var(--status-bar-height);
  490. background: white;
  491. }
  492. .row-between{
  493. margin-bottom: 10rpx;
  494. }
  495. .content1 {
  496. background: white;
  497. margin: calc(var(--status-bar-height) + 80rpx) 20rpx 0 20rpx;
  498. border-radius: 20rpx;
  499. padding: 40rpx 0rpx 0 0;
  500. box-sizing: border-box;
  501. .status {
  502. display: flex;
  503. justify-content: center;
  504. margin-bottom: 40rpx;
  505. font-size: 36rpx;
  506. color: #333333;
  507. font-weight: 700;
  508. }
  509. .btn {
  510. width: 40%;
  511. margin-top: 20rpx;
  512. }
  513. .item2 {
  514. padding-bottom: 40rpx;
  515. }
  516. .item3 {
  517. padding: 20rpx;
  518. background: linear-gradient(180deg, #F7F7F9 0%, #FFFFFF 100%);
  519. border-radius: 0 0 20rpx 20rpx;
  520. .name {
  521. margin-left: 10rpx;
  522. margin-right: 20rpx;
  523. font-size: 32rpx;
  524. font-weight: 500;
  525. color: #333333;
  526. }
  527. .number {
  528. font-size: 26rpx;
  529. color: #878787;
  530. }
  531. .star {
  532. margin-left: 10rpx;
  533. }
  534. .phone {
  535. .bgc {
  536. background: #E5F0FE;
  537. width: 58rpx;
  538. height: 58rpx;
  539. display: flex;
  540. align-items: center;
  541. justify-content: center;
  542. border-radius: 50%;
  543. }
  544. .hz-name {
  545. font-size: 26rpx;
  546. color: #2772FB;
  547. }
  548. }
  549. }
  550. }
  551. .level2-title {
  552. margin: 20rpx 0 20rpx 0;
  553. }
  554. .content2 {
  555. background: white;
  556. margin: 20rpx;
  557. border-radius: 20rpx;
  558. padding: 20rpx;
  559. .change-btn {
  560. width: 86rpx;
  561. height: 86rpx;
  562. position: relative;
  563. top: -20rpx;
  564. }
  565. .item1,
  566. .item2 {
  567. width: 40%;
  568. .text {
  569. text-overflow: ellipsis;
  570. overflow: hidden;
  571. white-space: nowrap;
  572. }
  573. .gray {
  574. text-align: center;
  575. }
  576. }
  577. .item1 .text {
  578. text-align: center;
  579. }
  580. .item2 .text {
  581. text-align: center;
  582. }
  583. .border {
  584. border-bottom: 1px solid #EEEEEE;
  585. padding-bottom: 33rpx;
  586. }
  587. .place {
  588. width: 80%;
  589. text-align: right;
  590. }
  591. }
  592. .content3,
  593. .content4 {
  594. background: white;
  595. margin: 20rpx;
  596. border-radius: 20rpx;
  597. padding: 20rpx;
  598. }
  599. .content4 {
  600. .time{
  601. text-align: right;
  602. }
  603. .mx {
  604. background: #F7F8FA;
  605. padding: 10rpx;
  606. margin: 10rpx 0;
  607. }
  608. }
  609. /deep/.u-modal__content {
  610. flex-direction: column;
  611. }
  612. /deep/.u-popup__content{
  613. border-radius: 10px;
  614. padding:20px;
  615. }
  616. /deep/.u-radio{
  617. margin:40rpx 0;
  618. }
  619. .close{
  620. position:absolute;
  621. right:20px;
  622. }
  623. .termination{
  624. background:#F1F3F6;
  625. color:#C5CAD4;
  626. padding:10px;
  627. border-radius:30px;
  628. text-align: center;
  629. margin-top:30rpx;
  630. }
  631. .termination.active{
  632. background: #2772FB;
  633. color: white;
  634. }
  635. </style>