orderDetail.vue 24 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022
  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. if(uni.getStorageSync("firstTimeLive")==""){
  309. uni.setStorage({
  310. key: 'firstTimeLive',
  311. data: 1
  312. })
  313. uni.navigateTo({
  314. url: '/pagesMedia/pickVideo?tenantCode=' + that.orderData.tenantCode + '&orderId=' + that.orderData.orderId
  315. });
  316. }else{
  317. wx.getSetting({
  318. success(res) {
  319. if (!res.authSetting['scope.camera']){
  320. that.show_qx=false;
  321. }else if (!res.authSetting['scope.record']){
  322. that.show_qx=false;
  323. }else{
  324. uni.navigateTo({
  325. url: '/pagesMedia/pickVideo?tenantCode=' + that.orderData.tenantCode + '&orderId=' + that.orderData.orderId
  326. });
  327. }
  328. }
  329. })
  330. }
  331. }
  332. } else if (this.orderData.orderStatus == 3 || this.orderData.orderStatus == 4) {
  333. // 追踪物流
  334. uni.navigateTo({
  335. url: '/pagesMain/logisticsDeatil?logisticCode=' + this.orderData.logisticsNum
  336. });
  337. } else {
  338. // 回复
  339. uni.navigateTo({
  340. url: '/pagesMain/evaluateForm?orderId=' + this.orderData.orderId +'&mid='+this.orderData.mid
  341. });
  342. }
  343. },
  344. // 跳转留言列表
  345. goToMessage() {
  346. uni.navigateTo({
  347. url: '/pagesMain/messageList?orderId=' + this.orderData.orderId + '&tenantCode=' + this.orderData.tenantCode
  348. });
  349. },
  350. // 图片预览
  351. _previewImage(image,index) {
  352. var imgArr = [];
  353. imgArr.push(image);
  354. //预览图片
  355. uni.previewImage({
  356. urls: imgArr,
  357. current: imgArr[index]
  358. });
  359. }
  360. }
  361. }
  362. </script>
  363. <style>
  364. page {
  365. background-color: #f7f7f7;
  366. }
  367. </style>
  368. <style lang="less" scoped>
  369. page {
  370. width: 100%;
  371. height: 100%;
  372. }
  373. .container {
  374. width: 100%;
  375. height: 100%;
  376. float: left;
  377. background-color: #f7f7f7;
  378. box-sizing: border-box;
  379. overflow-y: auto;
  380. position: absolute;
  381. .order-type-info {
  382. width: 100%;
  383. height: 115px;
  384. float: left;
  385. box-sizing: border-box;
  386. padding: 22px 100px 0 15px;
  387. background: #52A63A;
  388. border-radius: 0px 0px 20px 20px;
  389. background-size: 62px;
  390. background-position: calc(100% - 48px) 12px;
  391. background-repeat: no-repeat;
  392. background-image: url(@/static/images/orderDetail.png);
  393. .order-type-title {
  394. width: 100%;
  395. float: left;
  396. height: 20px;
  397. line-height: 20px;
  398. font-size: 15px;
  399. font-family: PingFang SC;
  400. color: #FFFFFF;
  401. margin-bottom: 4px;
  402. }
  403. .order-type-text {
  404. width: 100%;
  405. float: left;
  406. height: 20px;
  407. line-height: 20px;
  408. font-size: 12px;
  409. font-family: PingFang SC;
  410. color: #FFFFFF;
  411. }
  412. }
  413. .address-info-box {
  414. width: calc(100% - 30px);
  415. float: left;
  416. box-sizing: border-box;
  417. padding: 16px 18px 16px 16px;
  418. margin: -34px 15px 10px 15px;
  419. background: #FFFFFF;
  420. border-radius: 10px;
  421. .address-icon {
  422. width: 36px;
  423. height: 40px;
  424. float: left;
  425. align-items: center;
  426. display: flex;
  427. .iconfont {
  428. color: #52A63A;
  429. font-size: 36px;
  430. }
  431. }
  432. .address-content {
  433. width: calc(100% - 56px);
  434. height: 40px;
  435. float: left;
  436. margin: 0 8px 0 12px;
  437. .address-info {
  438. height: 20px;
  439. font-family: PingFang SC;
  440. line-height: 20px;
  441. overflow: hidden;
  442. text-overflow: ellipsis;
  443. white-space: nowrap;
  444. .address-name {
  445. font-size: 16px;
  446. color: #333333;
  447. margin-right: 14px;
  448. }
  449. .address-phone {
  450. font-size: 12px;
  451. color: #666666;
  452. }
  453. }
  454. .address-detail {
  455. height: 20px;
  456. font-size: 16px;
  457. font-family: PingFang SC;
  458. color: #333333;
  459. line-height: 20px;
  460. overflow: hidden;
  461. text-overflow: ellipsis;
  462. white-space: nowrap;
  463. }
  464. }
  465. }
  466. .goods-info-box {
  467. width: calc(100% - 30px);
  468. float: left;
  469. margin: 0 15px 10px 15px;
  470. background: #FFFFFF;
  471. border-radius: 10px;
  472. .shop-info {
  473. width: 100%;
  474. height: 48px;
  475. float: left;
  476. box-sizing: border-box;
  477. padding: 13px 15px 12px 15px;
  478. border-bottom: 1px solid #EEEEEE;
  479. line-height: 22px;
  480. .iconwode {
  481. font-size: 22px;
  482. color: #333333;
  483. }
  484. .shop-name {
  485. font-size: 15px;
  486. font-family: PingFang SC;
  487. color: #333333;
  488. margin: 0 8px 0 10px;
  489. }
  490. .iconshangjia {
  491. font-size: 12px;
  492. color: #999999;
  493. }
  494. }
  495. .goods-list {
  496. width: 100%;
  497. float: left;
  498. box-sizing: border-box;
  499. padding: 10px 15px 0 15px;
  500. .goods-row {
  501. width: 100%;
  502. height: 90px;
  503. float: left;
  504. display: flex;
  505. margin-bottom: 10px;
  506. .goods-img {
  507. width: 90px;
  508. height: 90px;
  509. border-radius: 5px;
  510. object-fit: cover;
  511. }
  512. .goods-info {
  513. width: calc(100% - 106px);
  514. height: 90px;
  515. margin-left: 16px;
  516. .goods-name {
  517. width: 100%;
  518. height: 36px;
  519. float: left;
  520. font-size: 14px;
  521. font-family: PingFang SC;
  522. color: #333333;
  523. line-height: 18px;
  524. overflow: hidden;
  525. text-overflow: ellipsis;
  526. display: -webkit-box;
  527. -webkit-line-clamp: 2;
  528. -webkit-box-orient: vertical;
  529. word-wrap: break-word;
  530. }
  531. .goods-type {
  532. height: 20px;
  533. float: left;
  534. background: #F0F0F0;
  535. border-radius: 4px;
  536. padding: 0 8px;
  537. margin: 6px 0;
  538. font-size: 10px;
  539. font-family: PingFang SC;
  540. color: #666666;
  541. line-height: 20px;
  542. }
  543. .plant-area {
  544. height: 20px;
  545. float: right;
  546. margin: 6px 0;
  547. font-size: 12px;
  548. font-family: PingFang SC;
  549. color: #333333;
  550. }
  551. .goods-price-number {
  552. width: 100%;
  553. height: 20px;
  554. float: left;
  555. line-height: 20px;
  556. font-family: PingFang SC;
  557. color: #333333;
  558. .goods-unit {
  559. font-size: 12px;
  560. }
  561. .goods-price {
  562. font-size: 15px;
  563. margin-right: 6px;
  564. }
  565. .goods-number {
  566. font-size: 12px;
  567. }
  568. }
  569. .plant-text {
  570. float: right;
  571. font-size: 12px;
  572. font-family: PingFang SC;
  573. color: #333333;
  574. }
  575. }
  576. }
  577. }
  578. .order-info {
  579. width: 100%;
  580. float: left;
  581. /deep/.u-cell {
  582. padding: 6px 16px;
  583. }
  584. }
  585. .pay-info {
  586. width: 100%;
  587. height: 46px;
  588. float: left;
  589. box-sizing: border-box;
  590. border-top: 1px solid #EEEEEE;
  591. padding-right: 15px;
  592. line-height: 44px;
  593. font-family: PingFang SC;
  594. font-size: 14px;
  595. text-align: right;
  596. white-space: nowrap;
  597. .pay-text {
  598. float: left;
  599. color: #333333;
  600. margin-left: 15px;
  601. }
  602. .pay-price {
  603. color: #52A63A;
  604. }
  605. }
  606. }
  607. .order-info-box {
  608. width: calc(100% - 30px);
  609. float: left;
  610. margin: 0 15px 10px 15px;
  611. background: #FFFFFF;
  612. border-radius: 10px;
  613. .info-title-box {
  614. width: 100%;
  615. height: 48px;
  616. float: left;
  617. box-sizing: border-box;
  618. padding: 15px 15px 14px 15px;
  619. border-bottom: 1px solid #EEEEEE;
  620. line-height: 18px;
  621. white-space: nowrap;
  622. .info-title {
  623. height: 18px;
  624. float: left;
  625. font-size: 15px;
  626. font-family: PingFang SC;
  627. color: #333333;
  628. margin-right: 8px;
  629. padding-left: 10px;
  630. border-left: 2px solid #74BD60;
  631. }
  632. .iconfangxiang {
  633. float: right;
  634. font-size: 12px;
  635. color: #999999;
  636. }
  637. }
  638. .info-content-box {
  639. width: 100%;
  640. float: left;
  641. padding: 15px 0;
  642. .message-row {
  643. width: 100%;
  644. float: left;
  645. box-sizing: border-box;
  646. padding: 0 15px;
  647. margin-bottom: 15px;
  648. .message-head {
  649. width: 50px;
  650. height: 50px;
  651. object-fit: cover;
  652. float: left;
  653. border-radius: 50%;
  654. overflow: hidden;
  655. }
  656. .message-info-box {
  657. width: calc(100% - 75px);
  658. float: right;
  659. .message-name {
  660. width: 50%;
  661. height: 30px;
  662. float: left;
  663. font-size: 15px;
  664. font-family: PingFang SC;
  665. color: #333333;
  666. line-height: 30px;
  667. overflow: hidden;
  668. text-overflow: ellipsis;
  669. white-space: nowrap;
  670. }
  671. .message-date {
  672. width: 50%;
  673. height: 30px;
  674. float: left;
  675. font-size: 12px;
  676. font-family: PingFang SC;
  677. color: #666666;
  678. text-align: right;
  679. line-height: 30px;
  680. overflow: hidden;
  681. text-overflow: ellipsis;
  682. white-space: nowrap;
  683. }
  684. .message-text {
  685. width: 100%;
  686. height: 20px;
  687. float: left;
  688. font-size: 12px;
  689. font-family: PingFang SC;
  690. color: #666666;
  691. line-height: 20px;
  692. overflow: hidden;
  693. text-overflow: ellipsis;
  694. white-space: nowrap;
  695. }
  696. .message-img-box {
  697. width: 100%;
  698. float: left;
  699. .message-img {
  700. width: 76px;
  701. height: 76px;
  702. object-fit: cover;
  703. float: left;
  704. margin: 0 10px 10px 0;
  705. }
  706. }
  707. }
  708. }
  709. .message-row:last-child {
  710. margin-bottom: 0;
  711. }
  712. .order-info-row {
  713. width: 100%;
  714. float: left;
  715. box-sizing: border-box;
  716. padding: 0 15px;
  717. font-size: 12px;
  718. font-family: PingFang SC;
  719. color: #333333;
  720. line-height: 26px;
  721. word-break:break-all;
  722. }
  723. }
  724. .assess-row {
  725. width: calc(100% - 30px);
  726. margin: 0 15px;
  727. float: left;
  728. // border-top: 1px solid #F6F6F6;
  729. padding: 12px 0;
  730. .assess-head {
  731. width: 50px;
  732. height: 50px;
  733. float: left;
  734. object-fit: cover;
  735. border-radius: 50%;
  736. }
  737. .assess-info {
  738. width: calc(100% - 62px);
  739. margin-left: 12px;
  740. float: left;
  741. .assess-name {
  742. height: 18px;
  743. float: left;
  744. line-height: 18px;
  745. font-size: 15px;
  746. font-family: PingFang SC;
  747. font-weight: bold;
  748. color: #343434;
  749. }
  750. .assess-date {
  751. height: 18px;
  752. float: right;
  753. line-height: 18px;
  754. font-size: 12px;
  755. font-family: PingFang SC;
  756. font-weight: bold;
  757. color: #666666;
  758. }
  759. .assess-sore-box {
  760. width: 100%;
  761. height: 16px;
  762. float: left;
  763. margin: 6px 0;
  764. }
  765. .assess-text {
  766. width: 100%;
  767. float: left;
  768. font-size: 12px;
  769. font-family: PingFang SC;
  770. font-weight: bold;
  771. color: #666666;
  772. line-height: 16px;
  773. margin: 8px 0 10px 0;
  774. overflow: hidden;
  775. text-overflow: ellipsis;
  776. display: -webkit-box;
  777. -webkit-line-clamp: 2;
  778. -webkit-box-orient: vertical;
  779. word-wrap: break-word;
  780. }
  781. .assess-img-box {
  782. width: 100%;
  783. float: left;
  784. display: flex;
  785. .img-col {
  786. height: 60px;
  787. width: 60px;
  788. object-fit: cover;
  789. margin: 0 10px 10px 0;
  790. }
  791. }
  792. }
  793. .shop-reply-box {
  794. width: 100%;
  795. float: left;
  796. background: #F5F5F5;
  797. border-radius: 5px;
  798. margin-top: 10px;
  799. .shop-head {
  800. width: 100%;
  801. height: 36px;
  802. float: left;
  803. box-sizing: border-box;
  804. padding: 10px 12px;
  805. .icondianpu {
  806. width: 16px;
  807. height: 16px;
  808. float: left;
  809. color: #52A63A;
  810. font-size: 20px;
  811. margin-right: 8px;
  812. }
  813. .shop-name {
  814. height: 16px;
  815. float: left;
  816. font-size: 15px;
  817. font-family: PingFang SC;
  818. color: #52A63A;
  819. line-height: 16px;
  820. }
  821. }
  822. .shop-reply {
  823. width: 100%;
  824. float: left;
  825. box-sizing: border-box;
  826. padding: 0 12px 12px 12px;
  827. font-size: 12px;
  828. font-family: PingFang SC;
  829. color: #666666;
  830. line-height: 16px;
  831. }
  832. }
  833. }
  834. }
  835. .order-handle {
  836. width: 100%;
  837. height: 50px;
  838. float: left;
  839. border-top: 1px solid #cccccc;
  840. }
  841. }
  842. .uni-popup-dialog {
  843. width: 80vw;
  844. border-radius: 15px;
  845. background-color: #fff;
  846. position: fixed;
  847. margin-left: 10vw;
  848. top: 34vh;
  849. z-index: 11;
  850. }
  851. .uni-dialog-title {
  852. /* #ifndef APP-NVUE */
  853. display: flex;
  854. /* #endif */
  855. flex-direction: row;
  856. justify-content: center;
  857. padding-top: 15px;
  858. padding-bottom: 5px;
  859. }
  860. .uni-dialog-title-text {
  861. font-size: 16px;
  862. font-weight: 500;
  863. }
  864. .uni-dialog-content {
  865. /* #ifndef APP-NVUE */
  866. display: flex;
  867. /* #endif */
  868. flex-direction: row;
  869. justify-content: center;
  870. align-items: center;
  871. padding: 5px 15px 15px 15px;
  872. text-align: center;
  873. }
  874. .uni-dialog-content-text {
  875. font-size: 14px;
  876. color: #6e6e6e;
  877. }
  878. .uni-dialog-button-group {
  879. /* #ifndef APP-NVUE */
  880. display: flex;
  881. /* #endif */
  882. flex-direction: row;
  883. border-top-color: #f5f5f5;
  884. border-top-style: solid;
  885. border-top-width: 1px;
  886. }
  887. .uni-dialog-button {
  888. /* #ifndef APP-NVUE */
  889. display: flex;
  890. /* #endif */
  891. background: rgba(0, 0, 0, 0);
  892. border: none;
  893. flex: 1;
  894. flex-direction: row;
  895. justify-content: center;
  896. align-items: center;
  897. height: 45px;
  898. }
  899. .uni-border-left {
  900. border-left-color: #f0f0f0;
  901. border-left-style: solid;
  902. border-left-width: 0px;
  903. }
  904. .uni-dialog-button-text {
  905. font-size: 14px;
  906. }
  907. .uni-button-color {
  908. color: #007aff;
  909. }
  910. .uni-dialog-input {
  911. flex: 1;
  912. font-size: 14px;
  913. }
  914. .uni-popup__success {
  915. color: #4cd964;
  916. }
  917. .uni-popup__warn {
  918. color: #f0ad4e;
  919. }
  920. .uni-popup__error {
  921. color: #dd524d;
  922. }
  923. .uni-popup__info {
  924. color: #909399;
  925. }
  926. .qx_bg{
  927. width: 100vw;
  928. height: 100vh;
  929. background: rgba(0, 0, 0, 0.25);
  930. position: fixed;
  931. top: 0px;
  932. left: 0px;
  933. z-index: 10;
  934. }
  935. /deep/.uni-tab__cart-button-right{
  936. border-right: 1px solid #ffffff;
  937. }
  938. /deep/.uni-tab__cart-button-right:last-child{
  939. border-right: none;
  940. }
  941. </style>