Browse Source

更新提现、提现记录页

RuHu.Xu 8 months ago
parent
commit
686b1ab3b3
100 changed files with 516 additions and 114 deletions
  1. 12 0
      pages.json
  2. 7 45
      pages/user/info.vue
  3. 77 16
      pages/user/setting.vue
  4. 9 1
      pages/user/wallet/score.vue
  5. 109 37
      pages/user/wallet/withdraw.vue
  6. 261 0
      pages/user/wallet/withdrawalLog.vue
  7. 16 0
      sheep/api/distri/withdrawal.js
  8. 9 0
      sheep/api/pay/wallet.js
  9. 3 2
      sheep/components/s-auth-modal/components/alipay-account.vue
  10. 1 1
      sheep/components/s-auth-modal/components/bank-account.vue
  11. 1 1
      unpackage/dist/build/web/assets/comment-item.5fbc52b1.js
  12. 1 1
      unpackage/dist/build/web/assets/const.cfa14ea7.js
  13. 0 0
      unpackage/dist/build/web/assets/detail-content-card.dda9dfca.js
  14. 0 0
      unpackage/dist/build/web/assets/index-5807d4ad.js
  15. 0 0
      unpackage/dist/build/web/assets/info-c8f8be63.css
  16. 0 0
      unpackage/dist/build/web/assets/md5.8a124f68.js
  17. 0 0
      unpackage/dist/build/web/assets/mp-html.b3cde644.js
  18. 0 0
      unpackage/dist/build/web/assets/pages-activity-bargain-detail.effc248a.js
  19. 0 0
      unpackage/dist/build/web/assets/pages-activity-bargain-list.3a506e2c.js
  20. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-detail.08041a45.js
  21. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-list.7a07934e.js
  22. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-order.0f7990be.js
  23. 0 0
      unpackage/dist/build/web/assets/pages-activity-index.6f53c36d.js
  24. 0 0
      unpackage/dist/build/web/assets/pages-activity-seckill-list.234e9b2d.js
  25. 0 0
      unpackage/dist/build/web/assets/pages-app-sign.7bd1926f.js
  26. 0 0
      unpackage/dist/build/web/assets/pages-app-sign.db409e4d.js
  27. 0 0
      unpackage/dist/build/web/assets/pages-chat-index.e7e51a9d.js
  28. 0 0
      unpackage/dist/build/web/assets/pages-chat-speechtotext.36f12543.js
  29. 0 0
      unpackage/dist/build/web/assets/pages-commission-commission-ranking.240d3fc2.js
  30. 0 0
      unpackage/dist/build/web/assets/pages-commission-goods.94f4ab8e.js
  31. 0 0
      unpackage/dist/build/web/assets/pages-commission-index.3940fdc4.js
  32. 0 0
      unpackage/dist/build/web/assets/pages-commission-order.38a4ed35.js
  33. 0 0
      unpackage/dist/build/web/assets/pages-commission-order.bfe6875c.js
  34. 0 0
      unpackage/dist/build/web/assets/pages-commission-promoter.fa39e6ac.js
  35. 0 0
      unpackage/dist/build/web/assets/pages-commission-team.edb54a07.js
  36. 0 0
      unpackage/dist/build/web/assets/pages-commission-wallet.7fec5578.js
  37. 0 0
      unpackage/dist/build/web/assets/pages-commission-wallet.b5a5a8e8.js
  38. 0 0
      unpackage/dist/build/web/assets/pages-commission-withdraw.e7c68ae3.js
  39. 0 0
      unpackage/dist/build/web/assets/pages-coupon-detail.fa0bfe6a.js
  40. 0 0
      unpackage/dist/build/web/assets/pages-coupon-list.59ca15ba.js
  41. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-add.a00886e2.js
  42. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-list.529c2b4c.js
  43. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-list.d05f05ac.js
  44. 0 0
      unpackage/dist/build/web/assets/pages-goods-groupon.be3acc4c.js
  45. 0 0
      unpackage/dist/build/web/assets/pages-goods-index.3f04c499.js
  46. 0 0
      unpackage/dist/build/web/assets/pages-goods-list.dba586e5.js
  47. 0 0
      unpackage/dist/build/web/assets/pages-goods-seckill.a43b1a57.js
  48. 0 0
      unpackage/dist/build/web/assets/pages-index-cart.744b0619.js
  49. 0 0
      unpackage/dist/build/web/assets/pages-index-cart.8bedacf5.js
  50. 0 0
      unpackage/dist/build/web/assets/pages-index-category.aac79d18.js
  51. 0 0
      unpackage/dist/build/web/assets/pages-index-index.2b28a9ff.js
  52. 0 0
      unpackage/dist/build/web/assets/pages-index-login.c5a53bbc.js
  53. 1 1
      unpackage/dist/build/web/assets/pages-index-page.896719c0.js
  54. 1 1
      unpackage/dist/build/web/assets/pages-index-search.e8a22cc4.js
  55. 1 1
      unpackage/dist/build/web/assets/pages-index-user.bcb36d66.js
  56. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-apply.6bac3562.js
  57. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-detail.331e0dbe.js
  58. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-detail.e972b1a5.js
  59. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-list.4d7bbcb2.js
  60. 0 1
      unpackage/dist/build/web/assets/pages-order-aftersale-log.a4848ffd.js
  61. 1 0
      unpackage/dist/build/web/assets/pages-order-aftersale-log.e9786be3.js
  62. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-return-delivery.fedcac8e.js
  63. 0 0
      unpackage/dist/build/web/assets/pages-order-confirm.93e2e0dc.js
  64. 0 0
      unpackage/dist/build/web/assets/pages-order-detail.480aa4e8.js
  65. 0 0
      unpackage/dist/build/web/assets/pages-order-express-log.62e2e100.js
  66. 0 0
      unpackage/dist/build/web/assets/pages-order-express-log.759be6b6.js
  67. 0 0
      unpackage/dist/build/web/assets/pages-order-list.6d138fbf.js
  68. 0 0
      unpackage/dist/build/web/assets/pages-order-otherlist.8242aa17.js
  69. 0 0
      unpackage/dist/build/web/assets/pages-pay-index.4b7cbff1.js
  70. 0 0
      unpackage/dist/build/web/assets/pages-pay-index.9bebd1ec.js
  71. 0 0
      unpackage/dist/build/web/assets/pages-pay-recharge-log.f778b20c.js
  72. 0 0
      unpackage/dist/build/web/assets/pages-pay-recharge.045f959b.js
  73. 0 0
      unpackage/dist/build/web/assets/pages-pay-result.117b3df0.js
  74. 0 0
      unpackage/dist/build/web/assets/pages-pay-resultYuan.77a4ec59.js
  75. 1 1
      unpackage/dist/build/web/assets/pages-public-error.7471b9d2.js
  76. 1 0
      unpackage/dist/build/web/assets/pages-public-faq.2ea0d302.js
  77. 0 1
      unpackage/dist/build/web/assets/pages-public-faq.b2819336.js
  78. 1 1
      unpackage/dist/build/web/assets/pages-public-richtext.dfde5d7d.js
  79. 0 0
      unpackage/dist/build/web/assets/pages-public-setting.00c7dbec.js
  80. 1 1
      unpackage/dist/build/web/assets/pages-public-webview.1076cad3.js
  81. 0 0
      unpackage/dist/build/web/assets/pages-shop-index.74c4b8c7.js
  82. 0 0
      unpackage/dist/build/web/assets/pages-user-address-edit.adce10c5.js
  83. 0 0
      unpackage/dist/build/web/assets/pages-user-address-list.c8d43847.js
  84. 0 0
      unpackage/dist/build/web/assets/pages-user-dummyAddress-edit.14104f3b.js
  85. 0 1
      unpackage/dist/build/web/assets/pages-user-dummyAddress-list.13daf932.js
  86. 1 0
      unpackage/dist/build/web/assets/pages-user-dummyAddress-list.a4b485e4.js
  87. 0 0
      unpackage/dist/build/web/assets/pages-user-goods-collect.a3a3e71d.js
  88. 0 0
      unpackage/dist/build/web/assets/pages-user-goods-log.db5590c7.js
  89. 0 0
      unpackage/dist/build/web/assets/pages-user-info.52ab6dcf.js
  90. 0 0
      unpackage/dist/build/web/assets/pages-user-info.d04f5dc1.js
  91. 0 0
      unpackage/dist/build/web/assets/pages-user-invoice-edit.b81cb89f.js
  92. 1 1
      unpackage/dist/build/web/assets/pages-user-invoice-list.e28ee144.js
  93. 0 0
      unpackage/dist/build/web/assets/pages-user-qrcode-share.1127fd9c.js
  94. 0 0
      unpackage/dist/build/web/assets/pages-user-setting.96cec743.js
  95. 0 0
      unpackage/dist/build/web/assets/pages-user-setting.9d87a560.js
  96. 0 0
      unpackage/dist/build/web/assets/pages-user-wallet-ScoreLog.0f73d925.js
  97. 0 0
      unpackage/dist/build/web/assets/pages-user-wallet-maxScoreLog.e02b4672.js
  98. 0 0
      unpackage/dist/build/web/assets/pages-user-wallet-money.b64f9fb7.js
  99. 0 0
      unpackage/dist/build/web/assets/pages-user-wallet-money.e233fb79.js
  100. 0 0
      unpackage/dist/build/web/assets/pages-user-wallet-score.61625c72.js

+ 12 - 0
pages.json

@@ -416,6 +416,18 @@
 						"group": "提现"
 					}
 				},
+				{
+					"path": "wallet/withdrawalLog",
+					"style": {
+						"navigationBarTitleText": "提现记录"
+					},
+					"meta": {
+						"auth": true,
+						"sync": true,
+						"title": "提现记录",
+						"group": "提现记录"
+					}
+				},
 				{
 					"path": "wallet/scoreToMoney",
 					"style": {

+ 7 - 45
pages/user/info.vue

@@ -69,8 +69,8 @@
 				</uni-forms-item>
 
 
-
-				<uni-forms-item name="mobile" label="支付宝账号" @tap="onChangeAlipayAccount">
+				
+				<!-- <uni-forms-item name="mobile" label="支付宝账号" @tap="onChangeAlipayAccount">
 					<uni-easyinput v-model="alipayAccount" placeholder="请绑定支付宝账号" :inputBorder="false" disabled
 						:styles="{ disableColor: '#fff' }" :placeholderStyle="placeholderStyle" :clearable="false">
 						<template v-slot:right>
@@ -95,7 +95,7 @@
 							</view>
 						</template>
 					</uni-easyinput>
-				</uni-forms-item>
+				</uni-forms-item> -->
 
 				<uni-forms-item name="password" label="登录密码" @tap="onSetPassword">
 					<uni-easyinput v-model="userInfo.password" placeholder="点击修改登录密码" :inputBorder="false"
@@ -199,7 +199,7 @@
 		rules: {},
 		thirdInfo: {}, // 社交用户的信息
 	});
-
+	const userInfo = computed(() => sheep.$store('user').userInfo);
 	const placeholderStyle = 'color:#BBBBBB;font-size:28rpx;line-height:normal';
 
 	const sexRadioMap = [{
@@ -212,38 +212,7 @@
 		}
 	];
 
-	const userInfo = computed(() => sheep.$store('user').userInfo);
-	const alipayAccount = computed(() => {
-		let account = userInfo.value.alipayAccount;
-		if (!account) {
-			return
-		}
-		// 手机号脱敏
-		if (/^\d{11}$/.test(account)) { // 检查是否是11位数字的手机号
-			return `${account.substring(0, 3)}****${account.substring(7)}`;
-		} else if (/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(account)) {
-			const atIndex = account.indexOf('@');
-			// 邮箱用户名长度小于等于3位时,不脱敏
-			if (atIndex <= 3) {
-				return account;
-			}
-			const username = account.substring(0, Math.ceil(atIndex / 2)); // 取邮箱用户名的一半
-			const domain = account.substring(atIndex); // 邮箱域名部分
-			return `${username}***${domain}`;
-		}
-	})
-	const bankAccount = computed(() => {
-		let account = userInfo.value.bankAccount;
-		if (!account) {
-			return
-		}
-		if (account.length === 8) {
-			return account.substring(0, 2) + '********' + account.substr(-2);
-		} else {
-			return account.substring(0, 4) + '******' + account.substr(-4);
-		}
-
-	})
+	
 	// 选择性别
 	function onChangeGender(e) {
 		state.model.sex = e.detail.value;
@@ -253,14 +222,7 @@
 	const onChangeMobile = () => {
 		showAuthModal('changeMobile');
 	};
-	// 修改支付宝账号
-	const onChangeAlipayAccount = () => {
-		showAuthModal('alipayAccount');
-	};
-	// 修改银行卡号
-	const onChangeBankAccount = () => {
-		showAuthModal('bankAccount');
-	};
+	
 	// 选择微信的头像,进行上传
 	function onChooseAvatar(e) {
 		const tempUrl = e.detail.avatarUrl || '';
@@ -386,7 +348,7 @@
 	};
 	onLoad(async (options) => {
 		getUserInfo();
-		uni.$on('submitComplete', getUserInfo);
+		// uni.$on('submitComplete', getUserInfo);
 		// setTimeout(getUserInfo, 2000)
 	});
 </script>

+ 77 - 16
pages/user/setting.vue

@@ -39,6 +39,32 @@
 						showArrow
 						:border="false"
 					/>
+					
+					<uni-list-item
+					title="支付宝账号"
+					showArrow
+					clickable
+					:border="false"
+					 @tap="onChangeAlipayAccount">
+						<template v-slot:body>
+							<p style="width: 100%"
+								>支付宝账号&nbsp;&nbsp;{{alipayAccount?alipayAccount:'未绑定'}}
+							</p>
+						</template>
+						
+					</uni-list-item>
+					<uni-list-item 
+					title="银行卡" 
+					showArrow
+					clickable
+					:border="false"
+					@tap="onChangeBankAccount">
+						<template v-slot:body>
+							<p style="width: 100%"
+								>银行卡&nbsp;&nbsp;{{bankAccount?bankAccount:'未绑定'}}
+							</p>
+						</template>
+					</uni-list-item>
 					<!-- <uni-list-item
 						clickable
 						@tap="sheep.$router.go('/pages/user/invoice/list')"
@@ -54,25 +80,11 @@
 						:border="false"
 					>
 						<template v-slot:body>
-							
-							<!-- <p style="width: 100%"
-								>实名认证&nbsp;&nbsp;&nbsp;&nbsp;{{
-									userInfo.mobile ? '已认证' : '未认证'
-								}}<span style="float: right">{{
-									userInfo.mobile ? '' : '未认证'
-								}}</span></p
-							> -->
 							<p style="width: 100%"
-								>实名认证&nbsp;&nbsp;&nbsp;&nbsp;  未认证
-								
+								>实名认证&nbsp;&nbsp;  未认证
 							</p>
 						</template>
 					</uni-list-item>
-					<!-- <uni-list-item title="推荐老师" :border="false">
-						<template v-slot:body>
-							<p style="width: 100%">推荐老师&nbsp;&nbsp;&nbsp;&nbsp;xxx</p>
-						</template>
-					</uni-list-item> -->
 					<uni-list-item
 						title="我的二维码"
 						clickable
@@ -95,6 +107,8 @@
 							</p>
 						</template>
 					</uni-list-item>
+					
+					
 				</uni-list>
 			</view>
 		</uni-forms>
@@ -122,6 +136,49 @@
 	import FileApi from '@/sheep/api/infra/file';
 	import UserApi from '@/sheep/api/member/user';
 	import AuthUtil from '@/sheep/api/member/auth';
+	import {
+		onLoad
+	} from '@dcloudio/uni-app';
+	const userInfo = computed(() => sheep.$store('user').userInfo);
+	const alipayAccount = computed(() => {
+		let account = userInfo.value.alipayAccount;
+		if (!account) {
+			return false;
+		}
+		// 手机号脱敏
+		if (/^\d{11}$/.test(account)) { // 检查是否是11位数字的手机号
+			return `${account.substring(0, 3)}****${account.substring(7)}`;
+		} else if (/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(account)) {
+			const atIndex = account.indexOf('@');
+			// 邮箱用户名长度小于等于3位时,不脱敏
+			if (atIndex <= 3) {
+				return account;
+			}
+			const username = account.substring(0, Math.ceil(atIndex / 2)); // 取邮箱用户名的一半
+			const domain = account.substring(atIndex); // 邮箱域名部分
+			return `${username}***${domain}`;
+		}
+	})
+	const bankAccount = computed(() => {
+		let account = userInfo.value.bankAccount;
+		if (!account) {
+			return false;
+		}
+		if (account.length === 8) {
+			return account.substring(0, 2) + '********' + account.substr(-2);
+		} else {
+			return account.substring(0, 4) + '******' + account.substr(-4);
+		}
+	
+	})
+	// 修改支付宝账号
+	const onChangeAlipayAccount = () => {
+		showAuthModal('alipayAccount');
+	};
+	// 修改银行卡号
+	const onChangeBankAccount = () => {
+		showAuthModal('bankAccount');
+	};
 	const state = reactive({
 		model: {}, // 个人信息
 		rules: {},
@@ -130,7 +187,7 @@
 
 	const placeholderStyle = 'color:#BBBBBB;font-size:28rpx;line-height:normal';
 
-	const userInfo = computed(() => sheep.$store('user').userInfo);
+	
 
 	// 绑定第三方账号
 	async function bindThirdOauth() {
@@ -209,6 +266,10 @@
 	onBeforeMount(() => {
 		getUserInfo();
 	});
+	onLoad(()=>{
+		uni.$on('alipayAccountChangeComplete', getUserInfo);
+		uni.$on('bankAccountChangeComplete', getUserInfo);
+	})
 </script>
 
 <style lang="scss" scoped>

+ 9 - 1
pages/user/wallet/score.vue

@@ -45,6 +45,12 @@
 						<p style="width: 100%">积分来源记录</p>
 					</template>
 				</uni-list-item>
+				<uni-list-item clickable @tap="sheep.$router.go('/pages/user/wallet/withdrawalLog')"
+					title="提现记录" showArrow :border="false">
+					<template v-slot:body>
+						<p style="width: 100%">提现记录 (预计24小时左右到账)</p>
+					</template>
+				</uni-list-item>
 				<uni-list-item clickable @tap="state.showModel = true" title="积分计算规则" :border="false">
 					<template v-slot:body>
 						<p style="width: 100%">积分计算规则</p>
@@ -90,7 +96,6 @@
 		resetPagination
 	} from '@/sheep/util';
 	import ScoreApi from '@/sheep/api/distri/score';
-
 	import ScoreLog from './ScoreLog'
 	import richtext from '@/pages/public/richtext'
 
@@ -141,6 +146,9 @@
 			background: percentageColor.value
 		};
 	});
+	onLoad((options) => {
+		uni.$on('createWithDrawComplete', sheep.$store('user').getWallet);
+	});
 </script>
 
 <style lang="scss" scoped>

+ 109 - 37
pages/user/wallet/withdraw.vue

@@ -7,39 +7,38 @@
 				<view class="out-title ss-p-l-30 ss-m-y-30">选择提现方式</view>
 				<radio-group @change="onTapOut">
 					<label class="out-type-item" v-for="item in state.outMethods" :key="item.title">
+						
 						<view class="out-item ss-flex ss-col-center ss-row-between ss-p-x-30 border-bottom"
 							:class="{ 'disabled-out-item': item.disabled }">
 							<view class="ss-flex ss-col-center">
-								<image class="out-icon" v-if="item.disabled"
-									:src="sheep.$url.static('/static/img/shop/out/cod_disabled.png')"
-									mode="aspectFit" />
-								<image class="out-icon" v-else :src="sheep.$url.static(item.icon)" mode="aspectFit" />
+								<view class="check-box ss-flex ss-col-center ss-p-l-10">
+								  <radio
+								    :value="item.value"
+								    color="var(--ui-BG-Main)"
+								    style="transform: scale(0.8)"
+								    :disabled="item.disabled"
+								    :checked="state.payment === item.value"
+								  />
+								</view>
 								<text class="out-title">{{ item.title }}</text>
+								
 							</view>
-							<view class="check-box ss-flex ss-col-center ss-p-l-10">
-							  <radio
-							    :value="item.value"
-							    color="var(--ui-BG-Main)"
-							    style="transform: scale(0.8)"
-							    :disabled="item.disabled"
-							    :checked="state.payment === item.value"
-							  />
-							</view>
+							<text style="float: right;" v-if="item.account">{{item.account}}</text>
+							<text style="float: right;" v-else @click="handleBind(item.value)">暂未绑定,点击绑定&nbsp;></text>
 						</view>
 						
 					</label>
 				</radio-group>
 			</view>
-			
 			<!-- 提现金额 -->
 			<view class="modal-content ">
 				<view class="out-title ss-p-l-30 ss-m-y-30">提现金额</view>
-				<view class="ss-flex ss-row-left ss-col-center  input-money ss-m-y-10" >
+				<view class="ss-flex ss-row-left ss-col-center  input-money ss-m-y-30" >
 					<input v-model.number="state.outMoney"  class="uni-input " type="number"
-						placeholder="请输入金额"/>
+						placeholder="请输入金额" oninput="handleInput" />
 				</view>
-				<view class="ss-flex ss-row-center ss-col-center">
+				<view class="ss-flex ss-row-center ss-col-center ss-m-t-30">
 					您当前可兑换金额:¥<text class="text-red">{{canUseMoney}}</text> 
 					<button class="ss-m-l-10 all-btn " @click="useAllPonints">全部</button>
 				</view>
@@ -62,44 +61,86 @@
 		computed,
 		reactive,
 		watchEffect,
-		nextTick 
+		nextTick, 
+		onUnmounted
 	} from 'vue';
 	import {
 		onLoad
 	} from '@dcloudio/uni-app';
 	import sheep from '@/sheep';
+	import { clone } from 'lodash';
 	import {
 		fen2yuan,
 		points2point
 	} from '@/sheep/hooks/useGoods';
-
 	import md5 from 'blueimp-md5';
 	import PayWalletApi from '@/sheep/api/pay/wallet';
+	import { showAuthModal, showShareModal } from '@/sheep/hooks/useModal';
 	const userWallet = computed(() => sheep.$store('user').userWallet);
 	const userInfo = computed(() => sheep.$store('user').userInfo);
 	const canUseMoney = computed(() => points2point(userWallet.value.integralDO.currentQuota));
-	// 检测支付环境
+	const alipayAccount = (account) => {
+		// let account = state.model.alipayAccount;
+		if (!account) {
+			return false
+		}
+		// 手机号脱敏
+		if (/^\d{11}$/.test(account)) { // 检查是否是11位数字的手机号
+			return `${account.substring(0, 3)}****${account.substring(7)}`;
+		} else if (/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(account)) {
+			const atIndex = account.indexOf('@');
+			// 邮箱用户名长度小于等于3位时,不脱敏
+			if (atIndex <= 3) {
+				return account;
+			}
+			const username = account.substring(0, Math.ceil(atIndex / 2)); // 取邮箱用户名的一半
+			const domain = account.substring(atIndex); // 邮箱域名部分
+			return `${username}***${domain}`;
+		}
+	}
+	const bankAccount = (account) => {
+		if (!account) {
+			return false
+		}
+		if (account.length === 8) {
+			return account.substring(0, 2) + '********' + account.substr(-2);
+		} else {
+			return account.substring(0, 4) + '******' + account.substr(-4);
+		}
+	}
 	const state = reactive({
+		model: {},
 		orderType: 'goods', // 订单类型; goods - 商品订单, recharge - 充值订单
 		outMent: '',
 		outMoney:undefined,
 		disabled:true,
-		outMethods: [{
-				title: "提现到微信",
-				value: 'wx'
-			},
+		outMethods: [
+			// {
+			// 	title: "提现到微信",
+			// 	value: '1'
+			// },
 			{
 				title: "提现到支付宝",
-				value: 'alipay'
+				value: '2',
+				account:''
 			},
 			{
 				title: "提现到银行卡",
-				value: 'bank'
+				value: '3',
+				account:''
 			}
 		]
 	});
-
-	const submit = () => {
+	
+	const handleBind = async (type) => {
+		// console.log(type)
+		if(type === '2'){
+			showAuthModal('alipayAccount');
+		}else if(type === '3'){
+			showAuthModal('bankAccount');
+		}
+	}
+	const submit = async () => {
 		if (state.outMent === '') {
 			sheep.$helper.toast('请选择提现方式');
 			return;
@@ -108,7 +149,7 @@
 			sheep.$helper.toast('请输入提现金额');
 			return;
 		}
-		if (state.outMent === 'alipay' && userInfo.value.alipayAccount === null){
+		if (state.outMent === '2' && !userInfo.value.alipayAccount){
 			// 没绑定支付宝
 			uni.showModal({
 				title: '提示',
@@ -118,12 +159,12 @@
 					if (!res.confirm) {
 						return;
 					}
-					sheep.$router.go('/pages/user/info');
+					showAuthModal('alipayAccount');
 				},
 			});
 			return;
 		}
-		if (state.outMent === 'bank' && userInfo.value.bankAccount === null){
+		if (state.outMent === '3' && !userInfo.value.bankAccount){
 			// 没绑定银行卡
 			uni.showModal({
 				title: '提示',
@@ -133,15 +174,29 @@
 					if (!res.confirm) {
 						return;
 					}
-					sheep.$router.go('/pages/user/info');
+					showAuthModal('bankAccount');
 				},
 			});
 			return;
 		}
+		let {
+			code,
+			data
+		} = await PayWalletApi.createWithdrawal({
+			amount:state.outMoney,
+			withdrawalType:state.outMent
+		});
+		if(code === 0){
+			uni.showToast({
+				icon: 'success',
+				title: "申请成功",
+			});
+			sheep.$router.go('/pages/user/wallet/withdrawalLog')
+			uni.$emit('createWithDrawComplete');
+		}
 	};
 	// 切换提现方式
 	function onTapOut(e) {
-		console.log(e.detail.value)
 		state.outMent = e.detail.value;
 	}
 	// 提现全部积分
@@ -159,7 +214,6 @@
 				state.outMoney = canUseMoney.value;
 			});
 		}
-
 		// 如果计算出来的当前可以使用的最大积分等于小于0 则不给输入
 		if(canUseMoney.value == 0 || canUseMoney.value < 0){
 			state.disabled = true
@@ -168,9 +222,27 @@
 			state.disabled = false
 		}
 	})
-
-	onLoad((options) => {
-
+	
+	// 获得用户信息
+	const getUserInfo = async () => {
+		// 个人信息
+		const userInfo = await sheep.$store('user').getInfo();
+		state.model = clone(userInfo);
+		state.outMethods.forEach(item=>{
+			
+			if(item.value === '2'){
+				item.account = alipayAccount(state.model.alipayAccount);
+			}else if(item.value === '3'){
+				item.account = bankAccount(state.model.bankAccount);
+			}
+			console.log(item)
+		})
+	};
+	onLoad(async(options) => {
+		await getUserInfo();
+		// refresh()
+		uni.$on('alipayAccountChangeComplete', getUserInfo);
+		uni.$on('bankAccountChangeComplete', getUserInfo);
 	});
 </script>
 

+ 261 - 0
pages/user/wallet/withdrawalLog.vue

@@ -0,0 +1,261 @@
+<template>
+	<!-- 提现记录 -->
+	<s-layout class="wallet-wrap" :bgStyle="{'backgroundColor':'#ffffff'}" title="提现记录" navbar="normal">
+		<view class="model-box ss-flex-col">
+			<scroll-view class="list-box" scroll-y="true" @touchmove.stop>
+				<view v-if="state.pagination.total > 0" style="padding: 20rpx;">
+					<view class="list-item ss-flex ss-col-center ss-row-between "
+						v-for="(item,index)  in state.pagination.list" :key="item.id"
+						style="padding:0;padding: 20rpx 0;border-bottom: 1px solid #c4c4c4;">
+						<view class="ss-flex ss-col-center" style="width: 100%;">
+							<view class="ss-flex ss-m-t-10"
+								style="flex-direction: column;align-items: flex-start;width: 100%;">
+								<view class="name" style="width: 100%;"> 
+									{{item.withdrawalType === 1 ? '微信' : item.withdrawalType === 2 ? '支付宝' : '银行卡'}}
+									({{item.withdrawalAccount}})
+									
+									<text  style="float: right;" class="color-red">
+										¥{{item.amount}}
+									</text>
+								</view>
+								<view class="time " style="width: 100%;">
+									{{sheep.$helper.timeFormat(item.createTime, 'yyyy-mm-dd hh:MM')}}
+									
+									<text style="float: right;"	>{{item.status?'已到账':'未完成'}}</text>
+									
+								</view>
+							</view>
+						</view>
+					</view>
+				</view>
+				<s-empty v-else text="暂无数据" paddingTop="200" icon="/static/data-empty.png" />
+				<uni-load-more v-if="state.pagination.total > 0" :status="state.loadStatus" :content-text="{
+					  contentdown: '点击加载更多',
+					}" @tap="onLoadMore(true)" @scrolltolower="onLoadMore(true)" />
+			</scroll-view>
+		</view>
+	</s-layout>
+</template>
+
+<script setup>
+	import sheep from '@/sheep';
+	import {
+		onLoad,
+		onReachBottom
+	} from '@dcloudio/uni-app';
+	import {
+		computed,
+		reactive
+	} from 'vue';
+	import {
+		points2point
+	} from '@/sheep/hooks/useGoods';
+	import _ from 'lodash';
+	import dayjs from 'dayjs';
+	import PointApi from '@/sheep/api/member/point';
+	import {
+		resetPagination
+	} from '@/sheep/util';
+	import WithdrawalApi from '@/sheep/api/distri/withdrawal';
+
+	const userWallet = computed(() => sheep.$store('user').userWallet);
+	const statusBarHeight = sheep.$platform.device.statusBarHeight * 2;
+	const userInfo = computed(() => sheep.$store('user').userInfo);
+	const sys_navBar = sheep.$platform.navbar;
+	
+	const state = reactive({
+		currentTab: 0,
+		pagination: {
+			list: [],
+			total: 0,
+			pageSize: 10,
+			pageNo: 1,
+		},
+		loadStatus: '',
+	});
+	
+	async function getLogList() {
+		state.loadStatus = 'loading';
+		// isFreeze为true是冻结积分 isFreeze为false是已拿到的积分
+		let {
+			code,
+			data
+		} = await WithdrawalApi.getWithdrawalPage({
+			pageNo: state.pagination.pageNo,
+			pageSize: state.pagination.pageSize,
+		});
+		if (code !== 0) {
+			return;
+		}
+		let list = _.concat(state.pagination.list, data.list);
+		state.pagination.list = list;
+		state.pagination.total = data.total;
+		state.loadStatus = state.pagination.list.length < state.pagination.total ? 'more' : 'noMore';
+	}
+	onLoad(() => {
+		getLogList();
+	});
+	function onLoadMore() {
+		if (state.loadStatus === 'noMore') {
+			return;
+		}
+		state.pagination.pageNo++;
+		getLogList();
+	}
+
+	onReachBottom(() => {
+		onLoadMore();
+	});
+</script>
+
+<style lang="scss" scoped>
+	.color-red {
+		color: red;
+	}
+
+	.color-green {
+		color: green;
+	}
+
+	.score-box {
+		margin: 20rpx;
+		border-radius: 20rpx;
+		padding-top: 100rpx;
+	}
+
+	.avatar-box {
+		width: 100rpx;
+		height: 100rpx;
+		border-radius: 50%;
+		overflow: hidden;
+
+		.avatar-img {
+			width: 100%;
+			height: 100%;
+		}
+	}
+
+	.value-box {
+		width: 100rpx;
+		height: 100rpx;
+		line-height: 100rpx;
+		text-align: center;
+		border-radius: 50%;
+		border: 2px solid #f6f6f6;
+	}
+
+	.btn {
+		width: 300rpx;
+		background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
+		border-radius: 20rpx;
+		font-size: 30rpx;
+		font-weight: 500;
+		line-height: 80rpx;
+		color: $white;
+		position: relative;
+		z-index: 1;
+	}
+
+	.header-box {
+		width: 100%;
+		background: linear-gradient(180deg, var(--ui-BG-Main) 0%, var(--ui-BG-Main-gradient) 100%) no-repeat;
+		background-size: 750rpx 100%;
+		padding: 0 0 120rpx 0;
+		box-sizing: border-box;
+
+		.score-box {
+			height: 100%;
+
+			.all-num {
+				font-size: 50rpx;
+				font-weight: bold;
+				color: #fff;
+				font-family: OPPOSANS;
+			}
+
+			.all-title {
+				font-size: 26rpx;
+				font-weight: 500;
+				color: #fff;
+			}
+
+			.cicon-help-o {
+				color: #fff;
+				font-size: 28rpx;
+			}
+		}
+	}
+
+	// 筛选
+	.filter-box {
+		height: 114rpx;
+		background-color: $bg-page;
+
+		.total-box {
+			font-size: 24rpx;
+			font-weight: 500;
+			color: $dark-9;
+		}
+
+		.date-btn {
+			background-color: $white;
+			line-height: 54rpx;
+			border-radius: 27rpx;
+			padding: 0 20rpx;
+			font-size: 24rpx;
+			font-weight: 500;
+			color: $dark-6;
+
+			.ss-seldate-icon {
+				font-size: 50rpx;
+				color: $dark-9;
+			}
+		}
+	}
+
+
+	.list-box {
+		// width: 600rpx;
+		// padding: 0 30rpx;
+		overflow-y: auto;
+		height: 100vh;
+
+		.list-item {
+
+			background: #fff;
+			// border-bottom: 1rpx solid #dfdfdf;
+			padding: 30rpx;
+
+			.name {
+				font-size: 28rpx;
+
+				font-weight: 500;
+				color: rgba(102, 102, 102, 1);
+				line-height: 28rpx;
+				// margin-bottom: 20rpx;
+			}
+
+			.time {
+				font-size: 24rpx;
+
+				font-weight: 500;
+				color: rgba(196, 196, 196, 1);
+				line-height: 24px;
+			}
+
+			.add {
+				font-size: 30rpx;
+
+				font-weight: 500;
+				color: #e6b873;
+			}
+
+			.minus {
+				font-size: 30rpx;
+
+				font-weight: 500;
+				color: $dark-3;
+			}
+		}
+	}
+</style>

+ 16 - 0
sheep/api/distri/withdrawal.js

@@ -0,0 +1,16 @@
+import request from '@/sheep/request';
+
+const WithdrawalApi = {
+  getWithdrawalPage: (params) => {
+    return request({
+      url: '/distri/application-for-withdrawal/page',
+      method: 'GET',
+      params,
+      custom: {
+        showLoading: false,
+        showError: false,
+      },
+    });
+  },
+};
+export default WithdrawalApi;

+ 9 - 0
sheep/api/pay/wallet.js

@@ -62,6 +62,7 @@ const PayWalletApi = {
       data,
     });
   },
+  
   // 获得钱包充值记录分页
   getWalletRechargePage: (params) => {
     return request({
@@ -74,6 +75,14 @@ const PayWalletApi = {
       },
     });
   },
+  // 创建提现申请记录
+  createWithdrawal: (data) => {
+    return request({
+      url: '/distri/application-for-withdrawal/create',
+      method: 'POST',
+      data,
+    });
+  },
 };
 
 export default PayWalletApi;

+ 3 - 2
sheep/components/s-auth-modal/components/alipay-account.vue

@@ -75,7 +75,7 @@
 	// 账号登录
 	async function submit() {
 		// 表单验证
-		console.log(state.model.alipayName ,state.model.alipayAccount)
+		// console.log(state.model.alipayName ,state.model.alipayAccount)
 		if(!state.model.alipayName || !state.model.alipayAccount){
 			
 			return false;
@@ -109,7 +109,8 @@
 				title: "修改成功",
 			});
 			closeAuthModal();
-			uni.$emit('submitComplete');
+			uni.$emit('alipayAccountChangeComplete');
+
 		}
 	}
 	onLoad(async (options) => {

+ 1 - 1
sheep/components/s-auth-modal/components/bank-account.vue

@@ -117,7 +117,7 @@
 				title: "修改成功",
 			});
 			closeAuthModal();
-			uni.$emit('submitComplete');
+			uni.$emit('bankAccountChangeComplete');
 		}
 	}
 	onLoad(async (options) => {

+ 1 - 1
unpackage/dist/build/web/assets/comment-item.7a9daeec.js → unpackage/dist/build/web/assets/comment-item.5fbc52b1.js

@@ -1 +1 @@
-import{m as s,n as e,f as l,g as a,w as t,k as r,u as c,v as i,l as m,F as u,r as n,i as o,y as d,j as p,D as f}from"./index-f4bb0849.js";import{_}from"./uni-rate.c47514e7.js";import{_ as y}from"./su-image.6dc7c46f.js";import{_ as v}from"./_plugin-vue_export-helper.1b428a4d.js";const g=v({__name:"comment-item",props:{item:{type:Object,default(){}}},setup:v=>(g,x)=>{const h=d,j=p,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":x[0]||(x[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{g as c};
+import{m as s,n as e,f as l,g as a,w as t,k as r,u as c,v as i,l as m,F as u,r as n,i as o,y as d,j as p,D as f}from"./index-5807d4ad.js";import{_}from"./uni-rate.ca92d400.js";import{_ as y}from"./su-image.0e4114eb.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=d,j=p,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.3258e0c4.js → unpackage/dist/build/web/assets/const.cfa14ea7.js

@@ -1 +1 @@
-import{bh as e}from"./index-f4bb0849.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{bh as e}from"./index-5807d4ad.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.dda9dfca.js


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


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/info-c8f8be63.css


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


+ 1 - 1
unpackage/dist/build/web/assets/pages-index-page.c4d7dd84.js → unpackage/dist/build/web/assets/pages-index-page.896719c0.js

@@ -1 +1 @@
-import{_ as t,a as e}from"./s-block.4dabfe9f.js";import{z as s,o,Y as a,e as p,f as n,g as i,w as r,m as l,l as m,r as u,F as _,n as y,k as d}from"./index-f4bb0849.js";import{_ as g}from"./s-layout.c580b01c.js";import"./phone-international-input.70ef742a.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.f4d9f276.js";import"./uni-badge.51806ef5.js";import"./su-image.6dc7c46f.js";import"./su-swiper.0d1f1b65.js";import"./s-goods-column.dc5b77ee.js";import"./points.c381a8e1.js";import"./useGoods.2d2d7ca4.js";/* empty css                                                                     */import"./uni-load-more.02b204d5.js";/* empty css                                                                *//* empty css                                                                      */import"./const.3258e0c4.js";import"./mp-html.41429290.js";import"./pages-public-richtext.583597a2.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};
+import{_ as t,a as e}from"./s-block.87013273.js";import{z as s,o,Y as a,e as p,f as n,g as i,w as r,m as l,l as m,r as u,F as _,n as y,k as d}from"./index-5807d4ad.js";import{_ as g}from"./s-layout.4dba114f.js";import"./phone-international-input.76db9108.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.ccf5c5e0.js";import"./uni-badge.867475a8.js";import"./su-image.0e4114eb.js";import"./su-swiper.563c96ee.js";import"./s-goods-column.c89a565f.js";import"./points.c381a8e1.js";import"./useGoods.06fc1bae.js";/* empty css                                                                     */import"./uni-load-more.b639026b.js";/* empty css                                                                *//* empty css                                                                      */import"./const.cfa14ea7.js";import"./mp-html.b3cde644.js";import"./pages-public-richtext.dfde5d7d.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 - 1
unpackage/dist/build/web/assets/pages-index-search.398fc169.js → unpackage/dist/build/web/assets/pages-index-search.e8a22cc4.js

@@ -1 +1 @@
-import{z as s,o as t,Q as e,f as o,g as a,w as r,m as i,k as l,u as n,l as c,r as u,F as f,s as h,q as y,P as d,X as p,n as _,j as m,J as x,v as L}from"./index-f4bb0849.js";import{b as g,_ as b}from"./s-layout.c580b01c.js";import{_ as k}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.70ef742a.js";import"./useGoods.2d2d7ca4.js";const w=k({__name:"search",setup(k){const w=s({historyList:[]});function j(s){s&&(!function(s){w.historyList.includes(s)&&w.historyList.splice(w.historyList.indexOf(s),1);w.historyList.unshift(s),w.historyList.length>=10&&(w.historyList.length=10);y("searchHistory",w.historyList)}(s),h.$router.go("/pages/goods/list",{keyword:s}))}function v(){d({title:"提示",content:"确认清除搜索历史吗?",success:function(s){s.confirm&&(w.historyTag=[],p("searchHistory"))}})}return t((()=>{w.historyList=e("searchHistory")||[]})),(s,t)=>{const e=i(_("uni-search-bar"),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=>j(s.value))})])),_:1}),l(h,{class:"ss-flex ss-row-between ss-col-center"},{default:r((()=>[l(h,{class:"serach-history"},{default:r((()=>[n("搜索历史")])),_:1}),l(y,{class:"clean-history ss-reset-button",onClick:v},{default:r((()=>[n(" 清除搜索历史 ")])),_:1})])),_:1}),l(h,{class:"ss-flex ss-col-center ss-row-left ss-flex-wrap"},{default:r((()=>[(o(!0),c(f,null,u(w.historyList,((s,t)=>(o(),a(y,{class:"history-btn ss-reset-button",onClick:t=>j(s),key:t},{default:r((()=>[n(L(s),1)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-d3779116"]]);export{w as default};
+import{z as s,o as t,Q as e,f as o,g as a,w as r,m as i,k as l,u as n,l as c,r as u,F as f,s as h,q as y,P as d,X as p,n as _,j as m,J as x,v as L}from"./index-5807d4ad.js";import{b as g,_ as b}from"./s-layout.4dba114f.js";import{_ as w}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.76db9108.js";import"./useGoods.06fc1bae.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 v(){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:v},{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};

+ 1 - 1
unpackage/dist/build/web/assets/pages-index-user.b62c6fbb.js → unpackage/dist/build/web/assets/pages-index-user.bcb36d66.js

@@ -1 +1 @@
-import{h as s,c as e,p as t,s as a,b as o,d as r,e as p,o as i,q as l,t as n,f as u,g as m,w as _,m as d,l as y,r as c,F as g,n as j,k as b}from"./index-f4bb0849.js";import{_ as v,a as f}from"./s-block.4dabfe9f.js";import{_ as k}from"./s-layout.c580b01c.js";import"./phone-international-input.70ef742a.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.f4d9f276.js";import"./uni-badge.51806ef5.js";import"./su-image.6dc7c46f.js";import"./su-swiper.0d1f1b65.js";import"./s-goods-column.dc5b77ee.js";import"./points.c381a8e1.js";import"./useGoods.2d2d7ca4.js";/* empty css                                                                     */import"./uni-load-more.02b204d5.js";/* empty css                                                                *//* empty css                                                                      */import"./const.3258e0c4.js";import"./mp-html.41429290.js";import"./pages-public-richtext.583597a2.js";const x={__name:"user",setup(x){s();const h=e((()=>a.$store("app").template.user)),S=e((()=>a.$store("user").isLogin));return t((()=>{a.$store("user").updateUserData()})),o((()=>{a.$store("user").updateUserData(),setTimeout((function(){r()}),800)})),p((()=>{})),i((s=>{s.linkId&&(l("linkId",s.linkId),S.value||n("register","register"))})),(s,e)=>{var t;const a=d(j("s-block-item"),v),o=d(j("s-block"),f),r=d(j("s-layout"),k);return u(),m(r,{title:"我的",tabbar:"/pages/index/user",navbar:"custom",bgStyle:h.value.page,navbarStyle:null==(t=h.value.style)?void 0:t.navbar,onShareAppMessage:""},{default:_((()=>[(u(!0),y(g,null,c(h.value.components,((s,e)=>(u(),m(o,{key:e,styles:s.property.style},{default:_((()=>[b(a,{type:s.id,data:s.property,styles:s.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])}}};export{x as default};
+import{h as s,c as e,p as t,s as a,b as o,d as r,e as p,o as i,q as l,t as n,f as u,g as m,w as _,m as d,l as y,r as c,F as g,n as j,k as b}from"./index-5807d4ad.js";import{_ as v,a as f}from"./s-block.87013273.js";import{_ as k}from"./s-layout.4dba114f.js";import"./phone-international-input.76db9108.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.ccf5c5e0.js";import"./uni-badge.867475a8.js";import"./su-image.0e4114eb.js";import"./su-swiper.563c96ee.js";import"./s-goods-column.c89a565f.js";import"./points.c381a8e1.js";import"./useGoods.06fc1bae.js";/* empty css                                                                     */import"./uni-load-more.b639026b.js";/* empty css                                                                *//* empty css                                                                      */import"./const.cfa14ea7.js";import"./mp-html.b3cde644.js";import"./pages-public-richtext.dfde5d7d.js";const x={__name:"user",setup(x){s();const h=e((()=>a.$store("app").template.user)),S=e((()=>a.$store("user").isLogin));return t((()=>{a.$store("user").updateUserData()})),o((()=>{a.$store("user").updateUserData(),setTimeout((function(){r()}),800)})),p((()=>{})),i((s=>{s.linkId&&(l("linkId",s.linkId),S.value||n("register","register"))})),(s,e)=>{var t;const a=d(j("s-block-item"),v),o=d(j("s-block"),f),r=d(j("s-layout"),k);return u(),m(r,{title:"我的",tabbar:"/pages/index/user",navbar:"custom",bgStyle:h.value.page,navbarStyle:null==(t=h.value.style)?void 0:t.navbar,onShareAppMessage:""},{default:_((()=>[(u(!0),y(g,null,c(h.value.components,((s,e)=>(u(),m(o,{key:e,styles:s.property.style},{default:_((()=>[b(a,{type:s.id,data:s.property,styles:s.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])}}};export{x as default};

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


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


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


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


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

@@ -1 +0,0 @@
-import{f as t,g as s,w as a,k as e,E as l,i,u as o,v as d,x as n,s as c,I as u,j as r,z as m,o as f,ao as p,m as _,l as x,r as y,F as g,n as b}from"./index-f4bb0849.js";import{_ as j}from"./s-layout.c580b01c.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.70ef742a.js";import"./useGoods.2d2d7ca4.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,x=r;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(d(m.item.content),1)])),_:1}),e(x,{class:"date"},{default:a((()=>[o(d(n(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 d=r,n=_(b("s-layout"),j);return t(),s(n,{title:"售后进度"},{default:a((()=>[e(d,{class:"log-box"},{default:a((()=>[(t(!0),x(g,null,y(i.list,((l,o)=>(t(),s(d,{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};

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

@@ -0,0 +1 @@
+import{f as t,g as s,w as e,k as a,E as l,i,u as o,v as d,x as n,s as c,I as u,j as r,z as m,o as f,ao as p,m as _,l as x,r as y,F as g,n as b}from"./index-5807d4ad.js";import{_ as j}from"./s-layout.4dba114f.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.76db9108.js";import"./useGoods.06fc1bae.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,x=r;return t(),s(x,{class:"log-item ss-flex"},{default:e((()=>[a(x,{class:"log-icon ss-flex-col ss-col-center ss-m-r-20"},{default:e((()=>[a(_,{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}),a(x,null,{default:e((()=>[a(x,{class:"text"},{default:e((()=>[o(d(m.item.content),1)])),_:1}),a(x,{class:"date"},{default:e((()=>[o(d(n(c).$helper.timeFormat(m.item.createTime,"yyyy-mm-dd hh:MM:ss")),1)])),_:1})])),_:1})])),_:1})}},[["__scopeId","data-v-bbeb067c"]]),I=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 d=r,n=_(b("s-layout"),j);return t(),s(n,{title:"售后进度"},{default:e((()=>[a(d,{class:"log-box"},{default:e((()=>[(t(!0),x(g,null,y(i.list,((l,o)=>(t(),s(d,{key:l.id},{default:e((()=>[a(v,{item:l,index:o,data:i.list},null,8,["item","index","data"])])),_:2},1024)))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-b61de3f9"]]);export{I as default};

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


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


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


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


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


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


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


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


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


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


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


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


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


+ 1 - 1
unpackage/dist/build/web/assets/pages-public-error.bb4b2163.js → unpackage/dist/build/web/assets/pages-public-error.7471b9d2.js

@@ -1 +1 @@
-import{N as t,o as e,f as o,g as n,w as a,j as r,i as s,b6 as i,bR as c,m as p,n as l}from"./index-f4bb0849.js";import{_ as u}from"./s-empty.4c21b833.js";import{_}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                */const m=_({__name:"error",setup(_){const m=t(""),x=t("");async function d(){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=r;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:d,buttonColor:"#132b85"})):"TemplateError"===m.value?(o(),n(i,{key:1,icon:"/static/internet-empty.png",text:"未找到模板",showAction:"",actionText:"重新加载",onClickAction:d,buttonColor:"#132b85"})):""!==m.value?(o(),n(i,{key:2,icon:"/static/internet-empty.png",text:x.value,showAction:"",actionText:"重新加载",onClickAction:d,buttonColor:"#132b85"},null,8,["text"])):s("",!0)])),_:1})}}},[["__scopeId","data-v-189d7116"]]);export{m as default};
+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,bS as c,m as p,n as l}from"./index-5807d4ad.js";import{_ as u}from"./s-empty.db8a2df3.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};

+ 1 - 0
unpackage/dist/build/web/assets/pages-public-faq.2ea0d302.js

@@ -0,0 +1 @@
+import{z as s,o as t,s as e,f as a,g as l,w as o,m as n,k as c,l as r,r as i,F as p,i as u,n as _,u as m,v as d,j as f,I as g}from"./index-5807d4ad.js";import{_ as y,a as j}from"./uni-collapse.f9e4f1a3.js";import{_ as x}from"./s-empty.db8a2df3.js";import{_ as b}from"./s-layout.4dba114f.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.76db9108.js";/* empty css                                                                */import"./useGoods.06fc1bae.js";const v=h({__name:"faq",setup(h){const v=s({list:[],loading:!0});return t((()=>{e.$router.go("/pages/public/richtext",{title:"常见问题"})})),(s,t)=>{const e=f,h=g,F=n(_("uni-collapse-item"),y),k=n(_("uni-collapse"),j),w=n(_("s-empty"),x),I=n(_("s-layout"),b);return a(),l(I,{class:"set-wrap",title:"常见问题",bgStyle:{color:"#FFF"}},{default:o((()=>[c(k,null,{default:o((()=>[(a(!0),r(p,null,i(v.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(d(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(d(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(h,{class:"text"},{default:o((()=>[m(d(s.content),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1}),0!==v.list.length||v.loading?u("",!0):(a(),l(w,{key:0,text:"暂无常见问题",icon:"/static/collect-empty.png"}))])),_:1})}}},[["__scopeId","data-v-d403c664"]]);export{v as default};

+ 0 - 1
unpackage/dist/build/web/assets/pages-public-faq.b2819336.js

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

+ 1 - 1
unpackage/dist/build/web/assets/pages-public-richtext.583597a2.js → unpackage/dist/build/web/assets/pages-public-richtext.dfde5d7d.js

@@ -1 +1 @@
-import{z as t,o as e,bm as s,f as l,g as i,w as n,aO as o,m as a,k as c,n as r,j as p}from"./index-f4bb0849.js";import{_ as m}from"./mp-html.41429290.js";import{_ as u}from"./s-layout.c580b01c.js";import{_ as d}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.70ef742a.js";import"./useGoods.2d2d7ca4.js";const f=d({__name:"richtext",props:{title:{defautls:"",type:String},type:{defautls:"",type:String}},setup(d){const f=t({title:"",content:""});const _=d;return e((t=>{(t.title||_.title)&&(f.title=t.title||_.title,s({title:f.title||_.title})),async function(t,e){const{code:l,data:i}=await o.getArticle(t,e);0===l&&(f.content=i.content,f.title!==i.title&&(f.title=i.title,s({title:f.title})))}(t.id,t.title||_.title)})),(t,e)=>{const s=a(r("mp-html"),m),o=p,_=a(r("s-layout"),u);return f.title&&!d.type?(l(),i(_,{key:0,class:"set-wrap",title:f.title,bgStyle:{color:"#FFF"}},{default:n((()=>[c(o,{class:"ss-p-30"},{default:n((()=>[c(s,{class:"richtext",content:f.content},null,8,["content"])])),_:1})])),_:1},8,["title"])):(l(),i(s,{key:1,class:"richtext",content:f.content},null,8,["content"]))}}},[["__scopeId","data-v-5342d437"]]);export{f as default};
+import{z as t,o as e,bm as s,f as l,g as i,w as n,aO as o,m as a,k as c,n as r,j as p}from"./index-5807d4ad.js";import{_ as m}from"./mp-html.b3cde644.js";import{_ as u}from"./s-layout.4dba114f.js";import{_ as d}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.76db9108.js";import"./useGoods.06fc1bae.js";const f=d({__name:"richtext",props:{title:{defautls:"",type:String},type:{defautls:"",type:String}},setup(d){const f=t({title:"",content:""});const _=d;return e((t=>{(t.title||_.title)&&(f.title=t.title||_.title,s({title:f.title||_.title})),async function(t,e){const{code:l,data:i}=await o.getArticle(t,e);0===l&&(f.content=i.content,f.title!==i.title&&(f.title=i.title,s({title:f.title})))}(t.id,t.title||_.title)})),(t,e)=>{const s=a(r("mp-html"),m),o=p,_=a(r("s-layout"),u);return f.title&&!d.type?(l(),i(_,{key:0,class:"set-wrap",title:f.title,bgStyle:{color:"#FFF"}},{default:n((()=>[c(o,{class:"ss-p-30"},{default:n((()=>[c(s,{class:"richtext",content:f.content},null,8,["content"])])),_:1})])),_:1},8,["title"])):(l(),i(s,{key:1,class:"richtext",content:f.content},null,8,["content"]))}}},[["__scopeId","data-v-5342d437"]]);export{f as default};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-public-setting.00c7dbec.js


+ 1 - 1
unpackage/dist/build/web/assets/pages-public-webview.763297e3.js → unpackage/dist/build/web/assets/pages-public-webview.1076cad3.js

@@ -1 +1 @@
-import{N as s,o as e,f as a,g as n,w as t,j as o,k as r,bS as u}from"./index-f4bb0849.js";const l={__name:"webview",setup(l){const c=s("");return e((s=>{c.value=decodeURIComponent(s.url)})),(s,e)=>{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{N as s,o as e,f as a,g as n,w as t,j as o,k as r,bT as u}from"./index-5807d4ad.js";const l={__name:"webview",setup(l){const c=s("");return e((s=>{c.value=decodeURIComponent(s.url)})),(s,e)=>{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};

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


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-address-edit.adce10c5.js


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


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-dummyAddress-edit.14104f3b.js


+ 0 - 1
unpackage/dist/build/web/assets/pages-user-dummyAddress-list.13daf932.js

@@ -1 +0,0 @@
-import{z as s,p as a,aF as t,O as e,Q as o,aG as r,q as i,f as d,g as l,w as n,m as p,l as u,r as m,F as _,i as c,k as f,x as y,s as g,u as b,n as j,j as k,J as x,aH as h}from"./index-f4bb0849.js";import{_ as v}from"./s-address-item.53ee17b9.js";import{a as w,_ as F}from"./s-layout.c580b01c.js";import{_ as S}from"./s-empty.4c21b833.js";import{_ as A}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.70ef742a.js";import"./useGoods.2d2d7ca4.js";/* empty css                                                                */const C=A({__name:"list",setup(A){const C=s({list:[],loading:!0});return a((async()=>{C.list=(await t.getAddressList(2)).data,C.loading=!1})),e((()=>{o("areaData")||r.getAreaTree().then((s=>{0===s.code&&i("areaData",s.data)}))})),(s,a)=>{const t=p(j("s-address-item"),v),e=k,o=x,r=p(j("su-fixed"),w),i=p(j("s-empty"),S),A=p(j("s-layout"),F);return d(),l(A,{title:"虚拟商品收货地址",bgStyle:{color:"#FFF"}},{default:n((()=>[C.list.length?(d(),l(e,{key:0},{default:n((()=>[(d(!0),u(_,null,m(C.list,(s=>(d(),l(t,{spuType:"0",hasBorderBottom:"",key:s.id,item:s,onClick:a=>(h("SELECT_ADDRESS",{addressInfo:s}),void g.$router.back())},null,8,["item","onClick"])))),128))])),_:1})):c("",!0),f(r,{bottom:"",placeholder:""},{default:n((()=>[f(e,{class:"footer-box ss-flex ss-row-between ss-p-20"},{default:n((()=>[f(o,{class:"add-btn ss-reset-button ui-Shadow-Main",onClick:a[0]||(a[0]=s=>y(g).$router.go("/pages/user/dummyAddress/edit"))},{default:n((()=>[b(" 新增收货地址 ")])),_:1})])),_:1})])),_:1}),0!==C.list.length||C.loading?c("",!0):(d(),l(i,{key:1,text:"暂无收货地址",icon:"/static/data-empty.png"}))])),_:1})}}},[["__scopeId","data-v-79fb41c9"]]);export{C as default};

+ 1 - 0
unpackage/dist/build/web/assets/pages-user-dummyAddress-list.a4b485e4.js

@@ -0,0 +1 @@
+import{z as s,p as a,aF as t,O as e,Q as o,aG as r,q as i,f as l,g as d,w as n,m as p,l as u,r as m,F as _,i as c,k as f,x as y,s as g,u as b,n as j,j as x,J as h,aH as k}from"./index-5807d4ad.js";import{_ as v}from"./s-address-item.afa3cb90.js";import{a as w,_ as C}from"./s-layout.4dba114f.js";import{_ as F}from"./s-empty.db8a2df3.js";import{_ as S}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.76db9108.js";import"./useGoods.06fc1bae.js";/* empty css                                                                */const A=S({__name:"list",setup(S){const A=s({list:[],loading:!0});return a((async()=>{A.list=(await t.getAddressList(2)).data,A.loading=!1})),e((()=>{o("areaData")||r.getAreaTree().then((s=>{0===s.code&&i("areaData",s.data)}))})),(s,a)=>{const t=p(j("s-address-item"),v),e=x,o=h,r=p(j("su-fixed"),w),i=p(j("s-empty"),F),S=p(j("s-layout"),C);return l(),d(S,{title:"虚拟商品收货地址",bgStyle:{color:"#FFF"}},{default:n((()=>[A.list.length?(l(),d(e,{key:0},{default:n((()=>[(l(!0),u(_,null,m(A.list,(s=>(l(),d(t,{spuType:"0",hasBorderBottom:"",key:s.id,item:s,onClick:a=>(k("SELECT_ADDRESS",{addressInfo:s}),void g.$router.back())},null,8,["item","onClick"])))),128))])),_:1})):c("",!0),f(r,{bottom:"",placeholder:""},{default:n((()=>[f(e,{class:"footer-box ss-flex ss-row-between ss-p-20"},{default:n((()=>[f(o,{class:"add-btn ss-reset-button ui-Shadow-Main",onClick:a[0]||(a[0]=s=>y(g).$router.go("/pages/user/dummyAddress/edit"))},{default:n((()=>[b(" 新增收货地址 ")])),_:1})])),_:1})])),_:1}),0!==A.list.length||A.loading?c("",!0):(l(),d(i,{key:1,text:"暂无收货地址",icon:"/static/data-empty.png"}))])),_:1})}}},[["__scopeId","data-v-79fb41c9"]]);export{A as default};

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


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


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-info.52ab6dcf.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-info.d04f5dc1.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-invoice-edit.b81cb89f.js


+ 1 - 1
unpackage/dist/build/web/assets/pages-user-invoice-list.36613eb8.js → unpackage/dist/build/web/assets/pages-user-invoice-list.e28ee144.js

@@ -1 +1 @@
-import{z as s,p as a,aF as t,O as e,Q as o,aG as i,q as r,f as l,g as d,w as n,m as p,l as u,r as m,F as _,i as c,k as f,x as g,s as y,u as b,n as j,j as k,J as x,aH as h}from"./index-f4bb0849.js";import{_ as v}from"./s-address-item.53ee17b9.js";import{a as w,_ as F}from"./s-layout.c580b01c.js";import{_ as S}from"./s-empty.4c21b833.js";import{_ as C}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.70ef742a.js";import"./useGoods.2d2d7ca4.js";/* empty css                                                                */const D=C({__name:"list",setup(C){const D=s({list:[],loading:!0});return a((async()=>{D.list=(await t.getAddressList()).data,D.loading=!1})),e((()=>{o("areaData")||i.getAreaTree().then((s=>{0===s.code&&r("areaData",s.data)}))})),(s,a)=>{const t=p(j("s-address-item"),v),e=k,o=x,i=p(j("su-fixed"),w),r=p(j("s-empty"),S),C=p(j("s-layout"),F);return l(),d(C,{title:"发票抬头管理",bgStyle:{color:"#FFF"}},{default:n((()=>[D.list.length?(l(),d(e,{key:0},{default:n((()=>[(l(!0),u(_,null,m(D.list,(s=>(l(),d(t,{hasBorderBottom:"",key:s.id,item:s,onClick:a=>(h("SELECT_ADDRESS",{addressInfo:s}),void y.$router.back())},null,8,["item","onClick"])))),128))])),_:1})):c("",!0),f(i,{bottom:"",placeholder:""},{default:n((()=>[f(e,{class:"footer-box ss-flex ss-row-between ss-p-20"},{default:n((()=>[f(o,{class:"add-btn ss-reset-button ui-Shadow-Main",onClick:a[0]||(a[0]=s=>g(y).$router.go("/pages/user/invoice/edit"))},{default:n((()=>[b(" 新增发票抬头 ")])),_:1})])),_:1})])),_:1}),0!==D.list.length||D.loading?c("",!0):(l(),d(r,{key:1,text:"暂无发票抬头",icon:"/static/data-empty.png"}))])),_:1})}}},[["__scopeId","data-v-0bd54ac4"]]);export{D as default};
+import{z as s,p as a,aF as t,O as e,Q as o,aG as i,q as r,f as l,g as d,w as n,m as p,l as u,r as m,F as _,i as c,k as f,x as g,s as y,u as b,n as j,j as x,J as h,aH as k}from"./index-5807d4ad.js";import{_ as v}from"./s-address-item.afa3cb90.js";import{a as w,_ as C}from"./s-layout.4dba114f.js";import{_ as F}from"./s-empty.db8a2df3.js";import{_ as S}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.76db9108.js";import"./useGoods.06fc1bae.js";/* empty css                                                                */const D=S({__name:"list",setup(S){const D=s({list:[],loading:!0});return a((async()=>{D.list=(await t.getAddressList()).data,D.loading=!1})),e((()=>{o("areaData")||i.getAreaTree().then((s=>{0===s.code&&r("areaData",s.data)}))})),(s,a)=>{const t=p(j("s-address-item"),v),e=x,o=h,i=p(j("su-fixed"),w),r=p(j("s-empty"),F),S=p(j("s-layout"),C);return l(),d(S,{title:"发票抬头管理",bgStyle:{color:"#FFF"}},{default:n((()=>[D.list.length?(l(),d(e,{key:0},{default:n((()=>[(l(!0),u(_,null,m(D.list,(s=>(l(),d(t,{hasBorderBottom:"",key:s.id,item:s,onClick:a=>(k("SELECT_ADDRESS",{addressInfo:s}),void y.$router.back())},null,8,["item","onClick"])))),128))])),_:1})):c("",!0),f(i,{bottom:"",placeholder:""},{default:n((()=>[f(e,{class:"footer-box ss-flex ss-row-between ss-p-20"},{default:n((()=>[f(o,{class:"add-btn ss-reset-button ui-Shadow-Main",onClick:a[0]||(a[0]=s=>g(y).$router.go("/pages/user/invoice/edit"))},{default:n((()=>[b(" 新增发票抬头 ")])),_:1})])),_:1})])),_:1}),0!==D.list.length||D.loading?c("",!0):(l(),d(r,{key:1,text:"暂无发票抬头",icon:"/static/data-empty.png"}))])),_:1})}}},[["__scopeId","data-v-0bd54ac4"]]);export{D as default};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-qrcode-share.1127fd9c.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-setting.96cec743.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-setting.9d87a560.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-wallet-ScoreLog.0f73d925.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-wallet-maxScoreLog.e02b4672.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-wallet-money.b64f9fb7.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-wallet-money.e233fb79.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/pages-user-wallet-score.61625c72.js


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