detail.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517
  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:error="onErrors"
  158. ></pay-button-sdk>
  159. <view class="btn full" @click="$dialog.jumpUri('/pages/service/chat/chat?poi='+storeData.poi_id+'&source=apply&order='+orderData.order_sn,1);">立即预约</view>
  160. </view>
  161. </view>
  162. <view class="footer-op" v-if="orderData.status == 2">
  163. <view class="footer-right">
  164. <view class="btn" @click="toGoods">再来一单</view>
  165. <view class="btn full" @click="toAfter">申请售后</view>
  166. </view>
  167. </view>
  168. <view class="footer-op" v-if="orderData.status == 5">
  169. <view class="footer-right">
  170. <view class="btn" @click="toGoods">再次购买</view>
  171. </view>
  172. </view>
  173. <view class="footer-op" v-if="orderData.status == 3 || orderData.status == 4">
  174. <view class="footer-right" @click="toGoods">
  175. <view class="btn">再次购买</view>
  176. </view>
  177. </view>
  178. <view class="footer-safe"></view>
  179. </view>
  180. <uni-popup ref="tspopup" type="bottom" border-radius="10px 10px 0 0" background-color="#f8f8f8">
  181. <view class="ts-body">
  182. <view class="ts-title">
  183. 选择投诉问题
  184. <view class="right" @click="orderTs(2)"><image src="/static/image/close.png"></image></view>
  185. </view>
  186. <view class="ts-content">
  187. <view class="ts-list">
  188. <view class="ts-sub-title">订单与退款问题</view>
  189. <view class="ts-item-body">
  190. <view class="ts-item" @click="toTs('未按约定提供服务')">未按约定提供服务<image src="/static/image/right-black.png"></image></view>
  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>
  198. </view>
  199. <view class="ts-list">
  200. <view class="ts-sub-title">商品与履约问题</view>
  201. <view class="ts-item-body">
  202. <view class="ts-item" @click="toTs('商品/内容描述不符')">商品/内容描述不符<image src="/static/image/right-black.png"></image></view>
  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>
  208. </view>
  209. <view class="ts-list">
  210. <view class="ts-sub-title">客服问题</view>
  211. <view class="ts-item-body">
  212. <view class="ts-item" @click="toTs('客服不回复/回复慢')">客服不回复/回复慢<image src="/static/image/right-black.png"></image></view>
  213. <view class="ts-item" @click="toTs('涉及辱骂/骚扰')">涉及辱骂/骚扰<image src="/static/image/right-black.png"></image></view>
  214. </view>
  215. </view>
  216. </view>
  217. </view>
  218. </uni-popup>
  219. </block>
  220. </view>
  221. </template>
  222. <script>
  223. var app;
  224. import * as Api from "@/static/api/order.js";
  225. export default {
  226. data() {
  227. return {
  228. loading:true,
  229. order:"",
  230. poiData:null,
  231. goodsData:null,
  232. orderData:null,
  233. storeData:null,
  234. orderTime:null,
  235. tsStatus:false
  236. }
  237. },
  238. created() {
  239. this.$scope.applyRefund = this.applyRefund;
  240. this.$scope.onPay = this.onPay;
  241. this.$scope.onErrors = this.onErrors;
  242. },
  243. onLoad({order}) {
  244. app = this;
  245. app.order = order;
  246. app.storeData = uni.getStorageSync("contact");
  247. app.getOrder()
  248. },
  249. methods: {
  250. toTs(text){
  251. app.$refs.tspopup.close()
  252. uni.navigateTo({
  253. url:"/pages/order/complaint/complaint?order="+app.order+"&text="+text+"&poi_name="+app.poiData.poi_name+"&poi_address="+app.poiData.poi_address
  254. })
  255. },
  256. orderTs(type){
  257. if (type == 1) {
  258. app.$refs.tspopup.open()
  259. } else {
  260. app.$refs.tspopup.close()
  261. }
  262. },
  263. onPay(event){
  264. console.log("event",event)
  265. const { status, outOrderNo, result } = event.detail;
  266. console.log(status, outOrderNo, result)
  267. if (status === 'success') {
  268. const { code } = result;
  269. if (code === 0) { // 支付成功
  270. app.$dialog.showSuccess("支付成功","none",function(){
  271. app.getOrder()
  272. })
  273. } else {
  274. app.$dialog.showSuccess("支付失败","none",function(){
  275. app.getOrder()
  276. })
  277. // 继续支付失败(超时、取消、关闭)
  278. }
  279. } else {}
  280. },
  281. applyRefund(event){
  282. console.log("applyRefund",event)
  283. const { orderId } = event.detail;
  284. const goodsDetail = [
  285. {
  286. itemOrderId:app.orderData.item_order_id //商品单,可在预下单回调itemOrderlist里获取,或通过查询券状态接口获取
  287. }
  288. ];
  289. const extra = { orderId , goodsDetail};
  290. // 开发者需要透传的参数,可自定义内容
  291. console.log(extra,"退款参数打印");
  292. return new Promise(resolve => {
  293. resolve(extra);
  294. });
  295. },
  296. onErrors(e){
  297. console.log("错误",e)
  298. },
  299. getOrder(){
  300. console.log(app.order)
  301. Api.detail({"order":app.order}).then((res)=>{
  302. app.loading = false;
  303. if (res.code && res.code !== 1) {
  304. app.$dialog.showSuccess(res.msg,"none",function(){
  305. uni.navigateBack()
  306. });
  307. return ;
  308. }
  309. console.log(res.data)
  310. app.poiData = res.data.poi;
  311. app.goodsData = res.data.product;
  312. app.orderData = res.data;
  313. app.orderTime = res.data.end_time
  314. })
  315. },
  316. toAfter(){
  317. uni.showModal({
  318. title: "提示",
  319. content: "当前阶段暂不支持退款,如遇特殊情况,请联系商家协商退款",
  320. confirmText: "联系商家",
  321. success(res) {
  322. if (res.confirm) {
  323. uni.navigateTo({
  324. url:'/pages/service/chat/chat?poi='+app.storeData.poi_id+'&source=detail&order='+app.orderData.order_sn
  325. })
  326. }
  327. }
  328. });
  329. },
  330. payOrder(){
  331. Api.toPay({"order":app.order}).then((res)=>{
  332. if (res.code !== 1) {
  333. return app.$dialog.showSuccess(res.msg);
  334. }
  335. uni.requestPayment({
  336. orderInfo:res.data.pay,
  337. service:5,
  338. success(resp){
  339. if (resp.code == 0) { // res.code=0时,才表示支付成功
  340. app.$dialog.showSuccess("支付成功","none",function(){
  341. app.getOrder()
  342. });
  343. }
  344. },
  345. fail(resp) {
  346. app.$dialog.showSuccess("支付失败,可再次重试");
  347. }
  348. })
  349. })
  350. },
  351. toCancel(order){
  352. app.$dialog.showError("确定要取消该订单吗?",function(res){
  353. if (res.confirm) {
  354. Api.del({"order":order,"type":"cancel"}).then((resp)=>{
  355. if (resp.code !== 1) {
  356. return app.$dialog.showSuccess(resp.msg)
  357. }
  358. app.$dialog.showSuccess(resp.msg)
  359. app.getOrder()
  360. })
  361. }
  362. })
  363. },
  364. delOrder(order){
  365. app.$dialog.showError("删除后数据不可恢复,确定要删除吗",function(res){
  366. if (res.confirm) {
  367. Api.del({"order":order,"type":"del"}).then((resp)=>{
  368. if (resp.code !== 1) {
  369. return app.$dialog.showSuccess(resp.msg)
  370. }
  371. app.$dialog.showSuccess(resp.msg)
  372. uni.switchTab({
  373. url:"/pages/order/order"
  374. })
  375. })
  376. }
  377. })
  378. },
  379. toGoods(){
  380. uni.navigateTo({
  381. url:"/pages/goods/detail?goods="+app.orderData.product_id+"&spm="+app.orderData.goods_id
  382. })
  383. },
  384. copyOrder(order){
  385. uni.setClipboardData({
  386. data:order,
  387. success() {
  388. app.$dialog.showSuccess("复制成功")
  389. },
  390. fail() {
  391. app.$dialog.showSuccess("复制失败")
  392. }
  393. })
  394. },
  395. callMobile(mobile){
  396. uni.makePhoneCall({
  397. phoneNumber:mobile,
  398. success(res) {
  399. console.log(res)
  400. },fail(res) {
  401. console.log(res)
  402. }
  403. })
  404. },
  405. toMap(){
  406. var poi = app.poiData;
  407. uni.openLocation({
  408. latitude:poi.latitude,
  409. longitude:poi.longitude,
  410. name:poi.poi_name,
  411. address:poi.poi_address,
  412. success() {
  413. console.log("open success")
  414. },
  415. fail(err) {
  416. app.$dialog.showSuccess("打开导航失败")
  417. console.log(err)
  418. }
  419. })
  420. },
  421. showService(type){
  422. if (type == 1) {
  423. app.$refs.maskpopup.open()
  424. } else {
  425. app.$refs.maskpopup.close()
  426. }
  427. }
  428. }
  429. }
  430. </script>
  431. <style>
  432. page{background-color: #f8f8f8;}
  433. .skeleton{width: 90%;margin: 20upx auto;}
  434. .line-footer{height: 200upx;}
  435. .status-desc-qrcode{text-align: center;font-size: 24upx;padding-top: 30upx;display: flex;align-items: center;justify-content: center;flex-direction: column;}
  436. .status-desc-qrcode .qrcode-img{background-color: #fff;padding: 20upx;}
  437. .status-desc-qrcode .qrcode-text{margin-top: 20upx;}
  438. .status-desc-qrcode .qrcode-text text{margin-left: 10upx;color: #007aff;}
  439. .ts-body .ts-title{display: flex;align-items: center;justify-content: space-between;font-size: 28upx;padding: 20upx;}
  440. .ts-body .ts-title image{width: 40upx;height: 40upx;}
  441. .ts-body .ts-content{height: 40vh;overflow: auto;padding: 20upx;}
  442. .ts-body .ts-list{margin-top: 20upx;}
  443. .ts-body .ts-list .ts-sub-title{line-height: 32upx;color: #666;font-size: 24upx;margin-bottom: 20upx;}
  444. .ts-body .ts-list .ts-item-body{background-color: #fff;border-radius: 10upx;padding: 20upx;}
  445. .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;}
  446. .ts-body .ts-list .ts-item-body .ts-item:last-child{border-bottom: 0;}
  447. .ts-body .ts-list .ts-item-body .ts-item image{width: 40upx;height: 40upx;}
  448. .footer{position: fixed;bottom: 0;background-color: #fff;padding: 20upx 20upx 0 20upx;border-top: 2upx solid #f8f8f8;left: 0;right: 0;}
  449. .footer .footer-op{display: flex;align-items: center;}
  450. .footer .footer-op .footer-left{display: flex;align-items: center;gap: 10upx;justify-content: center;font-size: 32upx;color: #f00;font-weight: bold;}
  451. .footer .footer-op .footer-left text{color: #666;font-size: 24upx;font-weight: normal;}
  452. .footer .footer-op .footer-left .item{flex-direction: column;display: flex;font-size: 24rpx;color: #333;align-items: center;}
  453. .footer .footer-op .footer-left image{width: 40upx;height: 40upx;}
  454. .footer .footer-op .footer-right{margin-left: auto;margin-right: 0;display: flex;align-items: center;gap: 20upx;}
  455. .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;}
  456. .footer .footer-op .footer-right .btn.full{background-color: #007aff;color: #fff;border:2upx solid #007aff;}
  457. .footer .footer-safe {height: env(safe-area-inset-bottom);width: 100%;}
  458. .order-status{padding: 40upx 20upx;text-align: center;}
  459. .order-status .status-name{text-align: center;font-size: 32upx;color: #333;font-weight: bold;display: flex;align-items: center;justify-content: center;}
  460. .order-status .status-desc{font-size: 24upx;color: #666;margin-top: 20upx;}
  461. .order-info{background-color: #fff;padding: 20upx;margin-top: 20upx;}
  462. .order-info .title{font-size: 32upx;color: #333;font-weight: bold;margin-bottom: 20upx;}
  463. .order-info .info-item{height: 80upx;line-height: 80upx;font-size: 28upx;display: flex;align-items: center;}
  464. .order-info .info-item .right{color: #666;margin-left: auto;margin-right: 0;}
  465. .order-info .info-item .right text{border: 2upx solid #ccc;color: #333;font-size: 24upx;padding: 0 15upx;margin-left: 20upx;border-radius: 5upx;}
  466. .goods-safe{display: flex;align-items: center;font-size: 24rpx;color: #999;gap: 40upx;background: #fff;border-top: 2upx solid #f8f8f8;padding: 20upx;}
  467. .goods-safe .safe-item{display: flex;align-items: center;}
  468. .goods-safe image{width: 30upx;height: 30upx;margin-right: 10upx;}
  469. .order-goods{display: flex;align-items: flex-start;background-color: #fff;padding: 20upx;}
  470. .order-goods .goods-img{width: 200upx;overflow: hidden;}
  471. .order-goods image{width: 200upx;border-radius: 10upx;}
  472. .goods-info{margin-left: 20upx;font-size: 28upx;flex: 1;padding: 20upx 0;}
  473. .goods-info .name{font-size: 30upx;color: #333;}
  474. .goods-info .desc{font-size: 24upx;color: #999;display: flex;align-items: center;justify-content: space-between;margin: 20upx 0;}
  475. .goods-info .total{font-size: 30upx;color: #333;text-align: right;font-weight: bold;}
  476. .home-store{margin: 20upx auto;display: flex;align-items: center;display: flex;align-items: center;gap: 20upx;justify-content: space-between;}
  477. .home-store .service-detail{display: flex;align-items: center;background-color: #fff;border-radius: 10upx;flex: 1;height: 120upx;padding: 0 20upx;}
  478. .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;}
  479. .home-store .service-btn .btn-name{margin-left: 15upx;}
  480. .home-store .service-btn image{width: 40upx;height: 40upx;}
  481. .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;}
  482. .home-store .store-right image{width: 50upx;height: 50upx;}
  483. .home-store .left{display: flex;align-items: center;}
  484. .home-store .left image{width: 50upx;height: 50upx;margin-right: 15upx;}
  485. .home-store .right {margin-left: auto;margin-right: 0;display: flex;align-items: center;}
  486. .home-store .right image{width: 50upx;height: 50upx;}
  487. .home-store .name{font-size: 32upx;color: #000;font-weight: bold;}
  488. .home-store .name text{font-size: 24upx;color: #666;font-weight: normal;margin-left: 20upx;}
  489. .home-store .desc{font-size: 26upx;color: #666;margin-top: 20upx;}
  490. .home-store .status{color: #333;font-size: 28upx;padding:5upx 15upx;border-radius: 10upx;margin-left: 10upx;}
  491. .home-store .status.error{background-color: #fef0f0;color: #f56c6c;}
  492. .service-popup .item{height: 100upx;line-height: 100upx;text-align: center;font-size: 28upx;color: #333;border-bottom: 2upx solid #f8f8f8;}
  493. .service-popup .item .btn{background-color: #fff;border: 0;height: 100upx;line-height: 100upx;text-align: center;font-size: 28upx;color: #333;}
  494. .service-popup .item .btn::after{border: 0;}
  495. .service-popup .foot{height: 100upx;line-height: 100upx;text-align: center;font-size: 28upx;color: #333;border-top: 20upx solid #f8f8f8;}
  496. .goods-store{background-color: #fff;padding: 0 20upx;margin-top: 20upx;}
  497. .goods-store .title{line-height: 80upx;font-size: 32rpx;color: #333;font-weight: bold;display: flex;align-items: center;border-bottom: 2upx solid #f8f8f8;}
  498. .goods-store .store-info{display: flex;align-items: center;padding: 20upx 0;}
  499. .goods-store .store-info .store-right{margin-left: auto;margin-right: 0;font-size: 24rpx;color: #999;}
  500. .goods-store .store-info .store-right image{width: 50upx;height: 50upx;margin-bottom: 10upx;}
  501. .goods-store .store-info .store-left .name{font-size: 30rpx;color: #333;font-weight: bold;line-height: 80upx;}
  502. .goods-store .store-info .store-left .address{font-size: 24rpx;color: #999;}
  503. </style>