index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  1. <template>
  2. <view class="container">
  3. <view class='no_data' v-if="dataError">
  4. <image src="/static/no_data.png" class='image' mode='widthFix' />
  5. <view>没有找到该订单呢……</view>
  6. </view>
  7. <view class='orderDetail_box'>
  8. <view class="sec-wrap" v-if="!dataError">
  9. <view class="order-status">
  10. <view class="icon-box">
  11. <block v-if="orderInfo.orderDetail">
  12. <image v-if="orderInfo.orderDetail.status==2" class="icon" src="/static/order-details/icon-ddfk.png"></image>
  13. <image v-else-if="orderInfo.orderDetail.status==3" class="icon" src="/static/order-details/icon-ddfh.png"></image>
  14. <image v-else-if="orderInfo.orderDetail.status==4" class="icon" src="/static/order-details/icon-ddsh.png"></image>
  15. <image v-else-if="orderInfo.orderDetail.status==5" class="icon" src="/static/order-details/icon-jycg.png"></image>
  16. <image v-else-if="orderInfo.orderDetail.status==6 || orderInfo.orderDetail.status==7" class="icon" src="/static/order-details/icon-ddgb.png"></image>
  17. </block>
  18. </view>
  19. <view class="right-text">
  20. <view class="status">{{orderInfo.orderDetail?orderInfo.orderDetail.statusMsg:''}}</view>
  21. <!-- <view class="des">{{changeTimeText}}</view> -->
  22. </view>
  23. </view>
  24. </view>
  25. <!-- 配送 -->
  26. <view class="address-box">
  27. <view class="show-address">
  28. <view class="name-tel">{{orderInfo.address.name}} {{orderInfo.address.mobile}}</view>
  29. <view class="addr-text">{{orderInfo.address.province}} {{orderInfo.address.city}} {{orderInfo.address.county}} {{orderInfo.address.address}}</view>
  30. </view>
  31. </view>
  32. <view class='logistics_btn' v-if="orderInfo.logistics && orderInfo.logistics.logistics_no && orderInfo.logistics.logistics_business" @tap="goLogistics">
  33. <view class='l_box' v-if="orderInfo.logistics.statusMsg && orderInfo.logistics.statusMsg != ''">{{orderInfo.logistics.statusMsg}}</view>
  34. <view class='l_box' v-else>已发货:{{orderInfo.logistics.logistics_business}},快递单号:{{orderInfo.logistics.logistics_no}}</view>
  35. </view>
  36. <view class="goods-list">
  37. <view class="goods-info_box" v-for="(item,index) in orderInfo.mallGood" :key="index">
  38. <scroll-view class="goods-img-container" :data-id="item.goodsId" @tap="toGoodsDetails">
  39. <view class="img-box">
  40. <image :src="item.image" mode='' class="goods-img"></image>
  41. </view>
  42. <view class='goodsDetail_info'>
  43. <view class='goods_name'>{{item.goodsName}}
  44. <view class='goods_num'>×{{item.buyCount}}</view>
  45. </view>
  46. <view class='goods_price r_color'>¥{{item.costPrice}}</view>
  47. </view>
  48. </scroll-view>
  49. </view>
  50. </view>
  51. <!-- <view class="remark"><text>备注:</text>{{item}}</view> -->
  52. <!-- <view class="goods-info">
  53. <view class="row-box" v-if="orderInfo.coupon && orderInfo.coupon.id">
  54. <view class="row-label">商品合计</view>
  55. <view class="right-text r_color">¥ {{goodsTotalPrice}}</view>
  56. </view>
  57. <view class="row-box" v-if="orderInfo.coupon && orderInfo.coupon.id">
  58. <view class="row-label">店铺优惠</view>
  59. <view class="right-text r_color">
  60. {{orderInfo.coupon.type == 1?'- ¥':''}} {{orderInfo.coupon.actualCoupon}} {{orderInfo.coupon.type == 1?'':'折'}}
  61. </view>
  62. </view>
  63. </view> -->
  64. <view class='order_info'>
  65. <view class='li_box' v-if="orderInfo.orderDetail.statusMsg">订单状态:
  66. <view class='info_data'>{{orderInfo.orderDetail.statusMsg}}</view>
  67. </view>
  68. <view class='li_box' v-if="orderInfo.orderDetail.orderNo">订单编号:
  69. <view class='info_data'>{{orderInfo.orderDetail.orderNo}}</view>
  70. </view>
  71. <view class='li_box' v-if="orderInfo.orderDetail.createTime">订单创建:
  72. <view class='info_data'>{{orderInfo.orderDetail.createTime}}</view>
  73. </view>
  74. <view class='li_box'>支付方式:
  75. <view class='info_data'>{{orderInfo.orderDetail.patTypeDesc}}</view>
  76. </view>
  77. <view class='li_box' v-if="orderInfo.orderDetail.integral">商品合计:
  78. <view class='info_data'>{{orderInfo.orderDetail.integral}}</view>
  79. </view>
  80. <view class='li_box' v-if="orderInfo.orderDetail.orderTypes == 2">批发积分:
  81. <view class='info_data'>{{orderInfo.orderDetail.totalPfInt}}</view>
  82. </view>
  83. <view class='li_box' v-if="orderInfo.orderDetail.orderTypes == 2">茶宝:
  84. <view class='info_data'>{{orderInfo.orderDetail.totalTeaInt}}</view>
  85. </view>
  86. <view class='li_box' v-if="orderInfo.orderDetail.orderTypes == 7">拼团金:
  87. <view class='info_data'>{{orderInfo.orderDetail.totalAccountSpell}}</view>
  88. </view>
  89. </view>
  90. <view class="detail_btn-row-box">
  91. <view class="detail_btn-row">
  92. <block>
  93. <view class="btn cancel-btn" @tap="toCancel" v-if="orderInfo.orderDetail.status == 2">取消订单</view>
  94. <view class="btn topay-btn" @tap="toPay" v-if="orderInfo.orderDetail.status == 2">立即支付</view>
  95. <view class="btn topay-btn" @tap="toTake" v-if="orderInfo.orderDetail.status == 4 || orderInfo.orderDetail.status == 3">确认收货</view>
  96. <view class="btn topay-btn" @tap="toCommen" v-if="orderInfo.orderDetail.comType && orderInfo.orderDetail.comType == 1">去评价</view>
  97. <block v-if="(orderInfo.orderDetail.status == 3 || orderInfo.orderDetail.status == 4 || orderInfo.orderDetail.status == 5) && orderInfo.returnType == 1 && orderInfo.orderDetail.orderTypes!=2">
  98. <view
  99. v-if="orderInfo.refundId"
  100. class="btn"
  101. :class="orderInfo&&orderInfo.refundId ? 'topay-btn':'cancel-btn'"
  102. :data-type="orderInfo.type"
  103. :data-id="orderInfo.orderDetail.orderDetailId"
  104. :data-reid="orderInfo.refundId"
  105. @tap="toRefundDetails(orderInfo)"
  106. >
  107. 退款中
  108. </view>
  109. <view
  110. v-else
  111. class="btn"
  112. :class="orderInfo&&orderInfo.refundId ? 'topay-btn':'cancel-btn'"
  113. :data-type="orderInfo.type"
  114. :data-id="orderInfo.orderDetail.orderDetailId"
  115. :data-reid="orderInfo.refundId"
  116. @tap="toRefund(orderInfo)"
  117. >
  118. 退货/退款
  119. </view>
  120. </block>
  121. </block>
  122. <view class="btn cancel-btn" @tap='goBack'>返回</view>
  123. </view>
  124. </view>
  125. </view>
  126. </view>
  127. </template>
  128. <script>
  129. var utils = require('../../utils/util.js');
  130. // import { ReqApi, ToPayOpre } from "../../utils/reqTools.js";
  131. // var reqApi = new ReqApi();
  132. // var toPayOpre = new ToPayOpre();
  133. var app = getApp();
  134. var appEv = app.$vm.$options;
  135. export default {
  136. data() {
  137. return {
  138. currentTpye: false,
  139. dataError: false,
  140. orderInfo: {},
  141. isTuanIng: false ,// 是否为拼团中订单
  142. isweixin:'',
  143. goodsNum:'',
  144. goodsTotalPrice:'',
  145. pt:''
  146. };
  147. },
  148. onLoad: function(e) {
  149. if (!e.id) {
  150. uni.navigateBack({
  151. delta: 1
  152. })
  153. uni.showToast({
  154. title: '参数错误',
  155. image: '/static/static/images/toast_nothing.png',
  156. duration: 1200
  157. })
  158. return
  159. }
  160. this.orderId=e.id
  161. this.type=e.type
  162. uni.showLoading({
  163. title: '加载中…',
  164. mask: true
  165. });
  166. this.loadData();
  167. },
  168. methods:{
  169. loadData: function() {
  170. var orderDetailId = this.orderId, type = this.type;
  171. var info = reqApi.goodsOrderDetails({ orderDetailId, type:this.type });
  172. var that = this;
  173. if (info){
  174. info.then(res => {
  175. uni.hideLoading()
  176. if(res.data.status == 200){
  177. that.orderInfo = res.data
  178. }else{
  179. uni.showModal({
  180. title: '提示',
  181. content: '网络较慢,请稍后重试',
  182. success: function (res) {
  183. if (res) {
  184. uni.navigateBack({
  185. delta:1
  186. })
  187. }
  188. }
  189. });
  190. }
  191. })
  192. }
  193. },
  194. toRefund() {
  195. var id = this.orderId, type = this.type;
  196. uni.navigateTo({
  197. url: '/pages/order-refund/index?id=' + id + '&type=' + type,
  198. })
  199. },
  200. toRefundDetails(e) {
  201. var refundId = this.orderInfo.refundId;
  202. uni.navigateTo({
  203. url: '/pages/order-refund-details/index?id=' + refundId,
  204. })
  205. },
  206. // 取消订单
  207. toCancel() {
  208. var orderDetailId = this.orderId, type = this.type;
  209. const info = reqApi.cancelOrder({ orderDetailId, type });
  210. var that = this;
  211. if (info) {
  212. info.then(res => {
  213. if (res.data.status == 200) {
  214. appEv.errTips(res.data.msg || '订单已取消');
  215. setTimeout(function () {
  216. that.loadData();
  217. }, 1200);
  218. } else {
  219. appEv.errTips(res.data.msg || '取消失败');
  220. }
  221. });
  222. }
  223. },
  224. // 立即支付
  225. toPay(e){
  226. let data = {
  227. orderDetailIds:this.orderId,
  228. types:1,
  229. price:this.orderInfo.orderDetail.totalWxPrice,
  230. account:this.orderInfo.orderDetail.totalAccount,
  231. teaIntegral:this.orderInfo.orderDetail.totalTeaInt,
  232. pfIntegral:this.orderInfo.orderDetail.totalPfInt,
  233. xfIntegral:this.orderInfo.orderDetail.totalXfInt,
  234. zfType:this.orderInfo.orderDetail.patType,
  235. ojsType:this.orderInfo.orderDetail.ojsType
  236. }
  237. var info
  238. info = reqApi.payOrder(data);
  239. var that = this;
  240. if (info) {
  241. info.then(res => {
  242. if (res.data.status == 200) {
  243. toPayOpre.toPay(res.data.payParam);
  244. } else {
  245. appEv.errTips(res.data.msg || '支付失败');
  246. }
  247. });
  248. }
  249. },
  250. // 确认收货
  251. toTake() {
  252. var orderDetailId = this.orderId;
  253. var that = this;
  254. uni.showModal({
  255. content: '亲,“确定收货”代表着本订单的交付流程已经完成,不再支持任何形式的退换货。?',
  256. confirmText: "确认收货",
  257. confirmColor: "#fa2f2e",
  258. cancelText: "取消",
  259. cancelColor: "#bbb",
  260. success(res) {
  261. if (res.confirm) {
  262. const info = reqApi.takeOrder({ orderDetailId:orderDetailId, type:1 });
  263. if (info) {
  264. info.then(res => {
  265. if (res.data.status == 200) {
  266. appEv.errTips(res.data.msg);
  267. setTimeout(function () {
  268. that.loadData();
  269. }, 1200);
  270. } else {
  271. appEv.errTips(res.data.msg || '收货失败');
  272. }
  273. });
  274. }
  275. } else if (res.cancel) {
  276. // console.log('用户点击取消');
  277. }
  278. }
  279. })
  280. },
  281. //计时
  282. timeChange: function(statusType, finsTime) {
  283. var nowTime = utils.unxiNum();
  284. finsTime = utils.unxiNum(finsTime);
  285. var timeDiffNum = finsTime - nowTime;
  286. var that = this,
  287. text = '';
  288. if (timeDiffNum > 0) {
  289. var timer = setInterval(function() {
  290. --timeDiffNum;
  291. var back_text = utils.changeTimeStamp(timeDiffNum);
  292. if (timeDiffNum <= 0 || !back_text) {
  293. clearInterval(timer);
  294. if (statusType == 0) {
  295. text = "订单未在规定时间内付款已自动关闭";
  296. that.currentTpye=7
  297. that.onShow();
  298. }
  299. } else {
  300. if (statusType == 0) {
  301. text = "请于" + back_text + "内付款,超时订单将自动关闭";
  302. }
  303. }
  304. that.timeOver= false//时间是否已结束
  305. that.changeTimeTexttext
  306. }, 1000);
  307. } else {
  308. if (statusType == 0) {
  309. text = "订单未在规定时间内付款已自动关闭";
  310. }
  311. that.timeOver=true //时间是否已结束
  312. that.changeTimeText=text
  313. }
  314. },
  315. goBack: function() {
  316. uni.navigateBack({})
  317. },
  318. // 跳转商品详情
  319. toGoodsDetails(e){
  320. var url = '/pages/chengbei-goods-details/index?goods_id=' + e.currentTarget.dataset.id;
  321. if (this.orderInfo.orderDetail.assembleType && this.orderInfo.orderDetail.assembleType != 1){
  322. // 判断是否为拼团订单
  323. url += "&type=TUAN";
  324. }
  325. uni.navigateTo({
  326. url: url
  327. })
  328. },
  329. // 跳转拼团分享页面
  330. toTuanShare() {
  331. uni.navigateTo({
  332. url: '/pages/tuan-share-info/index?orderNo=' + this.orderInfo.orderDetail.orderNo
  333. })
  334. },
  335. // 跳转物流详情
  336. goLogistics(){
  337. uni.navigateTo({
  338. url: '/pages/logistics/index?id=' + this.orderInfo.orderDetail.orderDetaillId
  339. })
  340. },
  341. // 去评价
  342. toCommen(e) {
  343. var id = this.orderId,
  344. no = this.orderInfo.orderDetail.orderNo,
  345. orderType = this.type;
  346. uni.navigateTo({
  347. url: '/pages/add-goods-commen/index?orderId=' + id + '&orderNo=' + no + '&orderType=' + orderType
  348. })
  349. }
  350. }
  351. }
  352. </script>
  353. <style lang="scss" scoped>
  354. page {
  355. background-color: #f3f5f7;
  356. }
  357. .r_color {
  358. color: #fa2f2e;
  359. }
  360. .sec-wrap {
  361. background-color: #21C792;
  362. margin: 2rpx 0 20rpx;
  363. }
  364. .bottom-fiexd {
  365. position: fixed;
  366. bottom: 0;
  367. left: 0;
  368. }
  369. .flex_hvcc{
  370. display: flex;
  371. display: -webkit-flex;
  372. align-items: center;
  373. justify-content: center;
  374. }
  375. .address-box {
  376. width: 100%;
  377. margin: -20rpx 0 20rpx;
  378. background: #fff url(http://xcx.soowin.com/images/addr-line.png) no-repeat center top;
  379. background-size: 100% 4rpx;
  380. overflow: hidden;
  381. }
  382. .show-address {
  383. width: 100%;
  384. box-sizing: border-box;
  385. padding: 0 30rpx 0 80rpx;
  386. background: url(http://xcx.soowin.com/images/ico-addr.png) no-repeat 25rpx 30rpx;
  387. background-size: 40rpx auto;
  388. }
  389. .show-address .name-tel {
  390. font-size: 28rpx;
  391. color: #000;
  392. padding: 30rpx 0 20rpx 0;
  393. }
  394. .show-address .name-tel-phone {
  395. padding: 30rpx 0;
  396. }
  397. .show-address .addr-text {
  398. font-size: 24rpx;
  399. color: #888;
  400. padding-bottom: 34rpx;
  401. line-height: 36rpx;
  402. }
  403. .show-address .addr-text_lit {
  404. padding-bottom: 10rpx;
  405. }
  406. .sec-wrap .order-status {
  407. width: 100%;
  408. box-sizing: border-box;
  409. padding: 0 30rpx;
  410. height: 160rpx;
  411. display: flex;
  412. align-items: center;
  413. }
  414. .order-status .icon-box {
  415. width: 80rpx;
  416. height: 80rpx;
  417. overflow: hidden;
  418. margin-right: 26rpx;
  419. }
  420. .order-status .icon-box .icon {
  421. width: 100%;
  422. height: 100%;
  423. }
  424. .order-status .right-text {
  425. width: calc(100% - 116rpx);
  426. overflow: hidden;
  427. }
  428. .order-status .right-text .status {
  429. font-size: 36rpx;
  430. color: #fff;
  431. padding: 2rpx 0 4rpx;
  432. font-weight: 500;
  433. }
  434. .order-status .right-text .red {
  435. color: #fa2f2e;
  436. }
  437. .order-status .right-text .des {
  438. font-size: 24rpx;
  439. color: #fff;
  440. padding: 4rpx 0;
  441. }
  442. .address-sec {
  443. width: 720rpx;
  444. margin-left: 30rpx;
  445. display: flex;
  446. align-items: center;
  447. padding: 30rpx 0;
  448. }
  449. .address-sec .icon-box {
  450. width: 30rpx;
  451. align-self: flex-start;
  452. overflow: hidden;
  453. margin-right: 35rpx;
  454. }
  455. .address-sec .icon-box .icon {
  456. width: 30rpx;
  457. height: 30rpx;
  458. }
  459. .address-sec .right-box {
  460. width: 620rpx;
  461. }
  462. .address-sec .right-box .name-tel {
  463. font-size: 28rpx;
  464. color: #000;
  465. margin-bottom: 20rpx;
  466. }
  467. .address-sec .right-box .text {
  468. font-size: 24rpx;
  469. color: #888;
  470. line-height: 36rpx;
  471. height: 72rpx;
  472. overflow: hidden;
  473. }
  474. .wuliu-box {
  475. width: 720rpx;
  476. margin-left: 30rpx;
  477. border-bottom: 1rpx solid #eee;
  478. display: flex;
  479. align-items: center;
  480. padding: 30rpx 0;
  481. }
  482. .wuliu-box .icon-box {
  483. width: 40rpx;
  484. height: 40rpx;
  485. overflow: hidden;
  486. margin-right: 31rpx;
  487. align-self: flex-start;
  488. }
  489. .wuliu-box .icon-box .icon {
  490. width: 40rpx;
  491. height: 40rpx;
  492. }
  493. .wuliu-box .arrow-right {
  494. width: 15rpx;
  495. height: 24rpx;
  496. }
  497. .wuliu-box .arrow-right .arrow {
  498. width: 15rpx;
  499. height: 24rpx;
  500. }
  501. .wuliu-box .right-text {
  502. width: 575rpx;
  503. margin-right: 30rpx;
  504. }
  505. .wuliu-box .right-text .order-number {
  506. font-size: 28rpx;
  507. color: #000;
  508. margin-bottom: 14rpx;
  509. }
  510. .wuliu-box .right-text .wuliu-text, .wuliu-box .right-text .wuliu-date {
  511. font-size: 24rpx;
  512. color: #888;
  513. line-height: 36rpx;
  514. }
  515. .goods-list {
  516. width: 100%;
  517. background-color: #fff;
  518. margin-bottom:24rpx;
  519. }
  520. .goods-list .list-title {
  521. font-size: 28rpx;
  522. color: #000;
  523. padding: 16rpx 24rpx;
  524. }
  525. .avaImgs{
  526. width: 50rpx;
  527. height: 50rpx;
  528. overflow: hidden;
  529. border-radius: 50%;
  530. background-color: #f3f5f7;
  531. margin-right: 20rpx;
  532. }
  533. .goods-info_box{
  534. width: 100%;
  535. overflow: hidden;
  536. border-top: 2rpx solid #eee;
  537. }
  538. .goods-img-container {
  539. overflow: hidden;
  540. padding: 30rpx;
  541. margin-bottom: 2rpx;
  542. box-sizing: border-box;
  543. }
  544. .goods-info .goods-des {
  545. width: 540rpx;
  546. height: 78rpx;
  547. line-height: 39rpx;
  548. font-size: 26rpx;
  549. color: #000;
  550. overflow: hidden;
  551. }
  552. .goods-img-container .img-box {
  553. width: 170rpx;
  554. height: 118.56rpx;
  555. background-color: #f7f7f7;
  556. overflow: hidden;
  557. float: left;
  558. display: -webkit-box;
  559. -webkit-box-align: center;
  560. -webkit-box-pack: center;
  561. }
  562. .goodsDetail_info{
  563. overflow: hidden;
  564. float: right;
  565. width: calc(100% - 194rpx);
  566. line-height: 1.5;
  567. position: relative;
  568. height: 118rpx;
  569. }
  570. .goodsDetail_info .goods_name{
  571. padding-right: 66rpx;
  572. position: relative;
  573. font-size: 26rpx;
  574. margin-bottom: 6rpx;
  575. overflow: hidden;
  576. display: -webkit-box;
  577. -webkit-box-orient: vertical;
  578. -webkit-line-clamp: 2;
  579. }
  580. .goodsDetail_info .goods_name .goods_num{
  581. font-size: 24rpx;
  582. color: #666;
  583. position: absolute;
  584. top: 0;
  585. right: 0;
  586. }
  587. .goodsDetail_info .unimport{
  588. font-size: 24rpx;
  589. color: #999;
  590. }
  591. .goodsDetail_info .goods_price{
  592. position: absolute;
  593. left: 0;
  594. bottom: 0;
  595. font-size: 28rpx;
  596. line-height: 1.2;
  597. font-weight:600;
  598. }
  599. .goods-img-container .img-box .goods-img {
  600. width: 100%;
  601. display: block;
  602. height: 100%;
  603. }
  604. .peisong-way {
  605. width: 100%;
  606. background-color: #fff;
  607. margin-bottom: 20rpx;
  608. }
  609. .peisong-way .row-box {
  610. width: 100%;
  611. display: flex;
  612. justify-content: space-between;
  613. align-items: center;
  614. box-sizing: border-box;
  615. padding: 24rpx 30rpx;
  616. font-size: 26rpx;
  617. line-height: 1.6;
  618. }
  619. .goods-info {
  620. width: 100%;
  621. background-color: #fff;
  622. margin-bottom: 20rpx;
  623. }
  624. .goods-info .row-box {
  625. width: calc(100% - 30rpx);
  626. display: flex;
  627. justify-content: space-between;
  628. /* align-items: center; */
  629. box-sizing: border-box;
  630. padding: 30rpx 30rpx 30rpx 0;
  631. margin-left: 30rpx;
  632. border-bottom: 1px solid #f5f5f5;
  633. font-size: 26rpx;
  634. color: #000;
  635. }
  636. .goods-info .row-box .row-label {
  637. width: calc(100% - 140rpx);
  638. }
  639. .goods-info .row-box .right-text {
  640. text-align: right;
  641. }
  642. .goods-info .row-box .right-text.r_color{
  643. font-weight: 600;
  644. }
  645. .order_info{
  646. width: 100%;
  647. background-color: #fff;
  648. box-sizing: border-box;
  649. padding: 16rpx 30rpx;
  650. margin-bottom: 20rpx;
  651. }
  652. .order_info .li_box{
  653. line-height: 1.6;
  654. padding: 10rpx 0;
  655. font-size: 26rpx;
  656. color: #999;
  657. }
  658. .order_info .li_box .info_data{
  659. display: inline-block;
  660. color: #000;
  661. }
  662. .jiesuan-box {
  663. display: flex;
  664. justify-content: space-between;
  665. width: 100%;
  666. height: 100rpx;
  667. position: fixed;
  668. bottom: 0;
  669. left: 0;
  670. border-top: 1px solid #eee;
  671. background-color: #fff;
  672. }
  673. .jiesuan-box .to-pay-btn {
  674. width: 250rpx;
  675. text-align: center;
  676. height: 100%;
  677. line-height: 100rpx;
  678. background-color: #fa2f2e;
  679. font-size: 32rpx;
  680. color: #fff;
  681. border-radius: 0;
  682. }
  683. .jiesuan-box .left-price {
  684. display: flex;
  685. width: 500rpx;
  686. justify-content: flex-start;
  687. line-height: 100rpx;
  688. padding: 0 30rpx;
  689. font-size: 28rpx;
  690. box-sizing: border-box;
  691. }
  692. .jiesuan-box .total {
  693. text-align: right;
  694. }
  695. .jiesuan-box .total .total_price {
  696. color: #fa2f2e;
  697. font-weight: 600;
  698. display: inline-flex;
  699. }
  700. .logistics_btn{
  701. padding: 24rpx 24rpx 24rpx 30rpx;
  702. width: 100%;
  703. overflow: hidden;
  704. box-sizing: border-box;
  705. font-size: 26rpx;
  706. line-height: 1.6;
  707. background-color: #fff;
  708. margin-bottom: 20rpx;
  709. }
  710. .l_box{
  711. width: 100%;
  712. box-sizing: border-box;
  713. overflow: hidden;
  714. padding: 0 28rpx 0 64rpx;
  715. white-space: nowrap;
  716. text-overflow: ellipsis;
  717. /* background: url(http://xcx.soowin.com/images/logis_icon.png) no-repeat left top, url(http://xcx.soowin.com/images/arrow-right.png) no-repeat right center;
  718. background-size: 46rpx auto, 16rpx auto; */
  719. background: url(http://xcx.soowin.com/images/logis_icon.png) no-repeat left top;
  720. background-size: 46rpx auto;
  721. }
  722. .detail_btn-row-box{
  723. height: 104rpx;
  724. }
  725. .detail_btn-row{
  726. width: 100%;
  727. height: 104rpx;
  728. padding: 18rpx 30rpx;
  729. box-sizing: border-box;
  730. overflow: hidden;
  731. position: fixed;
  732. left: 0;
  733. bottom: 0;
  734. background: #fff;
  735. display: flex;
  736. justify-content: flex-end;
  737. font-size: 26rpx;
  738. align-items: center;
  739. box-shadow: 0rpx -2rpx 16rpx rgba(0, 0, 0, 0.04);
  740. }
  741. .detail_btn-row .btn{
  742. box-sizing: border-box;
  743. text-align: center;
  744. border-radius: 6rpx;
  745. margin-left: 20rpx;
  746. border: 1rpx solid #ccc;
  747. padding: 16rpx 24rpx;
  748. }
  749. .detail_btn-row .topay-btn{
  750. border-color: #E05F0B;
  751. background-color: #E05F0B;
  752. color: #fff;
  753. }
  754. .footerMargin{
  755. margin-bottom: 104rpx;
  756. }
  757. // 备注
  758. .remark{width: 100%;overflow: hidden;background: #fff;padding: 30rpx; box-sizing: border-box;margin-top: 3rpx;}
  759. // 备注-end
  760. </style>