detail.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539
  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.order_sn">
  37. </ikun-qrcode>
  38. </view>
  39. <view class="qrcode-text">券码 {{orderData.order_sn}} <text @click="copyOrder(orderData.order_sn)">复制</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.out_order_no }} <text @click="copyOrder(orderData.out_order_no)">复制</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. optionData:null
  238. }
  239. },
  240. created() {
  241. this.$scope.applyRefund = this.applyRefund;
  242. this.$scope.onPay = this.onPay;
  243. this.$scope.handleRefund = this.handleRefund;
  244. this.$scope.onErrors = this.onErrors;
  245. },
  246. onShow(){
  247. let allPages = getCurrentPages(); //获取当前页面栈的实例;
  248. let lastPages = allPages.length - 1; // 获得倒数第二个元素的索引;
  249. let option = allPages[lastPages].options; // 获得上个页面传递的参数;
  250. this.order = option.order?option.order:''
  251. this.storeData = uni.getStorageSync("contact");
  252. this.optionData = option
  253. this.getOrder()
  254. },
  255. onBackPress(options) {
  256. console.log('from:' + options.from)
  257. },
  258. onUnload() {
  259. uni.switchTab({
  260. url:"/pages/order/order"
  261. })
  262. },
  263. onLoad({order}) {
  264. app = this;
  265. app.order = order;
  266. tt.setSwipeBackMode(0)
  267. // app.storeData = uni.getStorageSync("contact");
  268. // app.getOrder()
  269. },
  270. methods: {
  271. toTs(text){
  272. app.$refs.tspopup.close()
  273. uni.navigateTo({
  274. url:"/pages/order/complaint/complaint?order="+app.order+"&text="+text+"&poi_name="+app.poiData.poi_name+"&poi_address="+app.poiData.poi_address
  275. })
  276. },
  277. handleRefund(event){
  278. const { status, result } = event.detail;
  279. console.log("退款",event.detail)
  280. if (status === 'success') {
  281. const { refundId, outRefundNo } = result;
  282. } else {
  283. const { errMsg } = result;
  284. }
  285. },
  286. orderTs(type){
  287. if (type == 1) {
  288. app.$refs.tspopup.open()
  289. } else {
  290. app.$refs.tspopup.close()
  291. }
  292. },
  293. onPay(event){
  294. console.log("event",event)
  295. const { status, outOrderNo, result } = event.detail;
  296. console.log(status, outOrderNo, result)
  297. if (status === 'success') {
  298. const { code } = result;
  299. if (code === 0) { // 支付成功
  300. app.$dialog.showSuccess("支付成功","none",function(){
  301. app.getOrder()
  302. })
  303. } else {
  304. app.$dialog.showSuccess("支付失败","none",function(){
  305. app.getOrder()
  306. })
  307. // 继续支付失败(超时、取消、关闭)
  308. }
  309. } else {}
  310. },
  311. applyRefund(event){
  312. console.log("applyRefund",event)
  313. const { orderId } = event.detail;
  314. const goodsDetail = [
  315. {
  316. itemOrderId:app.orderData.item_order_id //商品单,可在预下单回调itemOrderlist里获取,或通过查询券状态接口获取
  317. }
  318. ];
  319. const extra = { orderId , goodsDetail};
  320. // 开发者需要透传的参数,可自定义内容
  321. console.log(extra,"退款参数打印");
  322. return new Promise(resolve => {
  323. resolve(extra);
  324. });
  325. },
  326. onErrors(e){
  327. console.log("错误",e)
  328. },
  329. getOrder(){
  330. Api.detail({"order":app.order,"option":JSON.stringify(app.optionData)}).then((res)=>{
  331. app.loading = false;
  332. if (res.code && res.code !== 1) {
  333. app.$dialog.showSuccess(res.msg,"none",function(){
  334. uni.navigateBack()
  335. });
  336. return ;
  337. }
  338. uni.setStorageSync("poiId",res.data.poi_id);
  339. app.poiData = res.data.poi;
  340. const storeDataTemp = {
  341. "end_at":app.poiData.end_at,
  342. "latitude":app.poiData.latitude,
  343. "longitude":app.poiData.longitude,
  344. "poi_address":app.poiData.poi_address,
  345. "poi_city":app.poiData.poi_city,
  346. "poi_id":app.poiData.poi_id,
  347. "poi_logo":app.poiData.poi_logo,
  348. "poi_name":app.poiData.poi_name,
  349. "service_mobile":app.poiData.service_mobile,
  350. "start_at":app.poiData.start_at
  351. };
  352. uni.setStorageSync("contact",storeDataTemp);
  353. app.storeData = storeDataTemp;
  354. app.goodsData = res.data.product;
  355. app.orderData = res.data;
  356. app.orderTime = res.data.end_time
  357. })
  358. },
  359. toAfter(){
  360. uni.showModal({
  361. title: "提示",
  362. content: "当前阶段暂不支持退款,如遇特殊情况,请联系商家协商退款",
  363. confirmText: "联系商家",
  364. success(res) {
  365. if (res.confirm) {
  366. uni.navigateTo({
  367. url:'/pages/service/chat/chat?poi='+app.storeData.poi_id+'&source=detail&order='+app.orderData.order_sn
  368. })
  369. }
  370. }
  371. });
  372. },
  373. toCancel(order){
  374. app.$dialog.showError("确定要取消该订单吗?",function(res){
  375. if (res.confirm) {
  376. Api.del({"order":order,"type":"cancel"}).then((resp)=>{
  377. if (resp.code !== 1) {
  378. return app.$dialog.showSuccess(resp.msg)
  379. }
  380. app.$dialog.showSuccess(resp.msg)
  381. app.getOrder()
  382. })
  383. }
  384. })
  385. },
  386. delOrder(order){
  387. app.$dialog.showError("删除后数据不可恢复,确定要删除吗",function(res){
  388. if (res.confirm) {
  389. Api.del({"order":order,"type":"del"}).then((resp)=>{
  390. if (resp.code !== 1) {
  391. return app.$dialog.showSuccess(resp.msg)
  392. }
  393. app.$dialog.showSuccess(resp.msg)
  394. uni.switchTab({
  395. url:"/pages/order/order"
  396. })
  397. })
  398. }
  399. })
  400. },
  401. toGoods(){
  402. uni.navigateTo({
  403. url:"/pages/goods/detail?goods="+app.orderData.product_id+"&spm="+app.orderData.goods_id
  404. })
  405. },
  406. copyOrder(order){
  407. uni.setClipboardData({
  408. data:order,
  409. success() {
  410. app.$dialog.showSuccess("复制成功")
  411. },
  412. fail() {
  413. app.$dialog.showSuccess("复制失败")
  414. }
  415. })
  416. },
  417. callMobile(mobile){
  418. uni.makePhoneCall({
  419. phoneNumber:mobile,
  420. success(res) {
  421. console.log(res)
  422. },fail(res) {
  423. console.log(res)
  424. }
  425. })
  426. },
  427. toMap(){
  428. var poi = app.poiData;
  429. uni.openLocation({
  430. latitude:poi.latitude,
  431. longitude:poi.longitude,
  432. name:poi.poi_name,
  433. address:poi.poi_address,
  434. success() {
  435. console.log("open success")
  436. },
  437. fail(err) {
  438. app.$dialog.showSuccess("打开导航失败")
  439. console.log(err)
  440. }
  441. })
  442. },
  443. showService(type){
  444. if (type == 1) {
  445. app.$refs.maskpopup.open()
  446. } else {
  447. app.$refs.maskpopup.close()
  448. }
  449. }
  450. }
  451. }
  452. </script>
  453. <style>
  454. page{background-color: #f8f8f8;}
  455. .skeleton{width: 90%;margin: 20upx auto;}
  456. .line-footer{height: 200upx;}
  457. .status-desc-qrcode{text-align: center;font-size: 24upx;padding-top: 30upx;display: flex;align-items: center;justify-content: center;flex-direction: column;}
  458. .status-desc-qrcode .qrcode-img{background-color: #fff;padding: 20upx;}
  459. .status-desc-qrcode .qrcode-text{margin-top: 20upx;}
  460. .status-desc-qrcode .qrcode-text text{margin-left: 10upx;color: #007aff;}
  461. .ts-body .ts-title{display: flex;align-items: center;justify-content: space-between;font-size: 28upx;padding: 20upx;}
  462. .ts-body .ts-title image{width: 40upx;height: 40upx;}
  463. .ts-body .ts-content{height: 40vh;overflow: auto;padding: 20upx;}
  464. .ts-body .ts-list{margin-top: 20upx;}
  465. .ts-body .ts-list .ts-sub-title{line-height: 32upx;color: #666;font-size: 24upx;margin-bottom: 20upx;}
  466. .ts-body .ts-list .ts-item-body{background-color: #fff;border-radius: 10upx;padding: 20upx;}
  467. .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;}
  468. .ts-body .ts-list .ts-item-body .ts-item:last-child{border-bottom: 0;}
  469. .ts-body .ts-list .ts-item-body .ts-item image{width: 40upx;height: 40upx;}
  470. .footer{position: fixed;bottom: 0;background-color: #fff;padding: 20upx 20upx 0 20upx;border-top: 2upx solid #f8f8f8;left: 0;right: 0;}
  471. .footer .footer-op{display: flex;align-items: center;}
  472. .footer .footer-op .footer-left{display: flex;align-items: center;gap: 10upx;justify-content: center;font-size: 32upx;color: #f00;font-weight: bold;}
  473. .footer .footer-op .footer-left text{color: #666;font-size: 24upx;font-weight: normal;}
  474. .footer .footer-op .footer-left .item{flex-direction: column;display: flex;font-size: 24rpx;color: #333;align-items: center;}
  475. .footer .footer-op .footer-left image{width: 40upx;height: 40upx;}
  476. .footer .footer-op .footer-right{margin-left: auto;margin-right: 0;display: flex;align-items: center;gap: 20upx;}
  477. .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;}
  478. .footer .footer-op .footer-right .btn.full{background-color: #007aff;color: #fff;border:2upx solid #007aff;}
  479. .footer .footer-safe {height: env(safe-area-inset-bottom);width: 100%;}
  480. .order-status{padding: 40upx 20upx;text-align: center;}
  481. .order-status .status-name{text-align: center;font-size: 32upx;color: #333;font-weight: bold;display: flex;align-items: center;justify-content: center;}
  482. .order-status .status-desc{font-size: 24upx;color: #666;margin-top: 20upx;}
  483. .order-info{background-color: #fff;padding: 20upx;margin-top: 20upx;}
  484. .order-info .title{font-size: 32upx;color: #333;font-weight: bold;margin-bottom: 20upx;}
  485. .order-info .info-item{height: 80upx;line-height: 80upx;font-size: 28upx;display: flex;align-items: center;}
  486. .order-info .info-item .right{color: #666;margin-left: auto;margin-right: 0;}
  487. .order-info .info-item .right text{border: 2upx solid #ccc;color: #333;font-size: 24upx;padding: 0 15upx;margin-left: 20upx;border-radius: 5upx;}
  488. .goods-safe{display: flex;align-items: center;font-size: 24rpx;color: #999;gap: 40upx;background: #fff;border-top: 2upx solid #f8f8f8;padding: 20upx;}
  489. .goods-safe .safe-item{display: flex;align-items: center;}
  490. .goods-safe image{width: 30upx;height: 30upx;margin-right: 10upx;}
  491. .order-goods{display: flex;align-items: flex-start;background-color: #fff;padding: 20upx;}
  492. .order-goods .goods-img{width: 200upx;overflow: hidden;}
  493. .order-goods image{width: 200upx;border-radius: 10upx;}
  494. .goods-info{margin-left: 20upx;font-size: 28upx;flex: 1;padding: 20upx 0;}
  495. .goods-info .name{font-size: 30upx;color: #333;}
  496. .goods-info .desc{font-size: 24upx;color: #999;display: flex;align-items: center;justify-content: space-between;margin: 20upx 0;}
  497. .goods-info .total{font-size: 30upx;color: #333;text-align: right;font-weight: bold;}
  498. .home-store{margin: 20upx auto;display: flex;align-items: center;display: flex;align-items: center;gap: 20upx;justify-content: space-between;}
  499. .home-store .service-detail{display: flex;align-items: center;background-color: #fff;border-radius: 10upx;flex: 1;height: 120upx;padding: 0 20upx;}
  500. .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;}
  501. .home-store .service-btn .btn-name{margin-left: 15upx;}
  502. .home-store .service-btn image{width: 40upx;height: 40upx;}
  503. .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;}
  504. .home-store .store-right image{width: 50upx;height: 50upx;}
  505. .home-store .left{display: flex;align-items: center;}
  506. .home-store .left image{width: 50upx;height: 50upx;margin-right: 15upx;}
  507. .home-store .right {margin-left: auto;margin-right: 0;display: flex;align-items: center;}
  508. .home-store .right image{width: 50upx;height: 50upx;}
  509. .home-store .name{font-size: 32upx;color: #000;font-weight: bold;}
  510. .home-store .name text{font-size: 24upx;color: #666;font-weight: normal;margin-left: 20upx;}
  511. .home-store .desc{font-size: 26upx;color: #666;margin-top: 20upx;}
  512. .home-store .status{color: #333;font-size: 28upx;padding:5upx 15upx;border-radius: 10upx;margin-left: 10upx;}
  513. .home-store .status.error{background-color: #fef0f0;color: #f56c6c;}
  514. .service-popup .item{height: 100upx;line-height: 100upx;text-align: center;font-size: 28upx;color: #333;border-bottom: 2upx solid #f8f8f8;}
  515. .service-popup .item .btn{background-color: #fff;border: 0;height: 100upx;line-height: 100upx;text-align: center;font-size: 28upx;color: #333;}
  516. .service-popup .item .btn::after{border: 0;}
  517. .service-popup .foot{height: 100upx;line-height: 100upx;text-align: center;font-size: 28upx;color: #333;border-top: 20upx solid #f8f8f8;}
  518. .goods-store{background-color: #fff;padding: 0 20upx;margin-top: 20upx;}
  519. .goods-store .title{line-height: 80upx;font-size: 32rpx;color: #333;font-weight: bold;display: flex;align-items: center;border-bottom: 2upx solid #f8f8f8;}
  520. .goods-store .store-info{display: flex;align-items: center;padding: 20upx 0;}
  521. .goods-store .store-info .store-right{margin-left: auto;margin-right: 0;font-size: 24rpx;color: #999;}
  522. .goods-store .store-info .store-right image{width: 50upx;height: 50upx;margin-bottom: 10upx;}
  523. .goods-store .store-info .store-left .name{font-size: 30rpx;color: #333;font-weight: bold;line-height: 80upx;}
  524. .goods-store .store-info .store-left .address{font-size: 24rpx;color: #999;}
  525. </style>