Ver Fonte

调整自动签到4

xuruhua há 10 meses atrás
pai
commit
65b43be083
100 ficheiros alterados com 63 adições e 47 exclusões
  1. 5 3
      App.vue
  2. 7 5
      pages/app/sign.vue
  3. 3 2
      sheep/components/s-signup-modal/s-signup-modal.vue
  4. 9 6
      sheep/hooks/useModal.js
  5. 3 1
      sheep/request/index.js
  6. 14 8
      sheep/store/user.js
  7. 1 1
      unpackage/dist/build/web/assets/address.2d676262.js
  8. 1 1
      unpackage/dist/build/web/assets/afterSale.b7b4ccba.js
  9. 1 0
      unpackage/dist/build/web/assets/area.4e0ef4ec.js
  10. 0 1
      unpackage/dist/build/web/assets/area.d460e063.js
  11. 0 0
      unpackage/dist/build/web/assets/bargain.7d7eb267.js
  12. 1 1
      unpackage/dist/build/web/assets/brokerage.996414d3.js
  13. 1 1
      unpackage/dist/build/web/assets/category.1b3314de.js
  14. 1 1
      unpackage/dist/build/web/assets/combination.04a544a0.js
  15. 0 0
      unpackage/dist/build/web/assets/comment-item.3caa8f43.js
  16. 1 0
      unpackage/dist/build/web/assets/config.0f7c6efe.js
  17. 0 1
      unpackage/dist/build/web/assets/config.a12acbf8.js
  18. 1 1
      unpackage/dist/build/web/assets/const.7e6cc371.js
  19. 0 0
      unpackage/dist/build/web/assets/detail-content-card.4bbe3b14.js
  20. 1 1
      unpackage/dist/build/web/assets/favorite.66ee7b96.js
  21. 0 0
      unpackage/dist/build/web/assets/form.98413288.js
  22. 1 1
      unpackage/dist/build/web/assets/history.5a044ff0.js
  23. 0 0
      unpackage/dist/build/web/assets/index-5c6d16ee.js
  24. 0 0
      unpackage/dist/build/web/assets/mp-html.747e6865.js
  25. 0 0
      unpackage/dist/build/web/assets/pages-activity-bargain-detail.3c56bcb3.js
  26. 0 0
      unpackage/dist/build/web/assets/pages-activity-bargain-list.cb4ab6d3.js
  27. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-detail.2ac415dc.js
  28. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-list.93370cd2.js
  29. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-order.65b61eb4.js
  30. 0 0
      unpackage/dist/build/web/assets/pages-activity-index.9f1d737d.js
  31. 0 0
      unpackage/dist/build/web/assets/pages-activity-seckill-list.07ce4825.js
  32. 0 0
      unpackage/dist/build/web/assets/pages-app-sign.7ba3a90c.js
  33. 0 0
      unpackage/dist/build/web/assets/pages-app-sign.d68afb76.js
  34. 0 0
      unpackage/dist/build/web/assets/pages-chat-index.75969adf.js
  35. 0 0
      unpackage/dist/build/web/assets/pages-commission-commission-ranking.7c21443a.js
  36. 0 0
      unpackage/dist/build/web/assets/pages-commission-goods.46ade4f7.js
  37. 0 0
      unpackage/dist/build/web/assets/pages-commission-index.122ed40c.js
  38. 0 0
      unpackage/dist/build/web/assets/pages-commission-order.7e9bdd16.js
  39. 0 0
      unpackage/dist/build/web/assets/pages-commission-promoter.d4fd2c64.js
  40. 0 0
      unpackage/dist/build/web/assets/pages-commission-team.a5f6b058.js
  41. 0 0
      unpackage/dist/build/web/assets/pages-commission-wallet.708b434b.js
  42. 0 0
      unpackage/dist/build/web/assets/pages-commission-withdraw.06204b31.js
  43. 0 0
      unpackage/dist/build/web/assets/pages-coupon-detail.a3fb7e84.js
  44. 0 0
      unpackage/dist/build/web/assets/pages-coupon-list.d1b9e560.js
  45. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-add.35320ba0.js
  46. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-list.cf726913.js
  47. 0 0
      unpackage/dist/build/web/assets/pages-goods-groupon.ef06a76b.js
  48. 0 0
      unpackage/dist/build/web/assets/pages-goods-index.b19a248d.js
  49. 0 0
      unpackage/dist/build/web/assets/pages-goods-list.63b2e497.js
  50. 0 0
      unpackage/dist/build/web/assets/pages-goods-seckill.1345d3df.js
  51. 0 0
      unpackage/dist/build/web/assets/pages-index-cart.e7e03679.js
  52. 0 0
      unpackage/dist/build/web/assets/pages-index-category.be0af58e.js
  53. 1 1
      unpackage/dist/build/web/assets/pages-index-index.303c00c7.js
  54. 0 0
      unpackage/dist/build/web/assets/pages-index-login.ca4c1ec3.js
  55. 1 1
      unpackage/dist/build/web/assets/pages-index-page.00740e56.js
  56. 1 1
      unpackage/dist/build/web/assets/pages-index-search.c955a6b5.js
  57. 1 1
      unpackage/dist/build/web/assets/pages-index-user.c5c514cb.js
  58. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-apply.1cf90261.js
  59. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-detail.01c9f01b.js
  60. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-list.9ca05c6d.js
  61. 1 1
      unpackage/dist/build/web/assets/pages-order-aftersale-log.ca36de35.js
  62. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-return-delivery.20c8046d.js
  63. 0 0
      unpackage/dist/build/web/assets/pages-order-confirm.ba9819ee.js
  64. 0 0
      unpackage/dist/build/web/assets/pages-order-detail.61a3e5c5.js
  65. 0 0
      unpackage/dist/build/web/assets/pages-order-express-log.f24c8036.js
  66. 0 0
      unpackage/dist/build/web/assets/pages-order-list.2af64908.js
  67. 0 0
      unpackage/dist/build/web/assets/pages-order-otherlist.80ff8879.js
  68. 0 0
      unpackage/dist/build/web/assets/pages-pay-index.1f09bf3e.js
  69. 0 0
      unpackage/dist/build/web/assets/pages-pay-recharge-log.478dbef0.js
  70. 0 0
      unpackage/dist/build/web/assets/pages-pay-recharge.6af0fd0d.js
  71. 0 0
      unpackage/dist/build/web/assets/pages-pay-result.c6cb860c.js
  72. 1 1
      unpackage/dist/build/web/assets/pages-public-error.88b405e6.js
  73. 1 1
      unpackage/dist/build/web/assets/pages-public-faq.ea6099c4.js
  74. 0 0
      unpackage/dist/build/web/assets/pages-public-setting.ad847480.js
  75. 1 1
      unpackage/dist/build/web/assets/pages-public-webview.06cb6788.js
  76. 0 0
      unpackage/dist/build/web/assets/pages-shop-index.82270625.js
  77. 0 0
      unpackage/dist/build/web/assets/pages-user-address-edit.046bd6fc.js
  78. 0 0
      unpackage/dist/build/web/assets/pages-user-address-list.27acf325.js
  79. 0 0
      unpackage/dist/build/web/assets/pages-user-goods-collect.853c38e4.js
  80. 0 0
      unpackage/dist/build/web/assets/pages-user-goods-log.7359b8b9.js
  81. 0 0
      unpackage/dist/build/web/assets/pages-user-info.d7b87b13.js
  82. 0 0
      unpackage/dist/build/web/assets/pages-user-invoice-edit.814a2cf4.js
  83. 1 1
      unpackage/dist/build/web/assets/pages-user-invoice-list.39d6e30c.js
  84. 0 0
      unpackage/dist/build/web/assets/pages-user-qrcode-share.4a59233a.js
  85. 0 0
      unpackage/dist/build/web/assets/pages-user-setting.d6adac4b.js
  86. 0 0
      unpackage/dist/build/web/assets/pages-user-wallet-money.5e364c4d.js
  87. 0 0
      unpackage/dist/build/web/assets/pages-user-wallet-score.b3e70403.js
  88. 0 0
      unpackage/dist/build/web/assets/pages-user-wallet-scoreToMoney.696716b8.js
  89. 0 0
      unpackage/dist/build/web/assets/pages-user-wallet-team.e55e9b76.js
  90. 1 1
      unpackage/dist/build/web/assets/rewardActivity.cacc7b0e.js
  91. 1 1
      unpackage/dist/build/web/assets/richtext.cd0684a0.js
  92. 0 0
      unpackage/dist/build/web/assets/s-address-item.b6b06c87.js
  93. 0 0
      unpackage/dist/build/web/assets/s-block.c0aa9d03.js
  94. 0 0
      unpackage/dist/build/web/assets/s-coupon-list.bf1205f2.js
  95. 1 1
      unpackage/dist/build/web/assets/s-empty.4b880656.js
  96. 0 0
      unpackage/dist/build/web/assets/s-goods-column.cc6d11af.js
  97. 0 0
      unpackage/dist/build/web/assets/s-goods-item.1db0be16.js
  98. 0 0
      unpackage/dist/build/web/assets/s-layout-11418ffe.css
  99. 0 0
      unpackage/dist/build/web/assets/s-layout.b9ef53ff.js
  100. 0 0
      unpackage/dist/build/web/assets/s-layout.f5e64cd0.js

+ 5 - 3
App.vue

@@ -7,7 +7,8 @@ import { autoSign,cancelAutoSign,resetSignStatusIfNeeded } from './sheep/hooks/u
 
 
 onShow((options) => {
-  // 每天凌晨重置签到状态
+  
+  console.log("页面打开开始自动签到")
   autoSign()
   // #ifdef APP-PLUS
   // 获取urlSchemes参数
@@ -27,8 +28,9 @@ onShow((options) => {
   // #endif
 });
 onHide(()=>{
-  cancelAutoSign()
-})
+	console.log("页面隐藏了,取消自动签到");
+	cancelAutoSign()
+});
 
 onLaunch(() => {
   // 隐藏原生导航栏 使用自定义底部导航

+ 7 - 5
pages/app/sign.vue

@@ -97,13 +97,13 @@
 					<text class="cicon-check-round"></text>
 					<view class="score-title">恭喜签到成功</view>
 					<view class="model-title ss-flex ss-col-center ss-m-t-22 ss-m-b-30">
-						获得每日签到10点身价
+						获得每日签到{{state.signin.social}}点身价
 					</view> 
 				</view>
 				<view class="model-bg ss-flex-col ss-col-center ss-row-right">
 					<!-- <view class="title ss-m-b-64">签到成功</view> -->
 					<view class="ss-m-b-40">
-						<button class="ss-reset-button confirm-btn" >去领得更多福利</button>
+						<button class="ss-reset-button confirm-btn" @click="state.showModel = false">去领得更多福利</button>
 					</view>
 				</view>
 			</view>
@@ -194,8 +194,10 @@
 		} = await SignInApi.createSignInRecord();
 		if (code === 0) {
 			state.showModel = true;
-			state.signin = data;
-			// getData();
+			state.signin = data;
+			state.isSign = 1;
+			uni.setStorageSync('isSign', true);
+			onConfirm()
 		}
 	}
 
@@ -515,7 +517,7 @@
 
 		.model-bg {
 			width: 520rpx;
-			height: 344rpx;
+			height: 6.75rem;
 			background-size: 100% 100%;
 			background-image: v-bind(headerBg);
 			background-repeat: no-repeat;

+ 3 - 2
sheep/components/s-signup-modal/s-signup-modal.vue

@@ -14,7 +14,7 @@
 			</view>
 			<view class="model-bg ss-flex-col ss-col-center ss-row-right">
 				<view class="ss-m-b-40">
-					<button class="ss-reset-button confirm-btn">去领得更多福利</button>
+					<button class="ss-reset-button confirm-btn" @tap="colseSignUpModal();sheep.$router.go('/pages/app/sign')">去领得更多福利</button>
 				</view>
 			</view>
 		</view>
@@ -32,7 +32,8 @@
 	import {
 		colseSignUpModal,
 		showSignUpModal
-	} from '@/sheep/hooks/useModal';
+	} from '@/sheep/hooks/useModal';
+	const headerBg = sheep.$url.css('/static/images/sign.png');
 	const show = computed(() => sheep.$store('modal').signUp);
 	const state = computed(() => sheep.$store('modal').signUpInfo)
 </script>

+ 9 - 6
sheep/hooks/useModal.js

@@ -21,7 +21,6 @@ async function onSign() {
 	if (code === 0) {
 		showSignUpModal(data)
 	}
-
 	if (timer) {
 		clearInterval(timer);
 	}
@@ -42,17 +41,21 @@ export function resetSignStatusIfNeeded() {
 export function autoSign() {
 	resetSignStatusIfNeeded();
 	const isLogin = computed(() => sheep.$store('user').isLogin);
-	// 如果登录了才开始倒计时
 	if (isLogin.value) {
-		// 倒计时是否在进行
+		// 倒计时是否在进行
+		console.log("autoSign执行了")
 		uni.setStorageSync('isRun', true);
 		if (uni.getStorageSync('isRun') && !uni.getStorageSync('isSign')) {
 			console.log('开始倒计时')
 			// 开始一个新的定时器
 			timer = setInterval(() => {
 				time--;
-				console.log("time", time);
-				if (time <= 0) {
+				console.log("time", time);
+				if (uni.getStorageSync('isSign')){
+					console.log('已经签到了 不可以在签到')
+					cancelAutoSign()
+				}
+				if (time <= 0 && !uni.getStorageSync('isSign')) {
 					clearInterval(timer);
 					onSign();
 				}
@@ -62,7 +65,7 @@ export function autoSign() {
 }
 // 取消自动签到
 export function cancelAutoSign() {
-	console.log("取消")
+	// console.log("autoSign取消")
 	if (timer) {
 		clearInterval(timer);
 	}

+ 3 - 1
sheep/request/index.js

@@ -122,14 +122,15 @@ http.interceptors.response.use(
 
 		// 自定义处理【error 错误提示】:如果需要显示错误提示,则显示错误提示
 		if (response.data.code !== 0) {
-			cancelAutoSign()
 			// 特殊:如果 401 错误码,则跳转到登录页 or 刷新令牌
 			if (response.data.code === 401) {
+				cancelAutoSign()
 				return refreshToken(response.config);
 			}
 
 			// 错误提示
 			if (response.config.custom.showError) {
+				cancelAutoSign()
 				uni.showToast({
 					title: response.data.msg || '服务器开小差啦,请稍后再试~',
 					icon: 'none',
@@ -152,6 +153,7 @@ http.interceptors.response.use(
 		return Promise.resolve(response.data);
 	},
 	(error) => {
+		console.log("服务器开小差")
 		cancelAutoSign()
 		const userStore = $store('user');
 		const isLogin = userStore.isLogin;

+ 14 - 8
sheep/store/user.js

@@ -39,7 +39,8 @@ const defaultUserWallet = {
 		currentQuota: 0, // 当前积分
 		highQuota: 0, //最高积分
 		freezeQuota: 0 //冻结积分
-	},
+	},
+	
 	descNo: 0, //用户直推人人数
 	descPrice: 0, //团队昨日贡献值
 	descTotalPrice: 0, // 团队历史总贡献值
@@ -78,7 +79,9 @@ const user = defineStore({
 			if (code !== 0) {
 				return;
 			}
-			this.userInfo = data;
+			this.userInfo = data;
+			console.log("获取到用户信息 开始自动签到")
+			autoSign();
 			return Promise.resolve(data);
 		},
 
@@ -93,8 +96,9 @@ const user = defineStore({
 				return;
 			}
 			this.userWallet = data;
-			// 为什么要加2 因为这里返回来的人员不包括自身
-			this.userWallet.descNo = data.descNo + 1
+			// 为什么要加1 因为这里返回来的人员不包括自身
+			this.userWallet.descNo = data.descNo + 1
+			uni.setStorageSync('isSign', data.isSign);
 		},
 
 		// 获取订单、优惠券等其他资产信息
@@ -153,7 +157,6 @@ const user = defineStore({
 
 			this.getWallet();
 			this.getNumData();
-			autoSign();
 			return this.userInfo;
 
 		},
@@ -167,9 +170,12 @@ const user = defineStore({
 			this.userWallet = clone(defaultUserWallet);
 			this.numData = cloneDeep(defaultNumData);
 			// 清空购物车的缓存
-			cart().emptyList();
-			// 清空linkId
-			cancelAutoSign()
+			cart().emptyList();
+			console.log("重制用户数据 取消自动签到")
+			// 取消自动签到
+			cancelAutoSign()
+			// 删掉缓存中的isSign
+			uni.removeStorageSync('isSign');
 
 		},
 

+ 1 - 1
unpackage/dist/build/web/assets/address.6dbba02d.js → unpackage/dist/build/web/assets/address.2d676262.js

@@ -1 +1 @@
-import{Z as e}from"./index-5fd8586b.js";const s={getAddressList:()=>e({url:"/member/address/list",method:"GET"}),createAddress:s=>e({url:"/member/address/create",method:"POST",data:s,custom:{showSuccess:!0,successMsg:"保存成功"}}),updateAddress:s=>e({url:"/member/address/update",method:"PUT",data:s,custom:{showSuccess:!0,successMsg:"更新成功"}}),getAddress:s=>e({url:"/member/address/get",method:"GET",params:{id:s}}),deleteAddress:s=>e({url:"/member/address/delete",method:"DELETE",params:{id:s}})};export{s as A};
+import{Z as e}from"./index-5c6d16ee.js";const s={getAddressList:()=>e({url:"/member/address/list",method:"GET"}),createAddress:s=>e({url:"/member/address/create",method:"POST",data:s,custom:{showSuccess:!0,successMsg:"保存成功"}}),updateAddress:s=>e({url:"/member/address/update",method:"PUT",data:s,custom:{showSuccess:!0,successMsg:"更新成功"}}),getAddress:s=>e({url:"/member/address/get",method:"GET",params:{id:s}}),deleteAddress:s=>e({url:"/member/address/delete",method:"DELETE",params:{id:s}})};export{s as A};

+ 1 - 1
unpackage/dist/build/web/assets/afterSale.4c7c50c4.js → unpackage/dist/build/web/assets/afterSale.b7b4ccba.js

@@ -1 +1 @@
-import{Z as e}from"./index-5fd8586b.js";const a={getAfterSalePage:a=>e({url:"/trade/after-sale/page",method:"GET",params:a,custom:{showLoading:!1}}),createAfterSale:a=>e({url:"/trade/after-sale/create",method:"POST",data:a}),getAfterSale:a=>e({url:"/trade/after-sale/get",method:"GET",params:{id:a}}),cancelAfterSale:a=>e({url:"/trade/after-sale/cancel",method:"DELETE",params:{id:a}}),getAfterSaleLogList:a=>e({url:"/trade/after-sale-log/list",method:"GET",params:{afterSaleId:a}}),deliveryAfterSale:a=>e({url:"/trade/after-sale/delivery",method:"PUT",data:a})};export{a as A};
+import{Z as e}from"./index-5c6d16ee.js";const a={getAfterSalePage:a=>e({url:"/trade/after-sale/page",method:"GET",params:a,custom:{showLoading:!1}}),createAfterSale:a=>e({url:"/trade/after-sale/create",method:"POST",data:a}),getAfterSale:a=>e({url:"/trade/after-sale/get",method:"GET",params:{id:a}}),cancelAfterSale:a=>e({url:"/trade/after-sale/cancel",method:"DELETE",params:{id:a}}),getAfterSaleLogList:a=>e({url:"/trade/after-sale-log/list",method:"GET",params:{afterSaleId:a}}),deliveryAfterSale:a=>e({url:"/trade/after-sale/delivery",method:"PUT",data:a})};export{a as A};

+ 1 - 0
unpackage/dist/build/web/assets/area.4e0ef4ec.js

@@ -0,0 +1 @@
+import{Z as e}from"./index-5c6d16ee.js";const r={getAreaTree:()=>e({url:"/system/area/tree",method:"GET"})};export{r as A};

+ 0 - 1
unpackage/dist/build/web/assets/area.d460e063.js

@@ -1 +0,0 @@
-import{Z as e}from"./index-5fd8586b.js";const r={getAreaTree:()=>e({url:"/system/area/tree",method:"GET"})};export{r as A};

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/bargain.7d7eb267.js


+ 1 - 1
unpackage/dist/build/web/assets/brokerage.c3389be1.js → unpackage/dist/build/web/assets/brokerage.996414d3.js

@@ -1 +1 @@
-import{Z as e}from"./index-5fd8586b.js";const r={getBrokerageUser:()=>e({url:"/trade/brokerage-user/get",method:"GET"}),getBrokerageUserSummary:()=>e({url:"/trade/brokerage-user/get-summary",method:"GET"}),getBrokerageRecordPage:r=>{void 0===r.status&&delete r.status;const t=Object.keys(r).map((e=>encodeURIComponent(e)+"="+r[e])).join("&");return e({url:`/trade/brokerage-record/page?${t}`,method:"GET"})},createBrokerageWithdraw:r=>e({url:"/trade/brokerage-withdraw/create",method:"POST",data:r}),getProductBrokeragePrice:r=>e({url:"/trade/brokerage-record/get-product-brokerage-price",method:"GET",params:{spuId:r}}),getRankByPrice:r=>{const t=`times=${r.times[0]}&times=${r.times[1]}`;return e({url:`/trade/brokerage-user/get-rank-by-price?${t}`,method:"GET"})},getBrokerageUserChildSummaryPageByPrice:r=>{const t=Object.keys(r).map((e=>encodeURIComponent(e)+"="+r[e])).join("&");return e({url:`/trade/brokerage-user/rank-page-by-price?${t}`,method:"GET"})},getBrokerageUserRankPageByUserCount:r=>{const t=Object.keys(r).map((e=>encodeURIComponent(e)+"="+r[e])).join("&");return e({url:`/trade/brokerage-user/rank-page-by-user-count?${t}`,method:"GET"})},getBrokerageUserChildSummaryPage:r=>e({url:"/trade/brokerage-user/child-summary-page",method:"GET",params:r})};export{r as B};
+import{Z as e}from"./index-5c6d16ee.js";const r={getBrokerageUser:()=>e({url:"/trade/brokerage-user/get",method:"GET"}),getBrokerageUserSummary:()=>e({url:"/trade/brokerage-user/get-summary",method:"GET"}),getBrokerageRecordPage:r=>{void 0===r.status&&delete r.status;const t=Object.keys(r).map((e=>encodeURIComponent(e)+"="+r[e])).join("&");return e({url:`/trade/brokerage-record/page?${t}`,method:"GET"})},createBrokerageWithdraw:r=>e({url:"/trade/brokerage-withdraw/create",method:"POST",data:r}),getProductBrokeragePrice:r=>e({url:"/trade/brokerage-record/get-product-brokerage-price",method:"GET",params:{spuId:r}}),getRankByPrice:r=>{const t=`times=${r.times[0]}&times=${r.times[1]}`;return e({url:`/trade/brokerage-user/get-rank-by-price?${t}`,method:"GET"})},getBrokerageUserChildSummaryPageByPrice:r=>{const t=Object.keys(r).map((e=>encodeURIComponent(e)+"="+r[e])).join("&");return e({url:`/trade/brokerage-user/rank-page-by-price?${t}`,method:"GET"})},getBrokerageUserRankPageByUserCount:r=>{const t=Object.keys(r).map((e=>encodeURIComponent(e)+"="+r[e])).join("&");return e({url:`/trade/brokerage-user/rank-page-by-user-count?${t}`,method:"GET"})},getBrokerageUserChildSummaryPage:r=>e({url:"/trade/brokerage-user/child-summary-page",method:"GET",params:r})};export{r as B};

+ 1 - 1
unpackage/dist/build/web/assets/category.7d42611f.js → unpackage/dist/build/web/assets/category.1b3314de.js

@@ -1 +1 @@
-import{Z as t}from"./index-5fd8586b.js";const o={getCategoryList:()=>t({url:"/product/category/list",method:"GET"}),getCategoryListByIds:o=>t({url:"/product/category/list-by-ids",method:"GET",params:{ids:o}})};export{o as C};
+import{Z as t}from"./index-5c6d16ee.js";const o={getCategoryList:()=>t({url:"/product/category/list",method:"GET"}),getCategoryListByIds:o=>t({url:"/product/category/list-by-ids",method:"GET",params:{ids:o}})};export{o as C};

+ 1 - 1
unpackage/dist/build/web/assets/combination.c8bab9b1.js → unpackage/dist/build/web/assets/combination.04a544a0.js

@@ -1 +1 @@
-import{Z as o}from"./index-5fd8586b.js";const t={getCombinationActivityList:t=>o({url:"/promotion/combination-activity/list",method:"GET",params:{count:t}}),getCombinationActivityPage:t=>o({url:"/promotion/combination-activity/page",method:"GET",params:t}),getCombinationActivity:t=>o({url:"/promotion/combination-activity/get-detail",method:"GET",params:{id:t}}),getHeadCombinationRecordList:(t,i,a)=>o({url:"/promotion/combination-record/get-head-list",method:"GET",params:{activityId:t,status:i,count:a}}),getCombinationRecordPage:t=>o({url:"/promotion/combination-record/page",method:"GET",params:t}),getCombinationRecordDetail:t=>o({url:"/promotion/combination-record/get-detail",method:"GET",params:{id:t}}),getCombinationRecordSummary:()=>o({url:"/promotion/combination-record/get-summary",method:"GET"})};export{t as C};
+import{Z as o}from"./index-5c6d16ee.js";const t={getCombinationActivityList:t=>o({url:"/promotion/combination-activity/list",method:"GET",params:{count:t}}),getCombinationActivityPage:t=>o({url:"/promotion/combination-activity/page",method:"GET",params:t}),getCombinationActivity:t=>o({url:"/promotion/combination-activity/get-detail",method:"GET",params:{id:t}}),getHeadCombinationRecordList:(t,i,a)=>o({url:"/promotion/combination-record/get-head-list",method:"GET",params:{activityId:t,status:i,count:a}}),getCombinationRecordPage:t=>o({url:"/promotion/combination-record/page",method:"GET",params:t}),getCombinationRecordDetail:t=>o({url:"/promotion/combination-record/get-detail",method:"GET",params:{id:t}}),getCombinationRecordSummary:()=>o({url:"/promotion/combination-record/get-summary",method:"GET"})};export{t as C};

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/comment-item.3caa8f43.js


+ 1 - 0
unpackage/dist/build/web/assets/config.0f7c6efe.js

@@ -0,0 +1 @@
+import{Z as e}from"./index-5c6d16ee.js";const o={getTradeConfig:()=>e({url:"/trade/config/get",method:"GET"})};export{o as T};

+ 0 - 1
unpackage/dist/build/web/assets/config.a12acbf8.js

@@ -1 +0,0 @@
-import{Z as e}from"./index-5fd8586b.js";const o={getTradeConfig:()=>e({url:"/trade/config/get",method:"GET"})};export{o as T};

+ 1 - 1
unpackage/dist/build/web/assets/const.33aa647d.js → unpackage/dist/build/web/assets/const.7e6cc371.js

@@ -1 +1 @@
-import{Z as t,b3 as e}from"./index-5fd8586b.js";const i={getSeckillConfigList:()=>t({url:"promotion/seckill-config/list",method:"GET"}),getNowSeckillActivity:()=>t({url:"promotion/seckill-activity/get-now",method:"GET"}),getSeckillActivityPage:e=>t({url:"promotion/seckill-activity/page",method:"GET",params:e}),getSeckillActivity:e=>t({url:"promotion/seckill-activity/get-detail",method:"GET",params:{id:e}})},o={PRICE:{type:1,name:"满减"},PERCENT:{type:2,name:"折扣"}},l={DATE:{type:1,name:"固定日期可用"},TERM:{type:2,name:"领取之后可用"}},a={WAIT_START:"即将开始",STARTED:"进行中",END:"已结束"},s=(t,i)=>{const o=e();return o.isBefore(t)?a.WAIT_START:o.isAfter(i)?a.END:a.STARTED};export{l as C,o as P,i as S,a as T,s as g};
+import{Z as t,b3 as e}from"./index-5c6d16ee.js";const i={getSeckillConfigList:()=>t({url:"promotion/seckill-config/list",method:"GET"}),getNowSeckillActivity:()=>t({url:"promotion/seckill-activity/get-now",method:"GET"}),getSeckillActivityPage:e=>t({url:"promotion/seckill-activity/page",method:"GET",params:e}),getSeckillActivity:e=>t({url:"promotion/seckill-activity/get-detail",method:"GET",params:{id:e}})},o={PRICE:{type:1,name:"满减"},PERCENT:{type:2,name:"折扣"}},l={DATE:{type:1,name:"固定日期可用"},TERM:{type:2,name:"领取之后可用"}},a={WAIT_START:"即将开始",STARTED:"进行中",END:"已结束"},s=(t,i)=>{const o=e();return o.isBefore(t)?a.WAIT_START:o.isAfter(i)?a.END:a.STARTED};export{l as C,o as P,i as S,a as T,s as g};

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/detail-content-card.4bbe3b14.js


+ 1 - 1
unpackage/dist/build/web/assets/favorite.16f8656c.js → unpackage/dist/build/web/assets/favorite.66ee7b96.js

@@ -1 +1 @@
-import{Z as e}from"./index-5fd8586b.js";const t={getFavoritePage:t=>e({url:"/product/favorite/page",method:"GET",params:t}),isFavoriteExists:t=>e({url:"/product/favorite/exits",method:"GET",params:{spuId:t}}),createFavorite:t=>e({url:"/product/favorite/create",method:"POST",data:{spuId:t},custom:{auth:!0,showSuccess:!0,successMsg:"收藏成功"}}),createCollectBefore:t=>e({url:"/distri/user-collect-before/create",method:"POST",data:{spuId:t}}),deleteFavorite:t=>e({url:"/product/favorite/delete",method:"DELETE",data:{spuId:t},custom:{auth:!0,showSuccess:!0,successMsg:"取消成功"}})};export{t as F};
+import{Z as e}from"./index-5c6d16ee.js";const t={getFavoritePage:t=>e({url:"/product/favorite/page",method:"GET",params:t}),isFavoriteExists:t=>e({url:"/product/favorite/exits",method:"GET",params:{spuId:t}}),createFavorite:t=>e({url:"/product/favorite/create",method:"POST",data:{spuId:t},custom:{auth:!0,showSuccess:!0,successMsg:"收藏成功"}}),createCollectBefore:t=>e({url:"/distri/user-collect-before/create",method:"POST",data:{spuId:t}}),deleteFavorite:t=>e({url:"/product/favorite/delete",method:"DELETE",data:{spuId:t},custom:{auth:!0,showSuccess:!0,successMsg:"取消成功"}})};export{t as F};

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/form.98413288.js


+ 1 - 1
unpackage/dist/build/web/assets/history.a5d9e266.js → unpackage/dist/build/web/assets/history.5a044ff0.js

@@ -1 +1 @@
-import{Z as s}from"./index-5fd8586b.js";const o={deleteBrowseHistory:o=>s({url:"/product/browse-history/delete",method:"DELETE",data:{spuIds:o},custom:{showSuccess:!0,successMsg:"删除成功"}}),cleanBrowseHistory:()=>s({url:"/product/browse-history/clean",method:"DELETE",custom:{showSuccess:!0,successMsg:"清空成功"}}),getBrowseHistoryPage:o=>s({url:"/product/browse-history/page",method:"GET",data:o,custom:{showLoading:!1}})};export{o as S};
+import{Z as s}from"./index-5c6d16ee.js";const o={deleteBrowseHistory:o=>s({url:"/product/browse-history/delete",method:"DELETE",data:{spuIds:o},custom:{showSuccess:!0,successMsg:"删除成功"}}),cleanBrowseHistory:()=>s({url:"/product/browse-history/clean",method:"DELETE",custom:{showSuccess:!0,successMsg:"清空成功"}}),getBrowseHistoryPage:o=>s({url:"/product/browse-history/page",method:"GET",data:o,custom:{showLoading:!1}})};export{o as S};

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/index-5c6d16ee.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/mp-html.747e6865.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-bargain-detail.3c56bcb3.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-bargain-list.cb4ab6d3.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-groupon-detail.2ac415dc.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-groupon-list.93370cd2.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-groupon-order.65b61eb4.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-index.9f1d737d.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-activity-seckill-list.07ce4825.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-app-sign.7ba3a90c.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-app-sign.d68afb76.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-chat-index.75969adf.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-commission-ranking.7c21443a.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-goods.46ade4f7.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-index.122ed40c.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-order.7e9bdd16.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-promoter.d4fd2c64.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-team.a5f6b058.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-wallet.708b434b.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-commission-withdraw.06204b31.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-coupon-detail.a3fb7e84.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-coupon-list.d1b9e560.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-comment-add.35320ba0.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-comment-list.cf726913.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-groupon.ef06a76b.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-index.b19a248d.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-list.63b2e497.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-goods-seckill.1345d3df.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-index-cart.e7e03679.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-index-category.be0af58e.js


+ 1 - 1
unpackage/dist/build/web/assets/pages-index-index.c1f24795.js → unpackage/dist/build/web/assets/pages-index-index.303c00c7.js

@@ -1 +1 @@
-import{h as s,c as e,o as t,s as o,$ as a,a as p,b as r,d as i,u as l,e as m,f as n,w as u,g as d,i as _,j as y,k as c,r as j,F as g,l as b,m as v}from"./index-5fd8586b.js";import{_ as f,a as x}from"./s-block.80a61f34.js";import{_ as h}from"./s-layout.b9ef53ff.js";import"./form.ce1c5c8d.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.a57b45cf.js";import"./uni-badge.7f1f2141.js";import"./su-image.139dbcb1.js";import"./su-swiper.8f930249.js";import"./s-goods-column.aefc0ac1.js";import"./useGoods.e712326f.js";/* empty css                                                                     */import"./uni-load-more.07b91f8e.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.2ea269e8.js";import"./combination.c8bab9b1.js";import"./const.33aa647d.js";import"./mp-html.0a6286d1.js";import"./richtext.6eb5d5ba.js";const k={__name:"index",setup(k){s();const S=e((()=>{var s;return null==(s=o.$store("app").template)?void 0:s.home}));return t((s=>{s.templateId&&o.$store("app").init(s.templateId),s.spm&&a.decryptSpm(s.spm),s.page&&o.$router.go(decodeURIComponent(s.page))})),p((()=>{o.$store("app").init(),setTimeout((function(){r()}),800)})),i((()=>{})),(s,e)=>{const t=b(v("s-block-item"),f),o=b(v("s-block"),x),a=b(v("s-layout"),h),p=_;return l(S)?(m(),n(p,{key:0},{default:u((()=>{var s;return[y(a,{title:"首页",navbar:"custom",tabbar:"/pages/index/index",bgStyle:l(S).page,navbarStyle:null==(s=l(S).style)?void 0:s.navbar,onShareAppMessage:""},{default:u((()=>[(m(!0),c(g,null,j(l(S).components,((s,e)=>(m(),n(o,{key:e,styles:s.property.style},{default:u((()=>[y(t,{type:s.id,data:s.property,styles:s.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])]})),_:1})):d("",!0)}}};export{k as default};
+import{h as s,c as e,o as t,s as o,$ as a,a as p,b as r,d as i,u as l,e as m,f as n,w as u,g as d,i as _,j as y,k as c,r as j,F as g,l as b,m as v}from"./index-5c6d16ee.js";import{_ as f,a as x}from"./s-block.c0aa9d03.js";import{_ as h}from"./s-layout.f5e64cd0.js";import"./form.98413288.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.daef2913.js";import"./uni-badge.599a70cf.js";import"./su-image.836b57d0.js";import"./su-swiper.979aff75.js";import"./s-goods-column.cc6d11af.js";import"./useGoods.5740e982.js";/* empty css                                                                     */import"./uni-load-more.bc0437c0.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.061c48c9.js";import"./combination.04a544a0.js";import"./const.7e6cc371.js";import"./mp-html.747e6865.js";import"./richtext.cd0684a0.js";const k={__name:"index",setup(k){s();const S=e((()=>{var s;return null==(s=o.$store("app").template)?void 0:s.home}));return t((s=>{s.templateId&&o.$store("app").init(s.templateId),s.spm&&a.decryptSpm(s.spm),s.page&&o.$router.go(decodeURIComponent(s.page))})),p((()=>{o.$store("app").init(),setTimeout((function(){r()}),800)})),i((()=>{})),(s,e)=>{const t=b(v("s-block-item"),f),o=b(v("s-block"),x),a=b(v("s-layout"),h),p=_;return l(S)?(m(),n(p,{key:0},{default:u((()=>{var s;return[y(a,{title:"首页",navbar:"custom",tabbar:"/pages/index/index",bgStyle:l(S).page,navbarStyle:null==(s=l(S).style)?void 0:s.navbar,onShareAppMessage:""},{default:u((()=>[(m(!0),c(g,null,j(l(S).components,((s,e)=>(m(),n(o,{key:e,styles:s.property.style},{default:u((()=>[y(t,{type:s.id,data:s.property,styles:s.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])]})),_:1})):d("",!0)}}};export{k as default};

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-index-login.ca4c1ec3.js


+ 1 - 1
unpackage/dist/build/web/assets/pages-index-page.6a9816b9.js → unpackage/dist/build/web/assets/pages-index-page.00740e56.js

@@ -1 +1 @@
-import{_ as t,a as e}from"./s-block.80a61f34.js";import{y as s,o,W as a,d as p,e as r,f as i,w as n,l,k as m,r as _,F as u,m as y,j as d}from"./index-5fd8586b.js";import{_ as c}from"./s-layout.b9ef53ff.js";import"./form.ce1c5c8d.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.a57b45cf.js";import"./uni-badge.7f1f2141.js";import"./su-image.139dbcb1.js";import"./su-swiper.8f930249.js";import"./s-goods-column.aefc0ac1.js";import"./useGoods.e712326f.js";/* empty css                                                                     */import"./uni-load-more.07b91f8e.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.2ea269e8.js";import"./combination.c8bab9b1.js";import"./const.33aa647d.js";import"./mp-html.0a6286d1.js";import"./richtext.6eb5d5ba.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:r,data:i}=await a.getDiyPage(p);0===r&&(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 r(),i(g,{title:j.name,navbar:"custom",bgStyle:j.page,navbarStyle:j.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:n((()=>[(r(!0),m(u,null,_(j.components,((t,e)=>(r(),i(p,{key:e,styles:t.property.style},{default:n((()=>[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};
+import{_ as t,a as e}from"./s-block.c0aa9d03.js";import{y as s,o,W as a,d as p,e as r,f as i,w as n,l,k as m,r as _,F as u,m as y,j as d}from"./index-5c6d16ee.js";import{_ as c}from"./s-layout.f5e64cd0.js";import"./form.98413288.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.daef2913.js";import"./uni-badge.599a70cf.js";import"./su-image.836b57d0.js";import"./su-swiper.979aff75.js";import"./s-goods-column.cc6d11af.js";import"./useGoods.5740e982.js";/* empty css                                                                     */import"./uni-load-more.bc0437c0.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.061c48c9.js";import"./combination.04a544a0.js";import"./const.7e6cc371.js";import"./mp-html.747e6865.js";import"./richtext.cd0684a0.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:r,data:i}=await a.getDiyPage(p);0===r&&(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 r(),i(g,{title:j.name,navbar:"custom",bgStyle:j.page,navbarStyle:j.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:n((()=>[(r(!0),m(u,null,_(j.components,((t,e)=>(r(),i(p,{key:e,styles:t.property.style},{default:n((()=>[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 - 1
unpackage/dist/build/web/assets/pages-index-search.032460af.js → unpackage/dist/build/web/assets/pages-index-search.c955a6b5.js

@@ -1 +1 @@
-import{y as s,o as t,M as e,e as a,f as o,w as r,l as i,j as l,t as c,k as n,r as u,F as f,s as h,p as y,U as d,V as p,m as _,i as m,G as x,v as L}from"./index-5fd8586b.js";import{b as g,_ as b}from"./s-layout.b9ef53ff.js";import{_ as w}from"./_plugin-vue_export-helper.1b428a4d.js";import"./form.ce1c5c8d.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 v(){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 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((()=>[c("搜索历史")])),_:1}),l(y,{class:"clean-history ss-reset-button",onClick:v},{default:r((()=>[c(" 清除搜索历史 ")])),_:1})])),_:1}),l(h,{class:"ss-flex ss-col-center ss-row-left ss-flex-wrap"},{default:r((()=>[(a(!0),n(f,null,u(k.historyList,((s,t)=>(a(),o(y,{class:"history-btn ss-reset-button",onClick:t=>j(s),key:t},{default:r((()=>[c(L(s),1)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-268850fd"]]);export{k as default};
+import{y as s,o as t,M as e,e as a,f as o,w as r,l as i,j as l,t as c,k as n,r as u,F as f,s as h,p as y,U as d,V as p,m as _,i as m,G as x,v as L}from"./index-5c6d16ee.js";import{b as g,_ as b}from"./s-layout.f5e64cd0.js";import{_ as w}from"./_plugin-vue_export-helper.1b428a4d.js";import"./form.98413288.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 v(){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 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((()=>[c("搜索历史")])),_:1}),l(y,{class:"clean-history ss-reset-button",onClick:v},{default:r((()=>[c(" 清除搜索历史 ")])),_:1})])),_:1}),l(h,{class:"ss-flex ss-col-center ss-row-left ss-flex-wrap"},{default:r((()=>[(a(!0),n(f,null,u(k.historyList,((s,t)=>(a(),o(y,{class:"history-btn ss-reset-button",onClick:t=>j(s),key:t},{default:r((()=>[c(L(s),1)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-268850fd"]]);export{k as default};

+ 1 - 1
unpackage/dist/build/web/assets/pages-index-user.fad1f7af.js → unpackage/dist/build/web/assets/pages-index-user.c5c514cb.js

@@ -1 +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 u,e as m,f as n,w as _,u as d,l as y,k as j,r as c,F as b,m as g,j as v}from"./index-5fd8586b.js";import{_ as f,a as k}from"./s-block.80a61f34.js";import{_ as x}from"./s-layout.b9ef53ff.js";import"./form.ce1c5c8d.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.a57b45cf.js";import"./uni-badge.7f1f2141.js";import"./su-image.139dbcb1.js";import"./su-swiper.8f930249.js";import"./s-goods-column.aefc0ac1.js";import"./useGoods.e712326f.js";/* empty css                                                                     */import"./uni-load-more.07b91f8e.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.2ea269e8.js";import"./combination.c8bab9b1.js";import"./const.33aa647d.js";import"./mp-html.0a6286d1.js";import"./richtext.6eb5d5ba.js";const h={__name:"user",setup(h){s();const S=e((()=>a.$store("app").template.user)),$=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),$.value||u()})),(s,e)=>{var t;const a=y(g("s-block-item"),f),o=y(g("s-block"),k),r=y(g("s-layout"),x);return m(),n(r,{title:"我的",tabbar:"/pages/index/user",navbar:"custom",bgStyle:d(S).page,navbarStyle:null==(t=d(S).style)?void 0:t.navbar,onShareAppMessage:""},{default:_((()=>[(m(!0),j(b,null,c(d(S).components,((s,e)=>(m(),n(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{h as default};
+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 u,e as m,f as n,w as _,u as d,l as y,k as j,r as c,F as b,m as g,j as v}from"./index-5c6d16ee.js";import{_ as f,a as k}from"./s-block.c0aa9d03.js";import{_ as x}from"./s-layout.f5e64cd0.js";import"./form.98413288.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.daef2913.js";import"./uni-badge.599a70cf.js";import"./su-image.836b57d0.js";import"./su-swiper.979aff75.js";import"./s-goods-column.cc6d11af.js";import"./useGoods.5740e982.js";/* empty css                                                                     */import"./uni-load-more.bc0437c0.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.061c48c9.js";import"./combination.04a544a0.js";import"./const.7e6cc371.js";import"./mp-html.747e6865.js";import"./richtext.cd0684a0.js";const h={__name:"user",setup(h){s();const S=e((()=>a.$store("app").template.user)),$=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),$.value||u()})),(s,e)=>{var t;const a=y(g("s-block-item"),f),o=y(g("s-block"),k),r=y(g("s-layout"),x);return m(),n(r,{title:"我的",tabbar:"/pages/index/user",navbar:"custom",bgStyle:d(S).page,navbarStyle:null==(t=d(S).style)?void 0:t.navbar,onShareAppMessage:""},{default:_((()=>[(m(!0),j(b,null,c(d(S).components,((s,e)=>(m(),n(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{h as default};

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-aftersale-apply.1cf90261.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-aftersale-detail.01c9f01b.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-aftersale-list.9ca05c6d.js


+ 1 - 1
unpackage/dist/build/web/assets/pages-order-aftersale-log.73d0f0e4.js → unpackage/dist/build/web/assets/pages-order-aftersale-log.ca36de35.js

@@ -1 +1 @@
-import{e as t,f as a,w as s,j as e,B as l,g as i,t as o,v as d,u as c,s as n,E as r,i as u,y as m,o as f,l as _,k as p,r as y,F as x,m as g}from"./index-5fd8586b.js";import{_ as j}from"./s-layout.b9ef53ff.js";import{_ as b}from"./_plugin-vue_export-helper.1b428a4d.js";import{A as h}from"./afterSale.4c7c50c4.js";import"./form.ce1c5c8d.js";const v=b({__name:"log-item",props:{item:{type:Object,default(){}},index:{type:Number,default:0},data:{type:Object,default(){}}},setup:m=>(f,_)=>{const p=r,y=u;return t(),a(y,{class:"log-item ss-flex"},{default:s((()=>[e(y,{class:"log-icon ss-flex-col ss-col-center ss-m-r-20"},{default:s((()=>[e(p,{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}),e(y,null,{default:s((()=>[e(y,{class:"text"},{default:s((()=>[o(d(m.item.content),1)])),_:1}),e(y,{class:"date"},{default:s((()=>[o(d(c(n).$helper.timeFormat(m.item.createTime,"yyyy-mm-dd hh:MM:ss")),1)])),_:1})])),_:1})])),_:1})}},[["__scopeId","data-v-bc3922ca"]]),k=b({__name:"log",setup(l){const i=m({list:[]});return f((t=>{i.aftersaleId=t.id,async function(t){const{data:a}=await h.getAfterSaleLogList(t);i.list=a}(t.id)})),(l,o)=>{const d=u,c=_(g("s-layout"),j);return t(),a(c,{title:"售后进度"},{default:s((()=>[e(d,{class:"log-box"},{default:s((()=>[(t(!0),p(x,null,y(i.list,((l,o)=>(t(),a(d,{key:l.id},{default:s((()=>[e(v,{item:l,index:o,data:i.list},null,8,["item","index","data"])])),_:2},1024)))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-9849747c"]]);export{k as default};
+import{e as t,f as a,w as s,j as e,B as l,g as i,t as o,v as d,u as c,s as n,E as r,i as u,y as m,o as f,l as _,k as p,r as y,F as x,m as g}from"./index-5c6d16ee.js";import{_ as j}from"./s-layout.f5e64cd0.js";import{_ as b}from"./_plugin-vue_export-helper.1b428a4d.js";import{A as h}from"./afterSale.b7b4ccba.js";import"./form.98413288.js";const v=b({__name:"log-item",props:{item:{type:Object,default(){}},index:{type:Number,default:0},data:{type:Object,default(){}}},setup:m=>(f,_)=>{const p=r,y=u;return t(),a(y,{class:"log-item ss-flex"},{default:s((()=>[e(y,{class:"log-icon ss-flex-col ss-col-center ss-m-r-20"},{default:s((()=>[e(p,{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}),e(y,null,{default:s((()=>[e(y,{class:"text"},{default:s((()=>[o(d(m.item.content),1)])),_:1}),e(y,{class:"date"},{default:s((()=>[o(d(c(n).$helper.timeFormat(m.item.createTime,"yyyy-mm-dd hh:MM:ss")),1)])),_:1})])),_:1})])),_:1})}},[["__scopeId","data-v-bc3922ca"]]),k=b({__name:"log",setup(l){const i=m({list:[]});return f((t=>{i.aftersaleId=t.id,async function(t){const{data:a}=await h.getAfterSaleLogList(t);i.list=a}(t.id)})),(l,o)=>{const d=u,c=_(g("s-layout"),j);return t(),a(c,{title:"售后进度"},{default:s((()=>[e(d,{class:"log-box"},{default:s((()=>[(t(!0),p(x,null,y(i.list,((l,o)=>(t(),a(d,{key:l.id},{default:s((()=>[e(v,{item:l,index:o,data:i.list},null,8,["item","index","data"])])),_:2},1024)))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-9849747c"]]);export{k as default};

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-aftersale-return-delivery.20c8046d.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-confirm.ba9819ee.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-detail.61a3e5c5.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-express-log.f24c8036.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-list.2af64908.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-order-otherlist.80ff8879.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-pay-index.1f09bf3e.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-pay-recharge-log.478dbef0.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-pay-recharge.6af0fd0d.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-pay-result.c6cb860c.js


+ 1 - 1
unpackage/dist/build/web/assets/pages-public-error.877625b1.js → unpackage/dist/build/web/assets/pages-public-error.88b405e6.js

@@ -1 +1 @@
-import{K as t,o as e,e as o,f as n,w as a,i as s,g as r,aU as i,bw as c,l,m as p}from"./index-5fd8586b.js";import{_ as u}from"./s-empty.189a84b3.js";import{_ as m}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                */const _=m({__name:"error",setup(m){const _=t(""),f=t("");async function x(){i({url:"/pages/index/index"}),await c()}return e((t=>{_.value=t.errCode,f.value=t.errMsg})),(t,e)=>{const i=l(p("s-empty"),u),c=s;return o(),n(c,{class:"error-page"},{default:a((()=>["NetworkError"===_.value?(o(),n(i,{key:0,icon:"/static/internet-empty.png",text:"网络连接失败",showAction:"",actionText:"重新连接",onClickAction:x,buttonColor:"#ff3000"})):"TemplateError"===_.value?(o(),n(i,{key:1,icon:"/static/internet-empty.png",text:"未找到模板",showAction:"",actionText:"重新加载",onClickAction:x,buttonColor:"#ff3000"})):""!==_.value?(o(),n(i,{key:2,icon:"/static/internet-empty.png",text:f.value,showAction:"",actionText:"重新加载",onClickAction:x,buttonColor:"#ff3000"},null,8,["text"])):r("",!0)])),_:1})}}},[["__scopeId","data-v-0cb6e9ec"]]);export{_ as default};
+import{K as t,o as e,e as o,f as n,w as a,i as s,g as r,aU as i,bw as c,l,m as p}from"./index-5c6d16ee.js";import{_ as u}from"./s-empty.4b880656.js";import{_ as m}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                */const _=m({__name:"error",setup(m){const _=t(""),f=t("");async function x(){i({url:"/pages/index/index"}),await c()}return e((t=>{_.value=t.errCode,f.value=t.errMsg})),(t,e)=>{const i=l(p("s-empty"),u),c=s;return o(),n(c,{class:"error-page"},{default:a((()=>["NetworkError"===_.value?(o(),n(i,{key:0,icon:"/static/internet-empty.png",text:"网络连接失败",showAction:"",actionText:"重新连接",onClickAction:x,buttonColor:"#ff3000"})):"TemplateError"===_.value?(o(),n(i,{key:1,icon:"/static/internet-empty.png",text:"未找到模板",showAction:"",actionText:"重新加载",onClickAction:x,buttonColor:"#ff3000"})):""!==_.value?(o(),n(i,{key:2,icon:"/static/internet-empty.png",text:f.value,showAction:"",actionText:"重新加载",onClickAction:x,buttonColor:"#ff3000"},null,8,["text"])):r("",!0)])),_:1})}}},[["__scopeId","data-v-0cb6e9ec"]]);export{_ as default};

+ 1 - 1
unpackage/dist/build/web/assets/pages-public-faq.b5f1e4f3.js → unpackage/dist/build/web/assets/pages-public-faq.ea6099c4.js

@@ -1 +1 @@
-import{y as s,o as t,s as e,e as a,f as l,w as o,l as r,j as c,k as i,r as n,F as p,g as u,m as _,t as m,v as f,i as d,E as g}from"./index-5fd8586b.js";import{_ as y,a as x}from"./uni-collapse.c5d2d36a.js";import{_ as j}from"./s-empty.189a84b3.js";import{_ as b}from"./s-layout.b9ef53ff.js";import{_ as v}from"./_plugin-vue_export-helper.1b428a4d.js";import"./form.ce1c5c8d.js";/* empty css                                                                */const h=v({__name:"faq",setup(v){const h=s({list:[],loading:!0});return t((()=>{e.$router.go("/pages/public/richtext",{title:"常见问题"})})),(s,t)=>{const e=d,v=g,F=r(_("uni-collapse-item"),y),k=r(_("uni-collapse"),x),w=r(_("s-empty"),j),I=r(_("s-layout"),b);return a(),l(I,{class:"set-wrap",title:"常见问题",bgStyle:{color:"#FFF"}},{default:o((()=>[c(k,null,{default:o((()=>[(a(!0),i(p,null,n(h.list,((s,t)=>(a(),l(F,{key:s},{title:o((()=>[c(e,{class:"ss-flex ss-col-center header"},{default:o((()=>[c(e,{class:"ss-m-l-20 ss-m-r-20 icon"},{default:o((()=>[c(e,{class:"rectangle"},{default:o((()=>[c(e,{class:"num ss-flex ss-row-center ss-col-center"},{default:o((()=>[m(f(t+1<10?"0"+(t+1):t+1),1)])),_:2},1024)])),_:2},1024),c(e,{class:"triangle"})])),_:2},1024),c(e,{class:"title ss-m-t-36 ss-m-b-36"},{default:o((()=>[m(f(s.title),1)])),_:2},1024)])),_:2},1024)])),default:o((()=>[c(e,{class:"content ss-p-l-78 ss-p-r-40 ss-p-b-50 ss-p-t-20"},{default:o((()=>[c(v,{class:"text"},{default:o((()=>[m(f(s.content),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1}),0!==h.list.length||h.loading?u("",!0):(a(),l(w,{key:0,text:"暂无常见问题",icon:"/static/collect-empty.png"}))])),_:1})}}},[["__scopeId","data-v-18831718"]]);export{h as default};
+import{y as s,o as t,s as e,e as a,f as l,w as o,l as r,j as c,k as i,r as n,F as p,g as u,m as _,t as m,v as f,i as d,E as g}from"./index-5c6d16ee.js";import{_ as y,a as x}from"./uni-collapse.b22209f2.js";import{_ as j}from"./s-empty.4b880656.js";import{_ as b}from"./s-layout.f5e64cd0.js";import{_ as v}from"./_plugin-vue_export-helper.1b428a4d.js";import"./form.98413288.js";/* empty css                                                                */const h=v({__name:"faq",setup(v){const h=s({list:[],loading:!0});return t((()=>{e.$router.go("/pages/public/richtext",{title:"常见问题"})})),(s,t)=>{const e=d,v=g,F=r(_("uni-collapse-item"),y),k=r(_("uni-collapse"),x),w=r(_("s-empty"),j),I=r(_("s-layout"),b);return a(),l(I,{class:"set-wrap",title:"常见问题",bgStyle:{color:"#FFF"}},{default:o((()=>[c(k,null,{default:o((()=>[(a(!0),i(p,null,n(h.list,((s,t)=>(a(),l(F,{key:s},{title:o((()=>[c(e,{class:"ss-flex ss-col-center header"},{default:o((()=>[c(e,{class:"ss-m-l-20 ss-m-r-20 icon"},{default:o((()=>[c(e,{class:"rectangle"},{default:o((()=>[c(e,{class:"num ss-flex ss-row-center ss-col-center"},{default:o((()=>[m(f(t+1<10?"0"+(t+1):t+1),1)])),_:2},1024)])),_:2},1024),c(e,{class:"triangle"})])),_:2},1024),c(e,{class:"title ss-m-t-36 ss-m-b-36"},{default:o((()=>[m(f(s.title),1)])),_:2},1024)])),_:2},1024)])),default:o((()=>[c(e,{class:"content ss-p-l-78 ss-p-r-40 ss-p-b-50 ss-p-t-20"},{default:o((()=>[c(v,{class:"text"},{default:o((()=>[m(f(s.content),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1}),0!==h.list.length||h.loading?u("",!0):(a(),l(w,{key:0,text:"暂无常见问题",icon:"/static/collect-empty.png"}))])),_:1})}}},[["__scopeId","data-v-18831718"]]);export{h as default};

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-public-setting.ad847480.js


+ 1 - 1
unpackage/dist/build/web/assets/pages-public-webview.0fd3fdc1.js → unpackage/dist/build/web/assets/pages-public-webview.06cb6788.js

@@ -1 +1 @@
-import{K as e,o as s,e as a,f as n,w as t,i as o,j as r,bx as u}from"./index-5fd8586b.js";const l={__name:"webview",setup(l){const c=e("");return s((e=>{c.value=decodeURIComponent(e.url)})),(e,s)=>{const l=u,d=o;return a(),n(d,null,{default:t((()=>[r(l,{src:c.value},null,8,["src"])])),_:1})}}};export{l as default};
+import{K as e,o as s,e as a,f as n,w as t,i as o,j as r,bx as u}from"./index-5c6d16ee.js";const l={__name:"webview",setup(l){const c=e("");return s((e=>{c.value=decodeURIComponent(e.url)})),(e,s)=>{const l=u,d=o;return a(),n(d,null,{default:t((()=>[r(l,{src:c.value},null,8,["src"])])),_:1})}}};export{l as default};

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-shop-index.82270625.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-address-edit.046bd6fc.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-address-list.27acf325.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-goods-collect.853c38e4.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-goods-log.7359b8b9.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-info.d7b87b13.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-invoice-edit.814a2cf4.js


+ 1 - 1
unpackage/dist/build/web/assets/pages-user-invoice-list.5f92d188.js → unpackage/dist/build/web/assets/pages-user-invoice-list.39d6e30c.js

@@ -1 +1 @@
-import{y as s,n as a,L as t,M as e,p as o,e as r,f as i,w as d,l,k as n,r as m,F as p,g as u,j as _,u as c,s as f,t as g,m as y,i as j,G as b,at as k}from"./index-5fd8586b.js";import{_ as x}from"./s-address-item.148a3758.js";import{a as h,_ as v}from"./s-layout.b9ef53ff.js";import{_ as A}from"./s-empty.189a84b3.js";import{A as w}from"./area.d460e063.js";import{A as F}from"./address.6dbba02d.js";import{_ as S}from"./_plugin-vue_export-helper.1b428a4d.js";import"./form.ce1c5c8d.js";/* empty css                                                                */const C=S({__name:"list",setup(S){const C=s({list:[],loading:!0});return a((async()=>{C.list=(await F.getAddressList()).data,C.loading=!1})),t((()=>{e("areaData")||w.getAreaTree().then((s=>{0===s.code&&o("areaData",s.data)}))})),(s,a)=>{const t=l(y("s-address-item"),x),e=j,o=b,w=l(y("su-fixed"),h),F=l(y("s-empty"),A),S=l(y("s-layout"),v);return r(),i(S,{title:"发票抬头管理",bgStyle:{color:"#FFF"}},{default:d((()=>[C.list.length?(r(),i(e,{key:0},{default:d((()=>[(r(!0),n(p,null,m(C.list,(s=>(r(),i(t,{hasBorderBottom:"",key:s.id,item:s,onClick:a=>(k("SELECT_ADDRESS",{addressInfo:s}),void f.$router.back())},null,8,["item","onClick"])))),128))])),_:1})):u("",!0),_(w,{bottom:"",placeholder:""},{default:d((()=>[_(e,{class:"footer-box ss-flex ss-row-between ss-p-20"},{default:d((()=>[_(o,{class:"add-btn ss-reset-button ui-Shadow-Main",onClick:a[0]||(a[0]=s=>c(f).$router.go("/pages/user/invoice/edit"))},{default:d((()=>[g(" 新增发票抬头 ")])),_:1})])),_:1})])),_:1}),0!==C.list.length||C.loading?u("",!0):(r(),i(F,{key:1,text:"暂无发票抬头",icon:"/static/data-empty.png"}))])),_:1})}}},[["__scopeId","data-v-45431d7c"]]);export{C as default};
+import{y as s,n as a,L as t,M as e,p as o,e as r,f as i,w as d,l,k as n,r as m,F as p,g as u,j as _,u as c,s as f,t as g,m as y,i as j,G as b,at as k}from"./index-5c6d16ee.js";import{_ as x}from"./s-address-item.b6b06c87.js";import{a as h,_ as v}from"./s-layout.f5e64cd0.js";import{_ as A}from"./s-empty.4b880656.js";import{A as w}from"./area.4e0ef4ec.js";import{A as F}from"./address.2d676262.js";import{_ as S}from"./_plugin-vue_export-helper.1b428a4d.js";import"./form.98413288.js";/* empty css                                                                */const C=S({__name:"list",setup(S){const C=s({list:[],loading:!0});return a((async()=>{C.list=(await F.getAddressList()).data,C.loading=!1})),t((()=>{e("areaData")||w.getAreaTree().then((s=>{0===s.code&&o("areaData",s.data)}))})),(s,a)=>{const t=l(y("s-address-item"),x),e=j,o=b,w=l(y("su-fixed"),h),F=l(y("s-empty"),A),S=l(y("s-layout"),v);return r(),i(S,{title:"发票抬头管理",bgStyle:{color:"#FFF"}},{default:d((()=>[C.list.length?(r(),i(e,{key:0},{default:d((()=>[(r(!0),n(p,null,m(C.list,(s=>(r(),i(t,{hasBorderBottom:"",key:s.id,item:s,onClick:a=>(k("SELECT_ADDRESS",{addressInfo:s}),void f.$router.back())},null,8,["item","onClick"])))),128))])),_:1})):u("",!0),_(w,{bottom:"",placeholder:""},{default:d((()=>[_(e,{class:"footer-box ss-flex ss-row-between ss-p-20"},{default:d((()=>[_(o,{class:"add-btn ss-reset-button ui-Shadow-Main",onClick:a[0]||(a[0]=s=>c(f).$router.go("/pages/user/invoice/edit"))},{default:d((()=>[g(" 新增发票抬头 ")])),_:1})])),_:1})])),_:1}),0!==C.list.length||C.loading?u("",!0):(r(),i(F,{key:1,text:"暂无发票抬头",icon:"/static/data-empty.png"}))])),_:1})}}},[["__scopeId","data-v-45431d7c"]]);export{C as default};

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-qrcode-share.4a59233a.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-setting.d6adac4b.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-wallet-money.5e364c4d.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-wallet-score.b3e70403.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-wallet-scoreToMoney.696716b8.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-wallet-team.e55e9b76.js


+ 1 - 1
unpackage/dist/build/web/assets/rewardActivity.2ab970a6.js → unpackage/dist/build/web/assets/rewardActivity.cacc7b0e.js

@@ -1 +1 @@
-import{Z as t}from"./index-5fd8586b.js";const r={getRewardActivity:r=>t({url:"/promotion/reward-activity/get",method:"GET",params:{id:r}})};export{r as R};
+import{Z as t}from"./index-5c6d16ee.js";const r={getRewardActivity:r=>t({url:"/promotion/reward-activity/get",method:"GET",params:{id:r}})};export{r as R};

+ 1 - 1
unpackage/dist/build/web/assets/richtext.6eb5d5ba.js → unpackage/dist/build/web/assets/richtext.cd0684a0.js

@@ -1 +1 @@
-import{Z as t,y as e,o as l,b8 as i,e as s,f as a,w as o,l as n,j as r,m as c,i as p}from"./index-5fd8586b.js";import{_ as u}from"./mp-html.0a6286d1.js";import{_ as m}from"./s-layout.b9ef53ff.js";import{_ as d}from"./_plugin-vue_export-helper.1b428a4d.js";const _={getArticle:(e,l)=>t({url:"/promotion/article/get",method:"GET",params:{id:e,title:l}})},f=d({__name:"richtext",props:{title:{defautls:"",type:String},type:{defautls:"",type:String}},setup(t){const d=t,f=e({title:"",content:""});return l((t=>{(t.title||d.title)&&(f.title=t.title||d.title,i({title:f.title||d.title})),async function(t,e){const{code:l,data:s}=await _.getArticle(t,e);0===l&&(f.content=s.content,f.title!==s.title&&(f.title=s.title,i({title:f.title})))}(t.id,t.title||d.title)})),(e,l)=>{const i=n(c("mp-html"),u),d=p,_=n(c("s-layout"),m);return f.title&&!t.type?(s(),a(_,{key:0,class:"set-wrap",title:f.title,bgStyle:{color:"#FFF"}},{default:o((()=>[r(d,{class:"ss-p-30"},{default:o((()=>[r(i,{class:"richtext",content:f.content},null,8,["content"])])),_:1})])),_:1},8,["title"])):(s(),a(i,{key:1,class:"richtext",content:f.content},null,8,["content"]))}}},[["__scopeId","data-v-35dbeb4d"]]),y=Object.freeze(Object.defineProperty({__proto__:null,default:f},Symbol.toStringTag,{value:"Module"}));export{_ as A,y as a,f as r};
+import{Z as t,y as e,o as l,b8 as i,e as s,f as a,w as o,l as n,j as r,m as c,i as p}from"./index-5c6d16ee.js";import{_ as u}from"./mp-html.747e6865.js";import{_ as m}from"./s-layout.f5e64cd0.js";import{_ as d}from"./_plugin-vue_export-helper.1b428a4d.js";const _={getArticle:(e,l)=>t({url:"/promotion/article/get",method:"GET",params:{id:e,title:l}})},f=d({__name:"richtext",props:{title:{defautls:"",type:String},type:{defautls:"",type:String}},setup(t){const d=t,f=e({title:"",content:""});return l((t=>{(t.title||d.title)&&(f.title=t.title||d.title,i({title:f.title||d.title})),async function(t,e){const{code:l,data:s}=await _.getArticle(t,e);0===l&&(f.content=s.content,f.title!==s.title&&(f.title=s.title,i({title:f.title})))}(t.id,t.title||d.title)})),(e,l)=>{const i=n(c("mp-html"),u),d=p,_=n(c("s-layout"),m);return f.title&&!t.type?(s(),a(_,{key:0,class:"set-wrap",title:f.title,bgStyle:{color:"#FFF"}},{default:o((()=>[r(d,{class:"ss-p-30"},{default:o((()=>[r(i,{class:"richtext",content:f.content},null,8,["content"])])),_:1})])),_:1},8,["title"])):(s(),a(i,{key:1,class:"richtext",content:f.content},null,8,["content"]))}}},[["__scopeId","data-v-35dbeb4d"]]),y=Object.freeze(Object.defineProperty({__proto__:null,default:f},Symbol.toStringTag,{value:"Module"}));export{_ as A,y as a,f as r};

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/s-address-item.b6b06c87.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/s-block.c0aa9d03.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/s-coupon-list.bf1205f2.js


+ 1 - 1
unpackage/dist/build/web/assets/s-empty.189a84b3.js → unpackage/dist/build/web/assets/s-empty.4b880656.js

@@ -1 +1 @@
-import{D as t,e,f as s,w as a,j as o,t as n,v as i,g as c,A as l,s as r,x as p,i as d,E as u,G as _}from"./index-5fd8586b.js";/* empty css                                                                */import{_ as f}from"./_plugin-vue_export-helper.1b428a4d.js";const y=f({__name:"s-empty",props:{icon:{type:String,default:""},text:{type:String,default:""},showAction:{type:Boolean,default:!1},actionText:{type:String,default:""},actionUrl:{type:String,default:""},paddingTop:{type:String,default:"260"},buttonColor:{type:String,default:"var(--ui-BG-Main)"}},emits:["clickAction"],setup(f,{emit:y}){const m=f;function x(){""!==m.actionUrl&&r.$router.go(m.actionUrl),y("clickAction")}return t((t=>({"4e03fdca":f.buttonColor}))),(t,r)=>{const y=p,m=d,g=u,b=_;return e(),s(m,{class:"ss-flex-col ss-col-center ss-row-center empty-box",style:l([{paddingTop:f.paddingTop+"rpx"}])},{default:a((()=>[o(m,{class:""},{default:a((()=>[o(y,{class:"empty-icon",src:f.icon,mode:"widthFix"},null,8,["src"])])),_:1}),o(m,{class:"empty-text ss-m-t-28 ss-m-b-40"},{default:a((()=>[""!==f.text?(e(),s(g,{key:0},{default:a((()=>[n(i(f.text),1)])),_:1})):c("",!0)])),_:1}),f.showAction?(e(),s(b,{key:0,class:"ss-reset-button empty-btn",onClick:x},{default:a((()=>[n(i(f.actionText),1)])),_:1})):c("",!0)])),_:1},8,["style"])}}},[["__scopeId","data-v-6b0d31c6"]]);export{y as _};
+import{D as t,e,f as s,w as a,j as o,t as n,v as i,g as c,A as l,s as r,x as p,i as d,E as u,G as _}from"./index-5c6d16ee.js";/* empty css                                                                */import{_ as f}from"./_plugin-vue_export-helper.1b428a4d.js";const y=f({__name:"s-empty",props:{icon:{type:String,default:""},text:{type:String,default:""},showAction:{type:Boolean,default:!1},actionText:{type:String,default:""},actionUrl:{type:String,default:""},paddingTop:{type:String,default:"260"},buttonColor:{type:String,default:"var(--ui-BG-Main)"}},emits:["clickAction"],setup(f,{emit:y}){const m=f;function x(){""!==m.actionUrl&&r.$router.go(m.actionUrl),y("clickAction")}return t((t=>({"4e03fdca":f.buttonColor}))),(t,r)=>{const y=p,m=d,g=u,b=_;return e(),s(m,{class:"ss-flex-col ss-col-center ss-row-center empty-box",style:l([{paddingTop:f.paddingTop+"rpx"}])},{default:a((()=>[o(m,{class:""},{default:a((()=>[o(y,{class:"empty-icon",src:f.icon,mode:"widthFix"},null,8,["src"])])),_:1}),o(m,{class:"empty-text ss-m-t-28 ss-m-b-40"},{default:a((()=>[""!==f.text?(e(),s(g,{key:0},{default:a((()=>[n(i(f.text),1)])),_:1})):c("",!0)])),_:1}),f.showAction?(e(),s(b,{key:0,class:"ss-reset-button empty-btn",onClick:x},{default:a((()=>[n(i(f.actionText),1)])),_:1})):c("",!0)])),_:1},8,["style"])}}},[["__scopeId","data-v-6b0d31c6"]]);export{y as _};

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/s-goods-column.cc6d11af.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/s-goods-item.1db0be16.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/s-layout-11418ffe.css


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/s-layout.b9ef53ff.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/build/web/assets/s-layout.f5e64cd0.js


Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff