yuyueDetail.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765
  1. <template>
  2. <view class="container">
  3. <view class="tui-order-header">
  4. <image src="/static/images/mall/order/img_detail_bg.png" mode="widthFix" class="tui-img-bg"></image>
  5. <view class="tui-header-content">
  6. <view>
  7. <view class="tui-status-text">{{orderDetail.orderInfo.orderStatus.name}}</view>
  8. </view>
  9. <image v-if="orderDetail.orderInfo.order_status_id==1"
  10. src="/static/images/mall/order/img_order_payment3x.png" class="tui-status-img" mode="widthFix">
  11. </image>
  12. <image v-if="orderDetail.orderInfo.order_status_id==2"
  13. src="/static/images/mall/order/img_order_send3x.png" class="tui-status-img" mode="widthFix"></image>
  14. <image v-if="orderDetail.orderInfo.order_status_id==3"
  15. src="/static/images/mall/order/img_order_received3x.png" class="tui-status-img" mode="widthFix">
  16. </image>
  17. <image v-if="orderDetail.orderInfo.order_status_id==5"
  18. src="/static/images/mall/order/img_order_signed3x.png" class="tui-status-img" mode="widthFix">
  19. </image>
  20. <image v-if="orderDetail.orderInfo.order_status_id==4"
  21. src="/static/images/mall/order/img_order_closed3x.png" class="tui-status-img" mode="widthFix">
  22. </image>
  23. </view>
  24. </view>
  25. <tui-list-cell v-if="orderDetail.orderInfo.is_errands==1" unlined :hover="false">
  26. <view class="tui-flex-box">
  27. <image src="/static/images/mall/order/img_order_address3x.png" class="tui-icon-img"></image>
  28. <view class="tui-addr">
  29. <view class="tui-addr-text">取件地址</view>
  30. <view class="tui-addr-userinfo">联系人:{{orderDetail.orderInfo.take_address.name}}<text
  31. class="tui-addr-tel">{{orderDetail.orderInfo.take_address.telephone}}</text></view>
  32. <view class="tui-addr-text">
  33. 地址:{{orderDetail.orderInfo.take_address.province_name}}{{orderDetail.orderInfo.take_address.city_name}}{{orderDetail.orderInfo.take_address.district_name}}{{orderDetail.orderInfo.take_address.address}}
  34. </view>
  35. </view>
  36. </view>
  37. </tui-list-cell>
  38. <tui-list-cell v-if="orderDetail.orderInfo.deliverymode==1 || orderDetail.orderInfo.deliverymode==3" unlined
  39. :hover="false">
  40. <view class="tui-flex-box">
  41. <image src="/static/images/mall/order/img_order_address3x.png" class="tui-icon-img"></image>
  42. <view class="tui-addr">
  43. <view v-if="orderDetail.orderInfo.is_errands==1" class="tui-addr-text">收件地址</view>
  44. <view class="tui-addr-userinfo">联系人:{{orderDetail.orderInfo.address.name}}<text
  45. class="tui-addr-tel">{{orderDetail.orderInfo.address.telephone}}</text></view>
  46. <view class="tui-addr-text">
  47. 地址:{{orderDetail.orderInfo.address.alladdress}}
  48. </view>
  49. <view v-if="orderDetail.orderInfo.is_errands!=1" class="tui-addr-text">
  50. 预约时间:{{orderDetail.orderInfo.ServiceTime}}</view>
  51. <view class="tui-Technical" @tap="toTel(orderDetail.orderInfo.Technical.tel)" v-if="orderDetail.orderInfo.Technical">接单{{lang.technical}}:{{orderDetail.orderInfo.Technical.title}}<text class="tui-addr-tel" style="color: #5454f3;">{{orderDetail.orderInfo.Technical.tel}}</text></view>
  52. </view>
  53. </view>
  54. </tui-list-cell>
  55. <tui-list-cell v-if="orderDetail.orderInfo.deliverymode==2" unlined :hover="false">
  56. <view class="tui-flex-box">
  57. <image src="/static/images/mall/order/img_order_address3x.png" class="tui-icon-img"></image>
  58. <view class="tui-addr">
  59. <view class="tui-addr-userinfo">门店:{{orderDetail.orderInfo.store.title}}<text
  60. class="tui-addr-tel">{{orderDetail.orderInfo.address.telephone}}</text></view>
  61. <view class="tui-addr-text" @tap="storeopenLocation">
  62. 地址:{{orderDetail.orderInfo.store.province_name}}{{orderDetail.orderInfo.store.city_name}}{{orderDetail.orderInfo.store.district_name}}{{orderDetail.orderInfo.store.region_name}}
  63. <image src="/static/images/map.png" class="map-img"> </image><text
  64. style="color: #5454f3;">导航到这里</text>
  65. </view>
  66. <view class="tui-addr-text">电话:{{orderDetail.orderInfo.store.tel}}</view>
  67. </view>
  68. </view>
  69. </tui-list-cell>
  70. <view class="tui-order-item">
  71. <tui-list-cell :hover="false" :lineLeft="false">
  72. <view class="tui-goods-title">
  73. 服务内容
  74. </view>
  75. </tui-list-cell>
  76. <block v-if="orderDetail.orderInfo.cat_id">
  77. <tui-list-cell padding="0">
  78. <view class="tui-goods-item">
  79. <image :src="orderDetail.orderInfo.cateMap.image || '/static/images/default_img.png'"
  80. class="tui-goods-img" mode="widthFix"></image>
  81. <view class="tui-goods-center">
  82. <view class="tui-goods-name">{{orderDetail.orderInfo.pay_subject}}</view>
  83. </view>
  84. <view class="tui-price-right">
  85. <view>x1</view>
  86. </view>
  87. </view>
  88. </tui-list-cell>
  89. </block>
  90. <block v-else>
  91. <block v-for="(item,index) in orderDetail.goods" :key="index">
  92. <tui-list-cell padding="0">
  93. <view class="tui-goods-item">
  94. <image :src="item.image" class="tui-goods-img" mode="widthFix"></image>
  95. <view class="tui-goods-center">
  96. <view class="tui-goods-name">{{item.name}}</view>
  97. <view v-if="index ==0 && orderDetail.orderInfo.timesmum>0" class="tui-goods-attr">次卡:{{orderDetail.orderInfo.timesmum}}次,剩余:{{orderDetail.orderInfo.remain}}次</view>
  98. <view v-if="item.label" class="tui-goods-attr">{{item.label}}</view>
  99. </view>
  100. <view class="tui-price-right">
  101. <view>¥{{item.price}}</view>
  102. <view>x{{item.quantity}}</view>
  103. </view>
  104. </view>
  105. </tui-list-cell>
  106. </block>
  107. </block>
  108. <tui-list-cell :hover="false" :lineLeft="false">
  109. <view class="tui-goods-title">
  110. 订单备注
  111. </view>
  112. </tui-list-cell>
  113. <block v-if="orderDetail.orderInfo.remark">
  114. <tui-list-cell padding="0">
  115. <view class="tui-goods-item" style="color: #999;">
  116. {{orderDetail.orderInfo.remark}}
  117. </view>
  118. </tui-list-cell>
  119. </block>
  120. <view class="tui-img__box"
  121. v-if="OrderImage && OrderImage.length>0">
  122. <block v-for="(src,index) in OrderImage" :key="index">
  123. <image @tap.stop="previewImage(index)"
  124. :class="{'tui-image':OrderImage.length===1}" :src="src"
  125. :mode="OrderImage.length===1?'widthFix':'aspectFill'"></image>
  126. </block>
  127. </view>
  128. <view>
  129. <diyfieldsview ptype="complete" :orderid="orderid"></diyfieldsview>
  130. </view>
  131. <view v-if="orderDetail.orderInfo.is_additional==1" class="tui-goods-info">
  132. <view class="tui-price-flex tui-size32 tui-pbtm20">
  133. <view class="tui-flex-shrink">预付金额</view>
  134. <view class="tui-goods-price">
  135. <view class="tui-size-24">¥</view>
  136. <view class="tui-price-large"> {{orderDetail.orderInfo.total}}</view>
  137. </view>
  138. </view>
  139. <view v-if="orderDetail.orderInfo.additional>0" class="tui-price-flex tui-size32 tui-pbtm20">
  140. <view class="tui-flex-shrink">尾款</view>
  141. <view class="tui-goods-price">
  142. <view class="tui-size-24">
  143. <text v-if="orderDetail.orderInfo.additional_pay_time>0">已支付</text>
  144. <text v-if="orderDetail.orderInfo.additional_pay_time==0">未支付</text>
  145. </view>
  146. <view class="tui-price-large"> {{orderDetail.orderInfo.additional}}</view>
  147. </view>
  148. </view>
  149. </view>
  150. <view v-else class="tui-goods-info">
  151. <view class="tui-price-flex tui-size32 tui-pbtm20">
  152. <view class="tui-flex-shrink">合计</view>
  153. <view class="tui-goods-price">
  154. <view class="tui-size-24">¥</view>
  155. <view class="tui-price-large"> {{orderDetail.orderInfo.total}}</view>
  156. </view>
  157. </view>
  158. </view>
  159. <view v-if="orderDetail.orderInfo.deliverymode!=4" class="tui-order-item">
  160. <tui-list-cell :hover="false" :lineLeft="false">
  161. <view class="tui-goods-title">
  162. 核销
  163. </view>
  164. </tui-list-cell>
  165. <tui-list-cell padding="0">
  166. <view class="qrcodebox">
  167. <image :src="qrcode" style="width: 300rpx;height: 300rpx;"></image>
  168. <view style="padding: 10rpx;">核销二维码</view>
  169. </view>
  170. </tui-list-cell>
  171. </view>
  172. </view>
  173. <view class="tui-safe-area"></view>
  174. <view class="tui-tabbar tui-order-btn">
  175. <view v-if="orderDetail.orderInfo.order_status_id==2 || orderDetail.orderInfo.order_status_id==3" class="tui-btn-mr">
  176. <tui-button type="black" :plain="true" width="152rpx" height="56rpx" :size="26" shape="circle"
  177. @click="refund">申请退款</tui-button>
  178. </view>
  179. <view v-if="orderDetail.orderInfo.order_status_id==5" class="tui-btn-mr">
  180. <tui-button type="black" :plain="true" width="152rpx" height="56rpx" :size="26" shape="circle"
  181. @click="confirmBtnTap">确认验收</tui-button>
  182. </view>
  183. <view v-if="orderDetail.orderInfo.order_status_id==7 && orderDetail.orderInfo.is_comment==0"
  184. class="tui-btn-mr">
  185. <tui-button type="black" :plain="true" width="152rpx" height="56rpx" :size="26" shape="circle"
  186. @click="addEvaluate">评价</tui-button>
  187. </view>
  188. <view v-if="orderDetail.orderInfo.order_status_id==5" class="tui-btn-mr">
  189. <tui-button type="black" :plain="true" width="152rpx" height="56rpx" :size="26" shape="circle"
  190. @click="refund">申请售后</tui-button>
  191. </view>
  192. <view v-if="orderDetail.orderInfo.order_status_id==6" class="tui-btn-mr">
  193. <tui-button type="black" :plain="true" width="152rpx" height="56rpx" :size="26" shape="circle"
  194. @click="refundDetail">售后详情</tui-button>
  195. </view>
  196. <view
  197. v-if="orderDetail.orderInfo.payment_code=='offline_pay' && orderDetail.orderInfo.is_offline_pay<1 && orderDetail.orderInfo.order_status_id==1"
  198. class="tui-btn-mr">
  199. <tui-button type="danger" :plain="true" width="152rpx" height="56rpx" :size="26" shape="circle"
  200. @click="offlinepaymentTap(orderDetail.orderInfo.id)">支付凭证</tui-button>
  201. </view>
  202. <view v-if="orderDetail.orderInfo.payment_code=='wx_pay' && orderDetail.orderInfo.order_status_id==1"
  203. class="tui-btn-mr">
  204. <tui-button type="danger" :plain="true" width="152rpx" height="56rpx" :size="26" shape="circle"
  205. @click="toPayTap(orderDetail.orderInfo.total,orderDetail.orderInfo.id)">立即支付</tui-button>
  206. </view>
  207. <view v-if="orderDetail.orderInfo.additional>0 && orderDetail.orderInfo.additional_pay_time==0"
  208. class="tui-btn-mr">
  209. <tui-button type="danger" :plain="true" width="152rpx" height="56rpx" :size="26" shape="circle"
  210. @click="toadditionalPayTap(orderDetail.orderInfo.additional,orderDetail.orderInfo.id)">支付尾款
  211. </tui-button>
  212. </view>
  213. <view v-if="orderDetail.orderInfo.deliverymode==4 && orderDetail.orderInfo.order_status_id==3"
  214. class="tui-btn-mr">
  215. <tui-button type="danger" :plain="true" width="152rpx" height="56rpx" :size="26" shape="circle"
  216. @click="toim">立即咨询</tui-button>
  217. </view>
  218. </view>
  219. </view>
  220. </template>
  221. <script>
  222. import pay from '@/common/pay.js'
  223. import diyfieldsview from "@/components/views/diyfields/diyfieldsview"
  224. export default {
  225. components: {diyfieldsview},
  226. data() {
  227. return {
  228. lang: {},
  229. orderid: '',
  230. //1-待付款 2-付款成功 3-待收货 4-订单已完成 5-交易关闭
  231. status: 1,
  232. orderDetail: [],
  233. OrderImage:[],
  234. qrcode: '',
  235. is_show: 0,
  236. }
  237. },
  238. onLoad: function(options) {
  239. let _this = this
  240. _this.$request.get('Lang.getlang').then(res => {
  241. if (res.errno == 0) {
  242. _this.lang = res.data;
  243. }
  244. });
  245. _this.orderid = options.id;
  246. _this.detail();
  247. },
  248. methods: {
  249. detail() {
  250. let _this = this
  251. let orderid = _this.orderid;
  252. _this.$request.get('order.detail', {
  253. samkey: (new Date()).valueOf(),
  254. id: orderid
  255. }).then(function(res) {
  256. if (res.errno != 0) {
  257. uni.showModal({
  258. title: '错误',
  259. content: res.msg,
  260. showCancel: false
  261. })
  262. return;
  263. }
  264. _this.orderDetail = res.data;
  265. if(_this.orderDetail){
  266. if(_this.orderDetail.orderInfo){
  267. _this.OrderImage = _this.orderDetail.orderInfo.OrderImage
  268. }
  269. }
  270. });
  271. _this.$request.post('qrcode.yuyue', {
  272. orderid: orderid,
  273. is_hyaline: true,
  274. expireHours: 1
  275. }).then(function(res) {
  276. _this.qrcode = res.data;
  277. });
  278. },
  279. getAuthMsg() {
  280. return new Promise(resolve => {
  281. console.log('sssss')
  282. if (this.orderDetail.tmplIds.length > 0) {
  283. uni.requestSubscribeMessage({
  284. tmplIds: this.orderDetail.tmplIds,
  285. fail(res) {
  286. console.log(res);
  287. },
  288. complete() {
  289. resolve();
  290. }
  291. });
  292. } else {
  293. resolve();
  294. }
  295. });
  296. },
  297. toadditionalPayTap: function(total, orderid) {
  298. // #ifdef MP-WEIXIN
  299. if (this.orderDetail.tmplIds) {
  300. this.getAuthMsg()
  301. }
  302. //#endif
  303. uni.showModal({
  304. title: '提示',
  305. content: '需要支付¥' + total,
  306. confirmText: '支付',
  307. showCancel: true,
  308. success: function(res) {
  309. const redirectUrl = "/pagesA/my/myOrder/yuyueDetail?id=" + orderid;
  310. pay.wxpay('additional', total, orderid, redirectUrl);
  311. }
  312. })
  313. },
  314. toPayTap: function(total, orderid) {
  315. const redirectUrl = "/pagesA/my/myOrder/myOrder?ptype=" + this.orderDetail.orderInfo.ptype;
  316. pay.wxpay('order', total, orderid, redirectUrl);
  317. },
  318. storeopenLocation: function() {
  319. uni.openLocation({
  320. latitude: Number(this.orderDetail.orderInfo.store.latitude), //要去的纬度-地址
  321. longitude: Number(this.orderDetail.orderInfo.store.longitude), //要去的经度-地址
  322. address: this.orderDetail.orderInfo.store.region_name,
  323. success: function() {
  324. console.log('success');
  325. },
  326. fail: function() {
  327. console.log('fail');
  328. }
  329. })
  330. },
  331. toTel: function(tel) {
  332. console.log(tel);
  333. //电话
  334. uni.makePhoneCall({
  335. phoneNumber: tel
  336. });
  337. },
  338. openLocation: function() {
  339. uni.openLocation({
  340. latitude: Number(this.orderDetail.orderInfo.address.latitude), //要去的纬度-地址
  341. longitude: Number(this.orderDetail.orderInfo.address.longitude), //要去的经度-地址
  342. address: this.orderDetail.orderInfo.address.address,
  343. success: function() {
  344. console.log('success');
  345. },
  346. fail: function() {
  347. console.log('fail');
  348. }
  349. })
  350. },
  351. //线下付款处理
  352. offlinepaymentTap: function(orderid) {
  353. uni.navigateTo({
  354. url: '/pagesA/submitOrder/offlinepayment?id=' + orderid
  355. })
  356. },
  357. confirmBtnTap: function(e) {
  358. let _this = this;
  359. let orderid = this.orderDetail.orderInfo.id;
  360. uni.showModal({
  361. title: '确认验收?',
  362. content: '',
  363. success: function(res) {
  364. if (res.confirm) {
  365. _this.$request.post('order.delivery', {
  366. orderid: orderid
  367. }).then(res => {
  368. if (res.errno == 0) {
  369. _this.detail(orderid);
  370. }
  371. });
  372. }
  373. }
  374. });
  375. },
  376. refund() {
  377. this.tui.href("/pagesA/my/myOrder/refund?id=" + this.orderDetail.orderInfo.id)
  378. },
  379. refundDetail() {
  380. this.tui.href("/pagesA/my/myOrder/refundDetail?id=" + this.orderDetail.orderInfo.id)
  381. },
  382. toim() {
  383. this.tui.href("/pages/im/h5?orderid=" + this.orderDetail.orderInfo.id)
  384. },
  385. addEvaluate() {
  386. this.tui.href('/pagesA/my/addEvaluate/addEvaluate?id=' + this.orderDetail.orderInfo.id)
  387. },
  388. previewImage(current) {
  389. let imgs = this.OrderImage
  390. console.log(imgs);
  391. uni.previewImage({
  392. current: current,
  393. urls: imgs
  394. })
  395. },
  396. },
  397. /**
  398. * 页面相关事件处理函数--监听用户下拉动作
  399. */
  400. onPullDownRefresh: function() {
  401. setTimeout(() => {
  402. uni.stopPullDownRefresh()
  403. }, 200);
  404. },
  405. }
  406. </script>
  407. <style>
  408. .container {
  409. padding-bottom: 118rpx;
  410. }
  411. .tui-order-header {
  412. width: 100%;
  413. height: 160rpx;
  414. position: relative;
  415. background-color: #EB0909;
  416. }
  417. .tui-img-bg {
  418. width: 100%;
  419. height: 160rpx;
  420. }
  421. .tui-header-content {
  422. width: 100%;
  423. height: 160rpx;
  424. position: absolute;
  425. z-index: 10;
  426. left: 0;
  427. top: 0;
  428. display: flex;
  429. align-items: center;
  430. justify-content: space-between;
  431. padding: 0 70rpx;
  432. box-sizing: border-box;
  433. }
  434. .tui-status-text {
  435. font-size: 34rpx;
  436. line-height: 34rpx;
  437. color: #FEFEFE;
  438. }
  439. .tui-reason {
  440. font-size: 24rpx;
  441. line-height: 24rpx;
  442. color: rgba(254, 254, 254, 0.75);
  443. padding-top: 15rpx;
  444. display: flex;
  445. align-items: center;
  446. }
  447. .tui-reason-text {
  448. padding-right: 12rpx;
  449. }
  450. .tui-status-img {
  451. width: 80rpx;
  452. height: 80rpx;
  453. display: block;
  454. }
  455. .tui-flex-box {
  456. width: 100%;
  457. display: flex;
  458. align-items: center;
  459. }
  460. .tui-icon-img {
  461. width: 44rpx;
  462. height: 44rpx;
  463. flex-shrink: 0;
  464. }
  465. .map-img {
  466. width: 50rpx;
  467. height: 50rpx;
  468. margin-left: 10rpx;
  469. margin-right: 10rpx;
  470. margin-top: -30rpx;
  471. margin-bottom: -10rpx;
  472. }
  473. .tui-addr {
  474. display: flex;
  475. flex-direction: column;
  476. justify-content: center;
  477. padding-left: 20rpx;
  478. box-sizing: border-box;
  479. }
  480. .tui-addr-userinfo {
  481. font-size: 30rpx;
  482. line-height: 30rpx;
  483. font-weight: bold;
  484. }
  485. .tui-Technical {
  486. padding-top: 16rpx;
  487. font-size: 30rpx;
  488. line-height: 30rpx;
  489. font-weight: bold;
  490. }
  491. .tui-addr-text {
  492. font-size: 24rpx;
  493. line-height: 32rpx;
  494. padding-top: 16rpx;
  495. }
  496. .tui-addr-tel {
  497. padding-left: 40rpx;
  498. }
  499. .tui-order-item {
  500. margin-top: 20rpx;
  501. border-radius: 10rpx;
  502. overflow: hidden;
  503. }
  504. .tui-goods-title {
  505. width: 100%;
  506. font-size: 28rpx;
  507. line-height: 28rpx;
  508. display: flex;
  509. align-items: center;
  510. justify-content: space-between;
  511. }
  512. .tui-goods-item {
  513. width: 100%;
  514. padding: 20rpx 30rpx;
  515. box-sizing: border-box;
  516. display: flex;
  517. justify-content: space-between;
  518. }
  519. .tui-goods-img {
  520. width: 180rpx;
  521. height: 180rpx;
  522. display: block;
  523. flex-shrink: 0;
  524. }
  525. .tui-goods-center {
  526. flex: 1;
  527. padding: 20rpx 8rpx;
  528. box-sizing: border-box;
  529. }
  530. .tui-goods-name {
  531. max-width: 310rpx;
  532. word-break: break-all;
  533. overflow: hidden;
  534. text-overflow: ellipsis;
  535. display: -webkit-box;
  536. -webkit-box-orient: vertical;
  537. -webkit-line-clamp: 2;
  538. font-size: 26rpx;
  539. line-height: 32rpx;
  540. }
  541. .tui-goods-attr {
  542. font-size: 22rpx;
  543. color: #888888;
  544. line-height: 32rpx;
  545. padding-top: 20rpx;
  546. word-break: break-all;
  547. overflow: hidden;
  548. text-overflow: ellipsis;
  549. display: -webkit-box;
  550. -webkit-box-orient: vertical;
  551. -webkit-line-clamp: 2;
  552. }
  553. .tui-price-right {
  554. text-align: right;
  555. font-size: 24rpx;
  556. color: #888888;
  557. line-height: 30rpx;
  558. padding-top: 20rpx;
  559. }
  560. .tui-color-red {
  561. color: #E41F19;
  562. padding-right: 30rpx;
  563. }
  564. .tui-goods-price {
  565. width: 100%;
  566. display: flex;
  567. align-items: flex-end;
  568. justify-content: flex-end;
  569. font-size: 24rpx;
  570. }
  571. .tui-size-24 {
  572. font-size: 24rpx;
  573. line-height: 24rpx;
  574. }
  575. .tui-price-large {
  576. font-size: 32rpx;
  577. line-height: 30rpx;
  578. }
  579. .tui-goods-info {
  580. width: 100%;
  581. padding: 30rpx;
  582. box-sizing: border-box;
  583. background: #fff;
  584. }
  585. .tui-price-flex {
  586. display: flex;
  587. align-items: center;
  588. justify-content: space-between;
  589. }
  590. .tui-size24 {
  591. padding-bottom: 20rpx;
  592. font-size: 24rpx;
  593. line-height: 24rpx;
  594. color: #888;
  595. }
  596. .tui-size32 {
  597. font-size: 32rpx;
  598. line-height: 32rpx;
  599. font-weight: 500;
  600. }
  601. .tui-pbtm20 {
  602. padding-bottom: 20rpx;
  603. }
  604. .tui-flex-shrink {
  605. flex-shrink: 0;
  606. }
  607. .tui-primary-color {
  608. color: #EB0909;
  609. }
  610. .tui-order-info {
  611. margin-top: 20rpx;
  612. }
  613. .tui-order-title {
  614. position: relative;
  615. font-size: 28rpx;
  616. line-height: 28rpx;
  617. padding-left: 12rpx;
  618. box-sizing: border-box;
  619. }
  620. .tui-order-title::before {
  621. content: '';
  622. position: absolute;
  623. left: 0;
  624. top: 0;
  625. border-left: 4rpx solid #EB0909;
  626. height: 100%;
  627. }
  628. .tui-order-content {
  629. width: 100%;
  630. padding: 24rpx 30rpx;
  631. box-sizing: border-box;
  632. background: #fff;
  633. font-size: 24rpx;
  634. line-height: 30rpx;
  635. }
  636. .tui-order-flex {
  637. display: flex;
  638. padding-top: 18rpx;
  639. }
  640. .tui-order-flex:first-child {
  641. padding-top: 0
  642. }
  643. .tui-item-title {
  644. width: 132rpx;
  645. flex-shrink: 0;
  646. }
  647. .tui-item-content {
  648. color: #666;
  649. line-height: 32rpx;
  650. }
  651. .tui-safe-area {
  652. height: 1rpx;
  653. padding-bottom: env(safe-area-inset-bottom);
  654. }
  655. .tui-tabbar {
  656. width: 100%;
  657. height: 98rpx;
  658. background: #fff;
  659. position: fixed;
  660. left: 0;
  661. bottom: 0;
  662. display: flex;
  663. align-items: center;
  664. justify-content: flex-end;
  665. font-size: 26rpx;
  666. box-shadow: 0 0 1px rgba(0, 0, 0, .3);
  667. padding-bottom: env(safe-area-inset-bottom);
  668. z-index: 996;
  669. }
  670. .tui-btn-mr {
  671. margin-right: 30rpx;
  672. }
  673. .tui-contact {
  674. display: flex;
  675. align-items: center;
  676. justify-content: center;
  677. font-size: 28rpx;
  678. }
  679. .tui-contact image {
  680. width: 36rpx;
  681. height: 36rpx;
  682. margin-right: 16rpx;
  683. }
  684. .qrcodebox {
  685. color: #999;
  686. padding: 20rpx;
  687. text-align: center;
  688. }
  689. .tui-img__box {
  690. width: 100%;
  691. font-size: 0;
  692. padding-top: 4rpx;
  693. }
  694. .tui-img__box image {
  695. width: 200rpx;
  696. height: 200rpx;
  697. margin-right: 12rpx;
  698. margin-top: 12rpx;
  699. }
  700. .tui-image {
  701. width: 400rpx !important;
  702. height: auto;
  703. }
  704. </style>