myTimesDetail.vue 20 KB

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