myTimesDetail.vue 20 KB

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