orderDetails.vue 21 KB

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