Browse Source

生产环境调试商家小票10

RuHu.Xu 8 months ago
parent
commit
a391db5754
100 changed files with 281 additions and 133 deletions
  1. 270 122
      pages/pay/result.vue
  2. 4 4
      sheep/api/pay/order.js
  3. 1 0
      unpackage/dist/build/web/assets/comment-item.53fff6b3.js
  4. 0 1
      unpackage/dist/build/web/assets/comment-item.6f442285.js
  5. 1 0
      unpackage/dist/build/web/assets/const.30840f0a.js
  6. 0 1
      unpackage/dist/build/web/assets/const.fd859c54.js
  7. 0 0
      unpackage/dist/build/web/assets/detail-content-card.f362cd25.js
  8. 0 0
      unpackage/dist/build/web/assets/index-26c30b20.js
  9. 0 0
      unpackage/dist/build/web/assets/mp-html.6dce4994.js
  10. 0 0
      unpackage/dist/build/web/assets/pages-activity-bargain-detail.0b64722d.js
  11. 0 0
      unpackage/dist/build/web/assets/pages-activity-bargain-detail.f5470e18.js
  12. 0 0
      unpackage/dist/build/web/assets/pages-activity-bargain-list.6de165f7.js
  13. 0 0
      unpackage/dist/build/web/assets/pages-activity-bargain-list.b051255d.js
  14. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-detail.5a739f7f.js
  15. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-detail.5f8994bf.js
  16. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-list.97e9a642.js
  17. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-list.f0a044a9.js
  18. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-order.0da167df.js
  19. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-order.5f7534e6.js
  20. 0 0
      unpackage/dist/build/web/assets/pages-activity-index.3c3e46e9.js
  21. 0 0
      unpackage/dist/build/web/assets/pages-activity-index.c6f8f20e.js
  22. 0 0
      unpackage/dist/build/web/assets/pages-activity-seckill-list.0c53951d.js
  23. 0 0
      unpackage/dist/build/web/assets/pages-activity-seckill-list.12b6bdd7.js
  24. 0 0
      unpackage/dist/build/web/assets/pages-app-sign.8d7be09d.js
  25. 0 0
      unpackage/dist/build/web/assets/pages-app-sign.8f76b356.js
  26. 0 0
      unpackage/dist/build/web/assets/pages-chat-index.014c960f.js
  27. 0 0
      unpackage/dist/build/web/assets/pages-chat-speechtotext.95725fd5.js
  28. 0 0
      unpackage/dist/build/web/assets/pages-chat-speechtotext.e6decaed.js
  29. 0 0
      unpackage/dist/build/web/assets/pages-commission-commission-ranking.f283f9dd.js
  30. 0 0
      unpackage/dist/build/web/assets/pages-commission-commission-ranking.f458a0c5.js
  31. 0 0
      unpackage/dist/build/web/assets/pages-commission-goods.5e14b040.js
  32. 0 0
      unpackage/dist/build/web/assets/pages-commission-goods.d2e3dce9.js
  33. 0 0
      unpackage/dist/build/web/assets/pages-commission-index.1dfec83a.js
  34. 0 0
      unpackage/dist/build/web/assets/pages-commission-index.aad07f24.js
  35. 0 0
      unpackage/dist/build/web/assets/pages-commission-order.626f4e45.js
  36. 0 0
      unpackage/dist/build/web/assets/pages-commission-order.6d1a358e.js
  37. 0 0
      unpackage/dist/build/web/assets/pages-commission-promoter.0603cb99.js
  38. 0 0
      unpackage/dist/build/web/assets/pages-commission-promoter.bcd4b00f.js
  39. 0 0
      unpackage/dist/build/web/assets/pages-commission-team.23531cdf.js
  40. 0 0
      unpackage/dist/build/web/assets/pages-commission-team.fc01ce59.js
  41. 0 0
      unpackage/dist/build/web/assets/pages-commission-wallet.27d68435.js
  42. 0 0
      unpackage/dist/build/web/assets/pages-commission-wallet.792c4300.js
  43. 0 0
      unpackage/dist/build/web/assets/pages-commission-withdraw.6865a3fc.js
  44. 0 0
      unpackage/dist/build/web/assets/pages-commission-withdraw.d3fd0627.js
  45. 0 0
      unpackage/dist/build/web/assets/pages-coupon-detail.0300f391.js
  46. 0 0
      unpackage/dist/build/web/assets/pages-coupon-detail.c2fe3cee.js
  47. 0 0
      unpackage/dist/build/web/assets/pages-coupon-list.262bb9c5.js
  48. 0 0
      unpackage/dist/build/web/assets/pages-coupon-list.6e62b077.js
  49. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-add.5266c106.js
  50. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-add.5dea8f35.js
  51. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-list.cc56e28c.js
  52. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-list.e630980d.js
  53. 0 0
      unpackage/dist/build/web/assets/pages-goods-groupon.5961c28e.js
  54. 0 0
      unpackage/dist/build/web/assets/pages-goods-groupon.f1d5ea0c.js
  55. 0 0
      unpackage/dist/build/web/assets/pages-goods-index.21e15e77.js
  56. 0 0
      unpackage/dist/build/web/assets/pages-goods-index.a47463b5.js
  57. 0 0
      unpackage/dist/build/web/assets/pages-goods-list.74ac6e69.js
  58. 0 0
      unpackage/dist/build/web/assets/pages-goods-list.fe7a038b.js
  59. 0 0
      unpackage/dist/build/web/assets/pages-goods-seckill.20869d3a.js
  60. 0 0
      unpackage/dist/build/web/assets/pages-goods-seckill.aa60dd22.js
  61. 0 0
      unpackage/dist/build/web/assets/pages-index-cart.b0b4e46e.js
  62. 0 0
      unpackage/dist/build/web/assets/pages-index-cart.e1fb16d1.js
  63. 0 0
      unpackage/dist/build/web/assets/pages-index-category.4300f998.js
  64. 0 0
      unpackage/dist/build/web/assets/pages-index-category.b239f5ec.js
  65. 0 1
      unpackage/dist/build/web/assets/pages-index-index.16d89eab.js
  66. 1 0
      unpackage/dist/build/web/assets/pages-index-index.c7d183bf.js
  67. 0 0
      unpackage/dist/build/web/assets/pages-index-login.7f004974.js
  68. 0 1
      unpackage/dist/build/web/assets/pages-index-page.476f0109.js
  69. 1 0
      unpackage/dist/build/web/assets/pages-index-page.67e8b2aa.js
  70. 1 0
      unpackage/dist/build/web/assets/pages-index-search.4a62ea78.js
  71. 0 1
      unpackage/dist/build/web/assets/pages-index-search.8b402ad4.js
  72. 0 1
      unpackage/dist/build/web/assets/pages-index-user.224683d9.js
  73. 1 0
      unpackage/dist/build/web/assets/pages-index-user.9c678268.js
  74. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-apply.643751e3.js
  75. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-apply.a562d287.js
  76. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-detail.0b301556.js
  77. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-detail.a542d85d.js
  78. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-list.04d6cb63.js
  79. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-list.19b340b7.js
  80. 0 1
      unpackage/dist/build/web/assets/pages-order-aftersale-log.5410bb5e.js
  81. 1 0
      unpackage/dist/build/web/assets/pages-order-aftersale-log.e14a2338.js
  82. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-return-delivery.5bd46a02.js
  83. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-return-delivery.ec2b0d9a.js
  84. 0 0
      unpackage/dist/build/web/assets/pages-order-confirm.321d4aa5.js
  85. 0 0
      unpackage/dist/build/web/assets/pages-order-confirm.8b8ac5a2.js
  86. 0 0
      unpackage/dist/build/web/assets/pages-order-detail.51ad9dbe.js
  87. 0 0
      unpackage/dist/build/web/assets/pages-order-detail.fa7b8474.js
  88. 0 0
      unpackage/dist/build/web/assets/pages-order-express-log.b44be229.js
  89. 0 0
      unpackage/dist/build/web/assets/pages-order-express-log.ead7518c.js
  90. 0 0
      unpackage/dist/build/web/assets/pages-order-list.7b89f5a2.js
  91. 0 0
      unpackage/dist/build/web/assets/pages-order-list.7cd5a80c.js
  92. 0 0
      unpackage/dist/build/web/assets/pages-order-otherlist.c401b5cb.js
  93. 0 0
      unpackage/dist/build/web/assets/pages-order-otherlist.fd7a5679.js
  94. 0 0
      unpackage/dist/build/web/assets/pages-pay-index.12db715f.js
  95. 0 0
      unpackage/dist/build/web/assets/pages-pay-index.33ce62e9.js
  96. 0 0
      unpackage/dist/build/web/assets/pages-pay-recharge-log.21f8bc99.js
  97. 0 0
      unpackage/dist/build/web/assets/pages-pay-recharge-log.b0cdf9be.js
  98. 0 0
      unpackage/dist/build/web/assets/pages-pay-recharge.6b86a5bc.js
  99. 0 0
      unpackage/dist/build/web/assets/pages-pay-recharge.818fe27d.js
  100. 0 0
      unpackage/dist/build/web/assets/pages-pay-result.6cfe6563.js

+ 270 - 122
pages/pay/result.vue

@@ -1,56 +1,87 @@
+<!-- 支付结果页面 -->
 <template>
-	<div class="page-box">
-		<div class="container">
-			小票
-			queryStr:{{queryStr}}
-			result:{{result}}
-			<!-- order:{{order}} -->
-			<div style="padding: .4267rem 0;">xxxx有限公司</div>
-			<div class="list-style">
-				<div class="title">订单状态</div>
-				<div class="detail"></div>
-			</div>
-			<div class="list-style">
-				<div class="title">订单尾号</div>
-				<div class="detail"></div>
-			</div>
-			<div class="line-style"></div>
-			<div class="list-style">
-				<div class="title">支付总额</div>
-				<div class="detail"></div>
-			</div>
-			<div class="list-style" style="justify-content: center;">
-				<div class="button-style" @click="goBack">
+
+		result:{{result}}
+		<view class="pay-result-box ss-flex-col ss-row-center ss-col-center">
+			<!-- 信息展示 -->
+			<view class="pay-waiting ss-m-b-30" v-if="payResult === 'waiting'" />
+			<image class="pay-img ss-m-b-30" v-if="payResult === 'success'"
+				:src="sheep.$url.static('/static/images/order_pay_success.gif')" />
+			<image class="pay-img ss-m-b-30" v-if="['failed', 'closed'].includes(payResult)"
+				:src="sheep.$url.static('/static/images/order_paty_fail.gif')" />
+			<view class="tip-text ss-m-b-30" v-if="payResult === 'success'">支付成功</view>
+			<view class="tip-text ss-m-b-30" v-if="payResult === 'failed'">支付失败</view>
+			<view class="tip-text ss-m-b-30" v-if="payResult === 'closed'">该订单已关闭</view>
+			<view class="tip-text ss-m-b-30" v-if="payResult === 'waiting'">检测支付结果...</view>
+			<view class="pay-total-num ss-flex" v-if="payResult === 'success'">
+				<view>¥{{ fen2yuan(state.orderInfo.price) }}</view>
+			</view>
+			<!-- 操作区 -->
+			<view class="btn-box ss-flex ss-row-center ss-m-t-50">
+				<button class="back-btn ss-reset-button" @tap="sheep.$router.go('/pages/index/index')">
 					返回首页
-				</div>
-			</div>
-		</div>
-	</div>
+				</button>
+				<!-- <button class="check-btn ss-reset-button" v-if="payResult === 'failed'" @tap="
+            sheep.$router.redirect('/pages/pay/index', { id: state.id, orderType: state.orderType })
+          ">
+					重新支付
+				</button> -->
+				<button class="check-btn ss-reset-button" v-if="payResult === 'success'" @tap="onOrder">
+					查看订单
+				</button>
+				<!-- TODO 非繁人:拼团接入 -->
+				<!-- <button class="check-btn ss-reset-button" v-if="payResult === 'success' && state.tradeOrder.type === 3"
+					@tap="sheep.$router.redirect('/pages/activity/groupon/order')">
+					我的拼团
+				</button> -->
+			</view>
+			<!-- TODO 非繁人:订阅 -->
+			<!-- #ifdef MP -->
+			<!-- <view class="subscribe-box ss-flex ss-m-t-44">
+				<image class="subscribe-img" :src="sheep.$url.static('/static/images/cargo.png')" />
+				<view class="subscribe-title ss-m-r-48 ss-m-l-16">获取实时发货信息与订单状态</view>
+				<view class="subscribe-start" @tap="subscribeMessage">立即订阅</view>
+			</view> -->
+			<!-- #endif -->
+		</view>
+
 </template>
 
 <script setup>
 	import {
 		ref,
-		onMounted
+		onMounted,
+		reactive,
+		computed,
+		watchEffect
 	} from 'vue';
 	import axios from 'axios';
 	import 'https://wx.gtimg.com/pay_h5/goldplan/js/jgoldplan-1.0.0.js';
+	import {
+		onLoad,
+		onHide,
+		onShow
+	} from '@dcloudio/uni-app';
+	import {
+		isEmpty
+	} from 'lodash';
+	import sheep from '@/sheep';
+	import PayOrderApi from '@/sheep/api/pay/order';
+	import {
+		fen2yuan
+	} from '../../sheep/hooks/useGoods';
+	import OrderApi from '@/sheep/api/trade/order';
+	import {
+		showWalletModal,
+		colseWalletModal
+	} from '@/sheep/hooks/useModal';
+	
 	const order = ref({});
-	const result = ref({a:123});
+	const result = ref({
+	});
 	const url = ref('https://payapp.weixin.qq.com');
 	const queryStr = ref('');
-	// 组件挂载后执行
-	onMounted(async () => {
-		
-		await getQueryVal();
-		await showCustomPage();
-		// if (!result.value.out_trade_no) {
-		// 	parent.alert('没有订单号,请联系管理员!');
-		// } else {
-		// 	queryOrderInfo();
-		// }
-		
-	});
+
 
 	// 获取地址栏字段
 	const getQueryVal = () => {
@@ -75,105 +106,222 @@
 		});
 		parent.postMessage(customData, url.value);
 	};
+	const state = reactive({
+		id: 0, // 支付单号
+		orderType: 'goods', // 订单类型
+		result: 'unpaid', // 支付状态
+		orderInfo: {}, // 支付订单信息
+		tradeOrder: {}, // 商品订单信息,只有在 orderType 为 goods 才会请求。目的:【我的拼团】按钮的展示
+		counter: 0, // 获取结果次数
+	});
+	// 支付结果 result => payResult
+	const payResult = computed(() => {
+		if (state.result === 'unpaid') {
+			return 'waiting';
+		}
+		if (state.result === 'paid') {
+			return 'success';
+		}
+		if (state.result === 'failed') {
+			return 'failed';
+		}
+		if (state.result === 'closed') {
+			return 'closed';
+		}
+	});
+	// watchEffect(()=>{
+	// 	if(payResult.value == 'success'){
+	// 		showWalletModal({points: state.orderInfo.jf,socialStatus: state.orderInfo.sj})
+	// 	}
+	// })
+	
+	// 获得订单信息
+	async function getOrderInfo(payOrderNo) {
+		state.counter++;
+		// 1. 加载订单信息
+		// 测试
+		// await PayOrderApi.getByStatus3(id);
+		
+		const {
+			data,
+			code
+		} = await PayOrderApi.getFuYouPayOrderByStatus(payOrderNo);
+		if (code === 0) {
+			state.orderInfo = data;
+			if (!state.orderInfo || state.orderInfo.status === 30) {
+				// 支付关闭
+				state.result = 'closed';
+				return;
+			}
+			if (state.orderInfo.status !== 0) {
+				// 非待支付,可能是已支付,可能是已退款
+				state.result = 'paid';
+				// #ifdef MP
+				subscribeMessage();
+				// #endif
+				// 特殊:获得商品订单信息
+				// if (state.orderType === 'goods') {
+				// 	const {
+				// 		data,
+				// 		code
+				// 	} = await PayOrderApi.getByStatus2(state.orderInfo.merchantOrderId);
+				// 	if (code === 0) {
+				// 		state.tradeOrder = data;
+				// 	}
+				// }
+				return;
+			}
+		}
+		// 2.1 情况三一:未支付,且轮询次数小于三次,则继续轮询
+		if (state.counter < 3 && state.result === 'unpaid') {
+			setTimeout(() => {
+				getOrderInfo(payOrderNo);
+			}, 1500);
+		}
+		// 2.2 情况二:超过三次检测才判断为支付失败
+		if (state.counter >= 3) {
+			state.result = 'failed';
+		}
+	}
+	// onShow(() => {
+	// 	if (isEmpty(state.orderInfo)) {
+	// 		return;
+	// 	}
+	// 	getOrderInfo(state.id);
+	// });
+	
+	// onHide(() => {
+	// 	state.result = 'unpaid';
+	// 	state.counter = 0;
+	// });
+	// 组件挂载后执行
+	onMounted(async () => {
+		await getQueryVal();
+		await showCustomPage();
+		await getOrderInfo(result.out_trade_no);
+		// if (!result.value.out_trade_no) {
+		// 	parent.alert('没有订单号,请联系管理员!');
+		// } else {
+		// 	queryOrderInfo();
+		// }
+	
+	});
 
-	// 请求订单信息(需要保存订单信息的后台系统提供)
-	const queryOrderInfo = () => {
-		axios({
-				baseURL: 'https://www.xxxx.com/xxxxx',
-				method: 'get',
-				url: 'xxx', // 这里需要替换为实际的URL
-				params: {
-					out_trade_no: result.value.out_trade_no
-				}
-			})
-			.then((res) => {
-				if (res.data.success) {
-					order.value = res.data.result;
-				} else {
-					parent.alert('出错了,请联系管理员!');
-				}
-			})
-			.catch((err) => {
-				parent.alert('出错了,请联系管理员!');
-			});
-	};
 
 	// 返回首页
 	const goBack = () => {
-	  const mchData = { action: 'jumpOut', jumpOutUrl: `${location.origin}/#/pages/pay/resultYuan` };
-	  const postData = JSON.stringify(mchData);
-	  parent.postMessage(postData, url.value);
+		const mchData = {
+			action: 'jumpOut',
+			jumpOutUrl: `${location.origin}/#/`
+		};
+		const postData = JSON.stringify(mchData);
+		parent.postMessage(postData, url.value);
+	};
+	// 跳转到订单
+	const goOrderList = () => {
+		const mchData = {
+			action: 'jumpOut',
+			jumpOutUrl: `${location.origin}/#/pages/order/list?type=2`
+		};
+		const postData = JSON.stringify(mchData);
+		parent.postMessage(postData, url.value);
 	};
 </script>
 
-<style scoped>
-	/* 您的样式 */
-	.page-box {
-		box-sizing: border-box;
-		/* background-color: #f2f6ff; */
-		/* background-color: #fff; */
-		padding: .36rem;
-		padding-top: 1.32rem;
-	}
+<style lang="scss" scoped>
+	@keyframes rotation {
+		0% {
+			transform: rotate(0deg);
+		}
 
-	.container {
-		display: flex;
-		font-size: 1rem;
-		flex-flow: column nowrap;
-		justify-content: flex-start;
-		align-items: center;
+		100% {
+			transform: rotate(360deg);
+		}
 	}
 
-	.img-wrapper {
-		height: 1.7067rem;
-		width: 1.7067rem;
+	.score-img {
+		width: 36rpx;
+		height: 36rpx;
+		margin: 0 4rpx;
 	}
 
-	.img-inner {
-		width: 100%;
-		height: 100%;
-		object-fit: fill;
-		border-radius: 50%;
-		border: 1px solid #d1d1d1;
-	}
+	.pay-result-box {
+		padding: 60rpx 0;
 
-	.list-style {
-		display: flex;
-		justify-content: space-between;
-		align-items: center;
-		line-height: 2rem;
-		width: 100%;
-	}
+		.pay-waiting {
+			margin-top: 20rpx;
+			width: 60rpx;
+			height: 60rpx;
+			border: 10rpx solid rgb(233, 231, 231);
+			border-bottom-color: rgb(204, 204, 204);
+			border-radius: 50%;
+			display: inline-block;
+			// -webkit-animation: rotation 1s linear infinite;
+			animation: rotation 1s linear infinite;
+		}
 
-	.title {
-		color: #666;
-	}
+		.pay-img {
+			width: 130rpx;
+			height: 130rpx;
+		}
 
-	.detail {
-		color: #333;
-	}
+		.tip-text {
+			font-size: 30rpx;
+			font-weight: bold;
+			color: #333333;
+		}
 
-	.line-style {
-		height: 1px;
-		width: 100%;
-		margin: 5px;
-		/* background-color: #d1d1d1; */
-	}
+		.pay-total-num {
+			font-size: 36rpx;
+			font-weight: 500;
+			color: #333333;
+			font-family: OPPOSANS;
+		}
 
-	.button-style {
-		margin-top: .2667rem;
-		width: 10rem;
-		height: 28px;
-		border: 1px solid #189fff;
-		border-radius: 5px;
-		/* background-color: #fff; */
-		color: #189fff;
-		text-align: center;
-		line-height: 28px;
-	}
+		.btn-box {
+			width: 100%;
+
+			.back-btn {
+				width: 190rpx;
+				height: 70rpx;
+				font-size: 28rpx;
+				border: 2rpx solid #dfdfdf;
+				border-radius: 35rpx;
+				font-weight: 400;
+				color: #595959;
+			}
+
+			.check-btn {
+				width: 190rpx;
+				height: 70rpx;
+				font-size: 28rpx;
+				border: 2rpx solid #dfdfdf;
+				border-radius: 35rpx;
+				font-weight: 400;
+				color: #595959;
+				margin-left: 32rpx;
+			}
+		}
 
-	.button-style:hover {
-		/* background-color: #189fff; */
-		color: #fff;
+		.subscribe-box {
+			.subscribe-img {
+				width: 44rpx;
+				height: 44rpx;
+			}
+
+			.subscribe-title {
+				font-weight: 500;
+				font-size: 32rpx;
+				line-height: 36rpx;
+				color: #434343;
+			}
+
+			.subscribe-start {
+				color: var(--ui-BG-Main);
+				font-weight: 700;
+				font-size: 32rpx;
+				line-height: 36rpx;
+			}
+		}
 	}
 </style>

+ 4 - 4
sheep/api/pay/order.js

@@ -25,12 +25,12 @@ const PayOrderApi = {
       params: { id }
     });
   },
-  // 获得支付后的订单条件3
-  getByStatus3: (id) => {
+  // 富友微信jsapi支付成功
+  getFuYouPayOrderByStatus: (payOrderNo) => {
     return request({
-      url: '/trade/order/getPayOrderByStatus3',
+      url: '/trade/order/getFuYouPayOrderByStatus',
       method: 'GET',
-      params: { id }
+      params: { payOrderNo }
     });
   },
   getPayOrder: (tradeOrderId) => {

+ 1 - 0
unpackage/dist/build/web/assets/comment-item.53fff6b3.js

@@ -0,0 +1 @@
+import{l as s,m as e,e as l,f as a,w as t,j as r,t as c,u as i,k as m,F as u,r as n,g as o,x as d,i as p,B as f}from"./index-26c30b20.js";import{_}from"./uni-rate.e93702f3.js";import{_ as v}from"./su-image.5fcad112.js";import{_ as x}from"./_plugin-vue_export-helper.1b428a4d.js";const y=x({__name:"comment-item",props:{item:{type:Object,default(){}}},setup:x=>(y,g)=>{const h=d,j=p,k=s(e("uni-rate"),_),w=s(e("su-image"),v),b=f;return l(),a(j,null,{default:t((()=>{var s;return[r(j,{class:"user ss-flex ss-m-b-14"},{default:t((()=>[r(j,{class:"ss-m-r-20 ss-flex"},{default:t((()=>[r(h,{class:"avatar",src:x.item.userAvatar},null,8,["src"])])),_:1}),r(j,{class:"nickname ss-m-r-20"},{default:t((()=>[c(i(x.item.userNickname),1)])),_:1}),r(j,{class:""},{default:t((()=>[r(k,{readonly:!0,modelValue:x.item.scores,"onUpdate:modelValue":g[0]||(g[0]=s=>x.item.scores=s),size:"18"},null,8,["modelValue"])])),_:1})])),_:1}),r(j,{class:"content"},{default:t((()=>[c(i(x.item.content),1)])),_:1}),(null==(s=x.item.picUrls)?void 0:s.length)?(l(),a(j,{key:0,class:"ss-m-t-24"},{default:t((()=>[r(b,{class:"scroll-box","scroll-x":"","scroll-anchoring":""},{default:t((()=>[r(j,{class:"ss-flex"},{default:t((()=>[(l(!0),m(u,null,n(x.item.picUrls,((s,e)=>(l(),a(j,{key:s,class:"ss-m-r-10"},{default:t((()=>[r(w,{class:"content-img",isPreview:"",previewList:x.item.picUrls,current:e,src:s,height:120,width:120,mode:"aspectFill"},null,8,["previewList","current","src"])])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})):o("",!0),x.item.replyTime?(l(),a(j,{key:1,class:"ss-m-t-20 reply-box"},{default:t((()=>[r(j,{class:"reply-title"},{default:t((()=>[c("商家回复:")])),_:1}),r(j,{class:"reply-content"},{default:t((()=>[c(i(x.item.replyContent),1)])),_:1})])),_:1})):o("",!0)]})),_:1})}},[["__scopeId","data-v-c011c544"]]);export{y as c};

+ 0 - 1
unpackage/dist/build/web/assets/comment-item.6f442285.js

@@ -1 +0,0 @@
-import{l as s,m as e,e as l,f as a,w as t,j as r,t as c,u as i,k as m,F as u,r as n,g as o,x as d,i as p,B as f}from"./index-2790e0d4.js";import{_}from"./uni-rate.0c162c47.js";import{_ as x}from"./su-image.5ba6f4bd.js";import{_ as y}from"./_plugin-vue_export-helper.1b428a4d.js";const v=y({__name:"comment-item",props:{item:{type:Object,default(){}}},setup:y=>(v,g)=>{const h=d,j=p,k=s(e("uni-rate"),_),w=s(e("su-image"),x),b=f;return l(),a(j,null,{default:t((()=>{var s;return[r(j,{class:"user ss-flex ss-m-b-14"},{default:t((()=>[r(j,{class:"ss-m-r-20 ss-flex"},{default:t((()=>[r(h,{class:"avatar",src:y.item.userAvatar},null,8,["src"])])),_:1}),r(j,{class:"nickname ss-m-r-20"},{default:t((()=>[c(i(y.item.userNickname),1)])),_:1}),r(j,{class:""},{default:t((()=>[r(k,{readonly:!0,modelValue:y.item.scores,"onUpdate:modelValue":g[0]||(g[0]=s=>y.item.scores=s),size:"18"},null,8,["modelValue"])])),_:1})])),_:1}),r(j,{class:"content"},{default:t((()=>[c(i(y.item.content),1)])),_:1}),(null==(s=y.item.picUrls)?void 0:s.length)?(l(),a(j,{key:0,class:"ss-m-t-24"},{default:t((()=>[r(b,{class:"scroll-box","scroll-x":"","scroll-anchoring":""},{default:t((()=>[r(j,{class:"ss-flex"},{default:t((()=>[(l(!0),m(u,null,n(y.item.picUrls,((s,e)=>(l(),a(j,{key:s,class:"ss-m-r-10"},{default:t((()=>[r(w,{class:"content-img",isPreview:"",previewList:y.item.picUrls,current:e,src:s,height:120,width:120,mode:"aspectFill"},null,8,["previewList","current","src"])])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})):o("",!0),y.item.replyTime?(l(),a(j,{key:1,class:"ss-m-t-20 reply-box"},{default:t((()=>[r(j,{class:"reply-title"},{default:t((()=>[c("商家回复:")])),_:1}),r(j,{class:"reply-content"},{default:t((()=>[c(i(y.item.replyContent),1)])),_:1})])),_:1})):o("",!0)]})),_:1})}},[["__scopeId","data-v-c011c544"]]);export{v as c};

+ 1 - 0
unpackage/dist/build/web/assets/const.30840f0a.js

@@ -0,0 +1 @@
+import{bf as e}from"./index-26c30b20.js";const T={PRICE:{type:1,name:"满减"},PERCENT:{type:2,name:"折扣"}},s={DATE:{type:1,name:"固定日期可用"},TERM:{type:2,name:"领取之后可用"}},t={WAIT_START:"即将开始",STARTED:"进行中",END:"已结束"},a=(T,s)=>{const a=e();return a.isBefore(T)?t.WAIT_START:a.isAfter(s)?t.END:t.STARTED};export{s as C,T as P,t as T,a as g};

+ 0 - 1
unpackage/dist/build/web/assets/const.fd859c54.js

@@ -1 +0,0 @@
-import{aP as e}from"./index-2790e0d4.js";const T={PRICE:{type:1,name:"满减"},PERCENT:{type:2,name:"折扣"}},a={DATE:{type:1,name:"固定日期可用"},TERM:{type:2,name:"领取之后可用"}},s={WAIT_START:"即将开始",STARTED:"进行中",END:"已结束"},t=(T,a)=>{const t=e();return t.isBefore(T)?s.WAIT_START:t.isAfter(a)?s.END:s.STARTED};export{a as C,T as P,s as T,t as g};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/detail-content-card.f362cd25.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/index-26c30b20.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/mp-html.6dce4994.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-bargain-detail.0b64722d.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-bargain-detail.f5470e18.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-bargain-list.6de165f7.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-bargain-list.b051255d.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-groupon-detail.5a739f7f.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-groupon-detail.5f8994bf.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-groupon-list.97e9a642.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-groupon-list.f0a044a9.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-groupon-order.0da167df.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-groupon-order.5f7534e6.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-index.3c3e46e9.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-index.c6f8f20e.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-seckill-list.0c53951d.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-seckill-list.12b6bdd7.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-app-sign.8d7be09d.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-app-sign.8f76b356.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-chat-index.014c960f.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-chat-speechtotext.95725fd5.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-chat-speechtotext.e6decaed.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-commission-ranking.f283f9dd.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-commission-ranking.f458a0c5.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-goods.5e14b040.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-goods.d2e3dce9.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-index.1dfec83a.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-index.aad07f24.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-order.626f4e45.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-order.6d1a358e.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-promoter.0603cb99.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-promoter.bcd4b00f.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-team.23531cdf.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-team.fc01ce59.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-wallet.27d68435.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-wallet.792c4300.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-withdraw.6865a3fc.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-withdraw.d3fd0627.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-coupon-detail.0300f391.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-coupon-detail.c2fe3cee.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-coupon-list.262bb9c5.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-coupon-list.6e62b077.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-comment-add.5266c106.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-comment-add.5dea8f35.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-comment-list.cc56e28c.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-comment-list.e630980d.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-groupon.5961c28e.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-groupon.f1d5ea0c.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-index.21e15e77.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-index.a47463b5.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-list.74ac6e69.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-list.fe7a038b.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-seckill.20869d3a.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-seckill.aa60dd22.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-index-cart.b0b4e46e.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-index-cart.e1fb16d1.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-index-category.4300f998.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-index-category.b239f5ec.js


+ 0 - 1
unpackage/dist/build/web/assets/pages-index-index.16d89eab.js

@@ -1 +0,0 @@
-import{h as e,c as t,o as s,s as a,$ as o,a as p,b as r,d as l,e as i,f as n,w as m,g as u,i as d,j as _,k as y,r as c,F as g,l as j,m as b}from"./index-2790e0d4.js";import{_ as v,a as f}from"./s-block.cf7d6c65.js";import{_ as x}from"./s-layout.cf83aa15.js";import"./phone-international-input.61970cb9.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.5758cad5.js";import"./uni-badge.4954a232.js";import"./su-image.5ba6f4bd.js";import"./su-swiper.fb04deee.js";import"./s-goods-column.5ae29554.js";import"./points.c381a8e1.js";/* empty css                                                                     */import"./uni-load-more.a718b48d.js";/* empty css                                                                *//* empty css                                                                      */import"./const.fd859c54.js";import"./mp-html.4ec15868.js";import"./pages-public-richtext.5a9a525e.js";const h={__name:"index",setup(h){e();const k=t((()=>{var e;return null==(e=a.$store("app").template)?void 0:e.home}));return s((e=>{e.templateId&&a.$store("app").init(e.templateId),e.spm&&o.decryptSpm(e.spm),e.page&&a.$router.go(decodeURIComponent(e.page))})),p((()=>{a.$store("app").init(),setTimeout((function(){r()}),800)})),l((()=>{})),(e,t)=>{const s=j(b("s-block-item"),v),a=j(b("s-block"),f),o=j(b("s-layout"),x),p=d;return k.value?(i(),n(p,{key:0},{default:m((()=>{var e;return[_(o,{title:"首页",navbar:"custom",tabbar:"/pages/index/index",bgStyle:k.value.page,navbarStyle:null==(e=k.value.style)?void 0:e.navbar,onShareAppMessage:""},{default:m((()=>[(i(!0),y(g,null,c(k.value.components,((e,t)=>(i(),n(a,{key:t,styles:e.property.style},{default:m((()=>[_(s,{type:e.id,data:e.property,styles:e.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])]})),_:1})):u("",!0)}}};export{h as default};

+ 1 - 0
unpackage/dist/build/web/assets/pages-index-index.c7d183bf.js

@@ -0,0 +1 @@
+import{h as e,c as s,o as t,s as a,$ as o,a as p,b as r,d as l,e as i,f as n,w as m,g as u,i as d,j as _,k as y,r as c,F as j,l as g,m as b}from"./index-26c30b20.js";import{_ as v,a as f}from"./s-block.3bb94675.js";import{_ as x}from"./s-layout.b50a37d7.js";import"./phone-international-input.9d2a0042.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.d393284c.js";import"./uni-badge.71ce7196.js";import"./su-image.5fcad112.js";import"./su-swiper.f1bd9ed6.js";import"./s-goods-column.52f782a0.js";import"./points.c381a8e1.js";import"./useGoods.8f30843f.js";/* empty css                                                                     */import"./uni-load-more.2ca6ec94.js";/* empty css                                                                *//* empty css                                                                      */import"./const.30840f0a.js";import"./mp-html.6dce4994.js";import"./pages-public-richtext.00929de9.js";const h={__name:"index",setup(h){e();const k=s((()=>{var e;return null==(e=a.$store("app").template)?void 0:e.home}));return t((e=>{e.templateId&&a.$store("app").init(e.templateId),e.spm&&o.decryptSpm(e.spm),e.page&&a.$router.go(decodeURIComponent(e.page))})),p((()=>{a.$store("app").init(),setTimeout((function(){r()}),800)})),l((()=>{})),(e,s)=>{const t=g(b("s-block-item"),v),a=g(b("s-block"),f),o=g(b("s-layout"),x),p=d;return k.value?(i(),n(p,{key:0},{default:m((()=>{var e;return[_(o,{title:"首页",navbar:"custom",tabbar:"/pages/index/index",bgStyle:k.value.page,navbarStyle:null==(e=k.value.style)?void 0:e.navbar,onShareAppMessage:""},{default:m((()=>[(i(!0),y(j,null,c(k.value.components,((e,s)=>(i(),n(a,{key:s,styles:e.property.style},{default:m((()=>[_(t,{type:e.id,data:e.property,styles:e.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])]})),_:1})):u("",!0)}}};export{h as default};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-index-login.7f004974.js


+ 0 - 1
unpackage/dist/build/web/assets/pages-index-page.476f0109.js

@@ -1 +0,0 @@
-import{_ as t,a as e}from"./s-block.cf7d6c65.js";import{y as s,o,X as a,d as p,e as n,f as i,w as r,l,k as m,r as _,F as u,m as y,j as d}from"./index-2790e0d4.js";import{_ as c}from"./s-layout.cf83aa15.js";import"./phone-international-input.61970cb9.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.5758cad5.js";import"./uni-badge.4954a232.js";import"./su-image.5ba6f4bd.js";import"./su-swiper.fb04deee.js";import"./s-goods-column.5ae29554.js";import"./points.c381a8e1.js";/* empty css                                                                     */import"./uni-load-more.a718b48d.js";/* empty css                                                                *//* empty css                                                                      */import"./const.fd859c54.js";import"./mp-html.4ec15868.js";import"./pages-public-richtext.5a9a525e.js";const g={__name:"page",setup(g){const j=s({name:"",components:[],navigationBar:{},page:{}});return o((async t=>{var e,s,o;let p=t.id;const{code:n,data:i}=await a.getDiyPage(p);0===n&&(j.name=i.name,j.components=null==(e=i.property)?void 0:e.components,j.navigationBar=null==(s=i.property)?void 0:s.navigationBar,j.page=null==(o=i.property)?void 0:o.page)})),p((()=>{})),(s,o)=>{const a=l(y("s-block-item"),t),p=l(y("s-block"),e),g=l(y("s-layout"),c);return n(),i(g,{title:j.name,navbar:"custom",bgStyle:j.page,navbarStyle:j.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:r((()=>[(n(!0),m(u,null,_(j.components,((t,e)=>(n(),i(p,{key:e,styles:t.property.style},{default:r((()=>[d(a,{type:t.id,data:t.property,styles:t.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["title","bgStyle","navbarStyle"])}}};export{g as default};

+ 1 - 0
unpackage/dist/build/web/assets/pages-index-page.67e8b2aa.js

@@ -0,0 +1 @@
+import{_ as t,a as e}from"./s-block.3bb94675.js";import{y as s,o,X as a,d as p,e as n,f as i,w as r,l,k as m,r as u,F as _,m as y,j as d}from"./index-26c30b20.js";import{_ as c}from"./s-layout.b50a37d7.js";import"./phone-international-input.9d2a0042.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.d393284c.js";import"./uni-badge.71ce7196.js";import"./su-image.5fcad112.js";import"./su-swiper.f1bd9ed6.js";import"./s-goods-column.52f782a0.js";import"./points.c381a8e1.js";import"./useGoods.8f30843f.js";/* empty css                                                                     */import"./uni-load-more.2ca6ec94.js";/* empty css                                                                *//* empty css                                                                      */import"./const.30840f0a.js";import"./mp-html.6dce4994.js";import"./pages-public-richtext.00929de9.js";const g={__name:"page",setup(g){const j=s({name:"",components:[],navigationBar:{},page:{}});return o((async t=>{var e,s,o;let p=t.id;const{code:n,data:i}=await a.getDiyPage(p);0===n&&(j.name=i.name,j.components=null==(e=i.property)?void 0:e.components,j.navigationBar=null==(s=i.property)?void 0:s.navigationBar,j.page=null==(o=i.property)?void 0:o.page)})),p((()=>{})),(s,o)=>{const a=l(y("s-block-item"),t),p=l(y("s-block"),e),g=l(y("s-layout"),c);return n(),i(g,{title:j.name,navbar:"custom",bgStyle:j.page,navbarStyle:j.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:r((()=>[(n(!0),m(_,null,u(j.components,((t,e)=>(n(),i(p,{key:e,styles:t.property.style},{default:r((()=>[d(a,{type:t.id,data:t.property,styles:t.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["title","bgStyle","navbarStyle"])}}};export{g as default};

+ 1 - 0
unpackage/dist/build/web/assets/pages-index-search.4a62ea78.js

@@ -0,0 +1 @@
+import{y as s,o as t,P as e,e as o,f as a,w as r,l as i,j as l,t as n,k as c,r as u,F as f,s as h,p as y,O as d,W as p,m as _,i as m,I as x,u as L}from"./index-26c30b20.js";import{b,_ as g}from"./s-layout.b50a37d7.js";import{_ as j}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.9d2a0042.js";import"./useGoods.8f30843f.js";const w=j({__name:"search",setup(j){const w=s({historyList:[]});function k(s){s&&(!function(s){w.historyList.includes(s)&&w.historyList.splice(w.historyList.indexOf(s),1);w.historyList.unshift(s),w.historyList.length>=10&&(w.historyList.length=10);y("searchHistory",w.historyList)}(s),h.$router.go("/pages/goods/list",{keyword:s}))}function C(){d({title:"提示",content:"确认清除搜索历史吗?",success:function(s){s.confirm&&(w.historyTag=[],p("searchHistory"))}})}return t((()=>{w.historyList=e("searchHistory")||[]})),(s,t)=>{const e=i(_("uni-search-bar"),b),h=m,y=x,d=i(_("s-layout"),g);return o(),a(d,{class:"set-wrap",title:"搜索",bgStyle:{color:"#FFF"}},{default:r((()=>[l(h,{class:"ss-p-x-24"},{default:r((()=>[l(h,{class:"ss-flex ss-col-center"},{default:r((()=>[l(e,{class:"ss-flex-1",radius:"33",placeholder:"请输入关键字",cancelButton:"none",focus:!0,onConfirm:t[0]||(t[0]=s=>k(s.value))})])),_:1}),l(h,{class:"ss-flex ss-row-between ss-col-center"},{default:r((()=>[l(h,{class:"serach-history"},{default:r((()=>[n("搜索历史")])),_:1}),l(y,{class:"clean-history ss-reset-button",onClick:C},{default:r((()=>[n(" 清除搜索历史 ")])),_:1})])),_:1}),l(h,{class:"ss-flex ss-col-center ss-row-left ss-flex-wrap"},{default:r((()=>[(o(!0),c(f,null,u(w.historyList,((s,t)=>(o(),a(y,{class:"history-btn ss-reset-button",onClick:t=>k(s),key:t},{default:r((()=>[n(L(s),1)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-d3779116"]]);export{w as default};

+ 0 - 1
unpackage/dist/build/web/assets/pages-index-search.8b402ad4.js

@@ -1 +0,0 @@
-import{y as s,o as t,P as e,e as a,f as o,w as r,l as i,j as l,t as n,k as c,r as u,F as f,s as h,p as y,O as d,W as p,m as _,i as m,I as x,u as L}from"./index-2790e0d4.js";import{b,_ as g}from"./s-layout.cf83aa15.js";import{_ as w}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.61970cb9.js";const k=w({__name:"search",setup(w){const k=s({historyList:[]});function j(s){s&&(!function(s){k.historyList.includes(s)&&k.historyList.splice(k.historyList.indexOf(s),1);k.historyList.unshift(s),k.historyList.length>=10&&(k.historyList.length=10);y("searchHistory",k.historyList)}(s),h.$router.go("/pages/goods/list",{keyword:s}))}function C(){d({title:"提示",content:"确认清除搜索历史吗?",success:function(s){s.confirm&&(k.historyTag=[],p("searchHistory"))}})}return t((()=>{k.historyList=e("searchHistory")||[]})),(s,t)=>{const e=i(_("uni-search-bar"),b),h=m,y=x,d=i(_("s-layout"),g);return a(),o(d,{class:"set-wrap",title:"搜索",bgStyle:{color:"#FFF"}},{default:r((()=>[l(h,{class:"ss-p-x-24"},{default:r((()=>[l(h,{class:"ss-flex ss-col-center"},{default:r((()=>[l(e,{class:"ss-flex-1",radius:"33",placeholder:"请输入关键字",cancelButton:"none",focus:!0,onConfirm:t[0]||(t[0]=s=>j(s.value))})])),_:1}),l(h,{class:"ss-flex ss-row-between ss-col-center"},{default:r((()=>[l(h,{class:"serach-history"},{default:r((()=>[n("搜索历史")])),_:1}),l(y,{class:"clean-history ss-reset-button",onClick:C},{default:r((()=>[n(" 清除搜索历史 ")])),_:1})])),_:1}),l(h,{class:"ss-flex ss-col-center ss-row-left ss-flex-wrap"},{default:r((()=>[(a(!0),c(f,null,u(k.historyList,((s,t)=>(a(),o(y,{class:"history-btn ss-reset-button",onClick:t=>j(s),key:t},{default:r((()=>[n(L(s),1)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-d3779116"]]);export{k as default};

+ 0 - 1
unpackage/dist/build/web/assets/pages-index-user.224683d9.js

@@ -1 +0,0 @@
-import{h as s,c as e,n as t,s as a,a as o,b as r,d as p,o as l,p as i,q as n,e as u,f as m,w as _,l as d,k as y,r as c,F as j,m as b,j as g}from"./index-2790e0d4.js";import{_ as v,a as f}from"./s-block.cf7d6c65.js";import{_ as k}from"./s-layout.cf83aa15.js";import"./phone-international-input.61970cb9.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.5758cad5.js";import"./uni-badge.4954a232.js";import"./su-image.5ba6f4bd.js";import"./su-swiper.fb04deee.js";import"./s-goods-column.5ae29554.js";import"./points.c381a8e1.js";/* empty css                                                                     */import"./uni-load-more.a718b48d.js";/* empty css                                                                *//* empty css                                                                      */import"./const.fd859c54.js";import"./mp-html.4ec15868.js";import"./pages-public-richtext.5a9a525e.js";const x={__name:"user",setup(x){s();const h=e((()=>a.$store("app").template.user)),S=e((()=>a.$store("user").isLogin));return t((()=>{a.$store("user").updateUserData()})),o((()=>{a.$store("user").updateUserData(),setTimeout((function(){r()}),800)})),p((()=>{})),l((s=>{s.linkId&&(i("linkId",s.linkId),S.value||n("register","register"))})),(s,e)=>{var t;const a=d(b("s-block-item"),v),o=d(b("s-block"),f),r=d(b("s-layout"),k);return u(),m(r,{title:"我的",tabbar:"/pages/index/user",navbar:"custom",bgStyle:h.value.page,navbarStyle:null==(t=h.value.style)?void 0:t.navbar,onShareAppMessage:""},{default:_((()=>[(u(!0),y(j,null,c(h.value.components,((s,e)=>(u(),m(o,{key:e,styles:s.property.style},{default:_((()=>[g(a,{type:s.id,data:s.property,styles:s.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])}}};export{x as default};

+ 1 - 0
unpackage/dist/build/web/assets/pages-index-user.9c678268.js

@@ -0,0 +1 @@
+import{h as s,c as e,n as t,s as a,a as o,b as r,d as p,o as i,p as l,q as n,e as u,f as m,w as _,l as d,k as y,r as c,F as j,m as b,j as g}from"./index-26c30b20.js";import{_ as v,a as f}from"./s-block.3bb94675.js";import{_ as k}from"./s-layout.b50a37d7.js";import"./phone-international-input.9d2a0042.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.d393284c.js";import"./uni-badge.71ce7196.js";import"./su-image.5fcad112.js";import"./su-swiper.f1bd9ed6.js";import"./s-goods-column.52f782a0.js";import"./points.c381a8e1.js";import"./useGoods.8f30843f.js";/* empty css                                                                     */import"./uni-load-more.2ca6ec94.js";/* empty css                                                                *//* empty css                                                                      */import"./const.30840f0a.js";import"./mp-html.6dce4994.js";import"./pages-public-richtext.00929de9.js";const x={__name:"user",setup(x){s();const h=e((()=>a.$store("app").template.user)),S=e((()=>a.$store("user").isLogin));return t((()=>{a.$store("user").updateUserData()})),o((()=>{a.$store("user").updateUserData(),setTimeout((function(){r()}),800)})),p((()=>{})),i((s=>{s.linkId&&(l("linkId",s.linkId),S.value||n("register","register"))})),(s,e)=>{var t;const a=d(b("s-block-item"),v),o=d(b("s-block"),f),r=d(b("s-layout"),k);return u(),m(r,{title:"我的",tabbar:"/pages/index/user",navbar:"custom",bgStyle:h.value.page,navbarStyle:null==(t=h.value.style)?void 0:t.navbar,onShareAppMessage:""},{default:_((()=>[(u(!0),y(j,null,c(h.value.components,((s,e)=>(u(),m(o,{key:e,styles:s.property.style},{default:_((()=>[g(a,{type:s.id,data:s.property,styles:s.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])}}};export{x as default};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-aftersale-apply.643751e3.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-aftersale-apply.a562d287.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-aftersale-detail.0b301556.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-aftersale-detail.a542d85d.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-aftersale-list.04d6cb63.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-aftersale-list.19b340b7.js


+ 0 - 1
unpackage/dist/build/web/assets/pages-order-aftersale-log.5410bb5e.js

@@ -1 +0,0 @@
-import{e as t,f as a,w as e,j as s,D as l,g as i,t as o,u as n,v as d,s as c,H as u,i as r,y as m,o as f,an as p,l as _,k as y,r as x,F as g,m as b}from"./index-2790e0d4.js";import{_ as j}from"./s-layout.cf83aa15.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.61970cb9.js";const v=h({__name:"log-item",props:{item:{type:Object,default(){}},index:{type:Number,default:0},data:{type:Object,default(){}}},setup:m=>(f,p)=>{const _=u,y=r;return t(),a(y,{class:"log-item ss-flex"},{default:e((()=>[s(y,{class:"log-icon ss-flex-col ss-col-center ss-m-r-20"},{default:e((()=>[s(_,{class:l(["cicon-title",0===m.index?"activity-color":""])},null,8,["class"]),m.data.length-1!==m.index?(t(),a(y,{key:0,class:"line"})):i("",!0)])),_:1}),s(y,null,{default:e((()=>[s(y,{class:"text"},{default:e((()=>[o(n(m.item.content),1)])),_:1}),s(y,{class:"date"},{default:e((()=>[o(n(d(c).$helper.timeFormat(m.item.createTime,"yyyy-mm-dd hh:MM:ss")),1)])),_:1})])),_:1})])),_:1})}},[["__scopeId","data-v-bbeb067c"]]),k=h({__name:"log",setup(l){const i=m({list:[]});return f((t=>{i.aftersaleId=t.id,async function(t){const{data:a}=await p.getAfterSaleLogList(t);i.list=a}(t.id)})),(l,o)=>{const n=r,d=_(b("s-layout"),j);return t(),a(d,{title:"售后进度"},{default:e((()=>[s(n,{class:"log-box"},{default:e((()=>[(t(!0),y(g,null,x(i.list,((l,o)=>(t(),a(n,{key:l.id},{default:e((()=>[s(v,{item:l,index:o,data:i.list},null,8,["item","index","data"])])),_:2},1024)))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-b61de3f9"]]);export{k as default};

+ 1 - 0
unpackage/dist/build/web/assets/pages-order-aftersale-log.e14a2338.js

@@ -0,0 +1 @@
+import{e as t,f as s,w as a,j as e,D as l,g as i,t as o,u as n,v as d,s as c,H as u,i as r,y as m,o as f,an as p,l as _,k as y,r as x,F as g,m as b}from"./index-26c30b20.js";import{_ as j}from"./s-layout.b50a37d7.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.9d2a0042.js";import"./useGoods.8f30843f.js";const v=h({__name:"log-item",props:{item:{type:Object,default(){}},index:{type:Number,default:0},data:{type:Object,default(){}}},setup:m=>(f,p)=>{const _=u,y=r;return t(),s(y,{class:"log-item ss-flex"},{default:a((()=>[e(y,{class:"log-icon ss-flex-col ss-col-center ss-m-r-20"},{default:a((()=>[e(_,{class:l(["cicon-title",0===m.index?"activity-color":""])},null,8,["class"]),m.data.length-1!==m.index?(t(),s(y,{key:0,class:"line"})):i("",!0)])),_:1}),e(y,null,{default:a((()=>[e(y,{class:"text"},{default:a((()=>[o(n(m.item.content),1)])),_:1}),e(y,{class:"date"},{default:a((()=>[o(n(d(c).$helper.timeFormat(m.item.createTime,"yyyy-mm-dd hh:MM:ss")),1)])),_:1})])),_:1})])),_:1})}},[["__scopeId","data-v-bbeb067c"]]),k=h({__name:"log",setup(l){const i=m({list:[]});return f((t=>{i.aftersaleId=t.id,async function(t){const{data:s}=await p.getAfterSaleLogList(t);i.list=s}(t.id)})),(l,o)=>{const n=r,d=_(b("s-layout"),j);return t(),s(d,{title:"售后进度"},{default:a((()=>[e(n,{class:"log-box"},{default:a((()=>[(t(!0),y(g,null,x(i.list,((l,o)=>(t(),s(n,{key:l.id},{default:a((()=>[e(v,{item:l,index:o,data:i.list},null,8,["item","index","data"])])),_:2},1024)))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-b61de3f9"]]);export{k as default};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-aftersale-return-delivery.5bd46a02.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-aftersale-return-delivery.ec2b0d9a.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-confirm.321d4aa5.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-confirm.8b8ac5a2.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-detail.51ad9dbe.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-detail.fa7b8474.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-express-log.b44be229.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-express-log.ead7518c.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-list.7b89f5a2.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-list.7cd5a80c.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-otherlist.c401b5cb.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-otherlist.fd7a5679.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-pay-index.12db715f.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-pay-index.33ce62e9.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-pay-recharge-log.21f8bc99.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-pay-recharge-log.b0cdf9be.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-pay-recharge.6b86a5bc.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-pay-recharge.818fe27d.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-pay-result.6cfe6563.js


Some files were not shown because too many files changed in this diff