Browse Source

update:app微信授权登录调整7

RuHu.Xu 11 months ago
parent
commit
a664fd28ff
100 changed files with 304 additions and 25 deletions
  1. 286 2
      pages/index/login.vue
  2. 3 5
      sheep/components/s-auth-modal/components/officialAccountFirstLogin.vue
  3. 0 1
      sheep/components/s-auth-modal/s-auth-modal.vue
  4. 0 1
      sheep/hooks/useModal.js
  5. 1 1
      unpackage/dist/build/h5/assets/address.9b1359d8.js
  6. 1 1
      unpackage/dist/build/h5/assets/afterSale.1b809d6b.js
  7. 0 1
      unpackage/dist/build/h5/assets/area.a143bf8a.js
  8. 1 0
      unpackage/dist/build/h5/assets/area.f2d7b353.js
  9. 0 0
      unpackage/dist/build/h5/assets/bargain.d5296aca.js
  10. 1 1
      unpackage/dist/build/h5/assets/brokerage.e0d6586a.js
  11. 1 1
      unpackage/dist/build/h5/assets/category.6a942af8.js
  12. 1 1
      unpackage/dist/build/h5/assets/combination.97675091.js
  13. 0 0
      unpackage/dist/build/h5/assets/comment-item.d1905cf3.js
  14. 1 0
      unpackage/dist/build/h5/assets/config.51524e65.js
  15. 0 1
      unpackage/dist/build/h5/assets/config.fdbe7a68.js
  16. 1 1
      unpackage/dist/build/h5/assets/const.cdab607b.js
  17. 0 0
      unpackage/dist/build/h5/assets/detail-content-card.bca1d49b.js
  18. 0 0
      unpackage/dist/build/h5/assets/detail-content-card.f0dc19e4.js
  19. 1 1
      unpackage/dist/build/h5/assets/favorite.eb031e25.js
  20. 0 0
      unpackage/dist/build/h5/assets/form-9ea625e3.css
  21. 0 0
      unpackage/dist/build/h5/assets/form.81b48bcd.js
  22. 1 1
      unpackage/dist/build/h5/assets/history.a7e1f466.js
  23. 0 0
      unpackage/dist/build/h5/assets/index-93212328.js
  24. 0 0
      unpackage/dist/build/h5/assets/login-233e73d1.css
  25. 0 0
      unpackage/dist/build/h5/assets/mp-html.2b0f49d4.js
  26. 0 0
      unpackage/dist/build/h5/assets/pages-activity-bargain-detail.7249b2e5.js
  27. 0 0
      unpackage/dist/build/h5/assets/pages-activity-bargain-detail.8b5fb486.js
  28. 0 0
      unpackage/dist/build/h5/assets/pages-activity-bargain-list.4ef0f894.js
  29. 0 0
      unpackage/dist/build/h5/assets/pages-activity-bargain-list.cc6cd196.js
  30. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-detail.4752a5de.js
  31. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-detail.6b1a6738.js
  32. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-list.1469f62d.js
  33. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-list.6a190b37.js
  34. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-order.42315c17.js
  35. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-order.4d433a40.js
  36. 0 0
      unpackage/dist/build/h5/assets/pages-activity-index.f07f5d0a.js
  37. 0 0
      unpackage/dist/build/h5/assets/pages-activity-index.fd052a31.js
  38. 0 0
      unpackage/dist/build/h5/assets/pages-activity-seckill-list.238cef16.js
  39. 0 0
      unpackage/dist/build/h5/assets/pages-activity-seckill-list.d183d5a9.js
  40. 0 0
      unpackage/dist/build/h5/assets/pages-app-sign.2ba2555b.js
  41. 0 0
      unpackage/dist/build/h5/assets/pages-app-sign.f26b242d.js
  42. 0 0
      unpackage/dist/build/h5/assets/pages-chat-index.89423292.js
  43. 0 0
      unpackage/dist/build/h5/assets/pages-commission-commission-ranking.c773cdcc.js
  44. 0 0
      unpackage/dist/build/h5/assets/pages-commission-commission-ranking.f436d1f4.js
  45. 0 0
      unpackage/dist/build/h5/assets/pages-commission-goods.66ab3319.js
  46. 0 0
      unpackage/dist/build/h5/assets/pages-commission-goods.c819f05a.js
  47. 0 0
      unpackage/dist/build/h5/assets/pages-commission-index.b4c6e1e2.js
  48. 0 0
      unpackage/dist/build/h5/assets/pages-commission-index.f0b689b7.js
  49. 0 0
      unpackage/dist/build/h5/assets/pages-commission-order.649844b6.js
  50. 0 0
      unpackage/dist/build/h5/assets/pages-commission-order.8633b148.js
  51. 0 0
      unpackage/dist/build/h5/assets/pages-commission-promoter.aa9a03d4.js
  52. 0 0
      unpackage/dist/build/h5/assets/pages-commission-promoter.d93faefd.js
  53. 0 0
      unpackage/dist/build/h5/assets/pages-commission-team.e9970bca.js
  54. 0 0
      unpackage/dist/build/h5/assets/pages-commission-team.f8186316.js
  55. 0 0
      unpackage/dist/build/h5/assets/pages-commission-wallet.11d6d553.js
  56. 0 0
      unpackage/dist/build/h5/assets/pages-commission-wallet.9ffc1000.js
  57. 0 0
      unpackage/dist/build/h5/assets/pages-commission-withdraw.758e5006.js
  58. 0 0
      unpackage/dist/build/h5/assets/pages-commission-withdraw.c0fe7813.js
  59. 0 0
      unpackage/dist/build/h5/assets/pages-coupon-detail.206c21fd.js
  60. 0 0
      unpackage/dist/build/h5/assets/pages-coupon-detail.febcb3e8.js
  61. 0 0
      unpackage/dist/build/h5/assets/pages-coupon-list.055cc425.js
  62. 0 0
      unpackage/dist/build/h5/assets/pages-coupon-list.6f9c7e45.js
  63. 0 0
      unpackage/dist/build/h5/assets/pages-goods-comment-add.1c26a618.js
  64. 0 0
      unpackage/dist/build/h5/assets/pages-goods-comment-add.78d0d808.js
  65. 0 0
      unpackage/dist/build/h5/assets/pages-goods-comment-list.6ce5fb16.js
  66. 0 0
      unpackage/dist/build/h5/assets/pages-goods-comment-list.7a0417d5.js
  67. 0 0
      unpackage/dist/build/h5/assets/pages-goods-groupon.2085efda.js
  68. 0 0
      unpackage/dist/build/h5/assets/pages-goods-groupon.44637e5c.js
  69. 0 0
      unpackage/dist/build/h5/assets/pages-goods-index.3a57445a.js
  70. 0 0
      unpackage/dist/build/h5/assets/pages-goods-index.a530761f.js
  71. 0 0
      unpackage/dist/build/h5/assets/pages-goods-list.03953c45.js
  72. 0 0
      unpackage/dist/build/h5/assets/pages-goods-list.44762d59.js
  73. 0 0
      unpackage/dist/build/h5/assets/pages-goods-seckill.2a7f134e.js
  74. 0 0
      unpackage/dist/build/h5/assets/pages-goods-seckill.2c1acd3f.js
  75. 0 0
      unpackage/dist/build/h5/assets/pages-index-cart.361b1909.js
  76. 0 0
      unpackage/dist/build/h5/assets/pages-index-cart.5d43120a.js
  77. 0 0
      unpackage/dist/build/h5/assets/pages-index-category.16662579.js
  78. 0 0
      unpackage/dist/build/h5/assets/pages-index-category.7beee7ae.js
  79. 0 1
      unpackage/dist/build/h5/assets/pages-index-index.6081fd06.js
  80. 1 0
      unpackage/dist/build/h5/assets/pages-index-index.b4fe08dd.js
  81. 0 0
      unpackage/dist/build/h5/assets/pages-index-login.4624990c.js
  82. 0 1
      unpackage/dist/build/h5/assets/pages-index-login.bbb4edf9.js
  83. 0 1
      unpackage/dist/build/h5/assets/pages-index-page.46f097a9.js
  84. 1 0
      unpackage/dist/build/h5/assets/pages-index-page.77b512e8.js
  85. 1 0
      unpackage/dist/build/h5/assets/pages-index-search.69a794b6.js
  86. 0 1
      unpackage/dist/build/h5/assets/pages-index-search.eed545aa.js
  87. 1 0
      unpackage/dist/build/h5/assets/pages-index-user.b2b1efa2.js
  88. 0 1
      unpackage/dist/build/h5/assets/pages-index-user.f7d2dbbe.js
  89. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-apply.65fc5d1f.js
  90. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-apply.6e63e8ac.js
  91. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-detail.8060dd20.js
  92. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-detail.e186dff0.js
  93. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-list.65201e59.js
  94. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-list.e02fdd6c.js
  95. 0 1
      unpackage/dist/build/h5/assets/pages-order-aftersale-log.09e7fa88.js
  96. 1 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-log.7190d5ea.js
  97. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-return-delivery.5f94c127.js
  98. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-return-delivery.c11afa35.js
  99. 0 0
      unpackage/dist/build/h5/assets/pages-order-confirm.1cec2564.js
  100. 0 0
      unpackage/dist/build/h5/assets/pages-order-confirm.d62a2d3e.js

+ 286 - 2
pages/index/login.vue

@@ -2,6 +2,39 @@
 <template>
 	<!-- 空登陆页 -->
 	<view />
+	<view>
+		<view class="head-box ">
+			<view class="ss-flex ss-m-b-20">
+				<view class="isActive head-title">
+					您首次登录,请输入手机号验证
+				</view>
+			</view>
+		</view>
+		<!-- 表单项 -->
+		<uni-forms ref="smsLoginRef" v-model="state.model" :rules="state.rules" validateTrigger="bind" labelWidth="140"
+			labelAlign="center" class="loginUniForm">
+			<uni-forms-item name="mobile" label="手机号" class="loginUniFormItem">
+				<uni-easyinput placeholder="请输入手机号" v-model="state.model.mobile" :inputBorder="false" type="number">
+					<template v-slot:right>
+						<button class="ss-reset-button code-btn code-btn-start" :disabled="state.isMobileEnd"
+							:class="{ 'code-btn-end': state.isMobileEnd }"
+							@tap="getSmsCode('smsLogin', state.model.mobile)">
+							{{ getSmsTimer('smsLogin') }}
+						</button>
+					</template>
+				</uni-easyinput>
+			</uni-forms-item>
+
+			<uni-forms-item name="code" label="验证码" class="loginUniFormItem">
+				<uni-easyinput placeholder="请输入验证码" v-model="state.model.code" :inputBorder="false" type="number"
+					maxlength="4">
+				</uni-easyinput>
+			</uni-forms-item>
+		</uni-forms>
+		<view style="display: flex;justify-content: space-between;margin-top: 20rpx;">
+			<button class="ss-reset-button login-btn-start" @tap="OfficialEnterLogin"> 继续登录 </button>
+		</view>
+	</view>
 </template>
 
 <script setup>
@@ -10,9 +43,63 @@
 		onLoad
 	} from '@dcloudio/uni-app';
 	import {
+		code,
+		mobile
+	} from '@/sheep/validate/form';
+	import {
+		showAuthModal,
 		closeAuthModal,
-		showAuthModal
+		getSmsCode,
+		getSmsTimer
 	} from '@/sheep/hooks/useModal';
+	import AuthUtil from '@/sheep/api/member/auth';
+	
+	const smsLoginRef = ref(null);
+	
+	const emits = defineEmits(['onConfirm']);
+	
+	const props = defineProps({
+		agreeStatus: {
+			type: Boolean,
+			default: false,
+		},
+	});
+	
+	// 数据
+	const state = reactive({
+		isMobileEnd: false, // 手机号输入完毕
+		codeText: '获取验证码',
+		model: {
+			mobile: '', // 手机号
+			code: '', // 验证码
+		},
+		rules: {
+			code,
+			mobile,
+		},
+	});
+	
+	// 短信登录
+	async function OfficialEnterLogin() {
+	
+		// 参数校验
+		const validate = await unref(smsLoginRef)
+			.validate()
+			.catch((error) => {
+				console.log('error: ', error);
+			});
+		if (!validate) {
+			return;
+		}
+	
+		// 提交数据
+		const {
+			code
+		} = await AuthUtil.smsLogin(state.model);
+		if (code === 0) {
+			closeAuthModal();
+		}
+	}
 	onLoad(async (options) => {
 		// #ifdef H5
 		// 将 search 参数赋值到 options 中,方便下面解析
@@ -45,4 +132,201 @@
 		}
 		// #endif
 	});
-</script>
+</script>
+
+<style lang="scss" scoped>
+	@keyframes title-animation {
+	  0% {
+	    font-size: 32rpx;
+	  }
+	  100% {
+	    font-size: 36rpx;
+	  }
+	}
+	
+	.login-wrap {
+	  padding: 50rpx 34rpx;
+	  min-height: 500rpx;
+	  background-color: #fff;
+	  border-radius: 20rpx 20rpx 0 0;
+	}
+	
+	.head-box {
+	  .head-title {
+	    min-width: 160rpx;
+	    font-size: 36rpx;
+	    font-weight: bold;
+	    color: #333333;
+	    line-height: 36rpx;
+	  }
+	  .head-title-active {
+	    width: 160rpx;
+	    font-size: 32rpx;
+	    font-weight: 600;
+	    color: #999;
+	    line-height: 36rpx;
+	  }
+	  .head-title-animation {
+	    animation-name: title-animation;
+	    animation-duration: 0.1s;
+	    animation-timing-function: ease-out;
+	    animation-fill-mode: forwards;
+	  }
+	  .head-title-line {
+	    position: relative;
+	    &::before {
+	      content: '';
+	      width: 1rpx;
+	      height: 34rpx;
+	      background-color: #e4e7ed;
+	      position: absolute;
+	      left: -30rpx;
+	      top: 50%;
+	      transform: translateY(-50%);
+	    }
+	  }
+	  .head-subtitle {
+	    font-size: 26rpx;
+	    font-weight: 400;
+	    color: #afb6c0;
+	    text-align: left;
+	    display: flex;
+	  }
+	}
+	
+	// .code-btn[disabled] {
+	// 	background-color: #fff;
+	// }
+	.code-btn-start {
+	  width: 160rpx;
+	  height: 56rpx;
+	  line-height: normal;
+	  border: 2rpx solid var(--ui-BG-Main);
+	  border-radius: 28rpx;
+	  font-size: 26rpx;
+	  font-weight: 400;
+	  color: var(--ui-BG-Main);
+	  opacity: 1;
+	}
+	
+	.forgot-btn {
+	  width: 160rpx;
+	  line-height: 56rpx;
+	  font-size: 30rpx;
+	  font-weight: 500;
+	  color: #999;
+	}
+	
+	.login-btn-start {
+	  width: 158rpx;
+	  height: 56rpx;
+	  line-height: normal;
+	  background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
+	  border-radius: 28rpx;
+	  font-size: 26rpx;
+	  font-weight: 500;
+	  color: #fff;
+	}
+	
+	.type-btn {
+	  padding: 20rpx;
+	  margin: 40rpx auto;
+	  width: 200rpx;
+	  font-size: 30rpx;
+	  font-weight: 500;
+	  color: #999999;
+	}
+	
+	.auto-login-box {
+	  width: 100%;
+	  .auto-login-btn {
+	    width: 68rpx;
+	    height: 68rpx;
+	    border-radius: 50%;
+	    margin: 0 30rpx;
+	  }
+	  .auto-login-img {
+	    width: 68rpx;
+	    height: 68rpx;
+	    border-radius: 50%;
+	  }
+	}
+	
+	.agreement-box {
+	  margin: 80rpx auto 0;
+	  .protocol-check {
+	    transform: scale(0.7);
+	  }
+	  .agreement-text {
+	    font-size: 26rpx;
+	    font-weight: 500;
+	    color: #999999;
+	    .tcp-text {
+	      color: var(--ui-BG-Main);
+	    }
+	  }
+	}
+	
+	// 修改密码
+	.editPwd-btn-box {
+	  .save-btn {
+	    width: 690rpx;
+	    line-height: 70rpx;
+	    background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
+	    border-radius: 35rpx;
+	    font-size: 28rpx;
+	    font-weight: 500;
+	    color: #ffffff;
+	  }
+	  .forgot-btn {
+	    width: 690rpx;
+	    line-height: 70rpx;
+	    font-size: 28rpx;
+	    font-weight: 500;
+	    color: #999999;
+	  }
+	}
+	
+
+	.code-btn-start {
+		color: #55b774;
+		border: 1px solid #55b774;
+	}
+
+
+
+	.agreement-box {
+		margin: 20rpx 0;
+	}
+
+	.login-btn-start {
+		background: rgb(14, 147, 46);
+		width: 100%;
+		height: 80rpx;
+		font-size: 32rpx;
+	}
+
+	.loginUniForm {
+		border: 1rpx solid #d6d6d6;
+		padding: 10rpx 15rpx;
+		border-radius: 10rpx;
+	}
+
+	.loginUniFormItem:first-child {
+		border-bottom: 1rpx solid #d6d6d6;
+		padding-bottom: 10rpx;
+	}
+
+	.loginUniFormItem:last-child {
+		// border-bottom: 1rpx solid #d6d6d6;
+		padding-top: 10rpx;
+	}
+
+	::v-deep .loginUniFormItem .uni-forms-item__inner {
+		padding-bottom: 0;
+	}
+
+	::v-deep .loginUniFormItem .uni-error-message {
+		bottom: -20rpx;
+	}
+</style>

+ 3 - 5
sheep/components/s-auth-modal/components/officialAccountFirstLogin.vue

@@ -1,14 +1,12 @@
 <!-- 微信公众号首次登录绑定手机号-->
 <template>
 	<view>
-		<view class="head-box " >
+		<view class="head-box ">
 			<view class="ss-flex ss-m-b-20">
-				<view
-				class="isActive head-title"
-					>
+				<view class="isActive head-title">
 					您首次登录,请输入手机号验证
 				</view>
-		
+
 			</view>
 		</view>
 		<!-- 表单项 -->

+ 0 - 1
sheep/components/s-auth-modal/s-auth-modal.vue

@@ -6,7 +6,6 @@
 			<!-- 标题栏 -->
 			<view class="head-box " v-if="['accountLogin', 'smsLogin'].includes(authType)">
 				<view class="ss-flex ss-m-b-20">
-
 					<view
 						:class="[isActive=='accountLogin'?`head-title ss-m-r-40 head-title-animation`:`head-title-active ss-m-r-40`]"
 						@tap="isActive='accountLogin';showAuthModal('accountLogin')">

+ 0 - 1
sheep/hooks/useModal.js

@@ -9,7 +9,6 @@ import AuthUtil from '@/sheep/api/member/auth';
 export function showAuthModal(type = 'accountLogin') {
   const modal = $store('modal');
   if (modal.auth !== '') {
-	  
     closeAuthModal();
     setTimeout(() => {
       modal.$patch((state) => {

+ 1 - 1
unpackage/dist/build/h5/assets/address.e9dd475d.js → unpackage/dist/build/h5/assets/address.9b1359d8.js

@@ -1 +1 @@
-import{T as e}from"./index-a3fd6251.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{X as e}from"./index-93212328.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/h5/assets/afterSale.4adbd321.js → unpackage/dist/build/h5/assets/afterSale.1b809d6b.js

@@ -1 +1 @@
-import{T as e}from"./index-a3fd6251.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{X as e}from"./index-93212328.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};

+ 0 - 1
unpackage/dist/build/h5/assets/area.a143bf8a.js

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

+ 1 - 0
unpackage/dist/build/h5/assets/area.f2d7b353.js

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

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/bargain.d5296aca.js


+ 1 - 1
unpackage/dist/build/h5/assets/brokerage.b06445c9.js → unpackage/dist/build/h5/assets/brokerage.e0d6586a.js

@@ -1 +1 @@
-import{T as e}from"./index-a3fd6251.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{X as e}from"./index-93212328.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/h5/assets/category.5e3dee5a.js → unpackage/dist/build/h5/assets/category.6a942af8.js

@@ -1 +1 @@
-import{T as t}from"./index-a3fd6251.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{X as t}from"./index-93212328.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/h5/assets/combination.dc0d9644.js → unpackage/dist/build/h5/assets/combination.97675091.js

@@ -1 +1 @@
-import{T as o}from"./index-a3fd6251.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{X as o}from"./index-93212328.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};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/comment-item.d1905cf3.js


+ 1 - 0
unpackage/dist/build/h5/assets/config.51524e65.js

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

+ 0 - 1
unpackage/dist/build/h5/assets/config.fdbe7a68.js

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

+ 1 - 1
unpackage/dist/build/h5/assets/const.21d17aef.js → unpackage/dist/build/h5/assets/const.cdab607b.js

@@ -1 +1 @@
-import{T as t,b3 as e}from"./index-a3fd6251.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{X as t,b0 as e}from"./index-93212328.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};

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


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


+ 1 - 1
unpackage/dist/build/h5/assets/favorite.22f98747.js → unpackage/dist/build/h5/assets/favorite.eb031e25.js

@@ -1 +1 @@
-import{T as e}from"./index-a3fd6251.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:"收藏成功"}}),deleteFavorite:t=>e({url:"/product/favorite/delete",method:"DELETE",data:{spuId:t},custom:{auth:!0,showSuccess:!0,successMsg:"取消成功"}})};export{t as F};
+import{X as e}from"./index-93212328.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:"收藏成功"}}),deleteFavorite:t=>e({url:"/product/favorite/delete",method:"DELETE",data:{spuId:t},custom:{auth:!0,showSuccess:!0,successMsg:"取消成功"}})};export{t as F};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/form-9ea625e3.css


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/form.81b48bcd.js


+ 1 - 1
unpackage/dist/build/h5/assets/history.b4b25ee8.js → unpackage/dist/build/h5/assets/history.a7e1f466.js

@@ -1 +1 @@
-import{T as s}from"./index-a3fd6251.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{X as s}from"./index-93212328.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};

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


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/login-233e73d1.css


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-coupon-list.055cc425.js


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


+ 0 - 1
unpackage/dist/build/h5/assets/pages-index-index.6081fd06.js

@@ -1 +0,0 @@
-import{h as s,c as e,o as t,s as o,$ as a,a as p,b as r,d as l,u as i,e as m,f as n,w as u,g as d,i as _,j as y,k as c,r as g,F as j,l as b,m as v}from"./index-a3fd6251.js";import{_ as f,a as x}from"./s-block.c913a5be.js";import{_ as h}from"./s-layout.2643c63c.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.9b0becc2.js";import"./su-image.d8105395.js";import"./su-swiper.41a28723.js";import"./s-goods-column.05058825.js";import"./useGoods.33457411.js";/* empty css                                                                     */import"./uni-load-more.9e7bffbc.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.8bd2e3f3.js";import"./combination.dc0d9644.js";import"./const.21d17aef.js";import"./mp-html.8dbc3ff7.js";import"./richtext.4170f522.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 console.log(S),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)})),l((()=>{})),(s,e)=>{const t=b(v("s-block-item"),f),o=b(v("s-block"),x),a=b(v("s-layout"),h),p=_;return i(S)?(m(),n(p,{key:0},{default:u((()=>{var s;return[y(a,{title:"首页",navbar:"custom",tabbar:"/pages/index/index",bgStyle:i(S).page,navbarStyle:null==(s=i(S).style)?void 0:s.navbar,onShareAppMessage:""},{default:u((()=>[(m(!0),c(j,null,g(i(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};

+ 1 - 0
unpackage/dist/build/h5/assets/pages-index-index.b4fe08dd.js

@@ -0,0 +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-93212328.js";import{_ as f,a as x}from"./s-block.e38e7a74.js";import{_ as h}from"./s-layout.c68aa7d5.js";import"./form.81b48bcd.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.d498d3f6.js";import"./su-image.3236d212.js";import"./su-swiper.56bda7c0.js";import"./s-goods-column.95d9f849.js";import"./useGoods.f995157e.js";/* empty css                                                                     */import"./uni-load-more.e719e906.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.332abcfc.js";import"./combination.97675091.js";import"./const.cdab607b.js";import"./mp-html.2b0f49d4.js";import"./richtext.06c50253.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 console.log(S),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};

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


+ 0 - 1
unpackage/dist/build/h5/assets/pages-index-login.bbb4edf9.js

@@ -1 +0,0 @@
-import{o as a,s as e,I as o,J as r,K as s,L as n,e as t,f as i,i as l}from"./index-a3fd6251.js";const c={__name:"login",setup:c=>(a((async a=>{new URLSearchParams(location.search).forEach(((e,o)=>{a[o]=e}));const t=a.event,i=a.code,l=a.state;if("login"===t){const a=await e.$platform.useProvider().login(i,l);if(!a)return console.log("返回第一次登录了",a),o("officialAccountFirstLogin"),!1}else"bind"===t&&e.$platform.useProvider().bind(i,l);let c=r("returnUrl");c?(s("returnUrl"),location.replace(c)):n({url:"/"})})),(a,e)=>{const o=l;return t(),i(o)})};export{c as default};

+ 0 - 1
unpackage/dist/build/h5/assets/pages-index-page.46f097a9.js

@@ -1 +0,0 @@
-import{_ as t,a as e}from"./s-block.c913a5be.js";import{v as s,o,P as a,d as p,e as r,f as n,w as i,l,k as m,r as _,F as u,m as y,j as d}from"./index-a3fd6251.js";import{_ as c}from"./s-layout.2643c63c.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.9b0becc2.js";import"./su-image.d8105395.js";import"./su-swiper.41a28723.js";import"./s-goods-column.05058825.js";import"./useGoods.33457411.js";/* empty css                                                                     */import"./uni-load-more.9e7bffbc.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.8bd2e3f3.js";import"./combination.dc0d9644.js";import"./const.21d17aef.js";import"./mp-html.8dbc3ff7.js";import"./richtext.4170f522.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:n}=await a.getDiyPage(p);0===r&&(j.name=n.name,j.components=null==(e=n.property)?void 0:e.components,j.navigationBar=null==(s=n.property)?void 0:s.navigationBar,j.page=null==(o=n.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(),n(g,{title:j.name,navbar:"custom",bgStyle:j.page,navbarStyle:j.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:i((()=>[(r(!0),m(u,null,_(j.components,((t,e)=>(r(),n(p,{key:e,styles:t.property.style},{default:i((()=>[d(a,{type:t.id,data:t.property,styles:t.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["title","bgStyle","navbarStyle"])}}};export{g as default};

+ 1 - 0
unpackage/dist/build/h5/assets/pages-index-page.77b512e8.js

@@ -0,0 +1 @@
+import{_ as t,a as s}from"./s-block.e38e7a74.js";import{v as e,o,U 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-93212328.js";import{_ as c}from"./s-layout.c68aa7d5.js";import"./form.81b48bcd.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.d498d3f6.js";import"./su-image.3236d212.js";import"./su-swiper.56bda7c0.js";import"./s-goods-column.95d9f849.js";import"./useGoods.f995157e.js";/* empty css                                                                     */import"./uni-load-more.e719e906.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.332abcfc.js";import"./combination.97675091.js";import"./const.cdab607b.js";import"./mp-html.2b0f49d4.js";import"./richtext.06c50253.js";const g={__name:"page",setup(g){const j=e({name:"",components:[],navigationBar:{},page:{}});return o((async t=>{var s,e,o;let p=t.id;const{code:r,data:i}=await a.getDiyPage(p);0===r&&(j.name=i.name,j.components=null==(s=i.property)?void 0:s.components,j.navigationBar=null==(e=i.property)?void 0:e.navigationBar,j.page=null==(o=i.property)?void 0:o.page)})),p((()=>{})),(e,o)=>{const a=l(y("s-block-item"),t),p=l(y("s-block"),s),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,s)=>(r(),i(p,{key:s,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 - 0
unpackage/dist/build/h5/assets/pages-index-search.69a794b6.js

@@ -0,0 +1 @@
+import{v as s,o as t,J as e,e as a,f as o,w as r,l as i,j as l,p as c,k as n,r as u,F as f,s as h,Q as y,R as d,T as p,m as _,i as m,D as x,t as L}from"./index-93212328.js";import{b as g,_ as b}from"./s-layout.c68aa7d5.js";import{_ as w}from"./_plugin-vue_export-helper.1b428a4d.js";import"./form.81b48bcd.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-d3779116"]]);export{k as default};

+ 0 - 1
unpackage/dist/build/h5/assets/pages-index-search.eed545aa.js

@@ -1 +0,0 @@
-import{v as s,o as t,J as e,e as a,f as o,w as r,l as i,j as l,p as c,k as n,r as u,F as f,s as h,M as y,N as d,O as p,m as _,i as m,D as x,t as L}from"./index-a3fd6251.js";import{b as g,_ as b}from"./s-layout.2643c63c.js";import{_ as w}from"./_plugin-vue_export-helper.1b428a4d.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-d3779116"]]);export{k as default};

+ 1 - 0
unpackage/dist/build/h5/assets/pages-index-user.b2b1efa2.js

@@ -0,0 +1 @@
+import{h as s,c as e,n as t,s as o,a,b as r,d as p,e as l,f as i,w as u,u as m,l as n,k as _,r as d,F as y,m as c,j}from"./index-93212328.js";import{_ as b,a as g}from"./s-block.e38e7a74.js";import{_ as v}from"./s-layout.c68aa7d5.js";import"./form.81b48bcd.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.d498d3f6.js";import"./su-image.3236d212.js";import"./su-swiper.56bda7c0.js";import"./s-goods-column.95d9f849.js";import"./useGoods.f995157e.js";/* empty css                                                                     */import"./uni-load-more.e719e906.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.332abcfc.js";import"./combination.97675091.js";import"./const.cdab607b.js";import"./mp-html.2b0f49d4.js";import"./richtext.06c50253.js";const f={__name:"user",setup(f){s();const x=e((()=>o.$store("app").template.user));return console.log(x.value),e((()=>o.$store("user").isLogin)),t((()=>{o.$store("user").updateUserData()})),a((()=>{o.$store("user").updateUserData(),setTimeout((function(){r()}),800)})),p((()=>{})),(s,e)=>{var t;const o=n(c("s-block-item"),b),a=n(c("s-block"),g),r=n(c("s-layout"),v);return l(),i(r,{title:"我的",tabbar:"/pages/index/user",navbar:"custom",bgStyle:m(x).page,navbarStyle:null==(t=m(x).style)?void 0:t.navbar,onShareAppMessage:""},{default:u((()=>[(l(!0),_(y,null,d(m(x).components,((s,e)=>(l(),i(a,{key:e,styles:s.property.style},{default:u((()=>[j(o,{type:s.id,data:s.property,styles:s.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])}}};export{f as default};

+ 0 - 1
unpackage/dist/build/h5/assets/pages-index-user.f7d2dbbe.js

@@ -1 +0,0 @@
-import{h as s,c as e,n as t,s as o,a,b as r,d as p,e as l,f as i,w as u,u as m,l as n,k as _,r as d,F as y,m as c,j}from"./index-a3fd6251.js";import{_ as b,a as g}from"./s-block.c913a5be.js";import{_ as v}from"./s-layout.2643c63c.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.9b0becc2.js";import"./su-image.d8105395.js";import"./su-swiper.41a28723.js";import"./s-goods-column.05058825.js";import"./useGoods.33457411.js";/* empty css                                                                     */import"./uni-load-more.9e7bffbc.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.8bd2e3f3.js";import"./combination.dc0d9644.js";import"./const.21d17aef.js";import"./mp-html.8dbc3ff7.js";import"./richtext.4170f522.js";const f={__name:"user",setup(f){s();const x=e((()=>o.$store("app").template.user));return console.log(x.value),e((()=>o.$store("user").isLogin)),t((()=>{o.$store("user").updateUserData()})),a((()=>{o.$store("user").updateUserData(),setTimeout((function(){r()}),800)})),p((()=>{})),(s,e)=>{var t;const o=n(c("s-block-item"),b),a=n(c("s-block"),g),r=n(c("s-layout"),v);return l(),i(r,{title:"我的",tabbar:"/pages/index/user",navbar:"custom",bgStyle:m(x).page,navbarStyle:null==(t=m(x).style)?void 0:t.navbar,onShareAppMessage:""},{default:u((()=>[(l(!0),_(y,null,d(m(x).components,((s,e)=>(l(),i(a,{key:e,styles:s.property.style},{default:u((()=>[j(o,{type:s.id,data:s.property,styles:s.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])}}};export{f as default};

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


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


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


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


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-order-aftersale-list.65201e59.js


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


+ 0 - 1
unpackage/dist/build/h5/assets/pages-order-aftersale-log.09e7fa88.js

@@ -1 +0,0 @@
-import{e as t,f as e,w as a,j as s,z as l,g as i,p as o,t as d,u as n,s as c,C as r,i as u,v as m,o as f,l as _,k as p,r as y,F as x,m as g}from"./index-a3fd6251.js";import{_ as b}from"./s-layout.2643c63c.js";import{_ as j}from"./_plugin-vue_export-helper.1b428a4d.js";import{A as h}from"./afterSale.4adbd321.js";const v=j({__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(),e(y,{class:"log-item ss-flex"},{default:a((()=>[s(y,{class:"log-icon ss-flex-col ss-col-center ss-m-r-20"},{default:a((()=>[s(p,{class:l(["cicon-title",0===m.index?"activity-color":""])},null,8,["class"]),m.data.length-1!==m.index?(t(),e(y,{key:0,class:"line"})):i("",!0)])),_:1}),s(y,null,{default:a((()=>[s(y,{class:"text"},{default:a((()=>[o(d(m.item.content),1)])),_:1}),s(y,{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=j({__name:"log",setup(l){const i=m({list:[]});return f((t=>{i.aftersaleId=t.id,async function(t){const{data:e}=await h.getAfterSaleLogList(t);i.list=e}(t.id)})),(l,o)=>{const d=u,n=_(g("s-layout"),b);return t(),e(n,{title:"售后进度"},{default:a((()=>[s(d,{class:"log-box"},{default:a((()=>[(t(!0),p(x,null,y(i.list,((l,o)=>(t(),e(d,{key:l.id},{default:a((()=>[s(v,{item:l,index:o,data:i.list},null,8,["item","index","data"])])),_:2},1024)))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-b61de3f9"]]);export{k as default};

+ 1 - 0
unpackage/dist/build/h5/assets/pages-order-aftersale-log.7190d5ea.js

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

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


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


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/pages-order-confirm.1cec2564.js


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


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