Browse Source

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

RuHu.Xu 1 year ago
parent
commit
91791a9053
100 changed files with 287 additions and 24 deletions
  1. 271 2
      pages/index/login.vue
  2. 1 6
      sheep/components/s-auth-modal/components/officialAccountFirstLogin.vue
  3. 1 1
      unpackage/dist/build/h5/assets/address.e5ec4d20.js
  4. 1 1
      unpackage/dist/build/h5/assets/afterSale.9e1309b0.js
  5. 0 1
      unpackage/dist/build/h5/assets/area.5bdae680.js
  6. 1 0
      unpackage/dist/build/h5/assets/area.a7fe2858.js
  7. 0 0
      unpackage/dist/build/h5/assets/bargain.aa2d8fcb.js
  8. 1 1
      unpackage/dist/build/h5/assets/brokerage.8dc43233.js
  9. 1 1
      unpackage/dist/build/h5/assets/category.1dbddf41.js
  10. 1 1
      unpackage/dist/build/h5/assets/combination.9565085f.js
  11. 0 0
      unpackage/dist/build/h5/assets/comment-item.50a2e66e.js
  12. 1 0
      unpackage/dist/build/h5/assets/config.84d9ca94.js
  13. 0 1
      unpackage/dist/build/h5/assets/config.fd9b7bca.js
  14. 1 1
      unpackage/dist/build/h5/assets/const.420fa0d2.js
  15. 0 0
      unpackage/dist/build/h5/assets/detail-content-card.746299f0.js
  16. 0 0
      unpackage/dist/build/h5/assets/detail-content-card.a7118eba.js
  17. 1 1
      unpackage/dist/build/h5/assets/favorite.846896f0.js
  18. 0 0
      unpackage/dist/build/h5/assets/form-9ea625e3.css
  19. 0 0
      unpackage/dist/build/h5/assets/form.715304a8.js
  20. 1 1
      unpackage/dist/build/h5/assets/history.4f47bba3.js
  21. 0 0
      unpackage/dist/build/h5/assets/index-aaa2974f.js
  22. 0 0
      unpackage/dist/build/h5/assets/login-83b7d60b.css
  23. 0 0
      unpackage/dist/build/h5/assets/mp-html.98f80948.js
  24. 0 0
      unpackage/dist/build/h5/assets/pages-activity-bargain-detail.0ca14321.js
  25. 0 0
      unpackage/dist/build/h5/assets/pages-activity-bargain-detail.b0174a43.js
  26. 0 0
      unpackage/dist/build/h5/assets/pages-activity-bargain-list.9905633d.js
  27. 0 0
      unpackage/dist/build/h5/assets/pages-activity-bargain-list.f43c0393.js
  28. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-detail.17e0b909.js
  29. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-detail.b2699728.js
  30. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-list.9c0f18d0.js
  31. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-list.d240494b.js
  32. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-order.9199e283.js
  33. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-order.cc188896.js
  34. 0 0
      unpackage/dist/build/h5/assets/pages-activity-index.58eaa5fe.js
  35. 0 0
      unpackage/dist/build/h5/assets/pages-activity-index.f21b417e.js
  36. 0 0
      unpackage/dist/build/h5/assets/pages-activity-seckill-list.a86388c1.js
  37. 0 0
      unpackage/dist/build/h5/assets/pages-activity-seckill-list.ce726d1e.js
  38. 0 0
      unpackage/dist/build/h5/assets/pages-app-sign.a0e586c5.js
  39. 0 0
      unpackage/dist/build/h5/assets/pages-app-sign.ee253ffe.js
  40. 0 0
      unpackage/dist/build/h5/assets/pages-chat-index.a27e69a7.js
  41. 0 0
      unpackage/dist/build/h5/assets/pages-commission-commission-ranking.8f7be978.js
  42. 0 0
      unpackage/dist/build/h5/assets/pages-commission-commission-ranking.b37421c3.js
  43. 0 0
      unpackage/dist/build/h5/assets/pages-commission-goods.3361e07c.js
  44. 0 0
      unpackage/dist/build/h5/assets/pages-commission-goods.3a29b9d2.js
  45. 0 0
      unpackage/dist/build/h5/assets/pages-commission-index.4dded199.js
  46. 0 0
      unpackage/dist/build/h5/assets/pages-commission-index.667cbb20.js
  47. 0 0
      unpackage/dist/build/h5/assets/pages-commission-order.503117be.js
  48. 0 0
      unpackage/dist/build/h5/assets/pages-commission-order.dd5340ca.js
  49. 0 0
      unpackage/dist/build/h5/assets/pages-commission-promoter.14341ea6.js
  50. 0 0
      unpackage/dist/build/h5/assets/pages-commission-promoter.9c3f073e.js
  51. 0 0
      unpackage/dist/build/h5/assets/pages-commission-team.8c79a485.js
  52. 0 0
      unpackage/dist/build/h5/assets/pages-commission-team.c68708ff.js
  53. 0 0
      unpackage/dist/build/h5/assets/pages-commission-wallet.58b166db.js
  54. 0 0
      unpackage/dist/build/h5/assets/pages-commission-wallet.fc91fbe9.js
  55. 0 0
      unpackage/dist/build/h5/assets/pages-commission-withdraw.4cee12a8.js
  56. 0 0
      unpackage/dist/build/h5/assets/pages-commission-withdraw.f43cc878.js
  57. 0 0
      unpackage/dist/build/h5/assets/pages-coupon-detail.1b3449b3.js
  58. 0 0
      unpackage/dist/build/h5/assets/pages-coupon-detail.58ee3832.js
  59. 0 0
      unpackage/dist/build/h5/assets/pages-coupon-list.2eaef204.js
  60. 0 0
      unpackage/dist/build/h5/assets/pages-coupon-list.659bbb8e.js
  61. 0 0
      unpackage/dist/build/h5/assets/pages-goods-comment-add.7be8e602.js
  62. 0 0
      unpackage/dist/build/h5/assets/pages-goods-comment-add.c96b088a.js
  63. 0 0
      unpackage/dist/build/h5/assets/pages-goods-comment-list.3b5dfa41.js
  64. 0 0
      unpackage/dist/build/h5/assets/pages-goods-comment-list.67e096b8.js
  65. 0 0
      unpackage/dist/build/h5/assets/pages-goods-groupon.4d2cce84.js
  66. 0 0
      unpackage/dist/build/h5/assets/pages-goods-groupon.e14718d5.js
  67. 0 0
      unpackage/dist/build/h5/assets/pages-goods-index.39278baf.js
  68. 0 0
      unpackage/dist/build/h5/assets/pages-goods-index.4a9d33af.js
  69. 0 0
      unpackage/dist/build/h5/assets/pages-goods-list.98a4c326.js
  70. 0 0
      unpackage/dist/build/h5/assets/pages-goods-list.9faaf5f7.js
  71. 0 0
      unpackage/dist/build/h5/assets/pages-goods-seckill.39fe0510.js
  72. 0 0
      unpackage/dist/build/h5/assets/pages-goods-seckill.f39dd0cd.js
  73. 0 0
      unpackage/dist/build/h5/assets/pages-index-cart.a7667930.js
  74. 0 0
      unpackage/dist/build/h5/assets/pages-index-cart.a9755789.js
  75. 0 0
      unpackage/dist/build/h5/assets/pages-index-category.80ca9bac.js
  76. 0 0
      unpackage/dist/build/h5/assets/pages-index-category.c725c20c.js
  77. 0 1
      unpackage/dist/build/h5/assets/pages-index-index.1d1c8b4f.js
  78. 1 0
      unpackage/dist/build/h5/assets/pages-index-index.86d2330e.js
  79. 0 1
      unpackage/dist/build/h5/assets/pages-index-login.23bfe465.js
  80. 0 0
      unpackage/dist/build/h5/assets/pages-index-login.595e9b7a.js
  81. 0 1
      unpackage/dist/build/h5/assets/pages-index-page.9c3388f9.js
  82. 1 0
      unpackage/dist/build/h5/assets/pages-index-page.c9bbcda2.js
  83. 0 1
      unpackage/dist/build/h5/assets/pages-index-search.af6786c5.js
  84. 1 0
      unpackage/dist/build/h5/assets/pages-index-search.b24d443b.js
  85. 1 0
      unpackage/dist/build/h5/assets/pages-index-user.3400d565.js
  86. 0 1
      unpackage/dist/build/h5/assets/pages-index-user.e56bcadb.js
  87. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-apply.0b9c23d8.js
  88. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-apply.6fdbffef.js
  89. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-detail.44cc98da.js
  90. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-detail.5cd0277f.js
  91. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-list.33445c06.js
  92. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-list.b1056b8b.js
  93. 0 1
      unpackage/dist/build/h5/assets/pages-order-aftersale-log.404b4745.js
  94. 1 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-log.ea374e57.js
  95. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-return-delivery.197a7ba3.js
  96. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-return-delivery.f9ea9ffc.js
  97. 0 0
      unpackage/dist/build/h5/assets/pages-order-confirm.40ccce2b.js
  98. 0 0
      unpackage/dist/build/h5/assets/pages-order-confirm.54b4b835.js
  99. 0 0
      unpackage/dist/build/h5/assets/pages-order-detail.4a591d81.js
  100. 0 0
      unpackage/dist/build/h5/assets/pages-order-detail.9336ddd5.js

+ 271 - 2
pages/index/login.vue

@@ -3,11 +3,47 @@
 	<!-- 空登陆页 -->
 	<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>
+	import {
+		ref,
+		reactive,
+		unref,
+		computed
+	} from 'vue';
 	import sheep from '@/sheep';
 	import {
 		onLoad
@@ -16,7 +52,44 @@
 		showAuthModal, 
 		closeAuthModal,
 	} from '@/sheep/hooks/useModal';
-
+	import {
+		code,
+		mobile
+	} from '@/sheep/validate/form';
+	const smsLoginRef = ref(null);
+	// 数据
+	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 中,方便下面解析
@@ -53,3 +126,199 @@
 	});
 </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>

+ 1 - 6
sheep/components/s-auth-modal/components/officialAccountFirstLogin.vue

@@ -59,12 +59,7 @@
 
 	const emits = defineEmits(['onConfirm']);
 
-	const props = defineProps({
-		agreeStatus: {
-			type: Boolean,
-			default: false,
-		},
-	});
+
 
 	// 数据
 	const state = reactive({

+ 1 - 1
unpackage/dist/build/h5/assets/address.5f873291.js → unpackage/dist/build/h5/assets/address.e5ec4d20.js

@@ -1 +1 @@
-import{T as e}from"./index-3d0e004b.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{V as e}from"./index-aaa2974f.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.4f2b3118.js → unpackage/dist/build/h5/assets/afterSale.9e1309b0.js

@@ -1 +1 @@
-import{T as e}from"./index-3d0e004b.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{V as e}from"./index-aaa2974f.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.5bdae680.js

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

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

@@ -0,0 +1 @@
+import{V as e}from"./index-aaa2974f.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.aa2d8fcb.js


+ 1 - 1
unpackage/dist/build/h5/assets/brokerage.7dd9172f.js → unpackage/dist/build/h5/assets/brokerage.8dc43233.js

@@ -1 +1 @@
-import{T as e}from"./index-3d0e004b.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{V as e}from"./index-aaa2974f.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.37c3eccb.js → unpackage/dist/build/h5/assets/category.1dbddf41.js

@@ -1 +1 @@
-import{T as t}from"./index-3d0e004b.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{V as t}from"./index-aaa2974f.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.6a1d70cf.js → unpackage/dist/build/h5/assets/combination.9565085f.js

@@ -1 +1 @@
-import{T as o}from"./index-3d0e004b.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{V as o}from"./index-aaa2974f.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.50a2e66e.js


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

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

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

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

+ 1 - 1
unpackage/dist/build/h5/assets/const.6d8d7435.js → unpackage/dist/build/h5/assets/const.420fa0d2.js

@@ -1 +1 @@
-import{T as t,b3 as e}from"./index-3d0e004b.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{V as t,b0 as e}from"./index-aaa2974f.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.746299f0.js


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


+ 1 - 1
unpackage/dist/build/h5/assets/favorite.10256ef1.js → unpackage/dist/build/h5/assets/favorite.846896f0.js

@@ -1 +1 @@
-import{T as e}from"./index-3d0e004b.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{V as e}from"./index-aaa2974f.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.715304a8.js


+ 1 - 1
unpackage/dist/build/h5/assets/history.1f73dc77.js → unpackage/dist/build/h5/assets/history.4f47bba3.js

@@ -1 +1 @@
-import{T as s}from"./index-3d0e004b.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{V as s}from"./index-aaa2974f.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-aaa2974f.js


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


+ 0 - 1
unpackage/dist/build/h5/assets/pages-index-index.1d1c8b4f.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-3d0e004b.js";import{_ as f,a as x}from"./s-block.45aae9a3.js";import{_ as h}from"./s-layout.e0c45559.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.a12abacc.js";import"./su-image.cf1aaa33.js";import"./su-swiper.4d92986a.js";import"./s-goods-column.8f2f5de3.js";import"./useGoods.b126a455.js";/* empty css                                                                     */import"./uni-load-more.63c5fe44.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.b0752fa5.js";import"./combination.6a1d70cf.js";import"./const.6d8d7435.js";import"./mp-html.406e60e1.js";import"./richtext.9a45868a.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.86d2330e.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-aaa2974f.js";import{_ as f,a as x}from"./s-block.714244aa.js";import{_ as h}from"./s-layout.70eaf727.js";import"./form.715304a8.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.2ffadca4.js";import"./su-image.5dcbea28.js";import"./su-swiper.3c05d09b.js";import"./s-goods-column.a8fecf03.js";import"./useGoods.ae2e71f0.js";/* empty css                                                                     */import"./uni-load-more.32597ccb.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.404ebf2f.js";import"./combination.9565085f.js";import"./const.420fa0d2.js";import"./mp-html.98f80948.js";import"./richtext.42b7a5bf.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};

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

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

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


+ 0 - 1
unpackage/dist/build/h5/assets/pages-index-page.9c3388f9.js

@@ -1 +0,0 @@
-import{_ as t,a as e}from"./s-block.45aae9a3.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-3d0e004b.js";import{_ as c}from"./s-layout.e0c45559.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.a12abacc.js";import"./su-image.cf1aaa33.js";import"./su-swiper.4d92986a.js";import"./s-goods-column.8f2f5de3.js";import"./useGoods.b126a455.js";/* empty css                                                                     */import"./uni-load-more.63c5fe44.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.b0752fa5.js";import"./combination.6a1d70cf.js";import"./const.6d8d7435.js";import"./mp-html.406e60e1.js";import"./richtext.9a45868a.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.c9bbcda2.js

@@ -0,0 +1 @@
+import{_ as t,a as s}from"./s-block.714244aa.js";import{v as e,o,R 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-aaa2974f.js";import{_ as c}from"./s-layout.70eaf727.js";import"./form.715304a8.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.2ffadca4.js";import"./su-image.5dcbea28.js";import"./su-swiper.3c05d09b.js";import"./s-goods-column.a8fecf03.js";import"./useGoods.ae2e71f0.js";/* empty css                                                                     */import"./uni-load-more.32597ccb.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.404ebf2f.js";import"./combination.9565085f.js";import"./const.420fa0d2.js";import"./mp-html.98f80948.js";import"./richtext.42b7a5bf.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};

+ 0 - 1
unpackage/dist/build/h5/assets/pages-index-search.af6786c5.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-3d0e004b.js";import{b as g,_ as b}from"./s-layout.e0c45559.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-search.b24d443b.js

@@ -0,0 +1 @@
+import{v as s,o as t,K 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,O as y,P as d,Q as p,m as _,i as m,D as x,t as L}from"./index-aaa2974f.js";import{b as g,_ as b}from"./s-layout.70eaf727.js";import{_ as w}from"./_plugin-vue_export-helper.1b428a4d.js";import"./form.715304a8.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.3400d565.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-aaa2974f.js";import{_ as b,a as g}from"./s-block.714244aa.js";import{_ as v}from"./s-layout.70eaf727.js";import"./form.715304a8.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.2ffadca4.js";import"./su-image.5dcbea28.js";import"./su-swiper.3c05d09b.js";import"./s-goods-column.a8fecf03.js";import"./useGoods.ae2e71f0.js";/* empty css                                                                     */import"./uni-load-more.32597ccb.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.404ebf2f.js";import"./combination.9565085f.js";import"./const.420fa0d2.js";import"./mp-html.98f80948.js";import"./richtext.42b7a5bf.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.e56bcadb.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-3d0e004b.js";import{_ as b,a as g}from"./s-block.45aae9a3.js";import{_ as v}from"./s-layout.e0c45559.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.a12abacc.js";import"./su-image.cf1aaa33.js";import"./su-swiper.4d92986a.js";import"./s-goods-column.8f2f5de3.js";import"./useGoods.b126a455.js";/* empty css                                                                     */import"./uni-load-more.63c5fe44.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.b0752fa5.js";import"./combination.6a1d70cf.js";import"./const.6d8d7435.js";import"./mp-html.406e60e1.js";import"./richtext.9a45868a.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.0b9c23d8.js


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


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


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


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


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


+ 0 - 1
unpackage/dist/build/h5/assets/pages-order-aftersale-log.404b4745.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-3d0e004b.js";import{_ as b}from"./s-layout.e0c45559.js";import{_ as j}from"./_plugin-vue_export-helper.1b428a4d.js";import{A as h}from"./afterSale.4f2b3118.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.ea374e57.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-aaa2974f.js";import{_ as b}from"./s-layout.70eaf727.js";import{_ as j}from"./_plugin-vue_export-helper.1b428a4d.js";import{A as h}from"./afterSale.9e1309b0.js";import"./form.715304a8.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.197a7ba3.js


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


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


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


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


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


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