orderDetail.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853
  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" :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" :src="item.imgUrl" v-for="(item,i) in orderData.evaluateResVO.evaluateImgs" :key="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>
  119. </template>
  120. <script>
  121. const NET = require('@/utils/request')
  122. const API = require('@/config/api')
  123. export default {
  124. data() {
  125. return {
  126. orderType: {
  127. title: '',
  128. text: '',
  129. },
  130. orderData: {
  131. orderId: '',
  132. orderStatus: 1,
  133. addOrderTime: '',
  134. recName: '',
  135. recMobile: '',
  136. address: '',
  137. merchantInfoResVO: {
  138. supplierName: '',
  139. products: [],
  140. },
  141. orderSum: 0,
  142. integralAmount: 0,
  143. couponDiscountAmount: 0,
  144. notes: 'xxxxx',
  145. paySum: 0,
  146. leas: [],
  147. orderCode: '',
  148. payTime: '',
  149. sendTime: '',
  150. confirmTime: '',
  151. cancelTime: '',
  152. tenantCode: '',
  153. evaluateReplyStatus: 1,
  154. },
  155. goodType: 1,
  156. // buttonGroup: [{
  157. // text: '',
  158. // backgroundColor: '#52A63A',
  159. // color: '#fff'
  160. // }],
  161. buttonGroup: [
  162. {
  163. text: '',
  164. backgroundColor: '#52A63A',
  165. color: '#fff'
  166. }
  167. ],
  168. noPick: true // 没有自助采摘的商品
  169. }
  170. },
  171. onLoad(options) {
  172. this.userData = uni.getStorageSync("userData")
  173. NET.request(API.getOrderDetail, {
  174. flag: 2,
  175. orderId: options.orderId,
  176. orderStatus: options.orderStatus,
  177. }, 'GET').then(res => {
  178. this.orderData = res.data
  179. if (this.orderData.addOrderTime) {
  180. let tempTime = new Date(this.orderData.addOrderTime).getTime()
  181. let addTempTime = new Date(tempTime + 1000 * 60 * 60 * 24)
  182. let addYear = addTempTime.getFullYear()
  183. let addMonth = addTempTime.getMonth() + 1
  184. let addDay = addTempTime.getDate()
  185. let addHours = addTempTime.getHours()
  186. let addMin = addTempTime.getMinutes()
  187. let addSeconds = addTempTime.getSeconds()
  188. this.orderData.overTime = addYear + '年' + addMonth + '月' + addDay + '日' + addHours + ':' + addMin + ':' +
  189. addSeconds
  190. }
  191. if (this.orderData.merchantInfoResVO.products.length && this.orderData.merchantInfoResVO.products[0].productType !=
  192. 2 && this.orderData.merchantInfoResVO.products[0].productType != 4) {
  193. this.goodType = 1
  194. } else {
  195. this.goodType = 2
  196. }
  197. if (this.orderData.orderStatus == 2) {
  198. if (this.orderData.merchantInfoResVO.products.length) {
  199. if (this.orderData.merchantInfoResVO.products.some(v => {return v.productType == 3})) {
  200. this.noPick = false
  201. this.buttonGroup = [{
  202. text: '发货',
  203. backgroundColor: '#75BD60',
  204. color: '#fff'
  205. }, {
  206. text: '自助采摘',
  207. backgroundColor: '#52A63A',
  208. color: '#fff'
  209. }]
  210. } else {
  211. this.buttonGroup = [{
  212. text: '发货',
  213. backgroundColor: '#75BD60',
  214. color: '#fff'
  215. }]
  216. }
  217. }
  218. } else if (this.orderData.orderStatus == 3 || this.orderData.orderStatus == 4) {
  219. this.buttonGroup[0].text = '追踪物流'
  220. } else if (this.orderData.evaluateReplyStatus == 1) {
  221. this.buttonGroup[0].text = '回复'
  222. } else {
  223. this.buttonGroup = []
  224. }
  225. this.getOrderType()
  226. }).catch(error => {
  227. this.$refs.uTips.show({
  228. title: error.data.msg,
  229. type: 'warning',
  230. })
  231. })
  232. },
  233. onShow() {},
  234. methods: {
  235. // 获取订单类型
  236. getOrderType() {
  237. switch (this.orderData.orderStatus) {
  238. case 1:
  239. this.orderType = {
  240. title: '等待买家付款',
  241. text: '订单将于' + this.orderData.overTime + '关闭',
  242. }
  243. break;
  244. case 2:
  245. this.orderType = {
  246. title: '待发货',
  247. text: '买家已付款,请尽快发货',
  248. }
  249. break;
  250. case 3:
  251. this.orderType = {
  252. title: '已发货',
  253. text: '商品正在运输中',
  254. }
  255. break;
  256. case 4:
  257. this.orderType = {
  258. title: '已送达',
  259. text: '商品已送达',
  260. }
  261. break;
  262. case 5:
  263. this.orderType = {
  264. title: '交易已完成',
  265. text: '',
  266. }
  267. break;
  268. default:
  269. this.orderType = {
  270. title: '交易已取消',
  271. text: '',
  272. }
  273. }
  274. },
  275. // 操作
  276. orderHandle(e) {
  277. if (this.orderData.orderStatus == 2) {
  278. if (e.index == 0) {
  279. // 发货
  280. uni.navigateTo({
  281. url: '/pagesMain/bindOrder?orderId=' + this.orderData.orderId
  282. });
  283. } else if (e.index == 1) {
  284. // 去自助采摘
  285. uni.navigateTo({
  286. url: '/pagesGood/pickVideo?tenantCode=' + this.orderData.tenantCode + '&orderId=' + this.orderData.orderId
  287. });
  288. }
  289. } else if (this.orderData.orderStatus == 3 || this.orderData.orderStatus == 4) {
  290. // 追踪物流
  291. uni.navigateTo({
  292. url: '/pagesMain/logisticsDeatil?logisticCode=' + this.orderData.logisticsNum
  293. });
  294. } else {
  295. // 回复
  296. uni.navigateTo({
  297. url: '/pagesMain/evaluateForm?orderId=' + this.orderData.orderId +'&mid='+this.orderData.mid
  298. });
  299. }
  300. },
  301. // 跳转留言列表
  302. goToMessage() {
  303. uni.navigateTo({
  304. url: '/pagesMain/messageList?orderId=' + this.orderData.orderId + '&tenantCode=' + this.orderData.tenantCode
  305. });
  306. }
  307. }
  308. }
  309. </script>
  310. <style>
  311. page {
  312. background-color: #f7f7f7;
  313. }
  314. </style>
  315. <style lang="less" scoped>
  316. page {
  317. width: 100%;
  318. height: 100%;
  319. }
  320. .container {
  321. width: 100%;
  322. height: 100%;
  323. float: left;
  324. background-color: #f7f7f7;
  325. box-sizing: border-box;
  326. overflow-y: auto;
  327. position: absolute;
  328. .order-type-info {
  329. width: 100%;
  330. height: 115px;
  331. float: left;
  332. box-sizing: border-box;
  333. padding: 22px 100px 0 15px;
  334. background: #52A63A;
  335. border-radius: 0px 0px 20px 20px;
  336. background-size: 62px;
  337. background-position: calc(100% - 48px) 12px;
  338. background-repeat: no-repeat;
  339. background-image: url(@/static/images/orderDetail.png);
  340. .order-type-title {
  341. width: 100%;
  342. float: left;
  343. height: 20px;
  344. line-height: 20px;
  345. font-size: 15px;
  346. font-family: PingFang SC;
  347. color: #FFFFFF;
  348. margin-bottom: 4px;
  349. }
  350. .order-type-text {
  351. width: 100%;
  352. float: left;
  353. height: 20px;
  354. line-height: 20px;
  355. font-size: 12px;
  356. font-family: PingFang SC;
  357. color: #FFFFFF;
  358. }
  359. }
  360. .address-info-box {
  361. width: calc(100% - 30px);
  362. float: left;
  363. box-sizing: border-box;
  364. padding: 16px 18px 16px 16px;
  365. margin: -34px 15px 10px 15px;
  366. background: #FFFFFF;
  367. border-radius: 10px;
  368. .address-icon {
  369. width: 36px;
  370. height: 40px;
  371. float: left;
  372. align-items: center;
  373. display: flex;
  374. .iconfont {
  375. color: #52A63A;
  376. font-size: 36px;
  377. }
  378. }
  379. .address-content {
  380. width: calc(100% - 56px);
  381. height: 40px;
  382. float: left;
  383. margin: 0 8px 0 12px;
  384. .address-info {
  385. height: 20px;
  386. font-family: PingFang SC;
  387. line-height: 20px;
  388. overflow: hidden;
  389. text-overflow: ellipsis;
  390. white-space: nowrap;
  391. .address-name {
  392. font-size: 16px;
  393. color: #333333;
  394. margin-right: 14px;
  395. }
  396. .address-phone {
  397. font-size: 12px;
  398. color: #666666;
  399. }
  400. }
  401. .address-detail {
  402. height: 20px;
  403. font-size: 16px;
  404. font-family: PingFang SC;
  405. color: #333333;
  406. line-height: 20px;
  407. overflow: hidden;
  408. text-overflow: ellipsis;
  409. white-space: nowrap;
  410. }
  411. }
  412. }
  413. .goods-info-box {
  414. width: calc(100% - 30px);
  415. float: left;
  416. margin: 0 15px 10px 15px;
  417. background: #FFFFFF;
  418. border-radius: 10px;
  419. .shop-info {
  420. width: 100%;
  421. height: 48px;
  422. float: left;
  423. box-sizing: border-box;
  424. padding: 13px 15px 12px 15px;
  425. border-bottom: 1px solid #EEEEEE;
  426. line-height: 22px;
  427. .iconwode {
  428. font-size: 22px;
  429. color: #333333;
  430. }
  431. .shop-name {
  432. font-size: 15px;
  433. font-family: PingFang SC;
  434. color: #333333;
  435. margin: 0 8px 0 10px;
  436. }
  437. .iconshangjia {
  438. font-size: 12px;
  439. color: #999999;
  440. }
  441. }
  442. .goods-list {
  443. width: 100%;
  444. float: left;
  445. box-sizing: border-box;
  446. padding: 10px 15px 0 15px;
  447. .goods-row {
  448. width: 100%;
  449. height: 90px;
  450. float: left;
  451. display: flex;
  452. margin-bottom: 10px;
  453. .goods-img {
  454. width: 90px;
  455. height: 90px;
  456. border-radius: 5px;
  457. object-fit: cover;
  458. }
  459. .goods-info {
  460. width: calc(100% - 106px);
  461. height: 90px;
  462. margin-left: 16px;
  463. .goods-name {
  464. width: 100%;
  465. height: 36px;
  466. float: left;
  467. font-size: 14px;
  468. font-family: PingFang SC;
  469. color: #333333;
  470. line-height: 18px;
  471. overflow: hidden;
  472. text-overflow: ellipsis;
  473. display: -webkit-box;
  474. -webkit-line-clamp: 2;
  475. -webkit-box-orient: vertical;
  476. word-wrap: break-word;
  477. }
  478. .goods-type {
  479. height: 20px;
  480. float: left;
  481. background: #F0F0F0;
  482. border-radius: 4px;
  483. padding: 0 8px;
  484. margin: 6px 0;
  485. font-size: 10px;
  486. font-family: PingFang SC;
  487. color: #666666;
  488. line-height: 20px;
  489. }
  490. .plant-area {
  491. height: 20px;
  492. float: right;
  493. margin: 6px 0;
  494. font-size: 12px;
  495. font-family: PingFang SC;
  496. color: #333333;
  497. }
  498. .goods-price-number {
  499. width: 100%;
  500. height: 20px;
  501. float: left;
  502. line-height: 20px;
  503. font-family: PingFang SC;
  504. color: #333333;
  505. .goods-unit {
  506. font-size: 12px;
  507. }
  508. .goods-price {
  509. font-size: 15px;
  510. margin-right: 6px;
  511. }
  512. .goods-number {
  513. font-size: 12px;
  514. }
  515. }
  516. .plant-text {
  517. float: right;
  518. font-size: 12px;
  519. font-family: PingFang SC;
  520. color: #333333;
  521. }
  522. }
  523. }
  524. }
  525. .order-info {
  526. width: 100%;
  527. float: left;
  528. /deep/.u-cell {
  529. padding: 6px 16px;
  530. }
  531. }
  532. .pay-info {
  533. width: 100%;
  534. height: 46px;
  535. float: left;
  536. box-sizing: border-box;
  537. border-top: 1px solid #EEEEEE;
  538. padding-right: 15px;
  539. line-height: 44px;
  540. font-family: PingFang SC;
  541. font-size: 14px;
  542. text-align: right;
  543. white-space: nowrap;
  544. .pay-text {
  545. float: left;
  546. color: #333333;
  547. margin-left: 15px;
  548. }
  549. .pay-price {
  550. color: #52A63A;
  551. }
  552. }
  553. }
  554. .order-info-box {
  555. width: calc(100% - 30px);
  556. float: left;
  557. margin: 0 15px 10px 15px;
  558. background: #FFFFFF;
  559. border-radius: 10px;
  560. .info-title-box {
  561. width: 100%;
  562. height: 48px;
  563. float: left;
  564. box-sizing: border-box;
  565. padding: 15px 15px 14px 15px;
  566. border-bottom: 1px solid #EEEEEE;
  567. line-height: 18px;
  568. white-space: nowrap;
  569. .info-title {
  570. height: 18px;
  571. float: left;
  572. font-size: 15px;
  573. font-family: PingFang SC;
  574. color: #333333;
  575. margin-right: 8px;
  576. padding-left: 10px;
  577. border-left: 2px solid #74BD60;
  578. }
  579. .iconfangxiang {
  580. float: right;
  581. font-size: 12px;
  582. color: #999999;
  583. }
  584. }
  585. .info-content-box {
  586. width: 100%;
  587. float: left;
  588. padding: 15px 0;
  589. .message-row {
  590. width: 100%;
  591. float: left;
  592. box-sizing: border-box;
  593. padding: 0 15px;
  594. margin-bottom: 15px;
  595. .message-head {
  596. width: 50px;
  597. height: 50px;
  598. object-fit: cover;
  599. float: left;
  600. border-radius: 50%;
  601. overflow: hidden;
  602. }
  603. .message-info-box {
  604. width: calc(100% - 75px);
  605. float: right;
  606. .message-name {
  607. width: 50%;
  608. height: 30px;
  609. float: left;
  610. font-size: 15px;
  611. font-family: PingFang SC;
  612. color: #333333;
  613. line-height: 30px;
  614. overflow: hidden;
  615. text-overflow: ellipsis;
  616. white-space: nowrap;
  617. }
  618. .message-date {
  619. width: 50%;
  620. height: 30px;
  621. float: left;
  622. font-size: 12px;
  623. font-family: PingFang SC;
  624. color: #666666;
  625. text-align: right;
  626. line-height: 30px;
  627. overflow: hidden;
  628. text-overflow: ellipsis;
  629. white-space: nowrap;
  630. }
  631. .message-text {
  632. width: 100%;
  633. height: 20px;
  634. float: left;
  635. font-size: 12px;
  636. font-family: PingFang SC;
  637. color: #666666;
  638. line-height: 20px;
  639. overflow: hidden;
  640. text-overflow: ellipsis;
  641. white-space: nowrap;
  642. }
  643. .message-img-box {
  644. width: 100%;
  645. float: left;
  646. .message-img {
  647. width: 76px;
  648. height: 76px;
  649. object-fit: cover;
  650. float: left;
  651. margin: 0 10px 10px 0;
  652. }
  653. }
  654. }
  655. }
  656. .message-row:last-child {
  657. margin-bottom: 0;
  658. }
  659. .order-info-row {
  660. width: 100%;
  661. float: left;
  662. box-sizing: border-box;
  663. padding: 0 15px;
  664. font-size: 12px;
  665. font-family: PingFang SC;
  666. color: #333333;
  667. line-height: 26px;
  668. word-break:break-all;
  669. }
  670. }
  671. .assess-row {
  672. width: calc(100% - 30px);
  673. margin: 0 15px;
  674. float: left;
  675. // border-top: 1px solid #F6F6F6;
  676. padding: 12px 0;
  677. .assess-head {
  678. width: 50px;
  679. height: 50px;
  680. float: left;
  681. object-fit: cover;
  682. border-radius: 50%;
  683. }
  684. .assess-info {
  685. width: calc(100% - 62px);
  686. margin-left: 12px;
  687. float: left;
  688. .assess-name {
  689. height: 18px;
  690. float: left;
  691. line-height: 18px;
  692. font-size: 15px;
  693. font-family: PingFang SC;
  694. font-weight: bold;
  695. color: #343434;
  696. }
  697. .assess-date {
  698. height: 18px;
  699. float: right;
  700. line-height: 18px;
  701. font-size: 12px;
  702. font-family: PingFang SC;
  703. font-weight: bold;
  704. color: #666666;
  705. }
  706. .assess-sore-box {
  707. width: 100%;
  708. height: 16px;
  709. float: left;
  710. margin: 6px 0;
  711. }
  712. .assess-text {
  713. width: 100%;
  714. float: left;
  715. font-size: 12px;
  716. font-family: PingFang SC;
  717. font-weight: bold;
  718. color: #666666;
  719. line-height: 16px;
  720. margin: 8px 0 10px 0;
  721. overflow: hidden;
  722. text-overflow: ellipsis;
  723. display: -webkit-box;
  724. -webkit-line-clamp: 2;
  725. -webkit-box-orient: vertical;
  726. word-wrap: break-word;
  727. }
  728. .assess-img-box {
  729. width: 100%;
  730. float: left;
  731. display: flex;
  732. .img-col {
  733. height: 60px;
  734. width: 60px;
  735. object-fit: cover;
  736. margin: 0 10px 10px 0;
  737. }
  738. }
  739. }
  740. .shop-reply-box {
  741. width: 100%;
  742. float: left;
  743. background: #F5F5F5;
  744. border-radius: 5px;
  745. margin-top: 10px;
  746. .shop-head {
  747. width: 100%;
  748. height: 36px;
  749. float: left;
  750. box-sizing: border-box;
  751. padding: 10px 12px;
  752. .icondianpu {
  753. width: 16px;
  754. height: 16px;
  755. float: left;
  756. color: #52A63A;
  757. font-size: 20px;
  758. margin-right: 8px;
  759. }
  760. .shop-name {
  761. height: 16px;
  762. float: left;
  763. font-size: 15px;
  764. font-family: PingFang SC;
  765. color: #52A63A;
  766. line-height: 16px;
  767. }
  768. }
  769. .shop-reply {
  770. width: 100%;
  771. float: left;
  772. box-sizing: border-box;
  773. padding: 0 12px 12px 12px;
  774. font-size: 12px;
  775. font-family: PingFang SC;
  776. color: #666666;
  777. line-height: 16px;
  778. }
  779. }
  780. }
  781. }
  782. .order-handle {
  783. width: 100%;
  784. height: 50px;
  785. float: left;
  786. border-top: 1px solid #cccccc;
  787. }
  788. }
  789. </style>