detail.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543
  1. <template>
  2. <view>
  3. <block v-if="loading">
  4. <view class="skeleton">
  5. <view class="skeleton-line max animate" style="height: 200upx;"></view>
  6. <view class="skeleton-line animate"></view>
  7. <view class="skeleton-line min animate"></view>
  8. <view class="skeleton-line min animate"></view>
  9. <view class="skeleton-line max animate" style="height: 200upx;"></view>
  10. <view class="skeleton-line max animate" style="height: 200upx;"></view>
  11. </view>
  12. </block>
  13. <block v-else>
  14. <view class="order-status">
  15. <view class="status-name" v-if="orderData.status == 0 && orderTime">
  16. 待支付
  17. <template v-if="orderTime.min>0&&orderTime.sec>=0">
  18. ,剩余时间
  19. <uni-countdown :show-day="false" :showHour="false" :minute="orderTime.min" :second="orderTime.sec" splitorColor="#ff0000" color="#ff0000"></uni-countdown>
  20. </template>
  21. <template v-else>,已超时</template>
  22. </view>
  23. <view class="status-name" v-if="orderData.status == 1">待使用</view>
  24. <view class="status-name success" v-if="orderData.status == 2">已完成</view>
  25. <view class="status-name" v-if="orderData.status == 3">已退款</view>
  26. <view class="status-name" v-if="orderData.status == 4">退款中</view>
  27. <view class="status-name" v-if="orderData.status == 5">已关闭</view>
  28. <view class="status-desc" v-if="orderData.status == 0">超过30分钟未支付,订单将自动取消</view>
  29. <view class="status-desc-qrcode" v-if="orderData.status == 1">
  30. <view class="qrcode-img">
  31. <ikun-qrcode
  32. width="200"
  33. height="200"
  34. unit="rpx"
  35. color="#000000"
  36. :data="orderData.out_order_no">
  37. </ikun-qrcode>
  38. </view>
  39. <view class="qrcode-text">券码 {{orderData.out_order_no}} <text @click="copyOrder(orderData.out_order_no)">复制</text></view>
  40. </view>
  41. <view class="status-desc success" v-if="orderData.status == 2">服务已完成,欢迎您再次使用</view>
  42. <view class="status-desc" v-if="orderData.status == 3">{{ $dialog.formatMoney(orderData.pay_money,true) }} 已原路退回</view>
  43. <view class="status-desc" v-if="orderData.status == 4">已申请退款,钱款预计1-3个自然日到账</view>
  44. <view class="status-desc" v-if="orderData.status == 5">订单已取消或已关闭</view>
  45. </view>
  46. <view class="order-goods">
  47. <view class="goods-img"><image :src="orderData.img" mode="widthFix"></image></view>
  48. <view class="goods-info">
  49. <view class="name">{{ goodsData.product_name }}</view>
  50. <view class="desc">
  51. <view class="time" v-if="orderData.end_at">有效期至:{{ orderData.end_at }} </view>
  52. <view class="num">x {{ orderData.number }}</view>
  53. </view>
  54. <view class="total">合计:{{ $dialog.formatMoney(orderData.price,true) }}</view>
  55. </view>
  56. </view>
  57. <view class="goods-safe">
  58. <view class="safe-item"><image src="/static/image/check.png"></image>过期退</view>
  59. <view class="safe-item"><image src="/static/image/check.png"></image>随时退</view>
  60. </view>
  61. <view class="home-store">
  62. <view class="service-detail" @click="showService(1)">
  63. <view class="left">
  64. <image src="/static/image/kefu.png"></image>
  65. <view class="name">联系客服<text v-if="storeData">{{storeData.start_at}}-{{storeData.end_at}}</text></view>
  66. </view>
  67. <view class="right" v-if="storeData">
  68. <!-- <text class="status success">{{storeData.start_at}}-{{storeData.end_at}}</text> -->
  69. <image src="/static/image/right-black.png"></image>
  70. </view>
  71. </view>
  72. <view class="service-btn" @click="orderTs(1)">
  73. <image src="/static/image/face.svg"></image>
  74. <view class="btn-name">我要投诉</view>
  75. <image src="/static/image/right-black.png"></image>
  76. </view>
  77. </view>
  78. <view class="goods-store" v-if="poiData">
  79. <view class="title">适用门店</view>
  80. <view class="store-info">
  81. <view class="store-left">
  82. <view class="name">{{poiData.poi_name}}</view>
  83. <view class="address">{{poiData.poi_address}}</view>
  84. </view>
  85. <view class="store-right">
  86. <view class="right-item" @click="toMap">
  87. <image src="/static/image/amap.png"></image>
  88. <view class="desc">导航</view>
  89. </view>
  90. </view>
  91. </view>
  92. </view>
  93. <view class="order-info">
  94. <view class="title">订单信息</view>
  95. <view class="info-item">
  96. <view class="name">订单编号</view>
  97. <view class="right">{{ orderData.order_sn }} <text @click="copyOrder(orderData.order_sn)">复制</text></view>
  98. </view>
  99. <!-- <view class="info-item">
  100. <view class="name">订单编号</view>
  101. <view class="right">{{ orderData.out_order_no }} <text @click="copyOrder(orderData.out_order_no)">复制</text></view>
  102. </view> -->
  103. <view class="info-item">
  104. <view class="name">下单时间</view>
  105. <view class="right">{{ orderData.create_at }}</view>
  106. </view>
  107. <view class="info-item" v-if="orderData.status == 4">
  108. <view class="name">退款时间</view>
  109. <view class="right">{{ orderData.refund_at }}</view>
  110. </view>
  111. </view>
  112. <uni-popup ref="maskpopup" type="bottom" border-radius="10px 10px 0 0" background-color="#ffffff" :mask-click="false">
  113. <view class="service-popup">
  114. <view class="top">
  115. <view class="item">客服时间:{{storeData.start_at}}-{{storeData.end_at}}</view>
  116. <view class="item">
  117. <button class="btn" @click="$dialog.jumpUri('/pages/service/chat/chat?poi='+storeData.poi_id+'&source=detail&order='+orderData.order_sn,1);showService(2)">在线咨询商家</button>
  118. </view>
  119. <view class="item" v-if="storeData.service_mobile" @click="callMobile(storeData.service_mobile)">商家客服电话</view>
  120. </view>
  121. <view class="foot" @click="showService(2)">取消</view>
  122. </view>
  123. </uni-popup>
  124. <view class="line-footer"></view>
  125. <view class="footer">
  126. <view class="footer-op" v-if="orderData.status == 0">
  127. <view class="footer-left"><text>实付</text>{{ $dialog.formatMoney(orderData.price,true) }}</view>
  128. <view class="footer-right">
  129. <view class="btn" @click="toCancel(orderData.order_sn)">取消订单</view>
  130. <pay-button-sdk
  131. v-if="orderTime.min>0&&orderTime.sec>=0"
  132. class="btn full"
  133. :mode="1"
  134. :goods-type="1"
  135. :order-status="0"
  136. :order-id="orderData.out_order_no"
  137. :goods-id="orderData.life_goods_id"
  138. :refund-total-amount="orderData.pay_money"
  139. bind:pay="onPay"
  140. bind:error="onErrors"
  141. ></pay-button-sdk>
  142. <!-- <view class="btn" @click="payOrder">继续支付</view> -->
  143. </view>
  144. </view>
  145. <view class="footer-op" v-if="orderData.status == 1">
  146. <view class="footer-right">
  147. <!-- <navigator hover-class="none" :url="'/pages/order/refund?order='+orderData.order_sn" class="btn">申请退款</navigator> -->
  148. <pay-button-sdk
  149. class="btn"
  150. :mode="1"
  151. :goods-type="1"
  152. :order-status="1"
  153. :order-id="orderData.out_order_no"
  154. :goods-id="orderData.life_goods_id"
  155. :refund-total-amount="orderData.pay_money"
  156. bind:applyrefund="applyRefund"
  157. bind:refund="handleRefund"
  158. bind:error="onErrors"
  159. ></pay-button-sdk>
  160. <view class="btn full" @click="$dialog.jumpUri('/pages/service/chat/chat?poi='+storeData.poi_id+'&source=apply&order='+orderData.order_sn,1);">立即预约</view>
  161. </view>
  162. </view>
  163. <view class="footer-op" v-if="orderData.status == 2">
  164. <view class="footer-right">
  165. <view class="btn" @click="toGoods">再来一单</view>
  166. <view class="btn full" @click="toAfter">申请售后</view>
  167. </view>
  168. </view>
  169. <view class="footer-op" v-if="orderData.status == 5">
  170. <view class="footer-right">
  171. <view class="btn" @click="toGoods">再次购买</view>
  172. </view>
  173. </view>
  174. <view class="footer-op" v-if="orderData.status == 3 || orderData.status == 4">
  175. <view class="footer-right" @click="toGoods">
  176. <view class="btn">再次购买</view>
  177. </view>
  178. </view>
  179. <view class="footer-safe"></view>
  180. </view>
  181. <uni-popup ref="tspopup" type="bottom" border-radius="10px 10px 0 0" background-color="#f8f8f8">
  182. <view class="ts-body">
  183. <view class="ts-title">
  184. 选择投诉问题
  185. <view class="right" @click="orderTs(2)"><image src="/static/image/close.png"></image></view>
  186. </view>
  187. <view class="ts-content">
  188. <view class="ts-list">
  189. <view class="ts-sub-title">订单与退款问题</view>
  190. <view class="ts-item-body">
  191. <view class="ts-item" @click="toTs('未按约定提供服务')">未按约定提供服务<image src="/static/image/right-black.png"></image></view>
  192. <view class="ts-item" @click="toTs('买错了/不想要')">买错了/不想要<image src="/static/image/right-black.png"></image></view>
  193. <view class="ts-item" @click="toTs('无退款入口')">无退款入口<image src="/static/image/right-black.png"></image></view>
  194. <view class="ts-item" @click="toTs('催促退款')">催促退款<image src="/static/image/right-black.png"></image></view>
  195. <view class="ts-item" @click="toTs('支付后找不到订单')">支付后找不到订单<image src="/static/image/right-black.png"></image></view>
  196. <view class="ts-item" @click="toTs('无故被扣费/核销')">无故被扣费/核销<image src="/static/image/right-black.png"></image></view>
  197. <view class="ts-item" @click="toTs('其他')">其他<image src="/static/image/right-black.png"></image></view>
  198. </view>
  199. </view>
  200. <view class="ts-list">
  201. <view class="ts-sub-title">商品与履约问题</view>
  202. <view class="ts-item-body">
  203. <view class="ts-item" @click="toTs('商品/内容描述不符')">商品/内容描述不符<image src="/static/image/right-black.png"></image></view>
  204. <view class="ts-item" @click="toTs('商品/内容质量差')">商品/内容质量差<image src="/static/image/right-black.png"></image></view>
  205. <view class="ts-item" @click="toTs('符合退款条件不退款')">符合退款条件不退款<image src="/static/image/right-black.png"></image></view>
  206. <view class="ts-item" @click="toTs('未收到货')">未收到货<image src="/static/image/right-black.png"></image></view>
  207. <view class="ts-item" @click="toTs('申请退款仍然发货')">申请退款仍然发货<image src="/static/image/right-black.png"></image></view>
  208. </view>
  209. </view>
  210. <view class="ts-list">
  211. <view class="ts-sub-title">客服问题</view>
  212. <view class="ts-item-body">
  213. <view class="ts-item" @click="toTs('客服不回复/回复慢')">客服不回复/回复慢<image src="/static/image/right-black.png"></image></view>
  214. <view class="ts-item" @click="toTs('涉及辱骂/骚扰')">涉及辱骂/骚扰<image src="/static/image/right-black.png"></image></view>
  215. </view>
  216. </view>
  217. </view>
  218. </view>
  219. </uni-popup>
  220. </block>
  221. </view>
  222. </template>
  223. <script>
  224. var app;
  225. import * as Api from "@/static/api/order.js";
  226. export default {
  227. data() {
  228. return {
  229. loading:true,
  230. order:"",
  231. poiData:null,
  232. goodsData:null,
  233. orderData:null,
  234. storeData:null,
  235. orderTime:null,
  236. tsStatus:false
  237. }
  238. },
  239. created() {
  240. this.$scope.applyRefund = this.applyRefund;
  241. this.$scope.onPay = this.onPay;
  242. this.$scope.handleRefund = this.handleRefund;
  243. this.$scope.onErrors = this.onErrors;
  244. },
  245. onShow(){
  246. let allPages = getCurrentPages(); //获取当前页面栈的实例;
  247. let lastPages = allPages.length - 1; // 获得倒数第二个元素的索引;
  248. let option = allPages[lastPages].options; // 获得上个页面传递的参数;
  249. this.order = option.order?option.order:''
  250. this.storeData = uni.getStorageSync("contact");
  251. this.getOrder()
  252. },
  253. onBackPress(options) {
  254. console.log('from:' + options.from)
  255. },
  256. onUnload() {
  257. uni.switchTab({
  258. url:"/pages/order/order"
  259. })
  260. },
  261. onLoad({order}) {
  262. app = this;
  263. app.order = order;
  264. tt.setSwipeBackMode(0)
  265. // app.storeData = uni.getStorageSync("contact");
  266. // app.getOrder()
  267. },
  268. methods: {
  269. toTs(text){
  270. app.$refs.tspopup.close()
  271. uni.navigateTo({
  272. url:"/pages/order/complaint/complaint?order="+app.order+"&text="+text+"&poi_name="+app.poiData.poi_name+"&poi_address="+app.poiData.poi_address
  273. })
  274. },
  275. handleRefund(event){
  276. const { status, result } = event.detail;
  277. console.log("退款",event.detail)
  278. if (status === 'success') {
  279. const { refundId, outRefundNo } = result;
  280. } else {
  281. const { errMsg } = result;
  282. }
  283. },
  284. orderTs(type){
  285. if (type == 1) {
  286. app.$refs.tspopup.open()
  287. } else {
  288. app.$refs.tspopup.close()
  289. }
  290. },
  291. onPay(event){
  292. console.log("event",event)
  293. const { status, outOrderNo, result } = event.detail;
  294. console.log(status, outOrderNo, result)
  295. if (status === 'success') {
  296. const { code } = result;
  297. if (code === 0) { // 支付成功
  298. app.$dialog.showSuccess("支付成功","none",function(){
  299. app.getOrder()
  300. })
  301. } else {
  302. app.$dialog.showSuccess("支付失败","none",function(){
  303. app.getOrder()
  304. })
  305. // 继续支付失败(超时、取消、关闭)
  306. }
  307. } else {}
  308. },
  309. applyRefund(event){
  310. console.log("applyRefund",event)
  311. const { orderId } = event.detail;
  312. const goodsDetail = [
  313. {
  314. itemOrderId:app.orderData.item_order_id //商品单,可在预下单回调itemOrderlist里获取,或通过查询券状态接口获取
  315. }
  316. ];
  317. const extra = { orderId , goodsDetail};
  318. // 开发者需要透传的参数,可自定义内容
  319. console.log(extra,"退款参数打印");
  320. return new Promise(resolve => {
  321. resolve(extra);
  322. });
  323. },
  324. onErrors(e){
  325. console.log("错误",e)
  326. },
  327. getOrder(){
  328. Api.detail({"order":app.order}).then((res)=>{
  329. app.loading = false;
  330. if (res.code && res.code !== 1) {
  331. app.$dialog.showSuccess(res.msg,"none",function(){
  332. uni.navigateBack()
  333. });
  334. return ;
  335. }
  336. app.poiData = res.data.poi;
  337. app.goodsData = res.data.product;
  338. app.orderData = res.data;
  339. app.orderTime = res.data.end_time
  340. })
  341. },
  342. toAfter(){
  343. uni.showModal({
  344. title: "提示",
  345. content: "当前阶段暂不支持退款,如遇特殊情况,请联系商家协商退款",
  346. confirmText: "联系商家",
  347. success(res) {
  348. if (res.confirm) {
  349. uni.navigateTo({
  350. url:'/pages/service/chat/chat?poi='+app.storeData.poi_id+'&source=detail&order='+app.orderData.order_sn
  351. })
  352. }
  353. }
  354. });
  355. },
  356. payOrder(){
  357. Api.toPay({"order":app.order}).then((res)=>{
  358. if (res.code !== 1) {
  359. return app.$dialog.showSuccess(res.msg);
  360. }
  361. uni.requestPayment({
  362. orderInfo:res.data.pay,
  363. service:5,
  364. success(resp){
  365. if (resp.code == 0) { // res.code=0时,才表示支付成功
  366. app.$dialog.showSuccess("支付成功","none",function(){
  367. app.getOrder()
  368. });
  369. }
  370. },
  371. fail(resp) {
  372. app.$dialog.showSuccess("支付失败,可再次重试");
  373. }
  374. })
  375. })
  376. },
  377. toCancel(order){
  378. app.$dialog.showError("确定要取消该订单吗?",function(res){
  379. if (res.confirm) {
  380. Api.del({"order":order,"type":"cancel"}).then((resp)=>{
  381. if (resp.code !== 1) {
  382. return app.$dialog.showSuccess(resp.msg)
  383. }
  384. app.$dialog.showSuccess(resp.msg)
  385. app.getOrder()
  386. })
  387. }
  388. })
  389. },
  390. delOrder(order){
  391. app.$dialog.showError("删除后数据不可恢复,确定要删除吗",function(res){
  392. if (res.confirm) {
  393. Api.del({"order":order,"type":"del"}).then((resp)=>{
  394. if (resp.code !== 1) {
  395. return app.$dialog.showSuccess(resp.msg)
  396. }
  397. app.$dialog.showSuccess(resp.msg)
  398. uni.switchTab({
  399. url:"/pages/order/order"
  400. })
  401. })
  402. }
  403. })
  404. },
  405. toGoods(){
  406. uni.navigateTo({
  407. url:"/pages/goods/detail?goods="+app.orderData.product_id+"&spm="+app.orderData.goods_id
  408. })
  409. },
  410. copyOrder(order){
  411. uni.setClipboardData({
  412. data:order,
  413. success() {
  414. app.$dialog.showSuccess("复制成功")
  415. },
  416. fail() {
  417. app.$dialog.showSuccess("复制失败")
  418. }
  419. })
  420. },
  421. callMobile(mobile){
  422. uni.makePhoneCall({
  423. phoneNumber:mobile,
  424. success(res) {
  425. console.log(res)
  426. },fail(res) {
  427. console.log(res)
  428. }
  429. })
  430. },
  431. toMap(){
  432. var poi = app.poiData;
  433. uni.openLocation({
  434. latitude:poi.latitude,
  435. longitude:poi.longitude,
  436. name:poi.poi_name,
  437. address:poi.poi_address,
  438. success() {
  439. console.log("open success")
  440. },
  441. fail(err) {
  442. app.$dialog.showSuccess("打开导航失败")
  443. console.log(err)
  444. }
  445. })
  446. },
  447. showService(type){
  448. if (type == 1) {
  449. app.$refs.maskpopup.open()
  450. } else {
  451. app.$refs.maskpopup.close()
  452. }
  453. }
  454. }
  455. }
  456. </script>
  457. <style>
  458. page{background-color: #f8f8f8;}
  459. .skeleton{width: 90%;margin: 20upx auto;}
  460. .line-footer{height: 200upx;}
  461. .status-desc-qrcode{text-align: center;font-size: 24upx;padding-top: 30upx;display: flex;align-items: center;justify-content: center;flex-direction: column;}
  462. .status-desc-qrcode .qrcode-img{background-color: #fff;padding: 20upx;}
  463. .status-desc-qrcode .qrcode-text{margin-top: 20upx;}
  464. .status-desc-qrcode .qrcode-text text{margin-left: 10upx;color: #007aff;}
  465. .ts-body .ts-title{display: flex;align-items: center;justify-content: space-between;font-size: 28upx;padding: 20upx;}
  466. .ts-body .ts-title image{width: 40upx;height: 40upx;}
  467. .ts-body .ts-content{height: 40vh;overflow: auto;padding: 20upx;}
  468. .ts-body .ts-list{margin-top: 20upx;}
  469. .ts-body .ts-list .ts-sub-title{line-height: 32upx;color: #666;font-size: 24upx;margin-bottom: 20upx;}
  470. .ts-body .ts-list .ts-item-body{background-color: #fff;border-radius: 10upx;padding: 20upx;}
  471. .ts-body .ts-list .ts-item-body .ts-item{font-size: 28upx;color: #333;display: flex;align-items: center;justify-content: space-between;border-bottom: 2upx solid #f8f8f8;padding: 20upx 0;}
  472. .ts-body .ts-list .ts-item-body .ts-item:last-child{border-bottom: 0;}
  473. .ts-body .ts-list .ts-item-body .ts-item image{width: 40upx;height: 40upx;}
  474. .footer{position: fixed;bottom: 0;background-color: #fff;padding: 20upx 20upx 0 20upx;border-top: 2upx solid #f8f8f8;left: 0;right: 0;}
  475. .footer .footer-op{display: flex;align-items: center;}
  476. .footer .footer-op .footer-left{display: flex;align-items: center;gap: 10upx;justify-content: center;font-size: 32upx;color: #f00;font-weight: bold;}
  477. .footer .footer-op .footer-left text{color: #666;font-size: 24upx;font-weight: normal;}
  478. .footer .footer-op .footer-left .item{flex-direction: column;display: flex;font-size: 24rpx;color: #333;align-items: center;}
  479. .footer .footer-op .footer-left image{width: 40upx;height: 40upx;}
  480. .footer .footer-op .footer-right{margin-left: auto;margin-right: 0;display: flex;align-items: center;gap: 20upx;}
  481. .footer .footer-op .footer-right .btn{font-size: 28rpx;height: 80upx;border-radius: 10upx;line-height: 80upx;text-align: center;width: 200upx;color: #333;border: 2upx solid #ccc;}
  482. .footer .footer-op .footer-right .btn.full{background-color: #007aff;color: #fff;border:2upx solid #007aff;}
  483. .footer .footer-safe {height: env(safe-area-inset-bottom);width: 100%;}
  484. .order-status{padding: 40upx 20upx;text-align: center;}
  485. .order-status .status-name{text-align: center;font-size: 32upx;color: #333;font-weight: bold;display: flex;align-items: center;justify-content: center;}
  486. .order-status .status-desc{font-size: 24upx;color: #666;margin-top: 20upx;}
  487. .order-info{background-color: #fff;padding: 20upx;margin-top: 20upx;}
  488. .order-info .title{font-size: 32upx;color: #333;font-weight: bold;margin-bottom: 20upx;}
  489. .order-info .info-item{height: 80upx;line-height: 80upx;font-size: 28upx;display: flex;align-items: center;}
  490. .order-info .info-item .right{color: #666;margin-left: auto;margin-right: 0;}
  491. .order-info .info-item .right text{border: 2upx solid #ccc;color: #333;font-size: 24upx;padding: 0 15upx;margin-left: 20upx;border-radius: 5upx;}
  492. .goods-safe{display: flex;align-items: center;font-size: 24rpx;color: #999;gap: 40upx;background: #fff;border-top: 2upx solid #f8f8f8;padding: 20upx;}
  493. .goods-safe .safe-item{display: flex;align-items: center;}
  494. .goods-safe image{width: 30upx;height: 30upx;margin-right: 10upx;}
  495. .order-goods{display: flex;align-items: flex-start;background-color: #fff;padding: 20upx;}
  496. .order-goods .goods-img{width: 200upx;overflow: hidden;}
  497. .order-goods image{width: 200upx;border-radius: 10upx;}
  498. .goods-info{margin-left: 20upx;font-size: 28upx;flex: 1;padding: 20upx 0;}
  499. .goods-info .name{font-size: 30upx;color: #333;}
  500. .goods-info .desc{font-size: 24upx;color: #999;display: flex;align-items: center;justify-content: space-between;margin: 20upx 0;}
  501. .goods-info .total{font-size: 30upx;color: #333;text-align: right;font-weight: bold;}
  502. .home-store{margin: 20upx auto;display: flex;align-items: center;display: flex;align-items: center;gap: 20upx;justify-content: space-between;}
  503. .home-store .service-detail{display: flex;align-items: center;background-color: #fff;border-radius: 10upx;flex: 1;height: 120upx;padding: 0 20upx;}
  504. .home-store .service-btn{background-color: #fff;text-align: center;padding: 0 30upx;font-size: 28upx;height: 120upx;line-height: 120upx;display: flex;align-items: center;justify-content: space-between;}
  505. .home-store .service-btn .btn-name{margin-left: 15upx;}
  506. .home-store .service-btn image{width: 40upx;height: 40upx;}
  507. .home-store .store-right{width: 120upx;height: 120upx;background-color: #fff;text-align: center;display: flex;align-items: center;justify-content: center;margin-left: auto;margin-right: 0;border-radius: 10upx;}
  508. .home-store .store-right image{width: 50upx;height: 50upx;}
  509. .home-store .left{display: flex;align-items: center;}
  510. .home-store .left image{width: 50upx;height: 50upx;margin-right: 15upx;}
  511. .home-store .right {margin-left: auto;margin-right: 0;display: flex;align-items: center;}
  512. .home-store .right image{width: 50upx;height: 50upx;}
  513. .home-store .name{font-size: 32upx;color: #000;font-weight: bold;}
  514. .home-store .name text{font-size: 24upx;color: #666;font-weight: normal;margin-left: 20upx;}
  515. .home-store .desc{font-size: 26upx;color: #666;margin-top: 20upx;}
  516. .home-store .status{color: #333;font-size: 28upx;padding:5upx 15upx;border-radius: 10upx;margin-left: 10upx;}
  517. .home-store .status.error{background-color: #fef0f0;color: #f56c6c;}
  518. .service-popup .item{height: 100upx;line-height: 100upx;text-align: center;font-size: 28upx;color: #333;border-bottom: 2upx solid #f8f8f8;}
  519. .service-popup .item .btn{background-color: #fff;border: 0;height: 100upx;line-height: 100upx;text-align: center;font-size: 28upx;color: #333;}
  520. .service-popup .item .btn::after{border: 0;}
  521. .service-popup .foot{height: 100upx;line-height: 100upx;text-align: center;font-size: 28upx;color: #333;border-top: 20upx solid #f8f8f8;}
  522. .goods-store{background-color: #fff;padding: 0 20upx;margin-top: 20upx;}
  523. .goods-store .title{line-height: 80upx;font-size: 32rpx;color: #333;font-weight: bold;display: flex;align-items: center;border-bottom: 2upx solid #f8f8f8;}
  524. .goods-store .store-info{display: flex;align-items: center;padding: 20upx 0;}
  525. .goods-store .store-info .store-right{margin-left: auto;margin-right: 0;font-size: 24rpx;color: #999;}
  526. .goods-store .store-info .store-right image{width: 50upx;height: 50upx;margin-bottom: 10upx;}
  527. .goods-store .store-info .store-left .name{font-size: 30rpx;color: #333;font-weight: bold;line-height: 80upx;}
  528. .goods-store .store-info .store-left .address{font-size: 24rpx;color: #999;}
  529. </style>