orderDetail.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005
  1. <template>
  2. <view class="container" :style="{paddingBottom: ((orderData.orderStatus >= 2 && orderData.orderStatus <= 4) || (orderData.orderStatus == 5 && orderData.evaluateReplyStatus == 1)) ? '' :'10px'}">
  3. <view class="order-type-info">
  4. <view class="order-type-title">{{orderType.title}}</view>
  5. <view class="order-type-text">{{orderType.text}}</view>
  6. </view>
  7. <view class="address-info-box">
  8. <view class="address-icon">
  9. <text class="iconfont icondizhi"></text>
  10. </view>
  11. <view class="address-content">
  12. <text class="address-info">
  13. <text class="address-name">{{orderData.recName}}</text>
  14. <text class="address-phone">{{orderData.recMobile}}</text>
  15. </text>
  16. <view class="address-detail">{{orderData.address}}</view>
  17. </view>
  18. </view>
  19. <view class="goods-info-box">
  20. <view class="shop-info">
  21. <text class="iconfont iconwode"></text>
  22. <text class="shop-name">{{orderData.nickname}}</text>
  23. </view>
  24. <view class="goods-list">
  25. <view class="goods-row" v-for="(item, index) in orderData.merchantInfoResVO.products" :key="index">
  26. <image class="goods-img" :src="item.imgUrl" mode="aspectFill"></image>
  27. <view class="goods-info">
  28. <view class="goods-name">{{item.productName}}</view>
  29. <view class="goods-type">
  30. 类型:{{item.productType == 1 ? '普通商品' : (item.productType == 2 ? '拍卖商品' : (item.productType == 3 ? '自助采摘' : '共享种植'))}}
  31. </view>
  32. <view class="plant-area" v-if="item.productType == 4">面积:{{item.areaSize}}㎡</view>
  33. <view class="goods-price-number">
  34. <text class="goods-unit">¥</text>
  35. <text class="goods-price">{{item.bizPrice}}</text>
  36. <text class="goods-number">x{{item.buyNum}}</text>
  37. <text class="plant-text" v-if="item.productType == 4">有效期:{{item.term}}天</text>
  38. </view>
  39. </view>
  40. </view>
  41. </view>
  42. <view class="order-info">
  43. <u-cell-group :border="false">
  44. <u-cell-item title="商品金额" :value="'¥' + orderData.orderSum" :arrow="false" :border-bottom="false"></u-cell-item>
  45. <u-cell-item title="积分抵扣" :value="'-¥' + orderData.integralAmount" :arrow="false" :border-bottom="false" v-if="goodType == 1"></u-cell-item>
  46. <u-cell-item title="优惠券" :value="'-¥' + orderData.couponDiscountAmount" :arrow="false" :border-bottom="false" v-if="goodType == 1"></u-cell-item>
  47. <u-cell-item title="备注" :value="orderData.notes" :arrow="false" :border-bottom="false"></u-cell-item>
  48. </u-cell-group>
  49. </view>
  50. <view class="pay-info">
  51. <text class="pay-text">实付款</text>
  52. <text class="pay-price">¥{{orderData.paySum}}</text>
  53. </view>
  54. </view>
  55. <view class="order-info-box" @click="goToMessage()">
  56. <view class="info-title-box">
  57. <view class="info-title">留言板</view>
  58. <text class="iconfont iconfangxiang"></text>
  59. </view>
  60. <view class="info-content-box">
  61. <view class="message-row" v-for="(item, index1) in orderData.leas" :key="index1">
  62. <image class="message-head" :src="item.headImg" mode="aspectFill"></image>
  63. <view class="message-info-box">
  64. <view class="message-name">{{item.name}}</view>
  65. <view class="message-date">{{item.leaMsgTime}}</view>
  66. <view class="message-text">{{item.leaMsgContent}}</view>
  67. <!-- <view class="message-img-box" v-for="(site, index2) in item.orderLeaImgResVOs" :key="index2">
  68. <image class="message-img" :src="site.imgUrl" mode="aspectFill"></image>
  69. </view -->
  70. </view>
  71. </view>
  72. </view>
  73. </view>
  74. <view class="order-info-box">
  75. <view class="info-title-box">
  76. <view class="info-title">订单信息</view>
  77. </view>
  78. <view class="info-content-box">
  79. <view class="order-info-row">订单编号:{{orderData.orderCode}}</view>
  80. <view class="order-info-row">创建时间:{{orderData.addOrderTime}}</view>
  81. <view class="order-info-row" v-if="orderData.orderStatus > 1 && orderData.orderStatus != 6">支付时间:{{orderData.payTime}}</view>
  82. <view class="order-info-row" v-if="orderData.orderStatus > 2 && orderData.orderStatus != 6">发货时间:{{orderData.sendTime}}</view>
  83. <view class="order-info-row" v-if="orderData.orderStatus > 3 && orderData.orderStatus != 6">收货时间:{{orderData.confirmTime}}</view>
  84. <view class="order-info-row" v-if="orderData.orderStatus == 6">取消时间:{{orderData.cancelTime}}</view>
  85. </view>
  86. </view>
  87. <view class="order-info-box" v-if="orderData.evaluateResVO.evaluateContent">
  88. <view class="info-title-box">
  89. <view class="info-title">评价信息</view>
  90. </view>
  91. <view class="info-content-box">
  92. <view class="assess-row">
  93. <image class="assess-head" mode="aspectFill" :src="orderData.merchantInfoResVO.headImg"></image>
  94. <view class="assess-info">
  95. <view class="assess-name">{{orderData.nickname}}</view>
  96. <view class="assess-date">{{orderData.evaluateResVO.evaluateTime ? orderData.evaluateResVO.evaluateTime : ''}}</view>
  97. <view class="assess-sore-box">
  98. <u-rate v-model="orderData.evaluateResVO.score" active-color="#FFAE21" disabled></u-rate>
  99. </view>
  100. <view class="assess-text">{{orderData.evaluateResVO.evaluateContent ? orderData.evaluateResVO.evaluateContent : '暂无评价'}}</view>
  101. <view class="assess-img-box">
  102. <image class="img-col" mode="aspectFill" :src="item.imgUrl" v-for="(item,i) in orderData.evaluateResVO.evaluateImgs" :key="i" @tap="_previewImage(item.imgUrl,i)"></image>
  103. </view>
  104. </view>
  105. <view class="shop-reply-box" v-if="orderData.evaluateResVO.replyContent">
  106. <view class="shop-head">
  107. <view class="iconfont icondianpu"></view>
  108. <view class="shop-name">我的回复</view>
  109. </view>
  110. <view class="shop-reply">{{orderData.evaluateResVO.replyContent}}</view>
  111. </view>
  112. </view>
  113. </view>
  114. </view>
  115. <uni-goods-nav :fill="true" :options="[]" @click="" @buttonClick="orderHandle" class="order-handle" :buttonGroup="buttonGroup"
  116. v-if="(orderData.orderStatus >= 2 && orderData.orderStatus <= 4) || (orderData.orderStatus == 5 && orderData.evaluateReplyStatus == 1)" />
  117. <u-top-tips ref="uTips"></u-top-tips>
  118. <view class="uni-popup-dialog" :hidden="show_qx">
  119. <view class="uni-dialog-title">
  120. <text class="uni-dialog-title-text">提示</text>
  121. </view>
  122. <view class="uni-dialog-content">
  123. <text class="uni-dialog-content-text">请在设置中开启摄像头权限和麦克风权限</text>
  124. </view>
  125. <view class="uni-dialog-button-group">
  126. <button class="uni-dialog-button uni-border-left" open-type="openSetting" @click="closeSetting">
  127. 设置权限
  128. </button>
  129. </view>
  130. </view>
  131. <view class="qx_bg" :hidden="show_qx">
  132. </view>
  133. </view>
  134. </template>
  135. <script>
  136. const NET = require('@/utils/request')
  137. const API = require('@/config/api')
  138. export default {
  139. data() {
  140. return {
  141. show_qx:true,
  142. orderType: {
  143. title: '',
  144. text: '',
  145. },
  146. orderData: {
  147. orderId: '',
  148. orderStatus: 1,
  149. addOrderTime: '',
  150. recName: '',
  151. recMobile: '',
  152. address: '',
  153. merchantInfoResVO: {
  154. supplierName: '',
  155. products: [],
  156. },
  157. orderSum: 0,
  158. integralAmount: 0,
  159. couponDiscountAmount: 0,
  160. notes: 'xxxxx',
  161. paySum: 0,
  162. leas: [],
  163. orderCode: '',
  164. payTime: '',
  165. sendTime: '',
  166. confirmTime: '',
  167. cancelTime: '',
  168. tenantCode: '',
  169. evaluateReplyStatus: 1,
  170. },
  171. goodType: 1,
  172. // buttonGroup: [{
  173. // text: '',
  174. // backgroundColor: '#52A63A',
  175. // color: '#fff'
  176. // }],
  177. buttonGroup: [
  178. {
  179. text: '',
  180. backgroundColor: '#52A63A',
  181. color: '#fff'
  182. }
  183. ],
  184. noPick: true // 没有自助采摘的商品
  185. }
  186. },
  187. onLoad(options) {
  188. this.userData = uni.getStorageSync("userData")
  189. NET.request(API.getOrderDetail, {
  190. flag: 2,
  191. orderId: options.orderId,
  192. orderStatus: options.orderStatus,
  193. }, 'GET').then(res => {
  194. this.orderData = res.data
  195. if (this.orderData.addOrderTime) {
  196. let tempTime = new Date(this.orderData.addOrderTime).getTime()
  197. let addTempTime = new Date(tempTime + 1000 * 60 * 60 * 24)
  198. let addYear = addTempTime.getFullYear()
  199. let addMonth = addTempTime.getMonth() + 1
  200. let addDay = addTempTime.getDate()
  201. let addHours = addTempTime.getHours()
  202. let addMin = addTempTime.getMinutes()
  203. let addSeconds = addTempTime.getSeconds()
  204. this.orderData.overTime = addYear + '年' + addMonth + '月' + addDay + '日' + addHours + ':' + addMin + ':' +
  205. addSeconds
  206. }
  207. if (this.orderData.merchantInfoResVO.products.length && this.orderData.merchantInfoResVO.products[0].productType !=
  208. 2 && this.orderData.merchantInfoResVO.products[0].productType != 4) {
  209. this.goodType = 1
  210. } else {
  211. this.goodType = 2
  212. }
  213. if (this.orderData.orderStatus == 2) {
  214. if (this.orderData.merchantInfoResVO.products.length) {
  215. if (this.orderData.merchantInfoResVO.products.some(v => {return v.productType == 3})) {
  216. this.noPick = false
  217. this.buttonGroup = [{
  218. text: '发货',
  219. backgroundColor: '#75BD60',
  220. color: '#fff'
  221. }, {
  222. text: '自助采摘',
  223. backgroundColor: '#52A63A',
  224. color: '#fff'
  225. }]
  226. } else {
  227. this.buttonGroup = [{
  228. text: '发货',
  229. backgroundColor: '#75BD60',
  230. color: '#fff'
  231. }]
  232. }
  233. }
  234. if (this.orderData.auctionStatus == 1) {
  235. this.buttonGroup = []
  236. }
  237. } else if (this.orderData.orderStatus == 3 || this.orderData.orderStatus == 4) {
  238. this.buttonGroup[0].text = '追踪物流'
  239. } else if (this.orderData.evaluateReplyStatus == 1) {
  240. this.buttonGroup[0].text = '回复'
  241. } else {
  242. this.buttonGroup = []
  243. }
  244. this.getOrderType()
  245. }).catch(error => {
  246. this.$refs.uTips.show({
  247. title: error.data.msg,
  248. type: 'warning',
  249. })
  250. })
  251. },
  252. onShow() {},
  253. methods: {
  254. closeSetting:function(){
  255. this.show_qx=true;
  256. },
  257. // 获取订单类型
  258. getOrderType() {
  259. switch (this.orderData.orderStatus) {
  260. case 1:
  261. this.orderType = {
  262. title: '等待买家付款',
  263. text: '订单将于' + this.orderData.overTime + '关闭',
  264. }
  265. break;
  266. case 2:
  267. this.orderType = {
  268. title: '待发货',
  269. text: '买家已付款,请尽快发货',
  270. }
  271. break;
  272. case 3:
  273. this.orderType = {
  274. title: '已发货',
  275. text: '商品正在运输中',
  276. }
  277. break;
  278. case 4:
  279. this.orderType = {
  280. title: '已送达',
  281. text: '商品已送达',
  282. }
  283. break;
  284. case 5:
  285. this.orderType = {
  286. title: '交易已完成',
  287. text: '',
  288. }
  289. break;
  290. default:
  291. this.orderType = {
  292. title: '交易已取消',
  293. text: '',
  294. }
  295. }
  296. },
  297. // 操作
  298. orderHandle(e) {
  299. if (this.orderData.orderStatus == 2) {
  300. if (e.index == 0) {
  301. // 发货
  302. uni.navigateTo({
  303. url: '/pagesMain/bindOrder?orderId=' + this.orderData.orderId
  304. });
  305. } else if (e.index == 1) {
  306. // 去自助采摘
  307. var that=this;
  308. wx.getSetting({
  309. success(res) {
  310. if (!res.authSetting['scope.camera']){
  311. that.show_qx=false;
  312. }else if (!res.authSetting['scope.record']){
  313. that.show_qx=false;
  314. }else{
  315. uni.navigateTo({
  316. url: '/pagesMedia/pickVideo?tenantCode=' + that.orderData.tenantCode + '&orderId=' + that.orderData.orderId
  317. });
  318. }
  319. }
  320. })
  321. }
  322. } else if (this.orderData.orderStatus == 3 || this.orderData.orderStatus == 4) {
  323. // 追踪物流
  324. uni.navigateTo({
  325. url: '/pagesMain/logisticsDeatil?logisticCode=' + this.orderData.logisticsNum
  326. });
  327. } else {
  328. // 回复
  329. uni.navigateTo({
  330. url: '/pagesMain/evaluateForm?orderId=' + this.orderData.orderId +'&mid='+this.orderData.mid
  331. });
  332. }
  333. },
  334. // 跳转留言列表
  335. goToMessage() {
  336. uni.navigateTo({
  337. url: '/pagesMain/messageList?orderId=' + this.orderData.orderId + '&tenantCode=' + this.orderData.tenantCode
  338. });
  339. },
  340. // 图片预览
  341. _previewImage(image,index) {
  342. var imgArr = [];
  343. imgArr.push(image);
  344. //预览图片
  345. uni.previewImage({
  346. urls: imgArr,
  347. current: imgArr[index]
  348. });
  349. }
  350. }
  351. }
  352. </script>
  353. <style>
  354. page {
  355. background-color: #f7f7f7;
  356. }
  357. </style>
  358. <style lang="less" scoped>
  359. page {
  360. width: 100%;
  361. height: 100%;
  362. }
  363. .container {
  364. width: 100%;
  365. height: 100%;
  366. float: left;
  367. background-color: #f7f7f7;
  368. box-sizing: border-box;
  369. overflow-y: auto;
  370. position: absolute;
  371. .order-type-info {
  372. width: 100%;
  373. height: 115px;
  374. float: left;
  375. box-sizing: border-box;
  376. padding: 22px 100px 0 15px;
  377. background: #52A63A;
  378. border-radius: 0px 0px 20px 20px;
  379. background-size: 62px;
  380. background-position: calc(100% - 48px) 12px;
  381. background-repeat: no-repeat;
  382. background-image: url(@/static/images/orderDetail.png);
  383. .order-type-title {
  384. width: 100%;
  385. float: left;
  386. height: 20px;
  387. line-height: 20px;
  388. font-size: 15px;
  389. font-family: PingFang SC;
  390. color: #FFFFFF;
  391. margin-bottom: 4px;
  392. }
  393. .order-type-text {
  394. width: 100%;
  395. float: left;
  396. height: 20px;
  397. line-height: 20px;
  398. font-size: 12px;
  399. font-family: PingFang SC;
  400. color: #FFFFFF;
  401. }
  402. }
  403. .address-info-box {
  404. width: calc(100% - 30px);
  405. float: left;
  406. box-sizing: border-box;
  407. padding: 16px 18px 16px 16px;
  408. margin: -34px 15px 10px 15px;
  409. background: #FFFFFF;
  410. border-radius: 10px;
  411. .address-icon {
  412. width: 36px;
  413. height: 40px;
  414. float: left;
  415. align-items: center;
  416. display: flex;
  417. .iconfont {
  418. color: #52A63A;
  419. font-size: 36px;
  420. }
  421. }
  422. .address-content {
  423. width: calc(100% - 56px);
  424. height: 40px;
  425. float: left;
  426. margin: 0 8px 0 12px;
  427. .address-info {
  428. height: 20px;
  429. font-family: PingFang SC;
  430. line-height: 20px;
  431. overflow: hidden;
  432. text-overflow: ellipsis;
  433. white-space: nowrap;
  434. .address-name {
  435. font-size: 16px;
  436. color: #333333;
  437. margin-right: 14px;
  438. }
  439. .address-phone {
  440. font-size: 12px;
  441. color: #666666;
  442. }
  443. }
  444. .address-detail {
  445. height: 20px;
  446. font-size: 16px;
  447. font-family: PingFang SC;
  448. color: #333333;
  449. line-height: 20px;
  450. overflow: hidden;
  451. text-overflow: ellipsis;
  452. white-space: nowrap;
  453. }
  454. }
  455. }
  456. .goods-info-box {
  457. width: calc(100% - 30px);
  458. float: left;
  459. margin: 0 15px 10px 15px;
  460. background: #FFFFFF;
  461. border-radius: 10px;
  462. .shop-info {
  463. width: 100%;
  464. height: 48px;
  465. float: left;
  466. box-sizing: border-box;
  467. padding: 13px 15px 12px 15px;
  468. border-bottom: 1px solid #EEEEEE;
  469. line-height: 22px;
  470. .iconwode {
  471. font-size: 22px;
  472. color: #333333;
  473. }
  474. .shop-name {
  475. font-size: 15px;
  476. font-family: PingFang SC;
  477. color: #333333;
  478. margin: 0 8px 0 10px;
  479. }
  480. .iconshangjia {
  481. font-size: 12px;
  482. color: #999999;
  483. }
  484. }
  485. .goods-list {
  486. width: 100%;
  487. float: left;
  488. box-sizing: border-box;
  489. padding: 10px 15px 0 15px;
  490. .goods-row {
  491. width: 100%;
  492. height: 90px;
  493. float: left;
  494. display: flex;
  495. margin-bottom: 10px;
  496. .goods-img {
  497. width: 90px;
  498. height: 90px;
  499. border-radius: 5px;
  500. object-fit: cover;
  501. }
  502. .goods-info {
  503. width: calc(100% - 106px);
  504. height: 90px;
  505. margin-left: 16px;
  506. .goods-name {
  507. width: 100%;
  508. height: 36px;
  509. float: left;
  510. font-size: 14px;
  511. font-family: PingFang SC;
  512. color: #333333;
  513. line-height: 18px;
  514. overflow: hidden;
  515. text-overflow: ellipsis;
  516. display: -webkit-box;
  517. -webkit-line-clamp: 2;
  518. -webkit-box-orient: vertical;
  519. word-wrap: break-word;
  520. }
  521. .goods-type {
  522. height: 20px;
  523. float: left;
  524. background: #F0F0F0;
  525. border-radius: 4px;
  526. padding: 0 8px;
  527. margin: 6px 0;
  528. font-size: 10px;
  529. font-family: PingFang SC;
  530. color: #666666;
  531. line-height: 20px;
  532. }
  533. .plant-area {
  534. height: 20px;
  535. float: right;
  536. margin: 6px 0;
  537. font-size: 12px;
  538. font-family: PingFang SC;
  539. color: #333333;
  540. }
  541. .goods-price-number {
  542. width: 100%;
  543. height: 20px;
  544. float: left;
  545. line-height: 20px;
  546. font-family: PingFang SC;
  547. color: #333333;
  548. .goods-unit {
  549. font-size: 12px;
  550. }
  551. .goods-price {
  552. font-size: 15px;
  553. margin-right: 6px;
  554. }
  555. .goods-number {
  556. font-size: 12px;
  557. }
  558. }
  559. .plant-text {
  560. float: right;
  561. font-size: 12px;
  562. font-family: PingFang SC;
  563. color: #333333;
  564. }
  565. }
  566. }
  567. }
  568. .order-info {
  569. width: 100%;
  570. float: left;
  571. /deep/.u-cell {
  572. padding: 6px 16px;
  573. }
  574. }
  575. .pay-info {
  576. width: 100%;
  577. height: 46px;
  578. float: left;
  579. box-sizing: border-box;
  580. border-top: 1px solid #EEEEEE;
  581. padding-right: 15px;
  582. line-height: 44px;
  583. font-family: PingFang SC;
  584. font-size: 14px;
  585. text-align: right;
  586. white-space: nowrap;
  587. .pay-text {
  588. float: left;
  589. color: #333333;
  590. margin-left: 15px;
  591. }
  592. .pay-price {
  593. color: #52A63A;
  594. }
  595. }
  596. }
  597. .order-info-box {
  598. width: calc(100% - 30px);
  599. float: left;
  600. margin: 0 15px 10px 15px;
  601. background: #FFFFFF;
  602. border-radius: 10px;
  603. .info-title-box {
  604. width: 100%;
  605. height: 48px;
  606. float: left;
  607. box-sizing: border-box;
  608. padding: 15px 15px 14px 15px;
  609. border-bottom: 1px solid #EEEEEE;
  610. line-height: 18px;
  611. white-space: nowrap;
  612. .info-title {
  613. height: 18px;
  614. float: left;
  615. font-size: 15px;
  616. font-family: PingFang SC;
  617. color: #333333;
  618. margin-right: 8px;
  619. padding-left: 10px;
  620. border-left: 2px solid #74BD60;
  621. }
  622. .iconfangxiang {
  623. float: right;
  624. font-size: 12px;
  625. color: #999999;
  626. }
  627. }
  628. .info-content-box {
  629. width: 100%;
  630. float: left;
  631. padding: 15px 0;
  632. .message-row {
  633. width: 100%;
  634. float: left;
  635. box-sizing: border-box;
  636. padding: 0 15px;
  637. margin-bottom: 15px;
  638. .message-head {
  639. width: 50px;
  640. height: 50px;
  641. object-fit: cover;
  642. float: left;
  643. border-radius: 50%;
  644. overflow: hidden;
  645. }
  646. .message-info-box {
  647. width: calc(100% - 75px);
  648. float: right;
  649. .message-name {
  650. width: 50%;
  651. height: 30px;
  652. float: left;
  653. font-size: 15px;
  654. font-family: PingFang SC;
  655. color: #333333;
  656. line-height: 30px;
  657. overflow: hidden;
  658. text-overflow: ellipsis;
  659. white-space: nowrap;
  660. }
  661. .message-date {
  662. width: 50%;
  663. height: 30px;
  664. float: left;
  665. font-size: 12px;
  666. font-family: PingFang SC;
  667. color: #666666;
  668. text-align: right;
  669. line-height: 30px;
  670. overflow: hidden;
  671. text-overflow: ellipsis;
  672. white-space: nowrap;
  673. }
  674. .message-text {
  675. width: 100%;
  676. height: 20px;
  677. float: left;
  678. font-size: 12px;
  679. font-family: PingFang SC;
  680. color: #666666;
  681. line-height: 20px;
  682. overflow: hidden;
  683. text-overflow: ellipsis;
  684. white-space: nowrap;
  685. }
  686. .message-img-box {
  687. width: 100%;
  688. float: left;
  689. .message-img {
  690. width: 76px;
  691. height: 76px;
  692. object-fit: cover;
  693. float: left;
  694. margin: 0 10px 10px 0;
  695. }
  696. }
  697. }
  698. }
  699. .message-row:last-child {
  700. margin-bottom: 0;
  701. }
  702. .order-info-row {
  703. width: 100%;
  704. float: left;
  705. box-sizing: border-box;
  706. padding: 0 15px;
  707. font-size: 12px;
  708. font-family: PingFang SC;
  709. color: #333333;
  710. line-height: 26px;
  711. word-break:break-all;
  712. }
  713. }
  714. .assess-row {
  715. width: calc(100% - 30px);
  716. margin: 0 15px;
  717. float: left;
  718. // border-top: 1px solid #F6F6F6;
  719. padding: 12px 0;
  720. .assess-head {
  721. width: 50px;
  722. height: 50px;
  723. float: left;
  724. object-fit: cover;
  725. border-radius: 50%;
  726. }
  727. .assess-info {
  728. width: calc(100% - 62px);
  729. margin-left: 12px;
  730. float: left;
  731. .assess-name {
  732. height: 18px;
  733. float: left;
  734. line-height: 18px;
  735. font-size: 15px;
  736. font-family: PingFang SC;
  737. font-weight: bold;
  738. color: #343434;
  739. }
  740. .assess-date {
  741. height: 18px;
  742. float: right;
  743. line-height: 18px;
  744. font-size: 12px;
  745. font-family: PingFang SC;
  746. font-weight: bold;
  747. color: #666666;
  748. }
  749. .assess-sore-box {
  750. width: 100%;
  751. height: 16px;
  752. float: left;
  753. margin: 6px 0;
  754. }
  755. .assess-text {
  756. width: 100%;
  757. float: left;
  758. font-size: 12px;
  759. font-family: PingFang SC;
  760. font-weight: bold;
  761. color: #666666;
  762. line-height: 16px;
  763. margin: 8px 0 10px 0;
  764. overflow: hidden;
  765. text-overflow: ellipsis;
  766. display: -webkit-box;
  767. -webkit-line-clamp: 2;
  768. -webkit-box-orient: vertical;
  769. word-wrap: break-word;
  770. }
  771. .assess-img-box {
  772. width: 100%;
  773. float: left;
  774. display: flex;
  775. .img-col {
  776. height: 60px;
  777. width: 60px;
  778. object-fit: cover;
  779. margin: 0 10px 10px 0;
  780. }
  781. }
  782. }
  783. .shop-reply-box {
  784. width: 100%;
  785. float: left;
  786. background: #F5F5F5;
  787. border-radius: 5px;
  788. margin-top: 10px;
  789. .shop-head {
  790. width: 100%;
  791. height: 36px;
  792. float: left;
  793. box-sizing: border-box;
  794. padding: 10px 12px;
  795. .icondianpu {
  796. width: 16px;
  797. height: 16px;
  798. float: left;
  799. color: #52A63A;
  800. font-size: 20px;
  801. margin-right: 8px;
  802. }
  803. .shop-name {
  804. height: 16px;
  805. float: left;
  806. font-size: 15px;
  807. font-family: PingFang SC;
  808. color: #52A63A;
  809. line-height: 16px;
  810. }
  811. }
  812. .shop-reply {
  813. width: 100%;
  814. float: left;
  815. box-sizing: border-box;
  816. padding: 0 12px 12px 12px;
  817. font-size: 12px;
  818. font-family: PingFang SC;
  819. color: #666666;
  820. line-height: 16px;
  821. }
  822. }
  823. }
  824. }
  825. .order-handle {
  826. width: 100%;
  827. height: 50px;
  828. float: left;
  829. border-top: 1px solid #cccccc;
  830. }
  831. }
  832. .uni-popup-dialog {
  833. width: 80vw;
  834. border-radius: 15px;
  835. background-color: #fff;
  836. position: fixed;
  837. margin-left: 10vw;
  838. top: 34vh;
  839. z-index: 11;
  840. }
  841. .uni-dialog-title {
  842. /* #ifndef APP-NVUE */
  843. display: flex;
  844. /* #endif */
  845. flex-direction: row;
  846. justify-content: center;
  847. padding-top: 15px;
  848. padding-bottom: 5px;
  849. }
  850. .uni-dialog-title-text {
  851. font-size: 16px;
  852. font-weight: 500;
  853. }
  854. .uni-dialog-content {
  855. /* #ifndef APP-NVUE */
  856. display: flex;
  857. /* #endif */
  858. flex-direction: row;
  859. justify-content: center;
  860. align-items: center;
  861. padding: 5px 15px 15px 15px;
  862. text-align: center;
  863. }
  864. .uni-dialog-content-text {
  865. font-size: 14px;
  866. color: #6e6e6e;
  867. }
  868. .uni-dialog-button-group {
  869. /* #ifndef APP-NVUE */
  870. display: flex;
  871. /* #endif */
  872. flex-direction: row;
  873. border-top-color: #f5f5f5;
  874. border-top-style: solid;
  875. border-top-width: 1px;
  876. }
  877. .uni-dialog-button {
  878. /* #ifndef APP-NVUE */
  879. display: flex;
  880. /* #endif */
  881. background: rgba(0, 0, 0, 0);
  882. border: none;
  883. flex: 1;
  884. flex-direction: row;
  885. justify-content: center;
  886. align-items: center;
  887. height: 45px;
  888. }
  889. .uni-border-left {
  890. border-left-color: #f0f0f0;
  891. border-left-style: solid;
  892. border-left-width: 0px;
  893. }
  894. .uni-dialog-button-text {
  895. font-size: 14px;
  896. }
  897. .uni-button-color {
  898. color: #007aff;
  899. }
  900. .uni-dialog-input {
  901. flex: 1;
  902. font-size: 14px;
  903. }
  904. .uni-popup__success {
  905. color: #4cd964;
  906. }
  907. .uni-popup__warn {
  908. color: #f0ad4e;
  909. }
  910. .uni-popup__error {
  911. color: #dd524d;
  912. }
  913. .uni-popup__info {
  914. color: #909399;
  915. }
  916. .qx_bg{
  917. width: 100vw;
  918. height: 100vh;
  919. background: rgba(0, 0, 0, 0.25);
  920. position: fixed;
  921. top: 0px;
  922. left: 0px;
  923. z-index: 10;
  924. }
  925. </style>