index.vue 23 KB

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