index.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092
  1. <template>
  2. <view :style="{ height: pageHeight,colorStyle }">
  3. <view class="top custom_box" style="background: linear-gradient(180deg, rgb(254,245,246), rgb(245,245,245)); color: black;" >
  4. <!-- #ifdef MP || APP-PLUS -->
  5. <view class="sys-head">
  6. <view class="sys-bar" :style="{ height: sysHeight }"></view>
  7. <!-- #ifdef MP -->
  8. <view class="sys-title">订单列表</view>
  9. <!-- #endif -->
  10. </view>
  11. <!-- #endif -->
  12. </view>
  13. <view class="my-order" :style="{ top: sysHeightTop}">
  14. <view class="header-group" style="padding-left: 20rpx;" >
  15. <view class="tabs">
  16. <u-tabs :is-scroll="true" :list="navigationList" @change="statusClick()" lineColor="#B22338"
  17. :inactiveStyle="{ color: '#999999' }" :activeStyle="{ color: '#B22338', fontWeight: 'bold' }"
  18. keyName="title" :current="current"></u-tabs>
  19. </view>
  20. </view>
  21. <view v-for="(item, index) in orderList" :key="index">
  22. <view class="list" >
  23. <view class="myclient_list" @click="goOrderDetails(item)">
  24. <view class="myclient_list_name">
  25. <view class="nl ">
  26. {{item.mainTitle}}
  27. </view>
  28. <view v-if="item.orderState == 4" class="success_status">{{item.orderStateDesc}}</view>
  29. <view v-else-if="item.orderState == 8" class="after_sales_status">{{item.orderStateDesc}}</view>
  30. <view v-else class="status">{{item.orderStateDesc}}</view>
  31. </view>
  32. <!-- <view class="grouponTitle ">-->
  33. <!-- <text class="subTitle ">{{ item.subTitle}} </text>-->
  34. <!-- </view>-->
  35. <view class="myclient_list_content">
  36. <view class="phone">
  37. <image referrerpolicy="no-referrer" src="http://www.gzzzyd.com/groupon/home_slices/日期@2x.png" />
  38. <text>
  39. 团购日期: {{item.grouponStartTime}} 至 {{item.grouponEndTime}}
  40. </text>
  41. </view>
  42. <view class="phone">
  43. <image referrerpolicy="no-referrer" src="http://www.gzzzyd.com/groupon/home_slices/日期@2x.png" />
  44. <text>
  45. 提货日期: {{item.takeStartTime}} 至 {{item.takeEndTime}}
  46. </text>
  47. </view>
  48. <view class="time">
  49. <image referrerpolicy="no-referrer" src="http://www.gzzzyd.com/groupon/home_slices/出厂编号-线@2x.png" />
  50. <text>
  51. 订单编号: {{item.orderNo}}
  52. </text>
  53. </view>
  54. </view>
  55. </view>
  56. <view class="all-products-body" v-for="(goods, index2) in item.goodsList" :key="index2">
  57. <view class="all-products-item" @click="addGoodPopupShow = true">
  58. <image
  59. :src="goods.goodsImage"
  60. mode="scaleToFill" />
  61. <view class="all-products-item-content">
  62. <view class="all-products-item-content-t">
  63. {{goods.goodsName}}
  64. </view>
  65. <view class="all-products-item-content-b">
  66. <view style="display:flex;">
  67. <text class="red"> ¥{{goods.goodsPrice}}</text>
  68. </view>
  69. <view>
  70. <view class="count"> x {{goods.goodsNum}}</view>
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. <view class="self-pickup-point">
  77. <view class="a-t">
  78. 最近的自提网点:
  79. </view>
  80. <view class="a-m">
  81. <view class="am1">
  82. <view class="am1-1">
  83. {{item.selfTakeName}}
  84. </view>
  85. <view class="am1-2" @click="openmap(item)">
  86. <image src="http://www.gzzzyd.com/groupon/order_details/导航图标@2x.png" mode="scaleToFill" />
  87. </view>
  88. </view>
  89. </view>
  90. <vie class="white_line"></vie>
  91. <view class="a-b">
  92. <view class="a-b1">
  93. 对接团长:
  94. <text class="red">
  95. &nbsp;&nbsp;{{item.commander}}
  96. </text>
  97. </view>
  98. <view class="a-b2">
  99. <image src="http://www.gzzzyd.com/groupon/order_details/微信@2x.png" mode="scaleToFill" @click="openPopup(item.qrCode)"></image>
  100. <image src="http://www.gzzzyd.com/groupon/order_details/电话键盘_填充@2x.png" mode="scaleToFill" @click="callPhone(item.phone)"></image>
  101. </view>
  102. </view>
  103. </view>
  104. <view class="op-area">
  105. <button v-if="item.orderState == 1" class="action-btn" @click="cancelOrder(item.orderId)">取消订单</button>
  106. <button v-if="item.orderState == 1" class="action-btn" @click="goPay(item)">立即付款</button>
  107. <button v-if="item.orderState == 4" class="info-btn" @click="salesReturn(item)">申请退货</button>
  108. <button v-if="item.canRefund" class="info-btn" @click="refundOrder(item.orderId)">申请退款</button>
  109. <button v-if="item.orderState == 2" class="action-btn" @click="viewPickCode(item.pickupCode)">取货码 {{item.pickupCode}}</button>
  110. </view>
  111. </view>
  112. </view>
  113. <view class="loadingicon acea-row row-center-wrapper" v-if="orderList.length > 0">
  114. <text class="loading iconfont icon-jiazai" :hidden="loading == false"></text>
  115. {{ loadTitle }}
  116. </view>
  117. <view v-if="orderList.length == 0">
  118. <emptyPage v-if="!loading" :title="$t(`暂无订单`)"></emptyPage>
  119. <view class="loadingicon acea-row row-center-wrapper">
  120. <text class="loading iconfont icon-jiazai" :hidden="loading == false"></text>
  121. </view>
  122. </view>
  123. </view>
  124. <!-- #ifndef MP -->
  125. <home></home>
  126. <!-- #endif -->
  127. <payment :payMode="payMode" :pay_close="pay_close" @onChangeFun="onChangeFun" :order_id="pay_order_id"
  128. :totalPrice="totalPrice"></payment>
  129. <uni-popup ref="popup" type="center">
  130. <view class="block_3">
  131. <image @click="closePopup"
  132. class="icon_1"
  133. referrerpolicy="no-referrer"
  134. src="/static/images/X.png"
  135. />
  136. <image
  137. class="image_3"
  138. referrerpolicy="no-referrer"
  139. :src="qrCode"
  140. show-menu-by-longpress="true"
  141. />
  142. <text class="text_23">长按图片识别&nbsp;“加团长微信”</text>
  143. </view>
  144. </uni-popup>
  145. <u-popup :show="pickupCodeShow" mode="center" @close="pickupCodeShow = false">
  146. <view>
  147. <!-- <text>-->
  148. <uqrcode ref="uqrcode" canvas-id="qrcode" :value="pickupCode" :options="{ margin: 10 }"></uqrcode>
  149. <!-- </text>-->
  150. </view>
  151. </u-popup>
  152. </view>
  153. </template>
  154. <script>
  155. let sysHeight = uni.getSystemInfoSync().statusBarHeight + 'px';
  156. let sysHeightTop = (uni.getSystemInfoSync().statusBarHeight + 43) + 'px';
  157. const app = getApp();
  158. import {
  159. getUserOrderPage,
  160. orderCancel,
  161. postUserOrderRefund
  162. } from '@/api/home.js';
  163. import {
  164. getOrderList,
  165. orderData,
  166. orderDel,
  167. orderPay
  168. } from '@/api/order.js';
  169. import {
  170. getUserInfo
  171. } from '@/api/user.js';
  172. import {
  173. openOrderSubscribe
  174. } from '@/utils/SubscribeMessage.js';
  175. import home from '@/components/home';
  176. import payment from '@/components/payment';
  177. import {
  178. toLogin
  179. } from '@/libs/login.js';
  180. import {
  181. mapGetters
  182. } from 'vuex';
  183. // #ifdef MP
  184. import authorize from '@/components/Authorize';
  185. // #endif
  186. import emptyPage from '@/components/emptyPage.vue';
  187. import colors from '@/mixins/color.js';
  188. export default {
  189. components: {
  190. payment,
  191. home,
  192. emptyPage,
  193. // #ifdef MP
  194. authorize
  195. // #endif
  196. },
  197. mixins: [colors],
  198. data () {
  199. return {
  200. pickupCodeShow: false,
  201. pickupCode: '',
  202. qrCode:'',
  203. navigationList: [{
  204. title: '全部',
  205. id: 0,
  206. orderStatus: 0,
  207. }
  208. ,
  209. {
  210. title: '待付款',
  211. id: 1,
  212. orderStatus: 1,
  213. },
  214. {
  215. title: '待提货',
  216. id: 2,
  217. orderStatus: 2,
  218. },
  219. {
  220. title: '已完成',
  221. id: 3,
  222. orderStatus: 4,
  223. },
  224. {
  225. title: '售后',
  226. id: 4,
  227. orderStatus: 8,
  228. },
  229. ],
  230. pageHeight: app.globalData.windowHeight,
  231. sysHeight: sysHeight,
  232. sysHeightTop: sysHeightTop,
  233. loading: false, //是否加载中
  234. loadend: false, //是否加载完毕
  235. loadTitle: this.$t(`加载更多`), //提示语
  236. orderList: [], //订单数组
  237. orderData: {}, //订单详细统计
  238. orderStatus: 0, //订单状态
  239. page: 1,
  240. limit: 5,
  241. payMode: [{
  242. name: this.$t(`微信支付`),
  243. icon: 'icon-weixinzhifu',
  244. value: 'weixin',
  245. title: this.$t(`使用微信快捷支付`),
  246. payStatus: true
  247. },
  248. // {
  249. // name: this.$t(`支付宝支付`),
  250. // icon: 'icon-zhifubao',
  251. // value: 'alipay',
  252. // title: this.$t(`使用支付宝支付`),
  253. // payStatus: true
  254. // },
  255. // {
  256. // name: this.$t(`余额支付`),
  257. // icon: 'icon-yuezhifu',
  258. // value: 'yue',
  259. // title: this.$t(`可用余额`),
  260. // number: 0,
  261. // payStatus: true
  262. // }, {
  263. // "name": this.$t(`好友代付`),
  264. // "icon": "icon-haoyoudaizhifu",
  265. // value: 'friend',
  266. // title: this.$t(`找微信好友支付`),
  267. // payStatus: 1,
  268. // }
  269. ],
  270. pay_close: false,
  271. pay_order_id: '',
  272. pay_orderId: '',
  273. totalPrice: '0',
  274. isAuto: false, //没有授权的不会自动授权
  275. isShowAuth: false ,//是否隐藏授权
  276. current: 0
  277. };
  278. },
  279. computed: mapGetters(['isLogin']),
  280. onShow () {
  281. let allPages = getCurrentPages(); //获取当前页面栈的实例;
  282. console.log("allPages->", allPages);
  283. let lastPages = allPages.length - 1; // 获得倒数第二个元素的索引;
  284. console.log("lastPages->", lastPages);
  285. let option = allPages[lastPages].options; // 获得上个页面传递的参数;
  286. console.log("option->", option);
  287. console.log("onShow事件,全局变量1--------", getApp().globalData.switchId, this.$route)
  288. let ContentIndex = getApp().globalData.switchId//获取到传参
  289. if(ContentIndex == '待付款') {
  290. this.current = 1;
  291. this.orderStatus = 1;
  292. } else if (ContentIndex == '待提货') {
  293. this.current = 2;
  294. this.orderStatus = 2;
  295. } else if (ContentIndex == '已完成') {
  296. this.current = 3;
  297. this.orderStatus = 4;
  298. } else if (ContentIndex == '全部') {
  299. this.current = 0;
  300. this.orderStatus = 0;
  301. } else if (ContentIndex == '售后') {
  302. this.current = 4;
  303. this.orderStatus = 8;
  304. }
  305. if (this.isLogin) {
  306. this.page = 1;
  307. this.orderList = []
  308. this.loadend = false;
  309. // this.onLoadFun();
  310. this.getOrderList();
  311. } else {
  312. toLogin();
  313. }
  314. },
  315. methods: {
  316. salesReturn(item){
  317. uni.navigateTo({
  318. url:'/pages/order/orderAfterSales/orderAfterSales?item='+encodeURIComponent(JSON.stringify(item))
  319. })
  320. },
  321. openmap(selfTake) {
  322. uni.openLocation({
  323. latitude: selfTake.latitude,
  324. longitude: selfTake.longitude,
  325. address: selfTake.address,
  326. success: function () {
  327. console.log('success');
  328. }
  329. });
  330. },
  331. closePopup(){
  332. this.$refs.popup.close()
  333. },
  334. openPopup(qrCode){
  335. let that = this;
  336. this.qrCode = qrCode;
  337. if (!this.qrCode) {
  338. return that.$util.Tips({
  339. title: that.$t(`团长未设置微信号`)
  340. });
  341. }
  342. this.$refs.popup.open()
  343. },
  344. callPhone(phone){
  345. uni.makePhoneCall({
  346. phoneNumber: phone
  347. })
  348. },
  349. onLoadFun () {
  350. this.getOrderData();
  351. this.getUserInfo();
  352. },
  353. // 授权关闭
  354. authColse: function (e) {
  355. this.isShowAuth = e;
  356. },
  357. /**
  358. * 事件回调
  359. *
  360. */
  361. onChangeFun: function (e) {
  362. let opt = e;
  363. let action = opt.action || null;
  364. let value = opt.value != undefined ? opt.value : null;
  365. action && this[action] && this[action](value);
  366. },
  367. /**
  368. * 获取用户信息
  369. *
  370. */
  371. getUserInfo: function () {
  372. let that = this;
  373. getUserInfo().then(res => {
  374. that.payMode[2].number = res.data.now_money;
  375. that.$set(that, 'payMode', that.payMode);
  376. });
  377. },
  378. /**
  379. * 关闭支付组件
  380. *
  381. */
  382. payClose: function () {
  383. this.pay_close = false;
  384. },
  385. /**
  386. * 查看取货码
  387. * @param {Object} code
  388. */
  389. viewPickCode(code) {
  390. this.pickupCodeShow = true;
  391. this.pickupCode = code;
  392. },
  393. /**
  394. * 生命周期函数--监听页面加载
  395. */
  396. onLoad: function (options) {
  397. console.log('onLoad事件', options);
  398. if ('params' in options) {
  399. this.obj = JSON.parse(decodeURIComponent(options.params));
  400. }
  401. if (options.status) this.orderStatus = options.status;
  402. },
  403. /**
  404. * 取消订单
  405. *
  406. */
  407. cancelOrder: function (order_id) {
  408. let that = this;
  409. if (!order_id)
  410. return that.$util.Tips({
  411. title: that.$t(`缺少订单号无法取消订单`)
  412. });
  413. uni.showModal({
  414. title: that.$t(`取消订单`),
  415. content: that.$t(`确定取消该订单`),
  416. success: function (res) {
  417. if (res.confirm) {
  418. orderCancel(order_id)
  419. .then(res => {
  420. that.orderList = [];
  421. that.getOrderList()
  422. return that.$util.Tips({
  423. title: res.msg,
  424. icon: 'success'
  425. });
  426. })
  427. .catch(err => {
  428. return that.$util.Tips({
  429. title: err
  430. });
  431. });
  432. } else if (res.cancel) {
  433. return that.$util.Tips({
  434. title: that.$t(`已取消`)
  435. });
  436. }
  437. }
  438. });
  439. },
  440. refundOrder: function (orderId) {
  441. let that = this;
  442. if (!orderId)
  443. return that.$util.Tips({
  444. title: that.$t(`缺少订单号无法申请退款订单`)
  445. });
  446. uni.showModal({
  447. title: that.$t(`申请退款`),
  448. content: that.$t(`确定申请退款该订单`),
  449. success: function (res) {
  450. if (res.confirm) {
  451. postUserOrderRefund({ id: orderId })
  452. .then(res => {
  453. that.orderList = [];
  454. that.getOrderList()
  455. return that.$util.Tips({
  456. title: "申请成功",
  457. icon: 'success'
  458. });
  459. })
  460. .catch(err => {
  461. return that.$util.Tips({
  462. title: err
  463. });
  464. });
  465. } else if (res.cancel) {
  466. return that.$util.Tips({
  467. title: that.$t(`已取消`)
  468. });
  469. }
  470. }
  471. });
  472. },
  473. /**
  474. * 打开支付组件
  475. *
  476. */
  477. goPay: function (item) {
  478. this.$set(this, 'pay_close', true);
  479. this.$set(this, 'pay_order_id', item.orderNo);
  480. this.$set(this, 'pay_orderId', item.orderId);
  481. this.$set(this, 'totalPrice', item.paymentAmount);
  482. },
  483. /**
  484. * 支付成功回调
  485. *
  486. */
  487. pay_complete: function () {
  488. this.loadend = false;
  489. this.page = 1;
  490. this.$set(this, 'orderList', []);
  491. this.pay_close = false;
  492. uni.$u.toast("只付成功")
  493. this.pay_order_id = '';
  494. this.pay_orderId = '';
  495. this.getOrderData();
  496. this.getOrderList();
  497. },
  498. /**
  499. * 支付失败回调
  500. *
  501. */
  502. pay_fail: function () {
  503. this.pay_close = false;
  504. this.pay_order_id = '';
  505. },
  506. /**
  507. * 去订单详情
  508. */
  509. goOrderDetails (item) {
  510. uni.navigateTo({
  511. url: '/pages/groupbuying_details/order_details_list/index?orderId=' + item.orderId + '&afterSalesId=' + item.afterSalesId
  512. });
  513. },
  514. /**
  515. * 切换类型
  516. */
  517. statusClick: function (status) {
  518. // if (status.orderStatus == 8) {
  519. // this.orderStatus = 0;
  520. // console.log("wojinlail aaaa")
  521. // uni.navigateTo({url: '/pages/users/user_return_list/index'});
  522. // // uni.({
  523. // // url: '/pages/users/user_return_list/index',
  524. // // fail (err) {
  525. // // console.log(err)
  526. // // }
  527. // // })
  528. // } else {
  529. if (status.orderStatus == this.orderStatus) return;
  530. this.orderStatus = status.orderStatus;
  531. this.loadend = false;
  532. this.page = 1;
  533. this.$set(this, 'orderList', []);
  534. this.getOrderList();
  535. // }
  536. },
  537. /**
  538. * 获取订单列表
  539. */
  540. getOrderList: function () {
  541. let that = this;
  542. if (that.loadend) return;
  543. if (that.loading) return;
  544. that.loading = true;
  545. that.loadTitle = that.$t(`加载更多`);
  546. getUserOrderPage({
  547. current: that.page,
  548. size: that.limit,
  549. orderState: this.orderStatus
  550. }).then(res => {
  551. let list = res.data.records || [];
  552. let loadend = list.length < that.limit;
  553. that.orderList = that.$util.SplitArray(list, that.orderList);
  554. that.$set(that, 'orderList', that.orderList);
  555. that.loadend = loadend;
  556. that.loading = false;
  557. that.loadTitle = loadend ? that.$t(`没有更多内容啦~`) : that.$t(`加载更多`);
  558. that.page = that.page + 1;
  559. }).catch(err => {
  560. that.loading = false;
  561. that.loadTitle = that.$t(`加载更多`);
  562. });
  563. },
  564. /**
  565. * 删除订单
  566. */
  567. delOrder: function (order_id, index) {
  568. let that = this;
  569. uni.showModal({
  570. title: that.$t(`删除订单`),
  571. content: that.$t(`确定删除该订单`),
  572. success: function (res) {
  573. if (res.confirm) {
  574. orderDel(order_id)
  575. .then(res => {
  576. that.orderList.splice(index, 1);
  577. that.$set(that, 'orderList', that.orderList);
  578. that.$set(that.orderData, 'unpaid_count', that.orderData
  579. .unpaid_count - 1);
  580. that.getOrderData();
  581. return that.$util.Tips({
  582. title: that.$t(`删除成功`),
  583. icon: 'success'
  584. });
  585. })
  586. .catch(err => {
  587. return that.$util.Tips({
  588. title: err
  589. });
  590. });
  591. } else if (res.cancel) {
  592. return that.$util.Tips({
  593. title: that.$t(`已取消`)
  594. });
  595. }
  596. }
  597. });
  598. },
  599. },
  600. onReachBottom: function () {
  601. this.getOrderList();
  602. }
  603. };
  604. </script>
  605. <style scoped lang="scss">
  606. .my-order {
  607. position: relative;
  608. }
  609. .my-order .header {
  610. height: 220rpx;
  611. padding: 0 30rpx;
  612. }
  613. .my-order .header .picTxt {
  614. height: 160rpx;
  615. }
  616. .my-order .header .picTxt .text {
  617. color: rgba(255, 255, 255, 0.8);
  618. font-size: 26rpx;
  619. font-family: 'Guildford Pro';
  620. }
  621. .my-order .header .picTxt .text .name {
  622. font-size: 34rpx;
  623. font-weight: bold;
  624. color: #fff;
  625. margin-bottom: 20rpx;
  626. }
  627. .my-order .header .picTxt .pictrue {
  628. width: 122rpx;
  629. height: 109rpx;
  630. }
  631. .my-order .header .picTxt .pictrue image {
  632. width: 100%;
  633. height: 100%;
  634. }
  635. .my-order .nav {
  636. background-color: #F9F9F9;
  637. width: 100%;
  638. // height: 140rpx;
  639. }
  640. .my-order .nav .item {
  641. text-align: center;
  642. font-size: 26rpx;
  643. color: #282828;
  644. padding: 27rpx 0;
  645. border-bottom: 5rpx solid transparent;
  646. }
  647. .my-order .nav .item.on {
  648. /* #ifdef H5 || MP */
  649. font-weight: bold;
  650. /* #endif */
  651. /* #ifdef APP-PLUS */
  652. color: #000;
  653. /* #endif */
  654. border-color: var(--view-theme);
  655. }
  656. .my-order .nav .item .num {
  657. margin-top: 18rpx;
  658. }
  659. .list {
  660. width: 100%;
  661. background: white;
  662. margin: 14rpx auto 0 auto;
  663. }
  664. .noCart {
  665. margin-top: 171rpx;
  666. padding-top: 0.1rpx;
  667. }
  668. .noCart .pictrue {
  669. width: 414rpx;
  670. height: 336rpx;
  671. margin: 78rpx auto 56rpx auto;
  672. }
  673. .noCart .pictrue image {
  674. width: 100%;
  675. height: 100%;
  676. }
  677. .my-order .list .item .item-info .text .money .return {
  678. // color: var(--view-priceColor);
  679. margin-top: 10rpx;
  680. font-size: 24rpx;
  681. }
  682. .myclient_list {
  683. padding-left: 30px;
  684. padding-top: 30rpx;
  685. padding-bottom: 30rpx;
  686. margin-top: 30rpx;
  687. background: #FFFFFF;
  688. .myclient_list_name {
  689. display: flex;
  690. justify-content: space-between;
  691. min-height: 44rpx;
  692. font-size: 28rpx;
  693. font-weight: 500;
  694. color: #111111;
  695. line-height: 44rpx;
  696. .nv {
  697. flex-grow: 1;
  698. }
  699. .nl {
  700. width: 550rpx;
  701. font-weight: bold;
  702. display: -webkit-box;
  703. -webkit-box-orient: vertical;
  704. -webkit-line-clamp: 1;
  705. overflow: hidden;
  706. text-overflow: ellipsis;
  707. }
  708. .status {
  709. min-width: 100rpx;
  710. text-align: right;
  711. margin-right: 30rpx;
  712. color: #FEA800;
  713. }
  714. .success_status {
  715. min-width: 100rpx;
  716. text-align: right;
  717. margin-right: 30rpx;
  718. color: #75BE00;
  719. }
  720. .after_sales_status {
  721. min-width: 100rpx;
  722. text-align: right;
  723. margin-right: 30rpx;
  724. color: #666666;
  725. }
  726. }
  727. .myclient_list_content {
  728. image {
  729. width: 28rpx;
  730. height: 28rpx;
  731. margin-top: 9rpx;
  732. margin-right: 10rpx;
  733. }
  734. .phone {
  735. display: flex;
  736. flex-direction: row;
  737. margin-bottom: 15rpx;
  738. height: 44rpx;
  739. font-size: 24rpx;
  740. font-weight: 400;
  741. color: #999999;
  742. line-height: 44rpx;
  743. }
  744. .time {
  745. display: flex;
  746. flex-direction: row;
  747. height: 44rpx;
  748. font-size: 24rpx;
  749. font-weight: 400;
  750. color: #999999;
  751. line-height: 44rpx;
  752. }
  753. }
  754. }
  755. .all-products-body {
  756. background: white;
  757. padding-left: 30px;
  758. .all-products-item {
  759. display: flex;
  760. margin-bottom: 20rpx;
  761. image {
  762. width: 132rpx;
  763. height: 132rpx;
  764. border-radius: 4px;
  765. }
  766. .all-products-item-content {
  767. display: flex;
  768. flex-direction: column;
  769. margin-left: 20rpx;
  770. width: calc(100% - 132rpx);
  771. .all-products-item-content-t {
  772. font-size: 24rpx;
  773. font-weight: 400;
  774. margin-right: 30rpx;
  775. height: 80rpx;
  776. color: #333333;
  777. line-height: 40rpx;
  778. }
  779. .all-products-item-content-b {
  780. font-size: 28rpx;
  781. font-weight: 500;
  782. line-height: 52rpx;
  783. display: flex;
  784. justify-content: space-between;
  785. .red {
  786. display: block;
  787. font-size: 28rpx;
  788. font-weight: bold;
  789. color: #B22338 !important;
  790. margin-right: 10rpx;
  791. }
  792. .line-thr {
  793. display: block;
  794. font-size: 28rpx;
  795. font-weight: 400;
  796. color: #999999;
  797. text-decoration: line-through;
  798. }
  799. .count {
  800. font-size: 24rpx;
  801. font-weight: 400;
  802. color: #999999;
  803. margin-right: 30rpx;
  804. }
  805. }
  806. }
  807. }
  808. }
  809. .a-t {
  810. padding: 0 30rpx;
  811. display: flex;
  812. justify-content: space-between;
  813. height: 44rpx;
  814. margin-bottom: 20rpx;
  815. font-size: 20rpx;
  816. font-weight: 400;
  817. color: #666666;
  818. line-height: 44rpx;
  819. }
  820. .a-m {
  821. padding: 0 30rpx;
  822. .am1 {
  823. display: flex;
  824. justify-content: space-between;
  825. margin-bottom: 20rpx;
  826. .am1-1 {
  827. height: 32rpx;
  828. font-size: 20rpx;
  829. font-weight: bold;
  830. color: #B22338;
  831. line-height: 32rpx;
  832. }
  833. .am1-2 {
  834. height: 36rpx;
  835. font-size: 20rpx;
  836. font-weight: 400;
  837. color: #666666;
  838. line-height: 36rpx;
  839. image {
  840. margin-left: 30rpx;
  841. vertical-align: middle;
  842. height: 34rpx;
  843. width: 34rpx;
  844. }
  845. }
  846. }
  847. .am2 {
  848. margin-bottom: 20rpx;
  849. height: 34rpx;
  850. font-size: 24rpx;
  851. font-weight: 400;
  852. color: #999999;
  853. line-height: 34rpx;
  854. }
  855. }
  856. .a-b {
  857. padding: 0 30rpx;
  858. width: 100%;
  859. background: #FFF7F8;
  860. height: 60rpx;
  861. line-height: 60rpx;
  862. display: flex;
  863. justify-content: space-between;
  864. .a-b1 {
  865. font-size: 20rpx;
  866. font-weight: 400;
  867. color: #666666;
  868. .red {
  869. font-size: 20rpx;
  870. font-weight: bold;
  871. color: #B22338;
  872. }
  873. }
  874. .a-b2 {
  875. image {
  876. vertical-align: middle;
  877. margin-left: 30rpx;
  878. height: 34rpx;
  879. width: 34rpx;
  880. }
  881. }
  882. }
  883. .self-pickup-point {
  884. display: flex;
  885. flex-direction: column;
  886. background: #FFF7F8;
  887. padding-top: 20rpx;
  888. margin: 0 30rpx;
  889. }
  890. .op-area {
  891. /*height: 120rpx;*/
  892. display: flex;
  893. justify-content: flex-end;
  894. line-height: 120rpx;
  895. padding: 20rpx 0;
  896. text-align: right;
  897. .action-btn {
  898. min-width: 200rpx;
  899. background: #FFF7F8;
  900. border-radius: 32rpx;
  901. border: 2rpx solid #B22338;
  902. margin-right: 30rpx;
  903. height: 64rpx;
  904. font-size: 24rpx;
  905. font-weight: 400;
  906. color: #B22338;
  907. line-height: 64rpx;
  908. }
  909. .info-btn {
  910. width: 200rpx;
  911. background: #F5F5F5;
  912. border-radius: 32rpx;
  913. margin-right: 30rpx;
  914. height: 64rpx;
  915. font-size: 24rpx;
  916. font-weight: 400;
  917. color: #666666;
  918. line-height: 64rpx;
  919. }
  920. }
  921. .sys-head {
  922. position: relative;
  923. width: 100%;
  924. // background: linear-gradient(90deg, $bg-star1 0%, $bg-end1 100%);
  925. .bg {
  926. position: absolute;
  927. left: 0;
  928. top: 0;
  929. width: 100%;
  930. height: 100%;
  931. background: var(--view-theme);
  932. background-size: 100% auto;
  933. background-position: left bottom;
  934. }
  935. .sys-title {
  936. font-family: STYuanti-SC-Regular, STYuanti-SC;
  937. z-index: 10;
  938. position: relative;
  939. height: 43px;
  940. text-align: left;
  941. line-height: 43px;
  942. font-size: 36rpx;
  943. color: rgba(17, 17, 17, 1);
  944. /*font-weight: bolder;*/
  945. font-weight: 400;
  946. padding-left: 36rpx;
  947. color: #333333;
  948. }
  949. }
  950. .block_3 {
  951. background-color: rgba(255, 255, 255, 1);
  952. border-radius: 4px;
  953. padding: 16rpx 16rpx 32rpx 24rpx;
  954. display: flex;
  955. flex-direction: column;
  956. }
  957. .icon_1 {
  958. width: 32rpx;
  959. height: 32rpx;
  960. margin-left: 566rpx;
  961. }
  962. .image_3 {
  963. width: 590rpx;
  964. height: 766rpx;
  965. margin: 16rpx 8rpx 0 0;
  966. }
  967. .text_23 {
  968. overflow-wrap: break-word;
  969. color: rgba(51, 51, 51, 1);
  970. font-size: 28rpx;
  971. font-weight: NaN;
  972. text-align: center;
  973. white-space: nowrap;
  974. line-height: 40rpx;
  975. margin: 24rpx 128rpx 0 122rpx;
  976. }
  977. .white_line{
  978. width: 90%;
  979. height: 2rpx;
  980. margin-left: 5%;
  981. background-color: white;
  982. }
  983. .bord{
  984. border: 1px solid red;
  985. }
  986. .grouponTitle{
  987. display: flex;
  988. flex-direction: column;
  989. height: 44rpx;
  990. }
  991. .subTitle{
  992. font-size: 28rpx;
  993. color: #666666;
  994. font-weight: 400;
  995. line-height: 44rpx;
  996. display: -webkit-box;
  997. -webkit-box-orient: vertical;
  998. -webkit-line-clamp: 1;
  999. overflow: hidden;
  1000. text-overflow: ellipsis;
  1001. }
  1002. </style>