Browse Source

test:调试引导关注公众号

RuHu.Xu 5 months ago
parent
commit
e06eb1259f
100 changed files with 277 additions and 19 deletions
  1. 11 1
      sheep/api/member/user.js
  2. 174 0
      sheep/components/s-follow-modal/s-follow-modal.vue
  3. 2 0
      sheep/components/s-layout/s-layout.vue
  4. 2 0
      sheep/components/s-share-modal/canvas-poster/useCanvas.js
  5. 16 1
      sheep/hooks/useModal.js
  6. 4 1
      sheep/platform/pay.js
  7. 7 1
      sheep/platform/provider/wechat/officialAccount.js
  8. 1 0
      sheep/store/modal.js
  9. 53 8
      sheep/store/user.js
  10. 0 1
      unpackage/dist/build/web/assets/comment-item.43b4512e.js
  11. 1 0
      unpackage/dist/build/web/assets/comment-item.be0fdd02.js
  12. 1 1
      unpackage/dist/build/web/assets/const.27392806.js
  13. 0 0
      unpackage/dist/build/web/assets/detail-content-card.867bc665.js
  14. 0 0
      unpackage/dist/build/web/assets/detail-content-card.92a9ad3f.js
  15. 0 0
      unpackage/dist/build/web/assets/index-b5ac83b1.js
  16. 0 0
      unpackage/dist/build/web/assets/md5.f628a52e.js
  17. 0 0
      unpackage/dist/build/web/assets/mp-html.d6a0a38e.js
  18. 0 0
      unpackage/dist/build/web/assets/pages-activity-bargain-detail.25061e4f.js
  19. 0 0
      unpackage/dist/build/web/assets/pages-activity-bargain-detail.375f3f0e.js
  20. 0 0
      unpackage/dist/build/web/assets/pages-activity-bargain-list.6a2c61ab.js
  21. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-detail.23942a41.js
  22. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-detail.a972af56.js
  23. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-list.0fc882a2.js
  24. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-list.2ea71bec.js
  25. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-order.18fe98f0.js
  26. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-order.897c2f68.js
  27. 0 0
      unpackage/dist/build/web/assets/pages-activity-index.214c97ac.js
  28. 0 0
      unpackage/dist/build/web/assets/pages-activity-index.d429fedb.js
  29. 0 0
      unpackage/dist/build/web/assets/pages-activity-seckill-list.ef937b38.js
  30. 0 0
      unpackage/dist/build/web/assets/pages-app-sign.277377bb.js
  31. 0 0
      unpackage/dist/build/web/assets/pages-app-sign.c0c2ea2e.js
  32. 0 0
      unpackage/dist/build/web/assets/pages-chat-index.499d13f6.js
  33. 0 0
      unpackage/dist/build/web/assets/pages-chat-speechtotext.77c0fc4d.js
  34. 0 0
      unpackage/dist/build/web/assets/pages-chat-speechtotext.8e14fe1d.js
  35. 0 0
      unpackage/dist/build/web/assets/pages-commission-commission-ranking.4796b409.js
  36. 0 0
      unpackage/dist/build/web/assets/pages-commission-commission-ranking.a24167bd.js
  37. 0 0
      unpackage/dist/build/web/assets/pages-commission-goods.44e55507.js
  38. 0 0
      unpackage/dist/build/web/assets/pages-commission-index.3f5440e1.js
  39. 0 0
      unpackage/dist/build/web/assets/pages-commission-index.b94ca226.js
  40. 0 0
      unpackage/dist/build/web/assets/pages-commission-order.2c5d6aad.js
  41. 0 0
      unpackage/dist/build/web/assets/pages-commission-order.d5d82c51.js
  42. 0 0
      unpackage/dist/build/web/assets/pages-commission-promoter.2f522e4a.js
  43. 0 0
      unpackage/dist/build/web/assets/pages-commission-team.b30fbee8.js
  44. 0 0
      unpackage/dist/build/web/assets/pages-commission-wallet.20f4e61d.js
  45. 0 0
      unpackage/dist/build/web/assets/pages-commission-wallet.877f140e.js
  46. 0 0
      unpackage/dist/build/web/assets/pages-commission-withdraw.4a5fba2e.js
  47. 0 0
      unpackage/dist/build/web/assets/pages-commission-withdraw.923f42df.js
  48. 0 0
      unpackage/dist/build/web/assets/pages-coupon-detail.ba3f0a70.js
  49. 0 0
      unpackage/dist/build/web/assets/pages-coupon-detail.c74787db.js
  50. 0 0
      unpackage/dist/build/web/assets/pages-coupon-list.4743047d.js
  51. 0 0
      unpackage/dist/build/web/assets/pages-coupon-list.70667ff8.js
  52. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-add.62ad427f.js
  53. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-add.ba387ee0.js
  54. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-list.1760758c.js
  55. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-list.cd7c3940.js
  56. 0 0
      unpackage/dist/build/web/assets/pages-goods-groupon.0f4b43a6.js
  57. 0 0
      unpackage/dist/build/web/assets/pages-goods-groupon.8cba07e2.js
  58. 0 0
      unpackage/dist/build/web/assets/pages-goods-index.0f4eeeec.js
  59. 0 0
      unpackage/dist/build/web/assets/pages-goods-index.344c3b50.js
  60. 0 0
      unpackage/dist/build/web/assets/pages-goods-list.2e2cdac5.js
  61. 0 0
      unpackage/dist/build/web/assets/pages-goods-list.d0d220b3.js
  62. 0 0
      unpackage/dist/build/web/assets/pages-goods-seckill.05308e91.js
  63. 0 0
      unpackage/dist/build/web/assets/pages-goods-seckill.9fce3f28.js
  64. 0 0
      unpackage/dist/build/web/assets/pages-index-cart.740d1f63.js
  65. 0 0
      unpackage/dist/build/web/assets/pages-index-cart.d33b5fc5.js
  66. 0 0
      unpackage/dist/build/web/assets/pages-index-category.7a11569c.js
  67. 0 0
      unpackage/dist/build/web/assets/pages-index-index.3c904ad9.js
  68. 0 0
      unpackage/dist/build/web/assets/pages-index-index.6e8112fe.js
  69. 0 0
      unpackage/dist/build/web/assets/pages-index-login.04d3acd2.js
  70. 0 1
      unpackage/dist/build/web/assets/pages-index-page.46151a38.js
  71. 1 0
      unpackage/dist/build/web/assets/pages-index-page.a4ea9476.js
  72. 1 0
      unpackage/dist/build/web/assets/pages-index-search.2f0614b8.js
  73. 0 1
      unpackage/dist/build/web/assets/pages-index-search.f0c1cf5f.js
  74. 1 1
      unpackage/dist/build/web/assets/pages-index-user.6f645e32.js
  75. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-apply.3fc45191.js
  76. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-detail.9e661a88.js
  77. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-detail.f29b69c2.js
  78. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-list.5d6ebfbd.js
  79. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-list.9c2b93c7.js
  80. 1 0
      unpackage/dist/build/web/assets/pages-order-aftersale-log.72fa795e.js
  81. 0 1
      unpackage/dist/build/web/assets/pages-order-aftersale-log.ab528f3d.js
  82. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-return-delivery.2c52205a.js
  83. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-return-delivery.c7df8e5f.js
  84. 0 0
      unpackage/dist/build/web/assets/pages-order-confirm.683fa9eb.js
  85. 0 0
      unpackage/dist/build/web/assets/pages-order-detail.34acf0ef.js
  86. 0 0
      unpackage/dist/build/web/assets/pages-order-detail.61d30290.js
  87. 0 0
      unpackage/dist/build/web/assets/pages-order-express-log.0756ba96.js
  88. 0 0
      unpackage/dist/build/web/assets/pages-order-express-log.2c2f0169.js
  89. 0 0
      unpackage/dist/build/web/assets/pages-order-list.86cb1840.js
  90. 0 0
      unpackage/dist/build/web/assets/pages-order-otherlist.1bf69278.js
  91. 0 0
      unpackage/dist/build/web/assets/pages-order-otherlist.c3fa695d.js
  92. 0 0
      unpackage/dist/build/web/assets/pages-pay-index.2c9331e2.js
  93. 0 0
      unpackage/dist/build/web/assets/pages-pay-index.8a404636.js
  94. 0 0
      unpackage/dist/build/web/assets/pages-pay-recharge-log.7e40765b.js
  95. 0 0
      unpackage/dist/build/web/assets/pages-pay-recharge.6d9fc5dd.js
  96. 0 0
      unpackage/dist/build/web/assets/pages-pay-recharge.ac6442d4.js
  97. 0 0
      unpackage/dist/build/web/assets/pages-pay-result.1817f267.js
  98. 0 0
      unpackage/dist/build/web/assets/pages-pay-result.f630e33c.js
  99. 0 0
      unpackage/dist/build/web/assets/pages-pay-resultYuan.c2c0e456.js
  100. 1 1
      unpackage/dist/build/web/assets/pages-public-error.c67d43bd.js

+ 11 - 1
sheep/api/member/user.js

@@ -104,7 +104,17 @@ const UserApi = {
       }
     });
   },
-
+	// 更新安卓用户的极光id
+	updateAndroidJiGuangId: (registerId) => {
+	  return request({
+	    url: '/member/user/addRegisterId?registerId='+registerId,
+	    method: 'PUT',
+	   
+	    custom: {
+	      showSuccess: false,
+	    }
+	  });
+	},
 };
 
 export default UserApi;

+ 174 - 0
sheep/components/s-follow-modal/s-follow-modal.vue

@@ -0,0 +1,174 @@
+<template>
+	<!-- 关注 -->
+
+	<su-popup :show="show" @close="colseWalletModal" round="10">
+		<view class="login-wrap">
+			<view class="head-box">
+				<view class=" ss-m-b-20">
+					<view class="head-title ss-m-r-40 head-title-animation">
+						关注公众号
+					</view>
+					<view class="ss-flex ss-row-center">
+						<canvas class="hideCanvas" canvas-id="myCanvas" style="width: 300px; height: 300px;"></canvas>
+
+						<image :src="imagePath" mode="widthFix" />
+					</view>
+				</view>
+			</view>
+
+		</view>
+	</su-popup>
+</template>
+
+<script setup>
+	import {
+		computed,
+
+		ref,
+
+	} from 'vue';
+	import sheep from '@/sheep';
+
+	import {
+		showWalletModal,
+		colseWalletModal
+	} from '@/sheep/hooks/useModal';
+	const show = computed(() => sheep.$store('modal').subscribe);
+	import QSCanvas from 'qs-canvas';
+	// 创建一个响应式的图像路径变量
+	const imagePath = ref('');
+	// 绘制二维码的函数
+	async function drawQrCode(url) {
+		console.log(url)
+		const qsc = new QSCanvas({
+			canvasId: 'myCanvas',
+			width: 300,
+			height: 300,
+			setCanvasWH: (canvas) => {
+				// 动态设置画布宽高
+			},
+		});
+
+		await qsc.drawQrCode({
+			val: url, // 二维码内容
+			x: 25,
+			y: 15,
+			size: 250, // 二维码大小
+			background: '#ffffff', // 背景色
+			foreground: '#000000', // 前景色
+			pdground: '#000000', // 定位角点颜色
+			correctLevel: 3, // 容错级别
+
+		});
+		 // 计算二维码底部中心位置
+		  const qrY = 15;
+		  const qrHeight = 250;
+		  const textX = 300 / 2; // 文字的x位置,水平居中
+		  const textY = qrY + qrHeight + 15; // 文字的y位置,在二维码下方留出20px的空间
+		
+		  // 绘制文字
+		    await qsc.drawText({
+		      val: '长按二维码关注公众号', // 文字内容
+		      x: textX,
+		      y: textY,
+		      maxWidth: 250, // 文字的最大宽度,确保文字不会超出画布
+		      
+		      paintbrushProps: {
+		        fillStyle: '#333', // 文字颜色
+				textAlign: 'center', // 文字水平居中
+		        textBaseline: 'middle', // 文字垂直居中
+		        font: { // 字体属性以对象格式传递
+				
+				
+		          fontStyle: 'normal', // 字体样式
+		          fontVariant: 'normal', // 字体变体
+		          fontWeight: 'normal', // 字体粗细
+		          fontSize: 14, // 字体大小
+		          fontFamily: 'sans-serif' // 字体系列
+		        },
+		      },
+		    });
+		
+		
+		await qsc.draw();
+
+		// 确保使用 await 获取到图片路径
+
+		const imagePathData = await qsc.toImage();
+		if (imagePathData) {
+			imagePath.value = imagePathData;
+		}
+	}
+	const BASE_URL = import.meta.env.SHOPRO_DEV_BASE_URL;
+	if (BASE_URL.includes('letcgo.com')) {
+		// 如果是常来此购的网址接口 就用常来此购的二维码
+		drawQrCode('https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzkwNDY4NjUxMg==&scene=110#wechat_redirect');
+	} else {
+		// 如果不是常来此购的网址接口 就用非繁科技的二维码
+		drawQrCode('https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzkzNDEwNDU4OQ==&scene=124#wechat_redirect');
+	}
+</script>
+
+<style lang="scss" scoped>
+	.hideCanvas {
+		position: fixed;
+		top: -99999rpx;
+		left: -99999rpx;
+		z-index: -99999;
+	}
+
+	.login-wrap {
+		padding: 50rpx 34rpx;
+		min-height: 500rpx;
+		background-color: #fff;
+		border-radius: 20rpx 20rpx 0 0;
+	}
+
+	.head-box {
+		.head-title {
+			min-width: 160rpx;
+			font-size: 36rpx;
+			font-weight: bold;
+			color: #333333;
+			line-height: 36rpx;
+		}
+
+		.head-title-active {
+			width: 160rpx;
+			font-size: 32rpx;
+			font-weight: 600;
+			color: #999;
+			line-height: 36rpx;
+		}
+
+		.head-title-animation {
+			animation-name: title-animation;
+			animation-duration: 0.1s;
+			animation-timing-function: ease-out;
+			animation-fill-mode: forwards;
+		}
+
+		.head-title-line {
+			position: relative;
+
+			&::before {
+				content: '';
+				width: 1rpx;
+				height: 34rpx;
+				background-color: #e4e7ed;
+				position: absolute;
+				left: -30rpx;
+				top: 50%;
+				transform: translateY(-50%);
+			}
+		}
+
+		.head-subtitle {
+			font-size: 26rpx;
+			font-weight: 400;
+			color: #afb6c0;
+			text-align: left;
+			display: flex;
+		}
+	}
+</style>

+ 2 - 0
sheep/components/s-layout/s-layout.vue

@@ -30,6 +30,8 @@
 			<s-wallet-modal />
 			<!-- 全局自动签到弹窗 -->
 			<s-signup-modal />
+			<!-- 全局关注公众号弹窗 -->
+			<s-follow-modal />
 			<!-- 全局授权弹窗 -->
 			<s-auth-modal />
 			<!-- 全局分享弹窗 -->

+ 2 - 0
sheep/components/s-share-modal/canvas-poster/useCanvas.js

@@ -108,7 +108,9 @@ export default async function useCanvas(options, vm) {
 	await qsc.draw();
 	// 延迟执行, 防止不稳定
 	setTimeout(async () => {
+		
 		options.src = await qsc.toImage();
+		debugger
 	}, 100);
 	return options;
 }

+ 16 - 1
sheep/hooks/useModal.js

@@ -99,7 +99,20 @@ export function colseWalletModal() {
 		state.getWallet = false;
 	});
 }
-
+// 打开关注公众号弹窗
+export function showSubscribeModal() {
+	const modal = $store('modal');
+	modal.$patch((state) => {
+		state.subscribe = true;
+	});
+}
+// 关闭关注公众号弹窗
+export function closeSubscribeModal() {
+	const modal = $store('modal');
+	modal.$patch((state) => {
+		state.subscribe = false;
+	});
+}
 // 打开授权弹框
 export function showAuthModal(type = 'accountLogin', isActive = 'accountLogin') {
 	const modal = $store('modal');
@@ -119,6 +132,8 @@ export function showAuthModal(type = 'accountLogin', isActive = 'accountLogin')
 	}
 }
 
+
+
 // 关闭授权弹框
 export function closeAuthModal() {
 	$store('modal').$patch((state) => {

+ 4 - 1
sheep/platform/pay.js

@@ -115,6 +115,7 @@ export default class SheepPay {
 
 	// 预支付
 	prepay(channel) {
+		
 		return new Promise(async (resolve, reject) => {
 			let data = {
 				id: this.id,
@@ -125,14 +126,16 @@ export default class SheepPay {
 			// 特殊逻辑:微信公众号、小程序支付时,必须传入 openid
 			if (['wx_pub', 'wx_lite'].includes(channel)) {
 				const openid = await sheep.$platform.useProvider('wechat').getOpenid(true);
-				// console.log(openid)
+				
 				// 如果获取不到 openid,微信无法发起支付,此时需要引导
 				if (!openid) {
 					this.bindWeixin();
 					return;
 				}
+				
 				data.channelExtras.openid = openid;
 			}
+			
 			// 发起预支付 API 调用
 			PayOrderApi.submitOrder(data).then((res) => {
 				// 成功时

+ 7 - 1
sheep/platform/provider/wechat/officialAccount.js

@@ -6,7 +6,8 @@ import AuthUtil from '@/sheep/api/member/auth';
 import SocialApi from '@/sheep/api/member/social';
 import {
 	closeAuthModal,
-	showAuthModal
+	showAuthModal,
+	showSubscribeModal
 } from '@/sheep/hooks/useModal';
 import sheep from '@/sheep';
 const socialType = 31; // 社交类型 - 微信公众号
@@ -34,6 +35,7 @@ async function login(code = '', state = '') {
 		if (loginResult.code === 0) {
 			// TODO 非繁人:shareLog
 			setOpenid(loginResult.data.openid);
+			
 			return loginResult;
 		}
 	}
@@ -82,6 +84,10 @@ async function bind(code = '', state = '') {
 		if (loginResult.code === 0) {
 			setOpenid(loginResult.data);
 			sheep.$helper.toast(`已绑定`);
+			const userInfo = await sheep.$store('user').getInfo();
+			if (!userInfo.subscribe) {
+				showSubscribeModal()
+			}
 			return loginResult;
 		}
 	}

+ 1 - 0
sheep/store/modal.js

@@ -11,6 +11,7 @@ const modal = defineStore({
     }, // 分享弹框信息
     signUp:false, // 签到弹框
     signUpInfo:{}, // 签到弹框信息
+	subscribe:true, // 关注弹框
 	getWallet:false, // 获得佣金/身价弹窗
 	getWalletInfo:{
 		points:0,

+ 53 - 8
sheep/store/user.js

@@ -1,7 +1,12 @@
 import {
 	defineStore
 } from 'pinia';
-// import userApi from '@/sheep/api/user';
+import {
+	computed,
+	ref,
+	watch,
+} from 'vue';
+import sheep from '@/sheep';
 import $share from '@/sheep/platform/share';
 import {
 	isEmpty,
@@ -12,6 +17,7 @@ import cart from './cart';
 import app from './app';
 import {
 	showAuthModal,
+	showSubscribeModal,
 	cancelAutoSign,
 	autoSign
 } from '@/sheep/hooks/useModal';
@@ -19,6 +25,9 @@ import UserApi from '@/sheep/api/member/user';
 import PayWalletApi from '@/sheep/api/pay/wallet';
 import OrderApi from '@/sheep/api/trade/order';
 import CouponApi from '@/sheep/api/promotion/coupon';
+import { isAndroid,getAndroidJiGuangId } from '@/sheep/hooks/useApp'
+const android = computed(() => isAndroid());
+const androidJiGuangId = computed(() => getAndroidJiGuangId());
 
 // 默认用户信息
 const defaultUserInfo = {
@@ -81,18 +90,18 @@ const user = defineStore({
 			if (code !== 0) {
 				return;
 			}
+			
 			// console.log("user.js data",data)
 			
 			this.userInfo = data;
-			// console.log("user.js this.userInfo",this.userInfo)
-			// console.log("获取到用户信息 开始自动签到")
-			autoSign();
+			
 			return Promise.resolve(data);
 		},
 
 
 		// 获得用户钱包
 		async getWallet() {
+			
 			const {
 				code,
 				data
@@ -100,6 +109,14 @@ const user = defineStore({
 			if (code !== 0) {
 				return;
 			}
+			
+			// 如果是安卓设备,判断是否注册极光推送
+			if(android.value){
+				// 如果后台没返回或者返回来的跟从webview中传来的不一致,拿最新的webview中的拿
+				if(!data.androidRegisterId || data.androidRegisterId !== androidJiGuangId.value){
+					await UserApi.updateAndroidJiGuangId(androidJiGuangId.value)
+				}
+			}
 			this.userWallet = data;
 			// 为什么要加1 因为这里返回来的人员不包括自身
 			this.userWallet.descNo = data.descNo + 1
@@ -119,7 +136,7 @@ const user = defineStore({
 				}
 			});
 		},
-
+		
 		// 添加分享记录
 		// TODO 非繁人:整理下;
 		async addShareLog(params) {
@@ -143,7 +160,9 @@ const user = defineStore({
 			}
 			return this.isLogin;
 		},
-
+		bindWechat() {
+			return sheep.$platform.useProvider('wechat').bind();
+		},
 		// 更新用户相关信息 (手动限流,5 秒之内不刷新)
 		async updateUserData() {
 			if (!this.isLogin) {
@@ -186,13 +205,39 @@ const user = defineStore({
 		// 登录后,加载各种信息
 		// TODO 非繁人:整理下;
 		async loginAfter() {
+			console.log("登录后,加载各种信息")
+			// 加载用户信息
 			await this.updateUserData();
-
+			
 			// 加载购物车
 			cart().getList();
 			// 登录后设置全局分享参数
 			$share.getShareInfo();
-
+			
+			// 自动签到
+			autoSign();
+			
+			// 用户未绑定公众号,则弹出绑定公众号的弹窗
+			const openid = await sheep.$platform.useProvider('wechat').getOpenid(true);
+			if (!openid) {
+				uni.showModal({
+					title: '常来此购',
+					content: '请先绑定微信',
+					confirmText: '绑定',
+					success: function(res) {
+						if (res.confirm) {
+							sheep.$platform.useProvider('wechat').bind();
+						 	 
+						}
+					},
+				});
+			}
+			
+			// 用户未关注,则弹出关注公众号的弹窗
+			if (!this.userInfo.subscribe) {
+				showSubscribeModal();
+			}
+			
 			// 提醒绑定手机号
 			// if (app().platform.bind_mobile && !this.userInfo.mobile) {
 			// 	showAuthModal('changeMobile');

+ 0 - 1
unpackage/dist/build/web/assets/comment-item.43b4512e.js

@@ -1 +0,0 @@
-import{n as s,p as e,f as l,g as a,w as t,l as r,k as c,t as i,m,F as n,r as u,i as o,y as p,j as d,D as f}from"./index-213db02a.js";import{_}from"./uni-rate.322c0539.js";import{_ as y}from"./su-image.371171c4.js";import{_ as v}from"./_plugin-vue_export-helper.1b428a4d.js";const x=v({__name:"comment-item",props:{item:{type:Object,default(){}}},setup:v=>(x,g)=>{const h=p,j=d,k=s(e("uni-rate"),_),w=s(e("su-image"),y),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:v.item.userAvatar},null,8,["src"])])),_:1}),r(j,{class:"nickname ss-m-r-20"},{default:t((()=>[c(i(v.item.userNickname),1)])),_:1}),r(j,{class:""},{default:t((()=>[r(k,{readonly:!0,modelValue:v.item.scores,"onUpdate:modelValue":g[0]||(g[0]=s=>v.item.scores=s),size:"18"},null,8,["modelValue"])])),_:1})])),_:1}),r(j,{class:"content"},{default:t((()=>[c(i(v.item.content),1)])),_:1}),(null==(s=v.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(n,null,u(v.item.picUrls,((s,e)=>(l(),a(j,{key:s,class:"ss-m-r-10"},{default:t((()=>[r(w,{class:"content-img",isPreview:"",previewList:v.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),v.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(v.item.replyContent),1)])),_:1})])),_:1})):o("",!0)]})),_:1})}},[["__scopeId","data-v-c011c544"]]);export{x as c};

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

@@ -0,0 +1 @@
+import{q as s,u as e,f as l,g as a,w as t,n as r,m as c,t as i,p as m,F as u,r as n,i as o,A as p,l as d,G as f}from"./index-b5ac83b1.js";import{_}from"./uni-rate.a1691a88.js";import{_ as y}from"./su-image.d05d14b6.js";import{_ as v}from"./_plugin-vue_export-helper.1b428a4d.js";const x=v({__name:"comment-item",props:{item:{type:Object,default(){}}},setup:v=>(x,g)=>{const h=p,j=d,k=s(e("uni-rate"),_),w=s(e("su-image"),y),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:v.item.userAvatar},null,8,["src"])])),_:1}),r(j,{class:"nickname ss-m-r-20"},{default:t((()=>[c(i(v.item.userNickname),1)])),_:1}),r(j,{class:""},{default:t((()=>[r(k,{readonly:!0,modelValue:v.item.scores,"onUpdate:modelValue":g[0]||(g[0]=s=>v.item.scores=s),size:"18"},null,8,["modelValue"])])),_:1})])),_:1}),r(j,{class:"content"},{default:t((()=>[c(i(v.item.content),1)])),_:1}),(null==(s=v.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(v.item.picUrls,((s,e)=>(l(),a(j,{key:s,class:"ss-m-r-10"},{default:t((()=>[r(w,{class:"content-img",isPreview:"",previewList:v.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),v.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(v.item.replyContent),1)])),_:1})])),_:1})):o("",!0)]})),_:1})}},[["__scopeId","data-v-c011c544"]]);export{x as c};

+ 1 - 1
unpackage/dist/build/web/assets/const.81fa354b.js → unpackage/dist/build/web/assets/const.27392806.js

@@ -1 +1 @@
-import{bh as e}from"./index-213db02a.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};
+import{bj as e}from"./index-b5ac83b1.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};

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


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


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


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/md5.f628a52e.js


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


+ 0 - 1
unpackage/dist/build/web/assets/pages-index-page.46151a38.js

@@ -1 +0,0 @@
-import{_ as t,a as e}from"./s-block.e0023d4d.js";import{z as s,o,Y as a,e as p,f as n,g as i,w as r,n as l,m,r as u,F as _,p as y,l as d}from"./index-213db02a.js";import{_ as g}from"./s-layout.e6256925.js";import"./phone-international-input.0fabf1d0.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.85083911.js";import"./uni-badge.42f41f3d.js";import"./su-image.371171c4.js";import"./su-swiper.3c63ec5e.js";import"./s-goods-column.9217c493.js";import"./points.c381a8e1.js";import"./useGoods.219157e3.js";/* empty css                                                                     */import"./uni-load-more.83f51b5c.js";/* empty css                                                                *//* empty css                                                                      */import"./const.81fa354b.js";import"./mp-html.b0b9dd7c.js";import"./pages-public-richtext.81f35cab.js";const c={__name:"page",setup(c){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),c=l(y("s-layout"),g);return n(),i(c,{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{c as default};

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

@@ -0,0 +1 @@
+import{_ as t,a as e}from"./s-block.d0965cd1.js";import{B as s,o,a0 as a,e as p,f as n,g as i,w as r,q as l,p as m,r as u,F as _,u as y,n as d}from"./index-b5ac83b1.js";import{_ as g}from"./s-layout.29a6cc90.js";import"./phone-international-input.d73f27e4.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.3759b904.js";import"./uni-badge.ac5d7cb4.js";import"./su-image.d05d14b6.js";import"./su-swiper.08ee2bd0.js";import"./s-goods-column.3b1a29a7.js";import"./points.c381a8e1.js";import"./useGoods.fb87faf8.js";/* empty css                                                                     */import"./uni-load-more.956a897e.js";/* empty css                                                                *//* empty css                                                                      */import"./const.27392806.js";import"./mp-html.d6a0a38e.js";import"./pages-public-richtext.d93f8523.js";const c={__name:"page",setup(c){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),c=l(y("s-layout"),g);return n(),i(c,{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{c as default};

+ 1 - 0
unpackage/dist/build/web/assets/pages-index-search.2f0614b8.js

@@ -0,0 +1 @@
+import{B as s,o as t,T as e,f as o,g as a,w as r,q as i,n as l,m as n,p as c,r as u,F as f,s as h,x as y,R as d,Z as p,u as _,l as m,L as x,t as L}from"./index-b5ac83b1.js";import{b as g,_ as b}from"./s-layout.29a6cc90.js";import{_ as w}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.d73f27e4.js";import"./useGoods.fb87faf8.js";const j=w({__name:"search",setup(w){const j=s({historyList:[]});function k(s){s&&(!function(s){j.historyList.includes(s)&&j.historyList.splice(j.historyList.indexOf(s),1);j.historyList.unshift(s),j.historyList.length>=10&&(j.historyList.length=10);y("searchHistory",j.historyList)}(s),h.$router.go("/pages/goods/list",{keyword:s}))}function C(){d({title:"提示",content:"确认清除搜索历史吗?",success:function(s){s.confirm&&(j.historyTag=[],p("searchHistory"))}})}return t((()=>{j.historyList=e("searchHistory")||[]})),(s,t)=>{const e=i(_("uni-search-bar"),g),h=m,y=x,d=i(_("s-layout"),b);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(j.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{j as default};

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

@@ -1 +0,0 @@
-import{z as s,o as t,Q as e,f as o,g as a,w as r,n as i,l,k as n,m as c,r as u,F as f,s as h,u as y,P as d,X as p,p as _,j as m,J as x,t as L}from"./index-213db02a.js";import{b as g,_ as b}from"./s-layout.e6256925.js";import{_ as j}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.0fabf1d0.js";import"./useGoods.219157e3.js";const k=j({__name:"search",setup(j){const k=s({historyList:[]});function w(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"),g),h=m,y=x,d=i(_("s-layout"),b);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=>w(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(k.historyList,((s,t)=>(o(),a(y,{class:"history-btn ss-reset-button",onClick:t=>w(s),key:t},{default:r((()=>[n(L(s),1)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-d3779116"]]);export{k as default};

+ 1 - 1
unpackage/dist/build/web/assets/pages-index-user.7c2df284.js → unpackage/dist/build/web/assets/pages-index-user.6f645e32.js

@@ -1 +1 @@
-import{h as s,c as e,q as t,s as a,b as o,d as r,e as p,o as i,u as l,v as u,f as n,g as m,w as _,n as d,m as y,r as c,F as j,p as g,l as v}from"./index-213db02a.js";import{_ as b,a as f}from"./s-block.e0023d4d.js";import{_ as x}from"./s-layout.e6256925.js";import"./phone-international-input.0fabf1d0.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.85083911.js";import"./uni-badge.42f41f3d.js";import"./su-image.371171c4.js";import"./su-swiper.3c63ec5e.js";import"./s-goods-column.9217c493.js";import"./points.c381a8e1.js";import"./useGoods.219157e3.js";/* empty css                                                                     */import"./uni-load-more.83f51b5c.js";/* empty css                                                                *//* empty css                                                                      */import"./const.81fa354b.js";import"./mp-html.b0b9dd7c.js";import"./pages-public-richtext.81f35cab.js";const k={__name:"user",setup(k){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||u("register","register"))})),(s,e)=>{var t;const a=d(g("s-block-item"),b),o=d(g("s-block"),f),r=d(g("s-layout"),x);return n(),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:_((()=>[(n(!0),y(j,null,c(h.value.components,((s,e)=>(n(),m(o,{key:e,styles:s.property.style},{default:_((()=>[v(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{k as default};
+import{h as s,c as e,v as t,s as a,b as o,d as r,e as p,o as i,x as l,y as u,f as n,g as m,w as _,q as d,p as y,r as c,F as j,u as g,n as v}from"./index-b5ac83b1.js";import{_ as b,a as f}from"./s-block.d0965cd1.js";import{_ as x}from"./s-layout.29a6cc90.js";import"./phone-international-input.d73f27e4.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.3759b904.js";import"./uni-badge.ac5d7cb4.js";import"./su-image.d05d14b6.js";import"./su-swiper.08ee2bd0.js";import"./s-goods-column.3b1a29a7.js";import"./points.c381a8e1.js";import"./useGoods.fb87faf8.js";/* empty css                                                                     */import"./uni-load-more.956a897e.js";/* empty css                                                                *//* empty css                                                                      */import"./const.27392806.js";import"./mp-html.d6a0a38e.js";import"./pages-public-richtext.d93f8523.js";const k={__name:"user",setup(k){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||u("register","register"))})),(s,e)=>{var t;const a=d(g("s-block-item"),b),o=d(g("s-block"),f),r=d(g("s-layout"),x);return n(),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:_((()=>[(n(!0),y(j,null,c(h.value.components,((s,e)=>(n(),m(o,{key:e,styles:s.property.style},{default:_((()=>[v(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{k as default};

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


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


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


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


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


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

@@ -0,0 +1 @@
+import{f as t,g as s,w as a,n as e,H as l,i,m as o,t as n,z as d,s as c,K as u,l as r,B as m,o as f,am as p,q as _,p as y,r as x,F as g,u as b}from"./index-b5ac83b1.js";import{_ as j}from"./s-layout.29a6cc90.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.d73f27e4.js";import"./useGoods.fb87faf8.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};

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

@@ -1 +0,0 @@
-import{f as t,g as s,w as a,l as e,E as l,i,k as o,t as n,x as d,s as c,I as r,j as u,z as m,o as f,ak as p,n as _,m as x,r as y,F as g,p as j}from"./index-213db02a.js";import{_ as b}from"./s-layout.e6256925.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.0fabf1d0.js";import"./useGoods.219157e3.js";const k=h({__name:"log-item",props:{item:{type:Object,default(){}},index:{type:Number,default:0},data:{type:Object,default(){}}},setup:m=>(f,p)=>{const _=r,x=u;return t(),s(x,{class:"log-item ss-flex"},{default:a((()=>[e(x,{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(x,{key:0,class:"line"})):i("",!0)])),_:1}),e(x,null,{default:a((()=>[e(x,{class:"text"},{default:a((()=>[o(n(m.item.content),1)])),_:1}),e(x,{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"]]),v=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=u,d=_(j("s-layout"),b);return t(),s(d,{title:"售后进度"},{default:a((()=>[e(n,{class:"log-box"},{default:a((()=>[(t(!0),x(g,null,y(i.list,((l,o)=>(t(),s(n,{key:l.id},{default:a((()=>[e(k,{item:l,index:o,data:i.list},null,8,["item","index","data"])])),_:2},1024)))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-b61de3f9"]]);export{v as default};

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


+ 1 - 1
unpackage/dist/build/web/assets/pages-public-error.22bd75e5.js → unpackage/dist/build/web/assets/pages-public-error.c67d43bd.js

@@ -1 +1 @@
-import{N as t,o as e,f as o,g as n,w as a,j as s,i as r,b6 as i,bT as c,n as p,p as l}from"./index-213db02a.js";import{_ as u}from"./s-empty.c35f32d6.js";import{_}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                */const m=_({__name:"error",setup(_){const m=t(""),x=t("");async function y(){i({url:"/pages/index/index"}),await c()}return e((t=>{m.value=t.errCode,x.value=t.errMsg})),(t,e)=>{const i=p(l("s-empty"),u),c=s;return o(),n(c,{class:"error-page"},{default:a((()=>["NetworkError"===m.value?(o(),n(i,{key:0,icon:"/static/internet-empty.png",text:"网络连接失败",showAction:"",actionText:"重新连接",onClickAction:y,buttonColor:"#132b85"})):"TemplateError"===m.value?(o(),n(i,{key:1,icon:"/static/internet-empty.png",text:"未找到模板",showAction:"",actionText:"重新加载",onClickAction:y,buttonColor:"#132b85"})):""!==m.value?(o(),n(i,{key:2,icon:"/static/internet-empty.png",text:x.value,showAction:"",actionText:"重新加载",onClickAction:y,buttonColor:"#132b85"},null,8,["text"])):r("",!0)])),_:1})}}},[["__scopeId","data-v-189d7116"]]);export{m as default};
+import{P as t,o as e,f as o,g as n,w as a,l as s,i as r,b8 as i,bV as c,q as l,u as p}from"./index-b5ac83b1.js";import{_ as u}from"./s-empty.fdfb5db9.js";import{_}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                */const m=_({__name:"error",setup(_){const m=t(""),x=t("");async function y(){i({url:"/pages/index/index"}),await c()}return e((t=>{m.value=t.errCode,x.value=t.errMsg})),(t,e)=>{const i=l(p("s-empty"),u),c=s;return o(),n(c,{class:"error-page"},{default:a((()=>["NetworkError"===m.value?(o(),n(i,{key:0,icon:"/static/internet-empty.png",text:"网络连接失败",showAction:"",actionText:"重新连接",onClickAction:y,buttonColor:"#132b85"})):"TemplateError"===m.value?(o(),n(i,{key:1,icon:"/static/internet-empty.png",text:"未找到模板",showAction:"",actionText:"重新加载",onClickAction:y,buttonColor:"#132b85"})):""!==m.value?(o(),n(i,{key:2,icon:"/static/internet-empty.png",text:x.value,showAction:"",actionText:"重新加载",onClickAction:y,buttonColor:"#132b85"},null,8,["text"])):r("",!0)])),_:1})}}},[["__scopeId","data-v-189d7116"]]);export{m as default};

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