orderDetail.vue 21 KB

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