Browse Source

update:1.正式提交修改后的登陆页面

xuruhua 1 year ago
parent
commit
35898c009c
100 changed files with 633 additions and 686 deletions
  1. 152 202
      sheep/components/s-auth-modal/components/account-login.vue
  2. 166 219
      sheep/components/s-auth-modal/components/sms-login.vue
  3. 289 239
      sheep/components/s-auth-modal/s-auth-modal.vue
  4. 1 1
      unpackage/dist/build/h5/assets/address.0e781b01.js
  5. 1 1
      unpackage/dist/build/h5/assets/afterSale.e0f8019b.js
  6. 1 1
      unpackage/dist/build/h5/assets/article.118d7eb9.js
  7. 0 0
      unpackage/dist/build/h5/assets/bargain.82a3b90e.js
  8. 1 1
      unpackage/dist/build/h5/assets/brokerage.76db54f9.js
  9. 1 1
      unpackage/dist/build/h5/assets/category.3f142c66.js
  10. 1 1
      unpackage/dist/build/h5/assets/combination.280b7af3.js
  11. 0 0
      unpackage/dist/build/h5/assets/comment-item.b095dd95.js
  12. 1 1
      unpackage/dist/build/h5/assets/config.044d62b1.js
  13. 1 1
      unpackage/dist/build/h5/assets/const.512000ad.js
  14. 0 0
      unpackage/dist/build/h5/assets/detail-content-card.b517d780.js
  15. 1 1
      unpackage/dist/build/h5/assets/favorite.adb4f1d6.js
  16. 1 1
      unpackage/dist/build/h5/assets/history.e00e80c9.js
  17. 0 0
      unpackage/dist/build/h5/assets/index-c3892e82.js
  18. 1 1
      unpackage/dist/build/h5/assets/index.2c128870.js
  19. 0 0
      unpackage/dist/build/h5/assets/mp-html.9718d0e2.js
  20. 0 0
      unpackage/dist/build/h5/assets/pages-activity-bargain-detail.ea5d5199.js
  21. 0 0
      unpackage/dist/build/h5/assets/pages-activity-bargain-list.9299cb84.js
  22. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-detail.c06e4788.js
  23. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-list.572361c6.js
  24. 0 0
      unpackage/dist/build/h5/assets/pages-activity-groupon-order.0b556b42.js
  25. 0 0
      unpackage/dist/build/h5/assets/pages-activity-index.c10d41ea.js
  26. 0 0
      unpackage/dist/build/h5/assets/pages-activity-seckill-list.74de3bfd.js
  27. 0 0
      unpackage/dist/build/h5/assets/pages-app-sign.30528d18.js
  28. 0 0
      unpackage/dist/build/h5/assets/pages-chat-index.b0a6434b.js
  29. 0 0
      unpackage/dist/build/h5/assets/pages-commission-commission-ranking.519dffa2.js
  30. 0 0
      unpackage/dist/build/h5/assets/pages-commission-goods.68ccdc6b.js
  31. 0 0
      unpackage/dist/build/h5/assets/pages-commission-index.f2b2a3a1.js
  32. 0 0
      unpackage/dist/build/h5/assets/pages-commission-order.f7098cf1.js
  33. 0 0
      unpackage/dist/build/h5/assets/pages-commission-promoter.d93802c7.js
  34. 0 0
      unpackage/dist/build/h5/assets/pages-commission-team.32217b1e.js
  35. 0 0
      unpackage/dist/build/h5/assets/pages-commission-wallet.ba1373fa.js
  36. 0 0
      unpackage/dist/build/h5/assets/pages-commission-withdraw.1f0edfe7.js
  37. 0 0
      unpackage/dist/build/h5/assets/pages-coupon-detail.36711ea2.js
  38. 0 0
      unpackage/dist/build/h5/assets/pages-coupon-list.20ffa22c.js
  39. 0 0
      unpackage/dist/build/h5/assets/pages-goods-comment-add.71270757.js
  40. 0 0
      unpackage/dist/build/h5/assets/pages-goods-comment-list.7255ca48.js
  41. 0 0
      unpackage/dist/build/h5/assets/pages-goods-groupon.6cafe29c.js
  42. 0 0
      unpackage/dist/build/h5/assets/pages-goods-index.f839af16.js
  43. 0 0
      unpackage/dist/build/h5/assets/pages-goods-list.7ddf4d4d.js
  44. 0 0
      unpackage/dist/build/h5/assets/pages-goods-seckill.78d94857.js
  45. 0 0
      unpackage/dist/build/h5/assets/pages-index-cart.81f6e214.js
  46. 0 0
      unpackage/dist/build/h5/assets/pages-index-category.f2332d22.js
  47. 1 1
      unpackage/dist/build/h5/assets/pages-index-index.bed59908.js
  48. 1 1
      unpackage/dist/build/h5/assets/pages-index-login.d7867caa.js
  49. 1 1
      unpackage/dist/build/h5/assets/pages-index-page.2b75cee4.js
  50. 1 1
      unpackage/dist/build/h5/assets/pages-index-search.c3ce7a26.js
  51. 1 1
      unpackage/dist/build/h5/assets/pages-index-user.cd537d49.js
  52. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-apply.76f4a700.js
  53. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-detail.c4f7e826.js
  54. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-list.09c56da5.js
  55. 1 1
      unpackage/dist/build/h5/assets/pages-order-aftersale-log.e308d56f.js
  56. 0 0
      unpackage/dist/build/h5/assets/pages-order-aftersale-return-delivery.bc710392.js
  57. 0 0
      unpackage/dist/build/h5/assets/pages-order-confirm.10673003.js
  58. 0 0
      unpackage/dist/build/h5/assets/pages-order-detail.321ab14b.js
  59. 0 0
      unpackage/dist/build/h5/assets/pages-order-express-log.e7bf8db2.js
  60. 0 0
      unpackage/dist/build/h5/assets/pages-order-list.da67b646.js
  61. 0 0
      unpackage/dist/build/h5/assets/pages-pay-index.28ffca1e.js
  62. 0 0
      unpackage/dist/build/h5/assets/pages-pay-recharge-log.d69e8baf.js
  63. 0 0
      unpackage/dist/build/h5/assets/pages-pay-recharge.ef02378e.js
  64. 0 0
      unpackage/dist/build/h5/assets/pages-pay-result.1f7e86bd.js
  65. 1 1
      unpackage/dist/build/h5/assets/pages-public-error.8d3f21d8.js
  66. 1 1
      unpackage/dist/build/h5/assets/pages-public-faq.83528a48.js
  67. 1 1
      unpackage/dist/build/h5/assets/pages-public-richtext.1ed10583.js
  68. 0 0
      unpackage/dist/build/h5/assets/pages-public-setting.a1569cde.js
  69. 1 1
      unpackage/dist/build/h5/assets/pages-public-webview.49e4f6ba.js
  70. 0 0
      unpackage/dist/build/h5/assets/pages-user-address-edit.d7266065.js
  71. 0 0
      unpackage/dist/build/h5/assets/pages-user-address-list.296ef45c.js
  72. 0 0
      unpackage/dist/build/h5/assets/pages-user-goods-collect.b8e46ff4.js
  73. 0 0
      unpackage/dist/build/h5/assets/pages-user-goods-log.a88d95e9.js
  74. 0 0
      unpackage/dist/build/h5/assets/pages-user-info.b9c9f96f.js
  75. 0 0
      unpackage/dist/build/h5/assets/pages-user-wallet-money.1b9a5960.js
  76. 0 0
      unpackage/dist/build/h5/assets/pages-user-wallet-score.d1b98393.js
  77. 1 1
      unpackage/dist/build/h5/assets/rewardActivity.0116f2b5.js
  78. 0 0
      unpackage/dist/build/h5/assets/s-address-item.06f62d74.js
  79. 0 0
      unpackage/dist/build/h5/assets/s-block.d4307772.js
  80. 0 0
      unpackage/dist/build/h5/assets/s-coupon-list.477293f2.js
  81. 1 1
      unpackage/dist/build/h5/assets/s-empty.a52dbc48.js
  82. 0 0
      unpackage/dist/build/h5/assets/s-goods-column.d27aa79f.js
  83. 0 0
      unpackage/dist/build/h5/assets/s-goods-item.a2fb3f8a.js
  84. 0 0
      unpackage/dist/build/h5/assets/s-layout-47b20da4.css
  85. 0 0
      unpackage/dist/build/h5/assets/s-layout.096865df.js
  86. 0 0
      unpackage/dist/build/h5/assets/s-select-groupon-sku.e4506ec4.js
  87. 0 0
      unpackage/dist/build/h5/assets/s-uploader.9569ae54.js
  88. 1 1
      unpackage/dist/build/h5/assets/spu.39de8aa3.js
  89. 1 1
      unpackage/dist/build/h5/assets/su-image.7e8f8e47.js
  90. 0 0
      unpackage/dist/build/h5/assets/su-number-box.3fec5993.js
  91. 0 0
      unpackage/dist/build/h5/assets/su-sticky.d6190332.js
  92. 0 0
      unpackage/dist/build/h5/assets/su-swiper.f4ed255c.js
  93. 0 0
      unpackage/dist/build/h5/assets/su-tabs.6a2d6a21.js
  94. 0 0
      unpackage/dist/build/h5/assets/uni-collapse.7263d8d3.js
  95. 0 0
      unpackage/dist/build/h5/assets/uni-datetime-picker.66875b26.js
  96. 0 0
      unpackage/dist/build/h5/assets/uni-list.dd78f75a.js
  97. 0 0
      unpackage/dist/build/h5/assets/uni-load-more.11d14004.js
  98. 0 0
      unpackage/dist/build/h5/assets/uni-rate.ab7f9c5c.js
  99. 0 0
      unpackage/dist/build/h5/assets/useGoods.fda952ed.js
  100. 1 1
      unpackage/dist/build/h5/index.html

+ 152 - 202
sheep/components/s-auth-modal/components/account-login.vue

@@ -1,202 +1,152 @@
-<!-- 账号密码登录 accountLogin  -->
-<template>
-  <view>
-    <!-- 标题栏 -->
-    <view class="head-box  ss-flex-col">
-      <view class="ss-flex ss-m-b-20">
-        
-        <view class="head-title ss-m-r-40 head-title-animation">账号登录</view>
-		<view class="head-title-active head-title-line" @tap="showAuthModal('smsLogin')">
-		  短信登录
-		</view>
-      </view>
-      <!-- <view class="head-subtitle">如果未设置过密码,请点击忘记密码</view> -->
-    </view>
-	<!-- 用户协议的勾选 -->
-	<view
-	  v-if="['accountLogin', 'smsLogin'].includes(authType)"
-	  class="agreement-box ss-flex ss-row-center"
-	  :class="{ shake: currentProtocol }"
-	>
-	  <label class="radio ss-flex ss-col-center" @tap="onChange">
-	    <radio
-	      :checked="protocol"
-	      color="var(--ui-BG-Main)"
-	      style="transform: scale(0.8)"
-	      @tap.stop="onChange"
-	    />
-	    <view class="agreement-text ss-flex ss-col-center ss-m-l-8">
-	      我已阅读并遵守
-	      <view class="tcp-text" @tap.stop="onProtocol('用户协议')">
-	        《用户协议》
-	      </view>
-	      <view class="agreement-text">与</view>
-	      <view class="tcp-text" @tap.stop="onProtocol('隐私协议')">
-	        《隐私协议》
-	      </view>
-	    </view>
-	  </label>
-	</view>
-    <!-- 表单项 -->
-    <uni-forms
-      ref="accountLoginRef"
-      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">
-          <!-- <template v-slot:right>
-            <button class="ss-reset-button forgot-btn" @tap="showAuthModal('resetPassword')">
-              忘记密码
-            </button>
-          </template> -->
-        </uni-easyinput>
-      </uni-forms-item>
-
-      <uni-forms-item name="password" label="密码" class="loginUniFormItem">
-        <uni-easyinput
-          type="password"
-          placeholder="请输入密码"
-          v-model="state.model.password"
-          :inputBorder="false"
-        >
-          <!-- <template v-slot:right>
-            <button class="ss-reset-button login-btn-start" @tap="accountLoginSubmit">登录</button>
-          </template> -->
-        </uni-easyinput>
-      </uni-forms-item>
-    </uni-forms>
-	<view style="display: flex;justify-content: space-between;margin-top: 20rpx;">
-		<button class="ss-reset-button forgot-btn" @tap="showAuthModal('resetPassword')">
-		  忘记密码
-		</button>
-		<button class="ss-reset-button login-btn-start" @tap="accountLoginSubmit">登录</button>
-	</view>
-  </view>
-</template>
-
-<script setup>
-  import { ref, reactive, unref,computed } from 'vue';
-  import sheep from '@/sheep';
-  import { mobile, password } from '@/sheep/validate/form';
-  import { showAuthModal, closeAuthModal } from '@/sheep/hooks/useModal';
-  import AuthUtil from '@/sheep/api/member/auth';
-
-  const accountLoginRef = ref(null);
-
-  const emits = defineEmits(['onConfirm']);
-
-  const props = defineProps({
-    agreeStatus: {
-      type: Boolean,
-      default: false,
-    },
-  });
-
-  // 数据
-  const state = reactive({
-    model: {
-      mobile: '', // 账号
-      password: '', // 密码
-    },
-    rules: {
-      mobile,
-      password,
-    },
-  });
-  
-  const currentProtocol = ref(false);
-  const modalStore = sheep.$store('modal');
-  const authType = computed(() => modalStore.auth);
-  const protocol = ref(false)
-// 勾选协议
-  function onChange() {
-    protocol.value = !protocol.value;
-	console.log(protocol.value)
-  }
-  // 查看协议
-  function onProtocol(title) {
-    closeAuthModal();
-    sheep.$router.go('/pages/public/richtext', {
-      title,
-    });
-  }
-  // 点击登录 / 注册事件
-  function onConfirm(e) {
-    currentProtocol.value = e;
-    setTimeout(() => {
-      currentProtocol.value = false;
-    }, 1000);
-  }
-  // 账号登录
-  async function accountLoginSubmit() {
-    // 表单验证
-    const validate = await unref(accountLoginRef)
-      .validate()
-      .catch((error) => {
-        console.log('error: ', error);
-      });
-    if (!validate) return;
-	
-    // 同意协议
-    if (!protocol.value) {
-      // emits('onConfirm', true)
-	  onConfirm(true)
-	  // console.log("没勾选",protocol)
-      sheep.$helper.toast('请勾选同意');
-      return;
-    }
-
-    // 提交数据
-    const { code, data } = await AuthUtil.login(state.model);
-    if (code === 0) {
-      closeAuthModal();
-    }
-  }
-</script>
-
-<style lang="scss" scoped>
-  @import '../index.scss';
-  .shake {
-    animation: shake 0.05s linear 4 alternate;
-  }
-  
-  @keyframes shake {
-    from {
-      transform: translateX(-10rpx);
-    }
-    to {
-      transform: translateX(10rpx);
-    }
-  }
-  .agreement-box{
-	  margin: 20rpx 0;
-  }
-  .login-btn-start{
-	  background:rgb(14, 147, 46);
-	  width:60%
-	}
-	.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>
+<!-- 账号密码登录 accountLogin  -->
+<template>
+	<view>
+		<!-- 标题栏 -->
+		<!-- <view class="head-box  ss-flex-col">
+      <view class="ss-flex ss-m-b-20">
+        
+        <view class="head-title ss-m-r-40 head-title-animation">账号登录</view>
+		<view class="head-title-active head-title-line" @tap="showAuthModal('smsLogin')">
+		  短信登录
+		</view>
+      </view>
+      <view class="head-subtitle">如果未设置过密码,请点击忘记密码</view>
+    </view> -->
+
+		<!-- 表单项 -->
+		<uni-forms ref="accountLoginRef" 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">
+					<!-- <template v-slot:right>
+            <button class="ss-reset-button forgot-btn" @tap="showAuthModal('resetPassword')">
+              忘记密码
+            </button>
+          </template> -->
+				</uni-easyinput>
+			</uni-forms-item>
+
+			<uni-forms-item name="password" label="密码" class="loginUniFormItem">
+				<uni-easyinput type="password" placeholder="请输入密码" v-model="state.model.password" :inputBorder="false">
+					<!-- <template v-slot:right>
+            <button class="ss-reset-button login-btn-start" @tap="accountLoginSubmit">登录</button>
+          </template> -->
+				</uni-easyinput>
+			</uni-forms-item>
+		</uni-forms>
+		<view style="display: flex;justify-content: space-between;margin-top: 20rpx;">
+			<button class="ss-reset-button forgot-btn" @tap="showAuthModal('resetPassword')">
+				忘记密码
+			</button>
+			<button class="ss-reset-button login-btn-start" @tap="accountLoginSubmit">登录</button>
+		</view>
+	</view>
+</template>
+
+<script setup>
+	import {
+		ref,
+		reactive,
+		unref,
+		computed
+	} from 'vue';
+	import sheep from '@/sheep';
+	import {
+		mobile,
+		password
+	} from '@/sheep/validate/form';
+	import {
+		showAuthModal,
+		closeAuthModal
+	} from '@/sheep/hooks/useModal';
+	import AuthUtil from '@/sheep/api/member/auth';
+
+	const accountLoginRef = ref(null);
+
+	const emits = defineEmits(['onConfirm']);
+
+	const props = defineProps({
+		agreeStatus: {
+			type: Boolean,
+			default: false,
+		},
+	});
+
+	// 数据
+	const state = reactive({
+		model: {
+			mobile: '', // 账号
+			password: '', // 密码
+		},
+		rules: {
+			mobile,
+			password,
+		},
+	});
+
+	// 账号登录
+	async function accountLoginSubmit() {
+		// 表单验证
+		const validate = await unref(accountLoginRef)
+			.validate()
+			.catch((error) => {
+				console.log('error: ', error);
+			});
+		if (!validate) return;
+
+		// 同意协议
+		if (!protocol.value) {
+			// emits('onConfirm', true)
+			onConfirm(true)
+			// console.log("没勾选",protocol)
+			sheep.$helper.toast('请勾选同意');
+			return;
+		}
+
+		// 提交数据
+		const {
+			code,
+			data
+		} = await AuthUtil.login(state.model);
+		if (code === 0) {
+			closeAuthModal();
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	@import '../index.scss';
+
+
+
+	.login-btn-start {
+		background: #55b774;
+		width: 60%;
+		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>

+ 166 - 219
sheep/components/s-auth-modal/components/sms-login.vue

@@ -1,219 +1,166 @@
-<!-- 短信登录 - smsLogin  -->
-<template>
-  <view>
-    <!-- 标题栏 -->
-    <view class="head-box ss-m-b-60">
-      <view class="ss-flex ss-m-b-20">
-		  <view class="head-title-active ss-m-r-40" @tap="showAuthModal('accountLogin')">
-		    账号登录
-		  </view>
-        <view class="head-title head-title-line head-title-animation">短信登录</view>
-        
-      </view>
-      <!-- <view class="head-subtitle">未注册的手机号,验证后自动注册账号</view> -->
-    </view>
-
-	<!-- 用户协议的勾选 -->
-	<view
-	  v-if="['accountLogin', 'smsLogin'].includes(authType)"
-	  class="agreement-box ss-flex ss-row-center"
-	  :class="{ shake: currentProtocol }"
-	>
-	  <label class="radio ss-flex ss-col-center" @tap="onChange">
-	    <radio
-	      :checked="protocol"
-	      color="var(--ui-BG-Main)"
-	      style="transform: scale(0.8)"
-	      @tap.stop="onChange"
-	    />
-	    <view class="agreement-text ss-flex ss-col-center ss-m-l-8">
-	      我已阅读并遵守
-	      <view class="tcp-text" @tap.stop="onProtocol('用户协议')">
-	        《用户协议》
-	      </view>
-	      <view class="agreement-text">与</view>
-	      <view class="tcp-text" @tap.stop="onProtocol('隐私协议')">
-	        《隐私协议》
-	      </view>
-	    </view>
-	  </label>
-	</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"
-        >
-          <!-- <template v-slot:right>
-            <button class="ss-reset-button login-btn-start" @tap="smsLoginSubmit"> 登录 </button>
-          </template> -->
-        </uni-easyinput>
-      </uni-forms-item>
-    </uni-forms>
-	<view style="display: flex;justify-content: space-between;margin-top: 20rpx;">
-		<!-- <button class="ss-reset-button forgot-btn" @tap="showAuthModal('resetPassword')">
-		  忘记密码
-		</button> -->
-		<button class="ss-reset-button login-btn-start" @tap="smsLoginSubmit"> 登录 </button>
-	</view>
-  </view>
-</template>
-
-<script setup>
-  import { ref, reactive, unref,computed } from 'vue';
-  import sheep from '@/sheep';
-  import { code, mobile } from '@/sheep/validate/form';
-  import { showAuthModal, closeAuthModal, 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,
-    },
-  });
-  const currentProtocol = ref(false);
-  const modalStore = sheep.$store('modal');
-  const authType = computed(() => modalStore.auth);
-  const protocol = ref(false)
-// 勾选协议
-  function onChange() {
-    protocol.value = !protocol.value;
-	console.log(protocol.value)
-  }
-  // 查看协议
-  function onProtocol(title) {
-    closeAuthModal();
-    sheep.$router.go('/pages/public/richtext', {
-      title,
-    });
-  }
-  // 点击登录 / 注册事件
-  function onConfirm(e) {
-    currentProtocol.value = e;
-    setTimeout(() => {
-      currentProtocol.value = false;
-    }, 1000);
-  }
-  // 短信登录
-  async function smsLoginSubmit() {
-    // 参数校验
-    const validate = await unref(smsLoginRef)
-      .validate()
-      .catch((error) => {
-        console.log('error: ', error);
-      });
-    if (!validate) {
-      return;
-    }
-    if (!protocol.value) {
-      // emits('onConfirm', true)
-      onConfirm(true)
-	  sheep.$helper.toast('请勾选同意');
-      return;
-    }
-    // 提交数据
-    const { code } = await AuthUtil.smsLogin(state.model);
-    if (code === 0) {
-      closeAuthModal();
-    }
-  }
-</script>
-
-<style lang="scss" scoped>
-  @import '../index.scss';
-  .code-btn-start{
-	  color:rgb(14, 147, 46);
-	  
-	  border: 2rpx solid rgb(14, 147, 46);
-  }
-  .shake {
-    animation: shake 0.05s linear 4 alternate;
-  }
-  
-  @keyframes shake {
-    from {
-      transform: translateX(-10rpx);
-    }
-    to {
-      transform: translateX(10rpx);
-    }
-  }
-  .agreement-box{
-	  margin: 20rpx 0;
-  }
-  .login-btn-start{
-	  background:rgb(14, 147, 46);
-	  width:100%
-	}
-	.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>
+<!-- 短信登录 - smsLogin  -->
+<template>
+	<view>
+		<!-- 标题栏 -->
+		<!-- <view class="head-box ss-m-b-60">
+      <view class="ss-flex ss-m-b-20">
+		  <view class="head-title-active ss-m-r-40" @tap="showAuthModal('accountLogin')">
+		    账号登录
+		  </view>
+        <view class="head-title head-title-line head-title-animation">短信登录</view>
+        
+      </view>
+      <view class="head-subtitle">未注册的手机号,验证后自动注册账号</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">
+					<!-- <template v-slot:right>
+            <button class="ss-reset-button login-btn-start" @tap="smsLoginSubmit"> 登录 </button>
+          </template> -->
+				</uni-easyinput>
+			</uni-forms-item>
+		</uni-forms>
+		<view style="display: flex;justify-content: space-between;margin-top: 20rpx;">
+			<!-- <button class="ss-reset-button forgot-btn" @tap="showAuthModal('resetPassword')">
+		  忘记密码
+		</button> -->
+			<button class="ss-reset-button login-btn-start" @tap="smsLoginSubmit"> 登录 </button>
+		</view>
+	</view>
+</template>
+
+<script setup>
+	import {
+		ref,
+		reactive,
+		unref,
+		computed
+	} from 'vue';
+	import sheep from '@/sheep';
+	import {
+		code,
+		mobile
+	} from '@/sheep/validate/form';
+	import {
+		showAuthModal,
+		closeAuthModal,
+		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 smsLoginSubmit() {
+		// 参数校验
+		const validate = await unref(smsLoginRef)
+			.validate()
+			.catch((error) => {
+				console.log('error: ', error);
+			});
+		if (!validate) {
+			return;
+		}
+		if (!protocol.value) {
+			// emits('onConfirm', true)
+			onConfirm(true)
+			sheep.$helper.toast('请勾选同意');
+			return;
+		}
+		// 提交数据
+		const {
+			code
+		} = await AuthUtil.smsLogin(state.model);
+		if (code === 0) {
+			closeAuthModal();
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	@import '../index.scss';
+
+	.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>

+ 289 - 239
sheep/components/s-auth-modal/s-auth-modal.vue

@@ -1,239 +1,289 @@
-<template>
-  <!-- 规格弹窗 -->
-  <su-popup :show="authType !== ''" round="10" :showClose="true" @close="closeAuthModal">
-    <view class="login-wrap">
-      <!-- 1. 账号密码登录 accountLogin -->
-      <account-login
-        v-if="authType === 'accountLogin'"
-        :agreeStatus="state.protocol"
-        @onConfirm="onConfirm"
-      />
-
-      <!-- 2. 短信登录  smsLogin -->
-      <sms-login v-if="authType === 'smsLogin'" :agreeStatus="state.protocol" @onConfirm="onConfirm" />
-
-      <!-- 3. 忘记密码 resetPassword-->
-      <reset-password v-if="authType === 'resetPassword'" />
-
-      <!-- 4. 绑定手机号 changeMobile -->
-      <change-mobile v-if="authType === 'changeMobile'" />
-
-      <!-- 5. 修改密码 changePassword-->
-      <changePassword v-if="authType === 'changePassword'" />
-
-      <!-- 6. 微信小程序授权 -->
-      <mp-authorization v-if="authType === 'mpAuthorization'" />
-
-      <!-- 7. 第三方登录 -->
-      <view
-        v-if="['accountLogin', 'smsLogin'].includes(authType)"
-        class="auto-login-box ss-flex ss-flex-col ss-row-center ss-col-center"
-      >
-        <!-- 7.1 微信小程序的快捷登录 -->
-        <view v-if="sheep.$platform.name === 'WechatMiniProgram'" class="ss-flex register-box">
-          <view class="register-title">还没有账号?</view>
-          <button class="ss-reset-button login-btn" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">
-            快捷登录
-          </button>
-          <view class="circle" />
-        </view>
-
-        <!-- 7.2 微信的公众号、App、小程序的登录,基于 openid + code -->
-        <button
-          v-if="
-            ['WechatOfficialAccount', 'WechatMiniProgram', 'App'].includes(sheep.$platform.name) &&
-            sheep.$platform.isWechatInstalled
-          "
-          @tap="thirdLogin('wechat')"
-          class="ss-reset-button auto-login-btn"
-        >
-          <image
-            class="auto-login-img"
-            :src="sheep.$url.static('/static/img/shop/platform/wechat.png')"
-          />
-        </button>
-
-        <!-- 7.3 iOS 登录 TODO 芋艿:等后面搞 App 再弄 -->
-        <button
-          v-if="sheep.$platform.os === 'ios' && sheep.$platform.name === 'App'"
-          @tap="thirdLogin('apple')"
-          class="ss-reset-button auto-login-btn"
-        >
-          <image
-            class="auto-login-img"
-            :src="sheep.$url.static('/static/img/shop/platform/apple.png')"
-          />
-        </button>
-      </view>
-
-       <!-- 用户协议的勾选 -->
-      <!--<view
-        v-if="['accountLogin', 'smsLogin'].includes(authType)"
-        class="agreement-box ss-flex ss-row-center"
-        :class="{ shake: currentProtocol }"
-      >
-        <label class="radio ss-flex ss-col-center" @tap="onChange">
-          <radio
-            :checked="state.protocol"
-            color="var(--ui-BG-Main)"
-            style="transform: scale(0.8)"
-            @tap.stop="onChange"
-          />
-          <view class="agreement-text ss-flex ss-col-center ss-m-l-8">
-            我已阅读并遵守
-            <view class="tcp-text" @tap.stop="onProtocol('用户协议')">
-              《用户协议》
-            </view>
-            <view class="agreement-text">与</view>
-            <view class="tcp-text" @tap.stop="onProtocol('隐私协议')">
-              《隐私协议》
-            </view>
-          </view>
-        </label>
-      </view> -->
-      <view class="safe-box"/>
-    </view>
-  </su-popup>
-</template>
-
-<script setup>
-  import { computed, reactive, ref } from 'vue';
-  import sheep from '@/sheep';
-  import accountLogin from './components/account-login.vue';
-  import smsLogin from './components/sms-login.vue';
-  import resetPassword from './components/reset-password.vue';
-  import changeMobile from './components/change-mobile.vue';
-  import changePassword from './components/change-password.vue';
-  import mpAuthorization from './components/mp-authorization.vue';
-  import { closeAuthModal, showAuthModal } from '@/sheep/hooks/useModal';
-
-  const appInfo = computed(() => sheep.$store('app').info);
-
-  const modalStore = sheep.$store('modal');
-  // 授权弹窗类型
-  const authType = computed(() => modalStore.auth);
-
-  const state = reactive({
-    protocol: false,
-  });
-
-  const currentProtocol = ref(false);
-
-  // 勾选协议
-  function onChange() {
-    state.protocol = !state.protocol;
-  }
-
-  // 查看协议
-  function onProtocol(title) {
-    closeAuthModal();
-    sheep.$router.go('/pages/public/richtext', {
-      title,
-    });
-  }
-
-  // 点击登录 / 注册事件
-  function onConfirm(e) {
-    currentProtocol.value = e;
-    setTimeout(() => {
-      currentProtocol.value = false;
-    }, 1000);
-  }
-
-  // 第三方授权登陆(微信小程序、Apple)
-  const thirdLogin = async (provider) => {
-    if (!state.protocol) {
-      currentProtocol.value = true;
-      setTimeout(() => {
-        currentProtocol.value = false;
-      }, 1000);
-      sheep.$helper.toast('请勾选同意');
-      return;
-    }
-    const loginRes = await sheep.$platform.useProvider(provider).login();
-    if (loginRes) {
-      closeAuthModal();
-      // 触发小程序授权信息弹框
-      // #ifdef MP-WEIXIN
-      showAuthModal('mpAuthorization');
-      // #endif
-    }
-  };
-
-  // 微信小程序的“手机号快速验证”:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/getPhoneNumber.html
-  const getPhoneNumber = async (e) => {
-    if (e.detail.errMsg !== 'getPhoneNumber:ok') {
-      sheep.$helper.toast('快捷登录失败');
-      return;
-    }
-    let result = await sheep.$platform.useProvider().mobileLogin(e.detail);
-    if (result) {
-      closeAuthModal();
-    }
-  };
-</script>
-
-<style lang="scss" scoped>
-  @import './index.scss';
-
-  .shake {
-    animation: shake 0.05s linear 4 alternate;
-  }
-
-  @keyframes shake {
-    from {
-      transform: translateX(-10rpx);
-    }
-    to {
-      transform: translateX(10rpx);
-    }
-  }
-
-  .register-box {
-    position: relative;
-    justify-content: center;
-    .register-btn {
-      color: #999999;
-      font-size: 30rpx;
-      font-weight: 500;
-    }
-    .register-title {
-      color: #999999;
-      font-size: 30rpx;
-      font-weight: 400;
-      margin-right: 24rpx;
-    }
-    .or-title {
-      margin: 0 16rpx;
-      color: #999999;
-      font-size: 30rpx;
-      font-weight: 400;
-    }
-    .login-btn {
-      color: var(--ui-BG-Main);
-      font-size: 30rpx;
-      font-weight: 500;
-    }
-    .circle {
-      position: absolute;
-      right: 0rpx;
-      top: 18rpx;
-      width: 8rpx;
-      height: 8rpx;
-      border-radius: 8rpx;
-      background: var(--ui-BG-Main);
-    }
-  }
-  .safe-box {
-    height: calc(constant(safe-area-inset-bottom) / 5 * 3);
-    height: calc(env(safe-area-inset-bottom) / 5 * 3);
-  }
-
-  .tcp-text {
-    color: var(--ui-BG-Main);
-  }
-
-  .agreement-text {
-    color: $dark-9;
-  }
-</style>
+<template>
+	<!-- 规格弹窗 -->
+	<su-popup :show="authType !== ''" round="10" :showClose="true" @close="closeAuthModal">
+
+		<view class="login-wrap">
+			<!-- 标题栏 -->
+			<view class="head-box ">
+				<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')">
+						账号登录
+					</view>
+					<view
+						:class="[isActive=='smsLogin'?`head-title head-title-line head-title-animation`:`head-title-active head-title-line`]"
+						@tap="isActive='smsLogin';showAuthModal('smsLogin')">
+						短信登录
+					</view>
+
+				</view>
+			</view>
+			<!-- 用户协议的勾选 -->
+			<view v-if="['accountLogin', 'smsLogin'].includes(authType)" class="agreement-box ss-flex ss-row-center"
+				:class="{ shake: currentProtocol }">
+				<label class="radio ss-flex ss-col-center" @tap="onChange">
+					<radio :checked="state.protocol" color="var(--ui-BG-Main)" style="transform: scale(0.8)"
+						@tap.stop="onChange" />
+					<view class="agreement-text ss-flex ss-col-center ss-m-l-8">
+						我已阅读并遵守
+						<view class="tcp-text" @tap.stop="onProtocol('用户协议')">
+							《用户协议》
+						</view>
+						<view class="agreement-text">与</view>
+						<view class="tcp-text" @tap.stop="onProtocol('隐私协议')">
+							《隐私协议》
+						</view>
+					</view>
+				</label>
+			</view>
+			<!-- 微信公众号授权登陆 -->
+			<view v-if="['accountLogin', 'smsLogin'].includes(authType)"
+				class="auto-login-box ss-flex ss-flex-col ss-row-center ss-col-center">
+				<view class="wx-login-btn " @tap="thirdLogin('wechat')" v-if=" ['WechatOfficialAccount', 'WechatMiniProgram', 'App'].includes(sheep.$platform.name) && sheep.$platform.isWechatInstalled
+				">
+
+					<image class=" auto-login-img" :src="sheep.$url.static('/static/img/shop/platform/wechat.png')" />
+
+					<text>微信授权登录</text>
+				</view>
+			</view>
+			<!-- 1. 账号密码登录 accountLogin -->
+			<account-login v-if="authType === 'accountLogin'" :agreeStatus="state.protocol" @onConfirm="onConfirm" />
+
+			<!-- 2. 短信登录  smsLogin -->
+			<sms-login v-if="authType === 'smsLogin'" :agreeStatus="state.protocol" @onConfirm="onConfirm" />
+
+			<!-- 3. 忘记密码 resetPassword-->
+			<reset-password v-if="authType === 'resetPassword'" />
+
+			<!-- 4. 绑定手机号 changeMobile -->
+			<change-mobile v-if="authType === 'changeMobile'" />
+
+			<!-- 5. 修改密码 changePassword-->
+			<changePassword v-if="authType === 'changePassword'" />
+
+			<!-- 6. 微信小程序授权 -->
+			<mp-authorization v-if="authType === 'mpAuthorization'" />
+
+			<!-- 7. 第三方登录 -->
+			<view v-if="['accountLogin', 'smsLogin'].includes(authType)"
+				class="auto-login-box ss-flex ss-flex-col ss-row-center ss-col-center">
+				<!-- 7.1 微信小程序的快捷登录 -->
+				<view v-if="sheep.$platform.name === 'WechatMiniProgram'" class="ss-flex register-box">
+					<view class="register-title">还没有账号?</view>
+					<button class="ss-reset-button login-btn" open-type="getPhoneNumber"
+						@getphonenumber="getPhoneNumber">
+						快捷登录
+					</button>
+					<view class="circle" />
+				</view>
+
+				<!-- 7.2 微信的公众号、App、小程序的登录,基于 openid + code -->
+				<!-- <button
+          v-if="
+            ['WechatOfficialAccount', 'WechatMiniProgram', 'App'].includes(sheep.$platform.name) &&
+            sheep.$platform.isWechatInstalled
+          "
+          @tap="thirdLogin('wechat')"
+          class="ss-reset-button auto-login-btn"
+        >
+          <image
+            class="auto-login-img"
+            :src="sheep.$url.static('/static/img/shop/platform/wechat.png')"
+          />
+        </button> -->
+
+
+
+				<!-- 7.3 iOS 登录 TODO 芋艿:等后面搞 App 再弄 -->
+				<button v-if="sheep.$platform.os === 'ios' && sheep.$platform.name === 'App'" @tap="thirdLogin('apple')"
+					class="ss-reset-button auto-login-btn">
+					<image class="auto-login-img" :src="sheep.$url.static('/static/img/shop/platform/apple.png')" />
+				</button>
+			</view>
+
+
+			<view class="safe-box" />
+		</view>
+	</su-popup>
+</template>
+
+<script setup>
+	import {
+		computed,
+		reactive,
+		ref
+	} from 'vue';
+	import sheep from '@/sheep';
+	import accountLogin from './components/account-login.vue';
+	import smsLogin from './components/sms-login.vue';
+	import resetPassword from './components/reset-password.vue';
+	import changeMobile from './components/change-mobile.vue';
+	import changePassword from './components/change-password.vue';
+	import mpAuthorization from './components/mp-authorization.vue';
+	import {
+		closeAuthModal,
+		showAuthModal
+	} from '@/sheep/hooks/useModal';
+
+	const appInfo = computed(() => sheep.$store('app').info);
+
+	const modalStore = sheep.$store('modal');
+	// 授权弹窗类型
+	const authType = computed(() => modalStore.auth);
+
+	const state = reactive({
+		protocol: false,
+	});
+	const isActive = ref("accountLogin")
+	const currentProtocol = ref(false);
+
+	// 勾选协议
+	function onChange() {
+		state.protocol = !state.protocol;
+	}
+
+	// 查看协议
+	function onProtocol(title) {
+		closeAuthModal();
+		sheep.$router.go('/pages/public/richtext', {
+			title,
+		});
+	}
+
+	// 点击登录 / 注册事件
+	function onConfirm(e) {
+		currentProtocol.value = e;
+		setTimeout(() => {
+			currentProtocol.value = false;
+		}, 1000);
+	}
+
+	// 第三方授权登陆(微信小程序、Apple)
+	const thirdLogin = async (provider) => {
+		if (!state.protocol) {
+			currentProtocol.value = true;
+			setTimeout(() => {
+				currentProtocol.value = false;
+			}, 1000);
+			sheep.$helper.toast('请勾选同意');
+			return;
+		}
+		const loginRes = await sheep.$platform.useProvider(provider).login();
+		if (loginRes) {
+			closeAuthModal();
+			// 触发小程序授权信息弹框
+			// #ifdef MP-WEIXIN
+			showAuthModal('mpAuthorization');
+			// #endif
+		}
+	};
+
+	// 微信小程序的“手机号快速验证”:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/getPhoneNumber.html
+	const getPhoneNumber = async (e) => {
+		if (e.detail.errMsg !== 'getPhoneNumber:ok') {
+			sheep.$helper.toast('快捷登录失败');
+			return;
+		}
+		let result = await sheep.$platform.useProvider().mobileLogin(e.detail);
+		if (result) {
+			closeAuthModal();
+		}
+	};
+</script>
+
+<style lang="scss" scoped>
+	@import './index.scss';
+
+	.shake {
+		animation: shake 0.05s linear 4 alternate;
+	}
+
+	@keyframes shake {
+		from {
+			transform: translateX(-10rpx);
+		}
+
+		to {
+			transform: translateX(10rpx);
+		}
+	}
+
+	.register-box {
+		position: relative;
+		justify-content: center;
+
+		.register-btn {
+			color: #999999;
+			font-size: 30rpx;
+			font-weight: 500;
+		}
+
+		.register-title {
+			color: #999999;
+			font-size: 30rpx;
+			font-weight: 400;
+			margin-right: 24rpx;
+		}
+
+		.or-title {
+			margin: 0 16rpx;
+			color: #999999;
+			font-size: 30rpx;
+			font-weight: 400;
+		}
+
+		.login-btn {
+			color: var(--ui-BG-Main);
+			font-size: 30rpx;
+			font-weight: 500;
+		}
+
+		.circle {
+			position: absolute;
+			right: 0rpx;
+			top: 18rpx;
+			width: 8rpx;
+			height: 8rpx;
+			border-radius: 8rpx;
+			background: var(--ui-BG-Main);
+		}
+	}
+
+	.safe-box {
+		height: calc(constant(safe-area-inset-bottom) / 5 * 3);
+		height: calc(env(safe-area-inset-bottom) / 5 * 3);
+	}
+
+	.tcp-text {
+		color: var(--ui-BG-Main);
+	}
+
+	.agreement-text {
+		color: $dark-9;
+	}
+
+	.wx-login-btn {
+		width: 100%;
+		border: 1rpx solid #55b774;
+		border-radius: 10rpx;
+		padding: 10rpx 0;
+		color: #333333;
+		display: flex;
+		align-items: center;
+		justify-content: center;
+		font-size: 32rpx;
+		margin: 0 0 0.625rem 0;
+		box-sizing: border-box;
+
+		text {
+			margin-left: 20rpx
+		}
+	}
+
+	.agreement-box {
+		margin: 40rpx;
+	}
+</style>

+ 1 - 1
unpackage/dist/build/h5/assets/address.0c61154b.js → unpackage/dist/build/h5/assets/address.0e781b01.js

@@ -1 +1 @@
-import{a7 as e}from"./index-e2c17395.js";const s={getAreaTree:()=>e({url:"/system/area/tree",method:"GET"})},d={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{d as A,s as a};
+import{a7 as e}from"./index-c3892e82.js";const s={getAreaTree:()=>e({url:"/system/area/tree",method:"GET"})},d={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{d as A,s as a};

+ 1 - 1
unpackage/dist/build/h5/assets/afterSale.c8851ba3.js → unpackage/dist/build/h5/assets/afterSale.e0f8019b.js

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

+ 1 - 1
unpackage/dist/build/h5/assets/article.32a380b6.js → unpackage/dist/build/h5/assets/article.118d7eb9.js

@@ -1 +1 @@
-import{a7 as t}from"./index-e2c17395.js";const e={getArticle:(e,o)=>t({url:"/promotion/article/get",method:"GET",params:{id:e,title:o}})};export{e as A};
+import{a7 as t}from"./index-c3892e82.js";const e={getArticle:(e,o)=>t({url:"/promotion/article/get",method:"GET",params:{id:e,title:o}})};export{e as A};

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


+ 1 - 1
unpackage/dist/build/h5/assets/brokerage.ddd3b406.js → unpackage/dist/build/h5/assets/brokerage.76db54f9.js

@@ -1 +1 @@
-import{a7 as e}from"./index-e2c17395.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{a7 as e}from"./index-c3892e82.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.5efee638.js → unpackage/dist/build/h5/assets/category.3f142c66.js

@@ -1 +1 @@
-import{a7 as t}from"./index-e2c17395.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{a7 as t}from"./index-c3892e82.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.09991464.js → unpackage/dist/build/h5/assets/combination.280b7af3.js

@@ -1 +1 @@
-import{a7 as o}from"./index-e2c17395.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{a7 as o}from"./index-c3892e82.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.b095dd95.js


+ 1 - 1
unpackage/dist/build/h5/assets/config.68ac5285.js → unpackage/dist/build/h5/assets/config.044d62b1.js

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

+ 1 - 1
unpackage/dist/build/h5/assets/const.53c7f7b5.js → unpackage/dist/build/h5/assets/const.512000ad.js

@@ -1 +1 @@
-import{a7 as t,aw as e}from"./index-e2c17395.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:"折扣"}},a={DATE:{type:1,name:"固定日期可用"},TERM:{type:2,name:"领取之后可用"}},l={WAIT_START:"即将开始",STARTED:"进行中",END:"已结束"},s=(t,i)=>{const o=e();return o.isBefore(t)?l.WAIT_START:o.isAfter(i)?l.END:l.STARTED};export{a as C,o as P,i as S,l as T,s as g};
+import{a7 as t,aw as e}from"./index-c3892e82.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:"折扣"}},a={DATE:{type:1,name:"固定日期可用"},TERM:{type:2,name:"领取之后可用"}},l={WAIT_START:"即将开始",STARTED:"进行中",END:"已结束"},s=(t,i)=>{const o=e();return o.isBefore(t)?l.WAIT_START:o.isAfter(i)?l.END:l.STARTED};export{a as C,o as P,i as S,l as T,s as g};

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


+ 1 - 1
unpackage/dist/build/h5/assets/favorite.ce260235.js → unpackage/dist/build/h5/assets/favorite.adb4f1d6.js

@@ -1 +1 @@
-import{a7 as e}from"./index-e2c17395.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{a7 as e}from"./index-c3892e82.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};

+ 1 - 1
unpackage/dist/build/h5/assets/history.d609da22.js → unpackage/dist/build/h5/assets/history.e00e80c9.js

@@ -1 +1 @@
-import{a7 as s}from"./index-e2c17395.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{a7 as s}from"./index-c3892e82.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-c3892e82.js


+ 1 - 1
unpackage/dist/build/h5/assets/index.cb3b3224.js → unpackage/dist/build/h5/assets/index.2c128870.js

@@ -1 +1 @@
-import{aw as t}from"./index-e2c17395.js";const r=t=>{let r="0.00";if(void 0===t)return r;const e=(t=>{if(void 0===t)return 0;const r="string"==typeof t?parseFloat(t):t;return parseFloat((r/100).toFixed(2))})(t),n=e.toString().split(".")[1];switch(n?n.length:0){case 0:r=e.toString()+".00";break;case 1:r=e.toString()+".0";break;case 2:r=e.toString()}return r};function e(r,e){return r?(void 0===e&&(e="YYYY-MM-DD HH:mm:ss"),t(r).format(e)):""}function n(t,r="id",e="parentId",n="children",i=0){const o=JSON.parse(JSON.stringify(t)),s=o.filter((t=>{let n=o.filter((n=>t[r]===n[e]));return n.length>0&&(t.children=n),t[e]===i}));return""!==s?s:t}function i(t){t.list=[],t.total=0,t.pageNo=1}export{e as a,r as f,n as h,i as r};
+import{aw as t}from"./index-c3892e82.js";const r=t=>{let r="0.00";if(void 0===t)return r;const e=(t=>{if(void 0===t)return 0;const r="string"==typeof t?parseFloat(t):t;return parseFloat((r/100).toFixed(2))})(t),n=e.toString().split(".")[1];switch(n?n.length:0){case 0:r=e.toString()+".00";break;case 1:r=e.toString()+".0";break;case 2:r=e.toString()}return r};function e(r,e){return r?(void 0===e&&(e="YYYY-MM-DD HH:mm:ss"),t(r).format(e)):""}function n(t,r="id",e="parentId",n="children",i=0){const o=JSON.parse(JSON.stringify(t)),s=o.filter((t=>{let n=o.filter((n=>t[r]===n[e]));return n.length>0&&(t.children=n),t[e]===i}));return""!==s?s:t}function i(t){t.list=[],t.total=0,t.pageNo=1}export{e as a,r as f,n as h,i as r};

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


+ 1 - 1
unpackage/dist/build/h5/assets/pages-index-index.fc46e388.js → unpackage/dist/build/h5/assets/pages-index-index.bed59908.js

@@ -1 +1 @@
-import{h as s,c as e,o as t,s as o,$ as a,a as p,b as r,d as i,u as l,e as m,f as n,w as u,g as _,i as d,j as y,k as c,r as j,F as g,l as b,m as v}from"./index-e2c17395.js";import{_ as f,a as x}from"./s-block.1f06c747.js";import{_ as k}from"./s-layout.fe703195.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.c2eaab11.js";import"./su-image.54535158.js";import"./su-swiper.4f26cea9.js";import"./s-goods-column.a4735dfc.js";import"./useGoods.f1e7f5d3.js";import"./index.cb3b3224.js";/* empty css                                                                     */import"./uni-load-more.92d917c1.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.015a45cc.js";import"./combination.09991464.js";import"./const.53c7f7b5.js";import"./mp-html.5a9573d0.js";import"./article.32a380b6.js";const S={__name:"index",setup(S){s();const $=e((()=>{var s;return null==(s=o.$store("app").template)?void 0:s.home}));return t((s=>{s.templateId&&o.$store("app").init(s.templateId),s.spm&&a.decryptSpm(s.spm),s.page&&o.$router.go(decodeURIComponent(s.page))})),p((()=>{o.$store("app").init(),setTimeout((function(){r()}),800)})),i((()=>{})),(s,e)=>{const t=b(v("s-block-item"),f),o=b(v("s-block"),x),a=b(v("s-layout"),k),p=d;return l($)?(m(),n(p,{key:0},{default:u((()=>{var s;return[y(a,{title:"首页",navbar:"custom",tabbar:"/pages/index/index",bgStyle:l($).page,navbarStyle:null==(s=l($).style)?void 0:s.navbar,onShareAppMessage:""},{default:u((()=>[(m(!0),c(g,null,j(l($).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})):_("",!0)}}};export{S as default};
+import{h as s,c as e,o as t,s as o,$ as a,a as p,b as r,d as i,u as l,e as m,f as n,w as u,g as _,i as d,j as y,k as c,r as j,F as g,l as b,m as v}from"./index-c3892e82.js";import{_ as f,a as x}from"./s-block.d4307772.js";import{_ as k}from"./s-layout.096865df.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.dd78f75a.js";import"./su-image.7e8f8e47.js";import"./su-swiper.f4ed255c.js";import"./s-goods-column.d27aa79f.js";import"./useGoods.fda952ed.js";import"./index.2c128870.js";/* empty css                                                                     */import"./uni-load-more.11d14004.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.39de8aa3.js";import"./combination.280b7af3.js";import"./const.512000ad.js";import"./mp-html.9718d0e2.js";import"./article.118d7eb9.js";const S={__name:"index",setup(S){s();const $=e((()=>{var s;return null==(s=o.$store("app").template)?void 0:s.home}));return t((s=>{s.templateId&&o.$store("app").init(s.templateId),s.spm&&a.decryptSpm(s.spm),s.page&&o.$router.go(decodeURIComponent(s.page))})),p((()=>{o.$store("app").init(),setTimeout((function(){r()}),800)})),i((()=>{})),(s,e)=>{const t=b(v("s-block-item"),f),o=b(v("s-block"),x),a=b(v("s-layout"),k),p=d;return l($)?(m(),n(p,{key:0},{default:u((()=>{var s;return[y(a,{title:"首页",navbar:"custom",tabbar:"/pages/index/index",bgStyle:l($).page,navbarStyle:null==(s=l($).style)?void 0:s.navbar,onShareAppMessage:""},{default:u((()=>[(m(!0),c(g,null,j(l($).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})):_("",!0)}}};export{S as default};

+ 1 - 1
unpackage/dist/build/h5/assets/pages-index-login.88cb1422.js → unpackage/dist/build/h5/assets/pages-index-login.d7867caa.js

@@ -1 +1 @@
-import{o as a,s as e,I as r,J as s,K as o,e as t,f as n,i}from"./index-e2c17395.js";const l={__name:"login",setup:l=>(a((async a=>{new URLSearchParams(location.search).forEach(((e,r)=>{a[r]=e}));const t=a.event,n=a.code,i=a.state;"login"===t?await e.$platform.useProvider().login(n,i):"bind"===t&&e.$platform.useProvider().bind(n,i);let l=r("returnUrl");l?(s("returnUrl"),location.replace(l)):o({url:"/"})})),(a,e)=>{const r=i;return t(),n(r)})};export{l as default};
+import{o as a,s as e,I as r,J as s,K as o,e as t,f as n,i}from"./index-c3892e82.js";const l={__name:"login",setup:l=>(a((async a=>{new URLSearchParams(location.search).forEach(((e,r)=>{a[r]=e}));const t=a.event,n=a.code,i=a.state;"login"===t?await e.$platform.useProvider().login(n,i):"bind"===t&&e.$platform.useProvider().bind(n,i);let l=r("returnUrl");l?(s("returnUrl"),location.replace(l)):o({url:"/"})})),(a,e)=>{const r=i;return t(),n(r)})};export{l as default};

+ 1 - 1
unpackage/dist/build/h5/assets/pages-index-page.2294156e.js → unpackage/dist/build/h5/assets/pages-index-page.2b75cee4.js

@@ -1 +1 @@
-import{_ as t,a as e}from"./s-block.1f06c747.js";import{v as s,o,O 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-e2c17395.js";import{_ as c}from"./s-layout.fe703195.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.c2eaab11.js";import"./su-image.54535158.js";import"./su-swiper.4f26cea9.js";import"./s-goods-column.a4735dfc.js";import"./useGoods.f1e7f5d3.js";import"./index.cb3b3224.js";/* empty css                                                                     */import"./uni-load-more.92d917c1.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.015a45cc.js";import"./combination.09991464.js";import"./const.53c7f7b5.js";import"./mp-html.5a9573d0.js";import"./article.32a380b6.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};
+import{_ as t,a as e}from"./s-block.d4307772.js";import{v as s,o,O 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-c3892e82.js";import{_ as c}from"./s-layout.096865df.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.dd78f75a.js";import"./su-image.7e8f8e47.js";import"./su-swiper.f4ed255c.js";import"./s-goods-column.d27aa79f.js";import"./useGoods.fda952ed.js";import"./index.2c128870.js";/* empty css                                                                     */import"./uni-load-more.11d14004.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.39de8aa3.js";import"./combination.280b7af3.js";import"./const.512000ad.js";import"./mp-html.9718d0e2.js";import"./article.118d7eb9.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 - 1
unpackage/dist/build/h5/assets/pages-index-search.5050cb8c.js → unpackage/dist/build/h5/assets/pages-index-search.c3ce7a26.js

@@ -1 +1 @@
-import{v as s,o as t,I 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,L as y,M as d,N as p,m as _,i as L,D as m,t as x}from"./index-e2c17395.js";import{b as g,_ as b}from"./s-layout.fe703195.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=L,y=m,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(x(s),1)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-268850fd"]]);export{k as default};
+import{v as s,o as t,I 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,L as y,M as d,N as p,m as _,i as L,D as m,t as x}from"./index-c3892e82.js";import{b as g,_ as b}from"./s-layout.096865df.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=L,y=m,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(x(s),1)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-268850fd"]]);export{k as default};

+ 1 - 1
unpackage/dist/build/h5/assets/pages-index-user.99bef1c3.js → unpackage/dist/build/h5/assets/pages-index-user.cd537d49.js

@@ -1 +1 @@
-import{h as s,c as e,n as t,s as o,a,b as r,d as p,e as i,f as l,w as u,u as m,l as n,k as _,r as d,F as y,m as c,j}from"./index-e2c17395.js";import{_ as b,a as g}from"./s-block.1f06c747.js";import{_ as v}from"./s-layout.fe703195.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.c2eaab11.js";import"./su-image.54535158.js";import"./su-swiper.4f26cea9.js";import"./s-goods-column.a4735dfc.js";import"./useGoods.f1e7f5d3.js";import"./index.cb3b3224.js";/* empty css                                                                     */import"./uni-load-more.92d917c1.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.015a45cc.js";import"./combination.09991464.js";import"./const.53c7f7b5.js";import"./mp-html.5a9573d0.js";import"./article.32a380b6.js";const f={__name:"user",setup(f){s();const x=e((()=>o.$store("app").template.user));return 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 i(),l(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((()=>[(i(!0),_(y,null,d(m(x).components,((s,e)=>(i(),l(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};
+import{h as s,c as e,n as t,s as o,a,b as r,d as p,e as i,f as l,w as u,u as m,l as n,k as _,r as d,F as y,m as c,j}from"./index-c3892e82.js";import{_ as b,a as g}from"./s-block.d4307772.js";import{_ as v}from"./s-layout.096865df.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.dd78f75a.js";import"./su-image.7e8f8e47.js";import"./su-swiper.f4ed255c.js";import"./s-goods-column.d27aa79f.js";import"./useGoods.fda952ed.js";import"./index.2c128870.js";/* empty css                                                                     */import"./uni-load-more.11d14004.js";/* empty css                                                                *//* empty css                                                                      */import"./spu.39de8aa3.js";import"./combination.280b7af3.js";import"./const.512000ad.js";import"./mp-html.9718d0e2.js";import"./article.118d7eb9.js";const f={__name:"user",setup(f){s();const x=e((()=>o.$store("app").template.user));return 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 i(),l(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((()=>[(i(!0),_(y,null,d(m(x).components,((s,e)=>(i(),l(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.76f4a700.js


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


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


+ 1 - 1
unpackage/dist/build/h5/assets/pages-order-aftersale-log.6d5e9683.js → unpackage/dist/build/h5/assets/pages-order-aftersale-log.e308d56f.js

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

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


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


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


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


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


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


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


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


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


+ 1 - 1
unpackage/dist/build/h5/assets/pages-public-error.0ad36e1a.js → unpackage/dist/build/h5/assets/pages-public-error.8d3f21d8.js

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

+ 1 - 1
unpackage/dist/build/h5/assets/pages-public-faq.f0efeffc.js → unpackage/dist/build/h5/assets/pages-public-faq.83528a48.js

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

+ 1 - 1
unpackage/dist/build/h5/assets/pages-public-richtext.a03494a7.js → unpackage/dist/build/h5/assets/pages-public-richtext.1ed10583.js

@@ -1 +1 @@
-import{v as t,o as e,b8 as s,e as l,f as a,w as i,l as o,j as n,m as c,i as r}from"./index-e2c17395.js";import{_ as m}from"./mp-html.5a9573d0.js";import{_ as p}from"./s-layout.fe703195.js";import{A as u}from"./article.32a380b6.js";import{_ as d}from"./_plugin-vue_export-helper.1b428a4d.js";const _=d({__name:"richtext",setup(d){const _=t({title:"",content:""});return e((t=>{t.title&&(_.title=t.title,s({title:_.title})),async function(t,e){const{code:l,data:a}=await u.getArticle(t,e);0===l&&(_.content=a.content,_.title!==a.title&&(_.title=a.title,s({title:_.title})))}(t.id,t.title)})),(t,e)=>{const s=o(c("mp-html"),m),u=r,d=o(c("s-layout"),p);return l(),a(d,{class:"set-wrap",title:_.title,bgStyle:{color:"#FFF"}},{default:i((()=>[n(u,{class:"ss-p-30"},{default:i((()=>[n(s,{class:"richtext",content:_.content},null,8,["content"])])),_:1})])),_:1},8,["title"])}}},[["__scopeId","data-v-d4cdeb0e"]]);export{_ as default};
+import{v as t,o as e,b8 as s,e as l,f as a,w as i,l as o,j as n,m as c,i as r}from"./index-c3892e82.js";import{_ as m}from"./mp-html.9718d0e2.js";import{_ as p}from"./s-layout.096865df.js";import{A as u}from"./article.118d7eb9.js";import{_ as d}from"./_plugin-vue_export-helper.1b428a4d.js";const _=d({__name:"richtext",setup(d){const _=t({title:"",content:""});return e((t=>{t.title&&(_.title=t.title,s({title:_.title})),async function(t,e){const{code:l,data:a}=await u.getArticle(t,e);0===l&&(_.content=a.content,_.title!==a.title&&(_.title=a.title,s({title:_.title})))}(t.id,t.title)})),(t,e)=>{const s=o(c("mp-html"),m),u=r,d=o(c("s-layout"),p);return l(),a(d,{class:"set-wrap",title:_.title,bgStyle:{color:"#FFF"}},{default:i((()=>[n(u,{class:"ss-p-30"},{default:i((()=>[n(s,{class:"richtext",content:_.content},null,8,["content"])])),_:1})])),_:1},8,["title"])}}},[["__scopeId","data-v-d4cdeb0e"]]);export{_ as default};

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


+ 1 - 1
unpackage/dist/build/h5/assets/pages-public-webview.4eb797f0.js → unpackage/dist/build/h5/assets/pages-public-webview.49e4f6ba.js

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

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


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


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


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


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


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


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


+ 1 - 1
unpackage/dist/build/h5/assets/rewardActivity.83862811.js → unpackage/dist/build/h5/assets/rewardActivity.0116f2b5.js

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

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-address-item.06f62d74.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-block.d4307772.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-coupon-list.477293f2.js


+ 1 - 1
unpackage/dist/build/h5/assets/s-empty.368b1b71.js → unpackage/dist/build/h5/assets/s-empty.a52dbc48.js

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

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-goods-column.d27aa79f.js


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


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-layout-47b20da4.css


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-layout.096865df.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-select-groupon-sku.e4506ec4.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/s-uploader.9569ae54.js


+ 1 - 1
unpackage/dist/build/h5/assets/spu.015a45cc.js → unpackage/dist/build/h5/assets/spu.39de8aa3.js

@@ -1 +1 @@
-import{a7 as o}from"./index-e2c17395.js";const s={getSpuListByIds:s=>o({url:"/product/spu/list-by-ids",method:"GET",params:{ids:s},custom:{showLoading:!1,showError:!1}}),getSpuPage:s=>o({url:"/product/spu/page",method:"GET",params:s,custom:{showLoading:!1,showError:!1}}),getSpuDetail:s=>o({url:"/product/spu/get-detail",method:"GET",params:{id:s},custom:{showLoading:!1,showError:!1}})};export{s as S};
+import{a7 as o}from"./index-c3892e82.js";const s={getSpuListByIds:s=>o({url:"/product/spu/list-by-ids",method:"GET",params:{ids:s},custom:{showLoading:!1,showError:!1}}),getSpuPage:s=>o({url:"/product/spu/page",method:"GET",params:s,custom:{showLoading:!1,showError:!1}}),getSpuDetail:s=>o({url:"/product/spu/get-detail",method:"GET",params:{id:s},custom:{showLoading:!1,showError:!1}})};export{s as S};

+ 1 - 1
unpackage/dist/build/h5/assets/su-image.54535158.js → unpackage/dist/build/h5/assets/su-image.7e8f8e47.js

@@ -1 +1 @@
-import{v as e,c as r,e as t,f as i,y as s,u as o,s as a,g as n,ai as u,q as d}from"./index-e2c17395.js";import{_ as l}from"./_plugin-vue_export-helper.1b428a4d.js";const p=l({__name:"su-image",props:{src:{type:String,default:""},errorSrc:{type:String,default:"/static/img/shop/empty_network.png"},mode:{type:String,default:"widthFix"},isPreview:{type:Boolean,default:!1},previewList:{type:Array,default:()=>[]},current:{type:Number,default:-1},height:{type:Number,default:0},width:{type:Number,default:0},radius:{type:Number,default:0}},emits:["load","error"],setup(l,{emit:p}){const c=l,g=e({isError:!1,imgHeight:600}),m=r((()=>({height:(c.height||g.imgHeight)+"rpx",width:c.width?c.width+"rpx":"100%",borderRadius:c.radius?c.radius+"rpx":""})));function h(e){0===c.height&&(g.imgHeight=e.detail.height/e.detail.width*750)}function f(e){g.isError=!0,p("error",e)}function y(){c.isPreview&&u({urls:c.previewList.length<1?[c.src]:c.previewList,current:c.current,longPressActions:{itemList:["发送给朋友","保存图片","收藏"],success:function(e){console.log("选中了第"+(e.tapIndex+1)+"个按钮,第"+(e.index+1)+"张图片")},fail:function(e){console.log(e.errMsg)}}})}return(e,r)=>{const u=d;return g.isError?n("",!0):(t(),i(u,{key:0,class:"su-img",style:s(o(m)),draggable:!1,mode:l.mode,src:o(a).$url.cdn(l.src),onClick:y,onLoad:h,onError:f},null,8,["style","mode","src"]))}}},[["__scopeId","data-v-76b85271"]]);export{p as _};
+import{v as e,c as r,e as t,f as i,y as s,u as o,s as a,g as n,ai as u,q as d}from"./index-c3892e82.js";import{_ as l}from"./_plugin-vue_export-helper.1b428a4d.js";const p=l({__name:"su-image",props:{src:{type:String,default:""},errorSrc:{type:String,default:"/static/img/shop/empty_network.png"},mode:{type:String,default:"widthFix"},isPreview:{type:Boolean,default:!1},previewList:{type:Array,default:()=>[]},current:{type:Number,default:-1},height:{type:Number,default:0},width:{type:Number,default:0},radius:{type:Number,default:0}},emits:["load","error"],setup(l,{emit:p}){const c=l,g=e({isError:!1,imgHeight:600}),m=r((()=>({height:(c.height||g.imgHeight)+"rpx",width:c.width?c.width+"rpx":"100%",borderRadius:c.radius?c.radius+"rpx":""})));function h(e){0===c.height&&(g.imgHeight=e.detail.height/e.detail.width*750)}function f(e){g.isError=!0,p("error",e)}function y(){c.isPreview&&u({urls:c.previewList.length<1?[c.src]:c.previewList,current:c.current,longPressActions:{itemList:["发送给朋友","保存图片","收藏"],success:function(e){console.log("选中了第"+(e.tapIndex+1)+"个按钮,第"+(e.index+1)+"张图片")},fail:function(e){console.log(e.errMsg)}}})}return(e,r)=>{const u=d;return g.isError?n("",!0):(t(),i(u,{key:0,class:"su-img",style:s(o(m)),draggable:!1,mode:l.mode,src:o(a).$url.cdn(l.src),onClick:y,onLoad:h,onError:f},null,8,["style","mode","src"]))}}},[["__scopeId","data-v-76b85271"]]);export{p as _};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/su-number-box.3fec5993.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/su-sticky.d6190332.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/su-swiper.f4ed255c.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/su-tabs.6a2d6a21.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/uni-collapse.7263d8d3.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/uni-datetime-picker.66875b26.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/uni-list.dd78f75a.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/uni-load-more.11d14004.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/h5/assets/uni-rate.ab7f9c5c.js


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


+ 1 - 1
unpackage/dist/build/h5/index.html

@@ -11,7 +11,7 @@
     <title>中星</title>
     <!--preload-links-->
     <!--app-context-->
-    <script type="module" crossorigin src="./assets/index-e2c17395.js"></script>
+    <script type="module" crossorigin src="./assets/index-c3892e82.js"></script>
     <link rel="stylesheet" href="./assets/index-b45cdfe9.css">
   </head>
   <body>

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