orderDetail.vue 23 KB

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