Browse Source

修改用户名

RuHu.Xu 8 months ago
parent
commit
4545b2f3ba
100 changed files with 499 additions and 468 deletions
  1. 483 452
      pages/user/info.vue
  2. 1 1
      sheep/platform/pay.js
  3. 1 1
      unpackage/dist/build/web/assets/comment-item.4b9e96a0.js
  4. 1 1
      unpackage/dist/build/web/assets/const.737bfc44.js
  5. 0 0
      unpackage/dist/build/web/assets/detail-content-card.c81b3947.js
  6. 0 0
      unpackage/dist/build/web/assets/index-96189a9b.js
  7. 0 0
      unpackage/dist/build/web/assets/info-dfc39b04.css
  8. 0 0
      unpackage/dist/build/web/assets/mp-html.83a87a4c.js
  9. 0 0
      unpackage/dist/build/web/assets/pages-activity-bargain-detail.c5055ac0.js
  10. 0 0
      unpackage/dist/build/web/assets/pages-activity-bargain-list.fb60bd37.js
  11. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-detail.246c39b4.js
  12. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-list.624f130f.js
  13. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-order.5946841d.js
  14. 0 0
      unpackage/dist/build/web/assets/pages-activity-index.ec87cb48.js
  15. 0 0
      unpackage/dist/build/web/assets/pages-activity-seckill-list.5fe3e248.js
  16. 0 0
      unpackage/dist/build/web/assets/pages-app-sign.4e850bdf.js
  17. 0 0
      unpackage/dist/build/web/assets/pages-chat-index.f76e3f1e.js
  18. 0 0
      unpackage/dist/build/web/assets/pages-chat-speechtotext.669fda9b.js
  19. 0 0
      unpackage/dist/build/web/assets/pages-chat-speechtotext.84bc09db.js
  20. 0 0
      unpackage/dist/build/web/assets/pages-commission-commission-ranking.d5ce53c0.js
  21. 0 0
      unpackage/dist/build/web/assets/pages-commission-goods.62659914.js
  22. 0 0
      unpackage/dist/build/web/assets/pages-commission-index.fa819f6e.js
  23. 0 0
      unpackage/dist/build/web/assets/pages-commission-order.ad89e01e.js
  24. 0 0
      unpackage/dist/build/web/assets/pages-commission-promoter.32d2d6d7.js
  25. 0 0
      unpackage/dist/build/web/assets/pages-commission-team.743a92cb.js
  26. 0 0
      unpackage/dist/build/web/assets/pages-commission-wallet.12d373e5.js
  27. 0 0
      unpackage/dist/build/web/assets/pages-commission-withdraw.dbc4cecf.js
  28. 0 0
      unpackage/dist/build/web/assets/pages-coupon-detail.2a00a940.js
  29. 0 0
      unpackage/dist/build/web/assets/pages-coupon-list.9373c487.js
  30. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-add.4349fde9.js
  31. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-list.6c02249c.js
  32. 0 0
      unpackage/dist/build/web/assets/pages-goods-groupon.fff2a623.js
  33. 0 0
      unpackage/dist/build/web/assets/pages-goods-index.9119b7f2.js
  34. 0 0
      unpackage/dist/build/web/assets/pages-goods-list.f10c09c8.js
  35. 0 0
      unpackage/dist/build/web/assets/pages-goods-seckill.97baa792.js
  36. 0 0
      unpackage/dist/build/web/assets/pages-index-cart.5807efb0.js
  37. 0 0
      unpackage/dist/build/web/assets/pages-index-category.9ea83c7b.js
  38. 0 0
      unpackage/dist/build/web/assets/pages-index-index.225f484e.js
  39. 0 0
      unpackage/dist/build/web/assets/pages-index-login.c053be8c.js
  40. 1 1
      unpackage/dist/build/web/assets/pages-index-page.23fc3fae.js
  41. 1 1
      unpackage/dist/build/web/assets/pages-index-search.71fbceb1.js
  42. 1 1
      unpackage/dist/build/web/assets/pages-index-user.94f6861b.js
  43. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-apply.ca9294df.js
  44. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-detail.3447bf39.js
  45. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-list.f66e10c2.js
  46. 1 1
      unpackage/dist/build/web/assets/pages-order-aftersale-log.57c464a0.js
  47. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-return-delivery.b27d5057.js
  48. 0 0
      unpackage/dist/build/web/assets/pages-order-confirm.fdf4ca65.js
  49. 0 0
      unpackage/dist/build/web/assets/pages-order-detail.f3856c01.js
  50. 0 0
      unpackage/dist/build/web/assets/pages-order-express-log.4d4449df.js
  51. 0 0
      unpackage/dist/build/web/assets/pages-order-list.c4947927.js
  52. 0 0
      unpackage/dist/build/web/assets/pages-order-otherlist.858affbc.js
  53. 0 0
      unpackage/dist/build/web/assets/pages-pay-index.7b0a6662.js
  54. 0 0
      unpackage/dist/build/web/assets/pages-pay-recharge-log.113da0a2.js
  55. 0 0
      unpackage/dist/build/web/assets/pages-pay-recharge.c1806d55.js
  56. 0 0
      unpackage/dist/build/web/assets/pages-pay-result.60a11568.js
  57. 0 0
      unpackage/dist/build/web/assets/pages-pay-resultYuan.14a39f8d.js
  58. 1 1
      unpackage/dist/build/web/assets/pages-public-error.2e85a989.js
  59. 1 1
      unpackage/dist/build/web/assets/pages-public-faq.1251156b.js
  60. 1 1
      unpackage/dist/build/web/assets/pages-public-richtext.31fd88a7.js
  61. 0 0
      unpackage/dist/build/web/assets/pages-public-setting.e432fed2.js
  62. 1 1
      unpackage/dist/build/web/assets/pages-public-webview.48f080db.js
  63. 0 0
      unpackage/dist/build/web/assets/pages-shop-index.65d89e5a.js
  64. 0 0
      unpackage/dist/build/web/assets/pages-user-address-edit.acdccdb4.js
  65. 0 0
      unpackage/dist/build/web/assets/pages-user-address-list.4b14a0b6.js
  66. 0 0
      unpackage/dist/build/web/assets/pages-user-dummyAddress-edit.2b5a6e67.js
  67. 1 1
      unpackage/dist/build/web/assets/pages-user-dummyAddress-list.5b05628c.js
  68. 0 0
      unpackage/dist/build/web/assets/pages-user-goods-collect.18b3dced.js
  69. 0 0
      unpackage/dist/build/web/assets/pages-user-goods-log.d595e053.js
  70. 0 0
      unpackage/dist/build/web/assets/pages-user-info.54a60786.js
  71. 0 0
      unpackage/dist/build/web/assets/pages-user-info.bbbade84.js
  72. 0 0
      unpackage/dist/build/web/assets/pages-user-invoice-edit.f29a8328.js
  73. 1 1
      unpackage/dist/build/web/assets/pages-user-invoice-list.1f514617.js
  74. 0 0
      unpackage/dist/build/web/assets/pages-user-qrcode-share.45c12b01.js
  75. 0 0
      unpackage/dist/build/web/assets/pages-user-qrcode-share.535f8cbe.js
  76. 0 0
      unpackage/dist/build/web/assets/pages-user-setting.9bd79636.js
  77. 0 0
      unpackage/dist/build/web/assets/pages-user-wallet-ScoreLog.7a465943.js
  78. 0 0
      unpackage/dist/build/web/assets/pages-user-wallet-maxScoreLog.3f380146.js
  79. 0 0
      unpackage/dist/build/web/assets/pages-user-wallet-money.f2d28f8d.js
  80. 0 0
      unpackage/dist/build/web/assets/pages-user-wallet-score.28b857d5.js
  81. 0 0
      unpackage/dist/build/web/assets/pages-user-wallet-scoreToMoney.071d048b.js
  82. 0 0
      unpackage/dist/build/web/assets/pages-user-wallet-team.48d6e59f.js
  83. 0 0
      unpackage/dist/build/web/assets/phone-international-input.0f5dd643.js
  84. 0 0
      unpackage/dist/build/web/assets/s-address-item.29073050.js
  85. 0 0
      unpackage/dist/build/web/assets/s-block.29c4cf2a.js
  86. 0 0
      unpackage/dist/build/web/assets/s-count-down.d10c5000.js
  87. 1 1
      unpackage/dist/build/web/assets/s-empty.247ca480.js
  88. 0 0
      unpackage/dist/build/web/assets/s-goods-column.390eb582.js
  89. 0 0
      unpackage/dist/build/web/assets/s-goods-item.c492c954.js
  90. 0 0
      unpackage/dist/build/web/assets/s-layout.c34ad2c0.js
  91. 0 0
      unpackage/dist/build/web/assets/s-select-groupon-sku.334985cd.js
  92. 0 0
      unpackage/dist/build/web/assets/s-uploader.8e3c53f6.js
  93. 1 1
      unpackage/dist/build/web/assets/su-image.48b4fd6d.js
  94. 0 0
      unpackage/dist/build/web/assets/su-number-box.6f3f973d.js
  95. 0 0
      unpackage/dist/build/web/assets/su-region-picker.382c4dc4.js
  96. 0 0
      unpackage/dist/build/web/assets/su-sticky.f5326bb5.js
  97. 0 0
      unpackage/dist/build/web/assets/su-swiper.ec4d0afe.js
  98. 0 0
      unpackage/dist/build/web/assets/su-tabs.e1601f54.js
  99. 1 1
      unpackage/dist/build/web/assets/uni-badge.f1cc7ae7.js
  100. 0 0
      unpackage/dist/build/web/assets/uni-collapse.79bdaa83.js

+ 483 - 452
pages/user/info.vue

@@ -1,119 +1,91 @@
 <!-- 用户信息 -->
 <template>
-  <s-layout title="用户信息" class="set-userinfo-wrap">
-    <uni-forms
-      :model="state.model"
-      :rules="state.rules"
-      labelPosition="left"
-      border
-      class="form-box"
-    >
-      <!-- 头像 -->
-      <view class="ss-flex ss-row-center ss-col-center ss-p-t-60 ss-p-b-0 bg-white">
-        <view class="header-box-content">
-          <su-image
-            class="content-img"
-            isPreview
-            :current="0"
-            :src="state.model?.avatar"
-            :height="160"
-            :width="160"
-            :radius="80"
-            mode="scaleToFill"
-          />
-          <view class="avatar-action">
-            <!-- #ifdef MP -->
-            <button
-              class="ss-reset-button avatar-action-btn"
-              open-type="chooseAvatar"
-              @chooseavatar="onChooseAvatar">
-              修改
-            </button>
-            <!-- #endif -->
-            <!-- #ifndef MP -->
-            <button class="ss-reset-button avatar-action-btn" @tap="onChangeAvatar">修改</button>
-            <!-- #endif -->
-          </view>
-        </view>
-      </view>
-
-      <view class="bg-white ss-p-x-30">
-        <!-- 昵称 + 性别 -->
-        <uni-forms-item name="nickname" label="昵称">
-          <uni-easyinput
-            v-model="state.model.nickname"
-            type="nickname"
-            placeholder="设置昵称"
-            :inputBorder="false"
-            :placeholderStyle="placeholderStyle"
-          />
-        </uni-forms-item>
-        <uni-forms-item name="sex" label="性别">
-          <view class="ss-flex ss-col-center ss-h-100">
-            <radio-group @change="onChangeGender" class="ss-flex ss-col-center">
-              <label class="radio" v-for="item in sexRadioMap" :key="item.value">
-                <view class="ss-flex ss-col-center ss-m-r-32">
-                  <radio
-                    :value="item.value"
-                    color="var(--ui-BG-Main)"
-                    style="transform: scale(0.8)"
-                    :checked="parseInt(item.value) === state.model?.sex"
-                  />
-                  <view class="gender-name">{{ item.name }}</view>
-                </view>
-              </label>
-            </radio-group>
-          </view>
-        </uni-forms-item>
-
-        <uni-forms-item name="mobile" label="手机号" @tap="onChangeMobile">
-          <uni-easyinput
-            v-model="userInfo.mobile"
-            placeholder="请绑定手机号"
-            :inputBorder="false"
-            disabled
-            :styles="{ disableColor: '#fff' }"
-            :placeholderStyle="placeholderStyle"
-            :clearable="false"
-          >
-            <template v-slot:right>
-              <view class="ss-flex ss-col-center">
-                <su-radio v-if="userInfo.verification?.mobile" :modelValue="true" />
-                <button v-else class="ss-reset-button ss-flex ss-col-center ss-row-center">
-                  <text class="_icon-forward" style="color: #bbbbbb; font-size: 26rpx"></text>
-                </button>
-              </view>
-            </template>
-          </uni-easyinput>
-        </uni-forms-item>
-
-        <uni-forms-item name="password" label="登录密码" @tap="onSetPassword">
-          <uni-easyinput
-            v-model="userInfo.password"
-            placeholder="点击修改登录密码"
-            :inputBorder="false"
-            :styles="{ disableColor: '#fff' }"
-            disabled
-            placeholderStyle="color:#BBBBBB;font-size:28rpx;line-height:normal"
-            :clearable="false"
-          >
-            <template v-slot:right>
-              <view class="ss-flex ss-col-center">
-                <su-radio
-                  class="ss-flex"
-                  v-if="userInfo.verification?.password"
-                  :modelValue="true"
-                />
-                <button v-else class="ss-reset-button ss-flex ss-col-center ss-row-center">
-                  <text class="_icon-forward" style="color: #bbbbbb; font-size: 26rpx" />
-                </button>
-              </view>
-            </template>
-          </uni-easyinput>
-        </uni-forms-item>
-      </view>
-
-      <!-- <view class="bg-white ss-m-t-14">
+	<s-layout title="用户信息" class="set-userinfo-wrap">
+		<uni-forms :model="state.model" :rules="state.rules" labelPosition="left" border class="form-box">
+			<!-- 头像 -->
+			<view class="ss-flex ss-row-center ss-col-center ss-p-t-60 ss-p-b-0 bg-white">
+				<view class="header-box-content">
+					<su-image class="content-img" isPreview :current="0" :src="state.model?.avatar" :height="160"
+						:width="160" :radius="80" mode="scaleToFill" />
+					<view class="avatar-action">
+						<!-- #ifdef MP -->
+						<button class="ss-reset-button avatar-action-btn" open-type="chooseAvatar"
+							@chooseavatar="onChooseAvatar">
+							修改
+						</button>
+						<!-- #endif -->
+						<!-- #ifndef MP -->
+						<button class="ss-reset-button avatar-action-btn" @tap="onChangeAvatar">修改</button>
+						<!-- #endif -->
+					</view>
+				</view>
+			</view>
+
+			<view class="bg-white ss-p-x-30">
+				<!-- 昵称 + 性别 -->
+				<uni-forms-item name="nickname" label="昵称">
+					<uni-easyinput v-model="state.model.nickname" type="nickname" placeholder="设置昵称"
+						:inputBorder="false" :placeholderStyle="placeholderStyle"  :clearable="false"/>
+				</uni-forms-item>
+
+				<uni-forms-item name="username" label="用户名" :error-message="state.usernameErrorMsg">
+					<uni-easyinput v-model="state.model.username" placeholder="设置用户名" :inputBorder="false"
+						:placeholderStyle="placeholderStyle" @blur="verifyUsername" :clearable="false">
+						<template v-slot:right>
+							<view v-if="!state.verifyUsername" class="icon">
+								<image style :src="sheep.$url.static('/static/images/shibai.png')" />
+							</view>
+							<view v-else class="icon">
+								<image :src="sheep.$url.static('/static/images/chenggong.png')" />
+							</view>
+						</template>
+					</uni-easyinput>
+				</uni-forms-item>
+				<uni-forms-item name="sex" label="性别">
+					<view class="ss-flex ss-col-center ss-h-100">
+						<radio-group @change="onChangeGender" class="ss-flex ss-col-center">
+							<label class="radio" v-for="item in sexRadioMap" :key="item.value">
+								<view class="ss-flex ss-col-center ss-m-r-32">
+									<radio :value="item.value" color="var(--ui-BG-Main)" style="transform: scale(0.8)"
+										:checked="parseInt(item.value) === state.model?.sex" />
+									<view class="gender-name">{{ item.name }}</view>
+								</view>
+							</label>
+						</radio-group>
+					</view>
+				</uni-forms-item>
+
+				<uni-forms-item name="mobile" label="手机号" @tap="onChangeMobile">
+					<uni-easyinput v-model="userInfo.mobile" placeholder="请绑定手机号" :inputBorder="false" disabled
+						:styles="{ disableColor: '#fff' }" :placeholderStyle="placeholderStyle" :clearable="false">
+						<template v-slot:right>
+							<view class="ss-flex ss-col-center">
+								<su-radio v-if="userInfo.verification?.mobile" :modelValue="true" />
+								<button v-else class="ss-reset-button ss-flex ss-col-center ss-row-center">
+									<text class="_icon-forward" style="color: #bbbbbb; font-size: 26rpx"></text>
+								</button>
+							</view>
+						</template>
+					</uni-easyinput>
+				</uni-forms-item>
+
+				<uni-forms-item name="password" label="登录密码" @tap="onSetPassword">
+					<uni-easyinput v-model="userInfo.password" placeholder="点击修改登录密码" :inputBorder="false"
+						:styles="{ disableColor: '#fff' }" disabled
+						placeholderStyle="color:#BBBBBB;font-size:28rpx;line-height:normal" :clearable="false">
+						<template v-slot:right>
+							<view class="ss-flex ss-col-center">
+								<su-radio class="ss-flex" v-if="userInfo.verification?.password" :modelValue="true" />
+								<button v-else class="ss-reset-button ss-flex ss-col-center ss-row-center">
+									<text class="_icon-forward" style="color: #bbbbbb; font-size: 26rpx" />
+								</button>
+							</view>
+						</template>
+					</uni-easyinput>
+				</uni-forms-item>
+			</view>
+
+			<!-- <view class="bg-white ss-m-t-14">
         <uni-list>
           <uni-list-item
             clickable
@@ -125,347 +97,406 @@
           />
         </uni-list>
       </view> -->
-    </uni-forms>
-
-    <!-- 当前社交平台的绑定关系,只处理 wechat 微信场景 -->
-    <view v-if="sheep.$platform.name !== 'H5'">
-      <view class="title-box ss-p-l-30">第三方账号绑定</view>
-      <view class="account-list ss-flex ss-row-between">
-        <view v-if="'WechatOfficialAccount' === sheep.$platform.name" class="ss-flex ss-col-center">
-          <image
-            class="list-img"
-            :src="sheep.$url.static('/static/images/WechatOfficialAccount.png')"
-          />
-          <text class="list-name">微信公众号</text>
-        </view>
-        <view v-if="'WechatMiniProgram' === sheep.$platform.name" class="ss-flex ss-col-center">
-          <image
-            class="list-img"
-            :src="sheep.$url.static('/static/images/WechatMiniProgram.png')"
-          />
-          <text class="list-name">微信小程序</text>
-        </view>
-        <view v-if="'App' === sheep.$platform.name" class="ss-flex ss-col-center">
-          <image
-            class="list-img"
-            :src="sheep.$url.static('/static/images/wechat.png')"
-          />
-          <text class="list-name">微信开放平台</text>
-        </view>
-        <view class="ss-flex ss-col-center">
-          <view class="info ss-flex ss-col-center" v-if="state.thirdInfo">
-            <image
-              class="avatar ss-m-r-20"
-              :src="sheep.$url.cdn(state.thirdInfo.avatar)"
-            />
-            <text class="name">{{ state.thirdInfo.nickname }}</text>
-          </view>
-          <view class="bind-box ss-m-l-20">
-            <button
-              v-if="state.thirdInfo.openid"
-              class="ss-reset-button relieve-btn"
-              @tap="unBindThirdOauth"
-            >
-              解绑
-            </button>
-            <button v-else class="ss-reset-button bind-btn" @tap="bindThirdOauth">绑定</button>
-          </view>
-        </view>
-      </view>
-    </view>
-
-    <su-fixed bottom placeholder bg="none">
-      <view class="footer-box ss-p-20">
-        <button class="ss-rest-button logout-btn" @tap="onSubmit">保存</button>
-      </view>
-    </su-fixed>
-  </s-layout>
+		</uni-forms>
+
+		<!-- 当前社交平台的绑定关系,只处理 wechat 微信场景 -->
+		<view v-if="sheep.$platform.name !== 'H5'">
+			<view class="title-box ss-p-l-30">第三方账号绑定</view>
+			<view class="account-list ss-flex ss-row-between">
+				<view v-if="'WechatOfficialAccount' === sheep.$platform.name" class="ss-flex ss-col-center">
+					<image class="list-img" :src="sheep.$url.static('/static/images/WechatOfficialAccount.png')" />
+					<text class="list-name">微信公众号</text>
+				</view>
+				<view v-if="'WechatMiniProgram' === sheep.$platform.name" class="ss-flex ss-col-center">
+					<image class="list-img" :src="sheep.$url.static('/static/images/WechatMiniProgram.png')" />
+					<text class="list-name">微信小程序</text>
+				</view>
+				<view v-if="'App' === sheep.$platform.name" class="ss-flex ss-col-center">
+					<image class="list-img" :src="sheep.$url.static('/static/images/wechat.png')" />
+					<text class="list-name">微信开放平台</text>
+				</view>
+				<view class="ss-flex ss-col-center">
+					<view class="info ss-flex ss-col-center" v-if="state.thirdInfo">
+						<image class="avatar ss-m-r-20" :src="sheep.$url.cdn(state.thirdInfo.avatar)" />
+						<text class="name">{{ state.thirdInfo.nickname }}</text>
+					</view>
+					<view class="bind-box ss-m-l-20">
+						<button v-if="state.thirdInfo.openid" class="ss-reset-button relieve-btn"
+							@tap="unBindThirdOauth">
+							解绑
+						</button>
+						<button v-else class="ss-reset-button bind-btn" @tap="bindThirdOauth">绑定</button>
+					</view>
+				</view>
+			</view>
+		</view>
+
+		<su-fixed bottom placeholder bg="none">
+			<view class="footer-box ss-p-20">
+				<button class="ss-rest-button logout-btn" @tap="onSubmit">保存</button>
+			</view>
+		</su-fixed>
+	</s-layout>
 </template>
 
 <script setup>
-  import { computed, reactive, onBeforeMount } from 'vue';
-  import sheep from '@/sheep';
-  import { clone } from 'lodash';
-  import {
-  	onLoad
-  } from '@dcloudio/uni-app';
-  import { showAuthModal } from '@/sheep/hooks/useModal';
-  import FileApi from '@/sheep/api/infra/file';
-  import UserApi from '@/sheep/api/member/user';
-
-  const state = reactive({
-    model: {}, // 个人信息
-    rules: {},
-    thirdInfo: {}, // 社交用户的信息
-  });
-
-  const placeholderStyle = 'color:#BBBBBB;font-size:28rpx;line-height:normal';
-
-  const sexRadioMap = [{
-      name: '男',
-      value: '1',
-    },
-    {
-      name: '女',
-      value: '2',
-    }
-  ];
-
-  const userInfo = computed(() => sheep.$store('user').userInfo);
-
-  // 选择性别
-  function onChangeGender(e) {
-    state.model.sex = e.detail.value;
-  }
-
-  // 修改手机号
-  const onChangeMobile = () => {
-    showAuthModal('changeMobile');
-  };
-
-  // 选择微信的头像,进行上传
-  function onChooseAvatar(e) {
-    const tempUrl = e.detail.avatarUrl || '';
-    uploadAvatar(tempUrl);
-  }
-
-  // 手动选择头像,进行上传
-  function onChangeAvatar() {
-    uni.chooseImage({
-      success: async (chooseImageRes) => {
-        const tempUrl = chooseImageRes.tempFilePaths[0];
-        await uploadAvatar(tempUrl);
-      },
-    });
-  }
-
-  // 上传头像文件
-  async function uploadAvatar(tempUrl) {
-    if (!tempUrl) {
-      return;
-    }
-    let { data } = await FileApi.uploadFile(tempUrl);
-    state.model.avatar = data;
-  }
-
-  // 修改密码
-  function onSetPassword() {
-    showAuthModal('changePassword');
-  }
-
-  // 绑定第三方账号
-  async function bindThirdOauth() {
-    let result = await sheep.$platform.useProvider('wechat').bind();
-  }
-
-  // 解绑第三方账号
-  function unBindThirdOauth() {
-    uni.showModal({
-      title: '解绑提醒',
-      content: '解绑后您将无法通过微信登录此账号',
-      cancelText: '再想想',
-      confirmText: '确定',
-      success: async function (res) {
-        if (!res.confirm) {
-          return;
-        }
-        const result = await sheep.$platform.useProvider('wechat').unbind(state.thirdInfo.openid);
-        if (result) {
-          await getUserInfo();
-        }
-      },
-    });
-  }
-
-  // 保存信息
-  async function onSubmit() {
-	 const { code } = await UserApi.updateUser({
-      avatar: state.model.avatar,
-      nickname: state.model.nickname,
-      sex: state.model.sex,
-    });
-    if (code === 0) {
-      await getUserInfo();
-    }
-  }
-
-  // 获得用户信息
-  const getUserInfo = async () => {
-    // 个人信息
-    const userInfo = await sheep.$store('user').getInfo();
-    state.model = clone(userInfo);
-	
-    // 获得社交用户的信息
-    if (sheep.$platform.name !== 'H5') {
-      let result = await sheep.$platform.useProvider('wechat').getInfo();
-      state.thirdInfo = result || {};
-    }
-  };
-  onLoad(async (options) => {
-	getUserInfo();
-	setTimeout(getUserInfo,2000)
-  });
+	import {
+		computed,
+		reactive,
+		onBeforeMount,
+		ref
+	} from 'vue';
+	import sheep from '@/sheep';
+	import {
+		clone
+	} from 'lodash';
+	import {
+		onLoad
+	} from '@dcloudio/uni-app';
+	import {
+		showAuthModal
+	} from '@/sheep/hooks/useModal';
+	import FileApi from '@/sheep/api/infra/file';
+	import UserApi from '@/sheep/api/member/user';
+	import AuthUtil from '@/sheep/api/member/auth';
+	import {
+		closeAuthModal,
+	} from '@/sheep/hooks/useModal';
+	const state = reactive({
+		verifyUsername: true ,
+		usernameErrorMsg:'',
+		model: {
+			
+		}, // 个人信息
+		rules: {},
+		thirdInfo: {}, // 社交用户的信息
+	});
+
+	const placeholderStyle = 'color:#BBBBBB;font-size:28rpx;line-height:normal';
+
+	const sexRadioMap = [{
+			name: '男',
+			value: '1',
+		},
+		{
+			name: '女',
+			value: '2',
+		}
+	];
+
+	const userInfo = computed(() => sheep.$store('user').userInfo);
+
+	// 选择性别
+	function onChangeGender(e) {
+		state.model.sex = e.detail.value;
+	}
+
+	// 修改手机号
+	const onChangeMobile = () => {
+		showAuthModal('changeMobile');
+	};
+
+	// 选择微信的头像,进行上传
+	function onChooseAvatar(e) {
+		const tempUrl = e.detail.avatarUrl || '';
+		uploadAvatar(tempUrl);
+	}
+
+	// 手动选择头像,进行上传
+	function onChangeAvatar() {
+		uni.chooseImage({
+			success: async (chooseImageRes) => {
+				const tempUrl = chooseImageRes.tempFilePaths[0];
+				await uploadAvatar(tempUrl);
+			},
+		});
+	}
+
+	// 上传头像文件
+	async function uploadAvatar(tempUrl) {
+		if (!tempUrl) {
+			return;
+		}
+		let {
+			data
+		} = await FileApi.uploadFile(tempUrl);
+		state.model.avatar = data;
+	}
+
+	// 修改密码
+	function onSetPassword() {
+		showAuthModal('changePassword');
+	}
+
+	// 绑定第三方账号
+	async function bindThirdOauth() {
+		let result = await sheep.$platform.useProvider('wechat').bind();
+	}
+
+	// 解绑第三方账号
+	function unBindThirdOauth() {
+		uni.showModal({
+			title: '解绑提醒',
+			content: '解绑后您将无法通过微信登录此账号',
+			cancelText: '再想想',
+			confirmText: '确定',
+			success: async function(res) {
+				if (!res.confirm) {
+					return;
+				}
+				const result = await sheep.$platform.useProvider('wechat').unbind(state.thirdInfo.openid);
+				if (result) {
+					await getUserInfo();
+				}
+			},
+		});
+	}
+	let lastUsername = ref('')
+	async function verifyUsername(e) {
+		// console.log(e.detail.value,state.username)
+		
+		const username = e.detail.value;
+		if (username == '' || username == lastUsername.value) {
+			// 为空或者没改东西,不调校验
+			return false;
+		}else if(username === state.username){
+			// 如果输入的用户名跟原来的本身的用户名一致,不做查询,默认正确(即点进来又点出去,没改变的)
+			state.usernameErrorMsg = '';
+			state.verifyUsername = true
+			return false;
+		}
+		lastUsername.value = username
+		// 提交数据
+		const {
+			data
+		} = await AuthUtil.verifyUsername(username);
+		// false就是已经有这个用户名,可以登录,true是没有,可以使用
+		if (!data) {
+			state.usernameErrorMsg = '用户名已被使用!'
+			state.verifyUsername = data
+		} else {
+			state.usernameErrorMsg = ''
+			state.verifyUsername = data
+		}
+	}
+	// 保存信息
+	async function onSubmit() {
+		const {
+			code
+		} = await UserApi.updateUser({
+			avatar: state.model.avatar,
+			nickname: state.model.nickname,
+			username: state.model.username,
+			sex: state.model.sex,
+		});
+		if (code === 0 && state.model.username !== state.username) {
+			// 修改成功并且是修改了用户名退出登录
+			uni.showToast({
+				icon: 'success',
+				title: "修改成功,请重新登录",
+			});
+			// 成功后,只需要1秒后推出登录关闭弹窗
+			setTimeout(function(){
+				sheep.$store('user').logout();
+				closeAuthModal();
+				sheep.$router.go('/pages/index/user')
+			},1000)
+		}
+		if(code === 0){
+			await getUserInfo();
+		}
+	}
+
+	// 获得用户信息
+	const getUserInfo = async () => {
+		// 个人信息
+		const userInfo = await sheep.$store('user').getInfo();
+		state.model = clone(userInfo);
+		state.username = userInfo.username
+		// 获得社交用户的信息
+		if (sheep.$platform.name !== 'H5') {
+			let result = await sheep.$platform.useProvider('wechat').getInfo();
+			state.thirdInfo = result || {};
+		}
+	};
+	onLoad(async (options) => {
+		getUserInfo();
+		// setTimeout(getUserInfo, 2000)
+	});
 </script>
 
 <style lang="scss" scoped>
-  :deep() {
-    .uni-file-picker {
-      border-radius: 50%;
-    }
-
-    .uni-file-picker__container {
-      margin: -14rpx -12rpx;
-    }
-
-    .file-picker__progress {
-      height: 0 !important;
-    }
-
-    .uni-list-item__content-title {
-      font-size: 28rpx !important;
-      color: #333333 !important;
-      line-height: normal !important;
-    }
-
-    .uni-icons {
-      font-size: 40rpx !important;
-    }
-
-    .is-disabled {
-      color: #333333;
-    }
-  }
-
-  :deep(.disabled) {
-    opacity: 1;
-  }
-
-  .gender-name {
-    font-size: 28rpx;
-    font-weight: 500;
-    line-height: normal;
-    color: #333333;
-  }
-
-  .title-box {
-    font-size: 28rpx;
-    font-weight: 500;
-    color: #666666;
-    line-height: 100rpx;
-  }
-
-  .logout-btn {
-    width: 710rpx;
-    height: 80rpx;
-    background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
-    border-radius: 40rpx;
-    font-size: 30rpx;
-    font-weight: 500;
-    color: $white;
-  }
-
-  .radio-dark {
-    filter: grayscale(100%);
-    filter: gray;
-    opacity: 0.4;
-  }
-
-  .content-img {
-    border-radius: 50%;
-  }
-  .header-box-content {
-    position: relative;
-    width: 160rpx;
-    height: 160rpx;
-    overflow: hidden;
-    border-radius: 50%;
-  }
-  .avatar-action {
-    position: absolute;
-    left: 50%;
-    transform: translateX(-50%);
-    bottom: 0;
-    z-index: 1;
-    width: 160rpx;
-    height: 46rpx;
-    background: rgba(#000000, 0.3);
-
-    .avatar-action-btn {
-      width: 160rpx;
-      height: 46rpx;
-      font-weight: 500;
-      font-size: 24rpx;
-      color: #ffffff;
-    }
-  }
-
-  // 绑定项
-  .account-list {
-    background-color: $white;
-    height: 100rpx;
-    padding: 0 20rpx;
-
-    .list-img {
-      width: 40rpx;
-      height: 40rpx;
-      margin-right: 10rpx;
-    }
-
-    .list-name {
-      font-size: 28rpx;
-      color: #333333;
-    }
-
-    .info {
-      .avatar {
-        width: 38rpx;
-        height: 38rpx;
-        border-radius: 50%;
-        overflow: hidden;
-      }
-
-      .name {
-        font-size: 28rpx;
-        font-weight: 400;
-        color: $dark-9;
-      }
-    }
-
-    .bind-box {
-      width: 100rpx;
-      height: 50rpx;
-      line-height: normal;
-      display: flex;
-      justify-content: center;
-      align-items: center;
-      font-size: 24rpx;
-
-      .bind-btn {
-        width: 100%;
-        height: 100%;
-        border-radius: 25rpx;
-        background: #f4f4f4;
-        color: #999999;
-      }
-      .relieve-btn {
-        width: 100%;
-        height: 100%;
-        border-radius: 25rpx;
-        background: var(--ui-BG-Main-opacity-1);
-        color: var(--ui-BG-Main);
-      }
-    }
-  }
-
-  .list-border {
-    font-size: 28rpx;
-    font-weight: 400;
-    color: #333333;
-    border-bottom: 2rpx solid #eeeeee;
-  }
-
-  image {
-    width: 100%;
-    height: 100%;
-  }
-</style>
+	.icon{
+		display:flex;
+		align-items: center;
+		margin-right:7rpx
+	}
+	.icon image{
+		width:35rpx;
+		height:35rpx;
+	}
+	
+	:deep() {
+		.uni-file-picker {
+			border-radius: 50%;
+		}
+
+		.uni-file-picker__container {
+			margin: -14rpx -12rpx;
+		}
+
+		.file-picker__progress {
+			height: 0 !important;
+		}
+
+		.uni-list-item__content-title {
+			font-size: 28rpx !important;
+			color: #333333 !important;
+			line-height: normal !important;
+		}
+
+		.uni-icons {
+			font-size: 40rpx !important;
+		}
+
+		.is-disabled {
+			color: #333333;
+		}
+	}
+
+	:deep(.disabled) {
+		opacity: 1;
+	}
+
+	.gender-name {
+		font-size: 28rpx;
+		font-weight: 500;
+		line-height: normal;
+		color: #333333;
+	}
+
+	.title-box {
+		font-size: 28rpx;
+		font-weight: 500;
+		color: #666666;
+		line-height: 100rpx;
+	}
+
+	.logout-btn {
+		width: 710rpx;
+		height: 80rpx;
+		background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
+		border-radius: 40rpx;
+		font-size: 30rpx;
+		font-weight: 500;
+		color: $white;
+	}
+
+	.radio-dark {
+		filter: grayscale(100%);
+		filter: gray;
+		opacity: 0.4;
+	}
+
+	.content-img {
+		border-radius: 50%;
+	}
+
+	.header-box-content {
+		position: relative;
+		width: 160rpx;
+		height: 160rpx;
+		overflow: hidden;
+		border-radius: 50%;
+	}
+
+	.avatar-action {
+		position: absolute;
+		left: 50%;
+		transform: translateX(-50%);
+		bottom: 0;
+		z-index: 1;
+		width: 160rpx;
+		height: 46rpx;
+		background: rgba(#000000, 0.3);
+
+		.avatar-action-btn {
+			width: 160rpx;
+			height: 46rpx;
+			font-weight: 500;
+			font-size: 24rpx;
+			color: #ffffff;
+		}
+	}
+
+	// 绑定项
+	.account-list {
+		background-color: $white;
+		height: 100rpx;
+		padding: 0 20rpx;
+
+		.list-img {
+			width: 40rpx;
+			height: 40rpx;
+			margin-right: 10rpx;
+		}
+
+		.list-name {
+			font-size: 28rpx;
+			color: #333333;
+		}
+
+		.info {
+			.avatar {
+				width: 38rpx;
+				height: 38rpx;
+				border-radius: 50%;
+				overflow: hidden;
+			}
+
+			.name {
+				font-size: 28rpx;
+				font-weight: 400;
+				color: $dark-9;
+			}
+		}
+
+		.bind-box {
+			width: 100rpx;
+			height: 50rpx;
+			line-height: normal;
+			display: flex;
+			justify-content: center;
+			align-items: center;
+			font-size: 24rpx;
+
+			.bind-btn {
+				width: 100%;
+				height: 100%;
+				border-radius: 25rpx;
+				background: #f4f4f4;
+				color: #999999;
+			}
+
+			.relieve-btn {
+				width: 100%;
+				height: 100%;
+				border-radius: 25rpx;
+				background: var(--ui-BG-Main-opacity-1);
+				color: var(--ui-BG-Main);
+			}
+		}
+	}
+
+	.list-border {
+		font-size: 28rpx;
+		font-weight: 400;
+		color: #333333;
+		border-bottom: 2rpx solid #eeeeee;
+	}
+
+	image {
+		width: 100%;
+		height: 100%;
+	}
+</style>

+ 1 - 1
sheep/platform/pay.js

@@ -100,7 +100,7 @@ export default class SheepPay {
 				}
 			},
 		};
-		console.log(payAction[sheep.$platform.name],this.payment)
+		// console.log(payAction[sheep.$platform.name],this.payment)
 		return payAction[sheep.$platform.name][this.payment]();
 	}
 

+ 1 - 1
unpackage/dist/build/web/assets/comment-item.c026691d.js → unpackage/dist/build/web/assets/comment-item.4b9e96a0.js

@@ -1 +1 @@
-import{m as s,n as e,f as l,g as a,w as t,k as r,u as c,v as i,l as m,F as u,r as n,i as o,y as d,j as p,D as f}from"./index-eb27cfa7.js";import{_}from"./uni-rate.d13bfa22.js";import{_ as v}from"./su-image.f9d3ceb7.js";import{_ as y}from"./_plugin-vue_export-helper.1b428a4d.js";const x=y({__name:"comment-item",props:{item:{type:Object,default(){}}},setup:y=>(x,g)=>{const h=d,j=p,k=s(e("uni-rate"),_),w=s(e("su-image"),v),b=f;return l(),a(j,null,{default:t((()=>{var s;return[r(j,{class:"user ss-flex ss-m-b-14"},{default:t((()=>[r(j,{class:"ss-m-r-20 ss-flex"},{default:t((()=>[r(h,{class:"avatar",src:y.item.userAvatar},null,8,["src"])])),_:1}),r(j,{class:"nickname ss-m-r-20"},{default:t((()=>[c(i(y.item.userNickname),1)])),_:1}),r(j,{class:""},{default:t((()=>[r(k,{readonly:!0,modelValue:y.item.scores,"onUpdate:modelValue":g[0]||(g[0]=s=>y.item.scores=s),size:"18"},null,8,["modelValue"])])),_:1})])),_:1}),r(j,{class:"content"},{default:t((()=>[c(i(y.item.content),1)])),_:1}),(null==(s=y.item.picUrls)?void 0:s.length)?(l(),a(j,{key:0,class:"ss-m-t-24"},{default:t((()=>[r(b,{class:"scroll-box","scroll-x":"","scroll-anchoring":""},{default:t((()=>[r(j,{class:"ss-flex"},{default:t((()=>[(l(!0),m(u,null,n(y.item.picUrls,((s,e)=>(l(),a(j,{key:s,class:"ss-m-r-10"},{default:t((()=>[r(w,{class:"content-img",isPreview:"",previewList:y.item.picUrls,current:e,src:s,height:120,width:120,mode:"aspectFill"},null,8,["previewList","current","src"])])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})):o("",!0),y.item.replyTime?(l(),a(j,{key:1,class:"ss-m-t-20 reply-box"},{default:t((()=>[r(j,{class:"reply-title"},{default:t((()=>[c("商家回复:")])),_:1}),r(j,{class:"reply-content"},{default:t((()=>[c(i(y.item.replyContent),1)])),_:1})])),_:1})):o("",!0)]})),_:1})}},[["__scopeId","data-v-c011c544"]]);export{x as c};
+import{m as s,n as e,f as l,g as a,w as t,k as r,u as c,v as i,l as m,F as u,r as n,i as o,y as d,j as p,D as f}from"./index-96189a9b.js";import{_}from"./uni-rate.2f6ac7ac.js";import{_ as v}from"./su-image.48b4fd6d.js";import{_ as y}from"./_plugin-vue_export-helper.1b428a4d.js";const x=y({__name:"comment-item",props:{item:{type:Object,default(){}}},setup:y=>(x,g)=>{const h=d,j=p,k=s(e("uni-rate"),_),w=s(e("su-image"),v),b=f;return l(),a(j,null,{default:t((()=>{var s;return[r(j,{class:"user ss-flex ss-m-b-14"},{default:t((()=>[r(j,{class:"ss-m-r-20 ss-flex"},{default:t((()=>[r(h,{class:"avatar",src:y.item.userAvatar},null,8,["src"])])),_:1}),r(j,{class:"nickname ss-m-r-20"},{default:t((()=>[c(i(y.item.userNickname),1)])),_:1}),r(j,{class:""},{default:t((()=>[r(k,{readonly:!0,modelValue:y.item.scores,"onUpdate:modelValue":g[0]||(g[0]=s=>y.item.scores=s),size:"18"},null,8,["modelValue"])])),_:1})])),_:1}),r(j,{class:"content"},{default:t((()=>[c(i(y.item.content),1)])),_:1}),(null==(s=y.item.picUrls)?void 0:s.length)?(l(),a(j,{key:0,class:"ss-m-t-24"},{default:t((()=>[r(b,{class:"scroll-box","scroll-x":"","scroll-anchoring":""},{default:t((()=>[r(j,{class:"ss-flex"},{default:t((()=>[(l(!0),m(u,null,n(y.item.picUrls,((s,e)=>(l(),a(j,{key:s,class:"ss-m-r-10"},{default:t((()=>[r(w,{class:"content-img",isPreview:"",previewList:y.item.picUrls,current:e,src:s,height:120,width:120,mode:"aspectFill"},null,8,["previewList","current","src"])])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})):o("",!0),y.item.replyTime?(l(),a(j,{key:1,class:"ss-m-t-20 reply-box"},{default:t((()=>[r(j,{class:"reply-title"},{default:t((()=>[c("商家回复:")])),_:1}),r(j,{class:"reply-content"},{default:t((()=>[c(i(y.item.replyContent),1)])),_:1})])),_:1})):o("",!0)]})),_:1})}},[["__scopeId","data-v-c011c544"]]);export{x as c};

+ 1 - 1
unpackage/dist/build/web/assets/const.4b608c75.js → unpackage/dist/build/web/assets/const.737bfc44.js

@@ -1 +1 @@
-import{bg as e}from"./index-eb27cfa7.js";const T={PRICE:{type:1,name:"满减"},PERCENT:{type:2,name:"折扣"}},s={DATE:{type:1,name:"固定日期可用"},TERM:{type:2,name:"领取之后可用"}},t={WAIT_START:"即将开始",STARTED:"进行中",END:"已结束"},a=(T,s)=>{const a=e();return a.isBefore(T)?t.WAIT_START:a.isAfter(s)?t.END:t.STARTED};export{s as C,T as P,t as T,a as g};
+import{bg as e}from"./index-96189a9b.js";const T={PRICE:{type:1,name:"满减"},PERCENT:{type:2,name:"折扣"}},s={DATE:{type:1,name:"固定日期可用"},TERM:{type:2,name:"领取之后可用"}},t={WAIT_START:"即将开始",STARTED:"进行中",END:"已结束"},a=(T,s)=>{const a=e();return a.isBefore(T)?t.WAIT_START:a.isAfter(s)?t.END:t.STARTED};export{s as C,T as P,t as T,a as g};

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


+ 1 - 1
unpackage/dist/build/web/assets/pages-index-page.ad35c008.js → unpackage/dist/build/web/assets/pages-index-page.23fc3fae.js

@@ -1 +1 @@
-import{_ as t,a as e}from"./s-block.8a7c050e.js";import{z as s,o,Y as a,e as p,f as n,g as i,w as r,m as l,l as m,r as u,F as _,n as y,k as d}from"./index-eb27cfa7.js";import{_ as g}from"./s-layout.39180bb6.js";import"./phone-international-input.0a43606f.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.5b59ef6e.js";import"./uni-badge.7853781a.js";import"./su-image.f9d3ceb7.js";import"./su-swiper.86fc4412.js";import"./s-goods-column.2162960a.js";import"./points.c381a8e1.js";import"./useGoods.364c2096.js";/* empty css                                                                     */import"./uni-load-more.5b54a41e.js";/* empty css                                                                *//* empty css                                                                      */import"./const.4b608c75.js";import"./mp-html.b5fab3cc.js";import"./pages-public-richtext.6ad36bdc.js";const c={__name:"page",setup(c){const j=s({name:"",components:[],navigationBar:{},page:{}});return o((async t=>{var e,s,o;let p=t.id;const{code:n,data:i}=await a.getDiyPage(p);0===n&&(j.name=i.name,j.components=null==(e=i.property)?void 0:e.components,j.navigationBar=null==(s=i.property)?void 0:s.navigationBar,j.page=null==(o=i.property)?void 0:o.page)})),p((()=>{})),(s,o)=>{const a=l(y("s-block-item"),t),p=l(y("s-block"),e),c=l(y("s-layout"),g);return n(),i(c,{title:j.name,navbar:"custom",bgStyle:j.page,navbarStyle:j.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:r((()=>[(n(!0),m(_,null,u(j.components,((t,e)=>(n(),i(p,{key:e,styles:t.property.style},{default:r((()=>[d(a,{type:t.id,data:t.property,styles:t.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["title","bgStyle","navbarStyle"])}}};export{c as default};
+import{_ as t,a as e}from"./s-block.29c4cf2a.js";import{z as s,o,Y as a,e as p,f as n,g as i,w as r,m as l,l as m,r as u,F as _,n as y,k as d}from"./index-96189a9b.js";import{_ as g}from"./s-layout.c34ad2c0.js";import"./phone-international-input.0f5dd643.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.11aab0e5.js";import"./uni-badge.f1cc7ae7.js";import"./su-image.48b4fd6d.js";import"./su-swiper.ec4d0afe.js";import"./s-goods-column.390eb582.js";import"./points.c381a8e1.js";import"./useGoods.8a0492c0.js";/* empty css                                                                     */import"./uni-load-more.757ac3ab.js";/* empty css                                                                *//* empty css                                                                      */import"./const.737bfc44.js";import"./mp-html.83a87a4c.js";import"./pages-public-richtext.31fd88a7.js";const c={__name:"page",setup(c){const j=s({name:"",components:[],navigationBar:{},page:{}});return o((async t=>{var e,s,o;let p=t.id;const{code:n,data:i}=await a.getDiyPage(p);0===n&&(j.name=i.name,j.components=null==(e=i.property)?void 0:e.components,j.navigationBar=null==(s=i.property)?void 0:s.navigationBar,j.page=null==(o=i.property)?void 0:o.page)})),p((()=>{})),(s,o)=>{const a=l(y("s-block-item"),t),p=l(y("s-block"),e),c=l(y("s-layout"),g);return n(),i(c,{title:j.name,navbar:"custom",bgStyle:j.page,navbarStyle:j.navigationBar,onShareAppMessage:"",showLeftButton:""},{default:r((()=>[(n(!0),m(_,null,u(j.components,((t,e)=>(n(),i(p,{key:e,styles:t.property.style},{default:r((()=>[d(a,{type:t.id,data:t.property,styles:t.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["title","bgStyle","navbarStyle"])}}};export{c as default};

+ 1 - 1
unpackage/dist/build/web/assets/pages-index-search.4a8bb689.js → unpackage/dist/build/web/assets/pages-index-search.71fbceb1.js

@@ -1 +1 @@
-import{z as s,o as t,Q as e,f as o,g as a,w as r,m as i,k as l,u as n,l as c,r as u,F as f,s as h,q as y,P as d,X as p,n as _,j as m,J as x,v as L}from"./index-eb27cfa7.js";import{b as g,_ as b}from"./s-layout.39180bb6.js";import{_ as j}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.0a43606f.js";import"./useGoods.364c2096.js";const w=j({__name:"search",setup(j){const w=s({historyList:[]});function k(s){s&&(!function(s){w.historyList.includes(s)&&w.historyList.splice(w.historyList.indexOf(s),1);w.historyList.unshift(s),w.historyList.length>=10&&(w.historyList.length=10);y("searchHistory",w.historyList)}(s),h.$router.go("/pages/goods/list",{keyword:s}))}function v(){d({title:"提示",content:"确认清除搜索历史吗?",success:function(s){s.confirm&&(w.historyTag=[],p("searchHistory"))}})}return t((()=>{w.historyList=e("searchHistory")||[]})),(s,t)=>{const e=i(_("uni-search-bar"),g),h=m,y=x,d=i(_("s-layout"),b);return o(),a(d,{class:"set-wrap",title:"搜索",bgStyle:{color:"#FFF"}},{default:r((()=>[l(h,{class:"ss-p-x-24"},{default:r((()=>[l(h,{class:"ss-flex ss-col-center"},{default:r((()=>[l(e,{class:"ss-flex-1",radius:"33",placeholder:"请输入关键字",cancelButton:"none",focus:!0,onConfirm:t[0]||(t[0]=s=>k(s.value))})])),_:1}),l(h,{class:"ss-flex ss-row-between ss-col-center"},{default:r((()=>[l(h,{class:"serach-history"},{default:r((()=>[n("搜索历史")])),_:1}),l(y,{class:"clean-history ss-reset-button",onClick:v},{default:r((()=>[n(" 清除搜索历史 ")])),_:1})])),_:1}),l(h,{class:"ss-flex ss-col-center ss-row-left ss-flex-wrap"},{default:r((()=>[(o(!0),c(f,null,u(w.historyList,((s,t)=>(o(),a(y,{class:"history-btn ss-reset-button",onClick:t=>k(s),key:t},{default:r((()=>[n(L(s),1)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-d3779116"]]);export{w as default};
+import{z as s,o as t,Q as e,f as o,g as a,w as r,m as i,k as l,u as n,l as c,r as u,F as f,s as h,q as y,P as d,X as p,n as _,j as m,J as x,v as L}from"./index-96189a9b.js";import{b as g,_ as b}from"./s-layout.c34ad2c0.js";import{_ as j}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.0f5dd643.js";import"./useGoods.8a0492c0.js";const w=j({__name:"search",setup(j){const w=s({historyList:[]});function k(s){s&&(!function(s){w.historyList.includes(s)&&w.historyList.splice(w.historyList.indexOf(s),1);w.historyList.unshift(s),w.historyList.length>=10&&(w.historyList.length=10);y("searchHistory",w.historyList)}(s),h.$router.go("/pages/goods/list",{keyword:s}))}function v(){d({title:"提示",content:"确认清除搜索历史吗?",success:function(s){s.confirm&&(w.historyTag=[],p("searchHistory"))}})}return t((()=>{w.historyList=e("searchHistory")||[]})),(s,t)=>{const e=i(_("uni-search-bar"),g),h=m,y=x,d=i(_("s-layout"),b);return o(),a(d,{class:"set-wrap",title:"搜索",bgStyle:{color:"#FFF"}},{default:r((()=>[l(h,{class:"ss-p-x-24"},{default:r((()=>[l(h,{class:"ss-flex ss-col-center"},{default:r((()=>[l(e,{class:"ss-flex-1",radius:"33",placeholder:"请输入关键字",cancelButton:"none",focus:!0,onConfirm:t[0]||(t[0]=s=>k(s.value))})])),_:1}),l(h,{class:"ss-flex ss-row-between ss-col-center"},{default:r((()=>[l(h,{class:"serach-history"},{default:r((()=>[n("搜索历史")])),_:1}),l(y,{class:"clean-history ss-reset-button",onClick:v},{default:r((()=>[n(" 清除搜索历史 ")])),_:1})])),_:1}),l(h,{class:"ss-flex ss-col-center ss-row-left ss-flex-wrap"},{default:r((()=>[(o(!0),c(f,null,u(w.historyList,((s,t)=>(o(),a(y,{class:"history-btn ss-reset-button",onClick:t=>k(s),key:t},{default:r((()=>[n(L(s),1)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-d3779116"]]);export{w as default};

+ 1 - 1
unpackage/dist/build/web/assets/pages-index-user.be63b220.js → unpackage/dist/build/web/assets/pages-index-user.94f6861b.js

@@ -1 +1 @@
-import{h as s,c as e,p as t,s as a,b as o,d as r,e as p,o as i,q as l,t as n,f as u,g as m,w as _,m as d,l as y,r as c,F as g,n as j,k as b}from"./index-eb27cfa7.js";import{_ as v,a as f}from"./s-block.8a7c050e.js";import{_ as k}from"./s-layout.39180bb6.js";import"./phone-international-input.0a43606f.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.5b59ef6e.js";import"./uni-badge.7853781a.js";import"./su-image.f9d3ceb7.js";import"./su-swiper.86fc4412.js";import"./s-goods-column.2162960a.js";import"./points.c381a8e1.js";import"./useGoods.364c2096.js";/* empty css                                                                     */import"./uni-load-more.5b54a41e.js";/* empty css                                                                *//* empty css                                                                      */import"./const.4b608c75.js";import"./mp-html.b5fab3cc.js";import"./pages-public-richtext.6ad36bdc.js";const x={__name:"user",setup(x){s();const h=e((()=>a.$store("app").template.user)),S=e((()=>a.$store("user").isLogin));return t((()=>{a.$store("user").updateUserData()})),o((()=>{a.$store("user").updateUserData(),setTimeout((function(){r()}),800)})),p((()=>{})),i((s=>{s.linkId&&(l("linkId",s.linkId),S.value||n("register","register"))})),(s,e)=>{var t;const a=d(j("s-block-item"),v),o=d(j("s-block"),f),r=d(j("s-layout"),k);return u(),m(r,{title:"我的",tabbar:"/pages/index/user",navbar:"custom",bgStyle:h.value.page,navbarStyle:null==(t=h.value.style)?void 0:t.navbar,onShareAppMessage:""},{default:_((()=>[(u(!0),y(g,null,c(h.value.components,((s,e)=>(u(),m(o,{key:e,styles:s.property.style},{default:_((()=>[b(a,{type:s.id,data:s.property,styles:s.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])}}};export{x as default};
+import{h as s,c as e,p as t,s as a,b as o,d as r,e as p,o as i,q as l,t as n,f as u,g as m,w as _,m as d,l as y,r as c,F as g,n as j,k as b}from"./index-96189a9b.js";import{_ as v,a as f}from"./s-block.29c4cf2a.js";import{_ as k}from"./s-layout.c34ad2c0.js";import"./phone-international-input.0f5dd643.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.11aab0e5.js";import"./uni-badge.f1cc7ae7.js";import"./su-image.48b4fd6d.js";import"./su-swiper.ec4d0afe.js";import"./s-goods-column.390eb582.js";import"./points.c381a8e1.js";import"./useGoods.8a0492c0.js";/* empty css                                                                     */import"./uni-load-more.757ac3ab.js";/* empty css                                                                *//* empty css                                                                      */import"./const.737bfc44.js";import"./mp-html.83a87a4c.js";import"./pages-public-richtext.31fd88a7.js";const x={__name:"user",setup(x){s();const h=e((()=>a.$store("app").template.user)),S=e((()=>a.$store("user").isLogin));return t((()=>{a.$store("user").updateUserData()})),o((()=>{a.$store("user").updateUserData(),setTimeout((function(){r()}),800)})),p((()=>{})),i((s=>{s.linkId&&(l("linkId",s.linkId),S.value||n("register","register"))})),(s,e)=>{var t;const a=d(j("s-block-item"),v),o=d(j("s-block"),f),r=d(j("s-layout"),k);return u(),m(r,{title:"我的",tabbar:"/pages/index/user",navbar:"custom",bgStyle:h.value.page,navbarStyle:null==(t=h.value.style)?void 0:t.navbar,onShareAppMessage:""},{default:_((()=>[(u(!0),y(g,null,c(h.value.components,((s,e)=>(u(),m(o,{key:e,styles:s.property.style},{default:_((()=>[b(a,{type:s.id,data:s.property,styles:s.property.style},null,8,["type","data","styles"])])),_:2},1032,["styles"])))),128))])),_:1},8,["bgStyle","navbarStyle"])}}};export{x as default};

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


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


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


+ 1 - 1
unpackage/dist/build/web/assets/pages-order-aftersale-log.414355a2.js → unpackage/dist/build/web/assets/pages-order-aftersale-log.57c464a0.js

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

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


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


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


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


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


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


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


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


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


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


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


+ 1 - 1
unpackage/dist/build/web/assets/pages-public-error.651b7aca.js → unpackage/dist/build/web/assets/pages-public-error.2e85a989.js

@@ -1 +1 @@
-import{N as t,o as e,f as o,g as n,w as a,j as s,i as r,b5 as i,bP as c,m as p,n as l}from"./index-eb27cfa7.js";import{_ as u}from"./s-empty.04de2c23.js";import{_ as m}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                */const _=m({__name:"error",setup(m){const _=t(""),x=t("");async function y(){i({url:"/pages/index/index"}),await c()}return e((t=>{_.value=t.errCode,x.value=t.errMsg})),(t,e)=>{const i=p(l("s-empty"),u),c=s;return o(),n(c,{class:"error-page"},{default:a((()=>["NetworkError"===_.value?(o(),n(i,{key:0,icon:"/static/internet-empty.png",text:"网络连接失败",showAction:"",actionText:"重新连接",onClickAction:y,buttonColor:"#132b85"})):"TemplateError"===_.value?(o(),n(i,{key:1,icon:"/static/internet-empty.png",text:"未找到模板",showAction:"",actionText:"重新加载",onClickAction:y,buttonColor:"#132b85"})):""!==_.value?(o(),n(i,{key:2,icon:"/static/internet-empty.png",text:x.value,showAction:"",actionText:"重新加载",onClickAction:y,buttonColor:"#132b85"},null,8,["text"])):r("",!0)])),_:1})}}},[["__scopeId","data-v-189d7116"]]);export{_ as default};
+import{N as t,o as e,f as o,g as n,w as a,j as s,i as r,b5 as i,bP as c,m as p,n as l}from"./index-96189a9b.js";import{_ as u}from"./s-empty.247ca480.js";import{_ as m}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                */const _=m({__name:"error",setup(m){const _=t(""),x=t("");async function y(){i({url:"/pages/index/index"}),await c()}return e((t=>{_.value=t.errCode,x.value=t.errMsg})),(t,e)=>{const i=p(l("s-empty"),u),c=s;return o(),n(c,{class:"error-page"},{default:a((()=>["NetworkError"===_.value?(o(),n(i,{key:0,icon:"/static/internet-empty.png",text:"网络连接失败",showAction:"",actionText:"重新连接",onClickAction:y,buttonColor:"#132b85"})):"TemplateError"===_.value?(o(),n(i,{key:1,icon:"/static/internet-empty.png",text:"未找到模板",showAction:"",actionText:"重新加载",onClickAction:y,buttonColor:"#132b85"})):""!==_.value?(o(),n(i,{key:2,icon:"/static/internet-empty.png",text:x.value,showAction:"",actionText:"重新加载",onClickAction:y,buttonColor:"#132b85"},null,8,["text"])):r("",!0)])),_:1})}}},[["__scopeId","data-v-189d7116"]]);export{_ as default};

+ 1 - 1
unpackage/dist/build/web/assets/pages-public-faq.fdc3a2c6.js → unpackage/dist/build/web/assets/pages-public-faq.1251156b.js

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

+ 1 - 1
unpackage/dist/build/web/assets/pages-public-richtext.6ad36bdc.js → unpackage/dist/build/web/assets/pages-public-richtext.31fd88a7.js

@@ -1 +1 @@
-import{z as t,o as e,bl as s,f as l,g as i,w as n,aN as a,m as o,k as c,n as r,j as p}from"./index-eb27cfa7.js";import{_ as u}from"./mp-html.b5fab3cc.js";import{_ as m}from"./s-layout.39180bb6.js";import{_ as d}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.0a43606f.js";import"./useGoods.364c2096.js";const f=d({__name:"richtext",props:{title:{defautls:"",type:String},type:{defautls:"",type:String}},setup(d){const f=t({title:"",content:""});const _=d;return e((t=>{(t.title||_.title)&&(f.title=t.title||_.title,s({title:f.title||_.title})),async function(t,e){const{code:l,data:i}=await a.getArticle(t,e);0===l&&(f.content=i.content,f.title!==i.title&&(f.title=i.title,s({title:f.title})))}(t.id,t.title||_.title)})),(t,e)=>{const s=o(r("mp-html"),u),a=p,_=o(r("s-layout"),m);return f.title&&!d.type?(l(),i(_,{key:0,class:"set-wrap",title:f.title,bgStyle:{color:"#FFF"}},{default:n((()=>[c(a,{class:"ss-p-30"},{default:n((()=>[c(s,{class:"richtext",content:f.content},null,8,["content"])])),_:1})])),_:1},8,["title"])):(l(),i(s,{key:1,class:"richtext",content:f.content},null,8,["content"]))}}},[["__scopeId","data-v-5342d437"]]);export{f as default};
+import{z as t,o as e,bl as s,f as l,g as i,w as n,aN as a,m as o,k as c,n as r,j as p}from"./index-96189a9b.js";import{_ as u}from"./mp-html.83a87a4c.js";import{_ as m}from"./s-layout.c34ad2c0.js";import{_ as d}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.0f5dd643.js";import"./useGoods.8a0492c0.js";const f=d({__name:"richtext",props:{title:{defautls:"",type:String},type:{defautls:"",type:String}},setup(d){const f=t({title:"",content:""});const _=d;return e((t=>{(t.title||_.title)&&(f.title=t.title||_.title,s({title:f.title||_.title})),async function(t,e){const{code:l,data:i}=await a.getArticle(t,e);0===l&&(f.content=i.content,f.title!==i.title&&(f.title=i.title,s({title:f.title})))}(t.id,t.title||_.title)})),(t,e)=>{const s=o(r("mp-html"),u),a=p,_=o(r("s-layout"),m);return f.title&&!d.type?(l(),i(_,{key:0,class:"set-wrap",title:f.title,bgStyle:{color:"#FFF"}},{default:n((()=>[c(a,{class:"ss-p-30"},{default:n((()=>[c(s,{class:"richtext",content:f.content},null,8,["content"])])),_:1})])),_:1},8,["title"])):(l(),i(s,{key:1,class:"richtext",content:f.content},null,8,["content"]))}}},[["__scopeId","data-v-5342d437"]]);export{f as default};

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


+ 1 - 1
unpackage/dist/build/web/assets/pages-public-webview.43171c07.js → unpackage/dist/build/web/assets/pages-public-webview.48f080db.js

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

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


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


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


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


+ 1 - 1
unpackage/dist/build/web/assets/pages-user-dummyAddress-list.7cb7dfcc.js → unpackage/dist/build/web/assets/pages-user-dummyAddress-list.5b05628c.js

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

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


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


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


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


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


+ 1 - 1
unpackage/dist/build/web/assets/pages-user-invoice-list.fde1b476.js → unpackage/dist/build/web/assets/pages-user-invoice-list.1f514617.js

@@ -1 +1 @@
-import{z as s,p as a,aE as t,O as e,Q as o,aF as i,q as r,f as l,g as d,w as n,m as p,l as m,r as u,F as _,i as c,k as f,x as g,s as y,u as b,n as j,j as x,J as h,aG as k}from"./index-eb27cfa7.js";import{_ as v}from"./s-address-item.4c0d253e.js";import{a as w,_ as F}from"./s-layout.39180bb6.js";import{_ as S}from"./s-empty.04de2c23.js";import{_ as A}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.0a43606f.js";import"./useGoods.364c2096.js";/* empty css                                                                */const C=A({__name:"list",setup(A){const C=s({list:[],loading:!0});return a((async()=>{C.list=(await t.getAddressList()).data,C.loading=!1})),e((()=>{o("areaData")||i.getAreaTree().then((s=>{0===s.code&&r("areaData",s.data)}))})),(s,a)=>{const t=p(j("s-address-item"),v),e=x,o=h,i=p(j("su-fixed"),w),r=p(j("s-empty"),S),A=p(j("s-layout"),F);return l(),d(A,{title:"发票抬头管理",bgStyle:{color:"#FFF"}},{default:n((()=>[C.list.length?(l(),d(e,{key:0},{default:n((()=>[(l(!0),m(_,null,u(C.list,(s=>(l(),d(t,{hasBorderBottom:"",key:s.id,item:s,onClick:a=>(k("SELECT_ADDRESS",{addressInfo:s}),void y.$router.back())},null,8,["item","onClick"])))),128))])),_:1})):c("",!0),f(i,{bottom:"",placeholder:""},{default:n((()=>[f(e,{class:"footer-box ss-flex ss-row-between ss-p-20"},{default:n((()=>[f(o,{class:"add-btn ss-reset-button ui-Shadow-Main",onClick:a[0]||(a[0]=s=>g(y).$router.go("/pages/user/invoice/edit"))},{default:n((()=>[b(" 新增发票抬头 ")])),_:1})])),_:1})])),_:1}),0!==C.list.length||C.loading?c("",!0):(l(),d(r,{key:1,text:"暂无发票抬头",icon:"/static/data-empty.png"}))])),_:1})}}},[["__scopeId","data-v-0bd54ac4"]]);export{C as default};
+import{z as s,p as a,aE as t,O as e,Q as o,aF as i,q as r,f as l,g as d,w as n,m as p,l as m,r as u,F as _,i as c,k as f,x as g,s as y,u as b,n as j,j as x,J as h,aG as k}from"./index-96189a9b.js";import{_ as v}from"./s-address-item.29073050.js";import{a as w,_ as F}from"./s-layout.c34ad2c0.js";import{_ as S}from"./s-empty.247ca480.js";import{_ as A}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.0f5dd643.js";import"./useGoods.8a0492c0.js";/* empty css                                                                */const C=A({__name:"list",setup(A){const C=s({list:[],loading:!0});return a((async()=>{C.list=(await t.getAddressList()).data,C.loading=!1})),e((()=>{o("areaData")||i.getAreaTree().then((s=>{0===s.code&&r("areaData",s.data)}))})),(s,a)=>{const t=p(j("s-address-item"),v),e=x,o=h,i=p(j("su-fixed"),w),r=p(j("s-empty"),S),A=p(j("s-layout"),F);return l(),d(A,{title:"发票抬头管理",bgStyle:{color:"#FFF"}},{default:n((()=>[C.list.length?(l(),d(e,{key:0},{default:n((()=>[(l(!0),m(_,null,u(C.list,(s=>(l(),d(t,{hasBorderBottom:"",key:s.id,item:s,onClick:a=>(k("SELECT_ADDRESS",{addressInfo:s}),void y.$router.back())},null,8,["item","onClick"])))),128))])),_:1})):c("",!0),f(i,{bottom:"",placeholder:""},{default:n((()=>[f(e,{class:"footer-box ss-flex ss-row-between ss-p-20"},{default:n((()=>[f(o,{class:"add-btn ss-reset-button ui-Shadow-Main",onClick:a[0]||(a[0]=s=>g(y).$router.go("/pages/user/invoice/edit"))},{default:n((()=>[b(" 新增发票抬头 ")])),_:1})])),_:1})])),_:1}),0!==C.list.length||C.loading?c("",!0):(l(),d(r,{key:1,text:"暂无发票抬头",icon:"/static/data-empty.png"}))])),_:1})}}},[["__scopeId","data-v-0bd54ac4"]]);export{C as default};

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


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


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


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


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


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


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


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


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


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/phone-international-input.0f5dd643.js


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


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


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/s-count-down.d10c5000.js


+ 1 - 1
unpackage/dist/build/web/assets/s-empty.04de2c23.js → unpackage/dist/build/web/assets/s-empty.247ca480.js

@@ -1 +1 @@
-import{H as t,f as e,g as s,w as a,k as o,u as n,v as i,i as c,B as l,s as r,y as p,j as u,I as d,J as _}from"./index-eb27cfa7.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}){t((t=>({"353aa77b":y.buttonColor})));const m=y,x=f;function g(){""!==m.actionUrl&&r.$router.go(m.actionUrl),x("clickAction")}return(t,r)=>{const f=p,m=u,x=d,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(x,{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:g},{default:a((()=>[n(i(y.actionText),1)])),_:1})):c("",!0)])),_:1},8,["style"])}}},[["__scopeId","data-v-4198cfab"]]);export{f as _};
+import{H as t,f as e,g as s,w as a,k as o,u as n,v as i,i as c,B as l,s as r,y as p,j as u,I as d,J as _}from"./index-96189a9b.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}){t((t=>({"353aa77b":y.buttonColor})));const m=y,x=f;function g(){""!==m.actionUrl&&r.$router.go(m.actionUrl),x("clickAction")}return(t,r)=>{const f=p,m=u,x=d,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(x,{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:g},{default:a((()=>[n(i(y.actionText),1)])),_:1})):c("",!0)])),_:1},8,["style"])}}},[["__scopeId","data-v-4198cfab"]]);export{f as _};

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


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


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


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


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


+ 1 - 1
unpackage/dist/build/web/assets/su-image.f9d3ceb7.js → unpackage/dist/build/web/assets/su-image.48b4fd6d.js

@@ -1 +1 @@
-import{z as e,c as r,f as t,g as i,B as s,x as o,s as a,i as n,bd as u,y as d}from"./index-eb27cfa7.js";import{_ as l}from"./_plugin-vue_export-helper.1b428a4d.js";const c=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:c}){const p=e({isError:!1,imgHeight:600}),g=l,m=c,h=r((()=>({height:(g.height||p.imgHeight)+"rpx",width:g.width?g.width+"rpx":"100%",borderRadius:g.radius?g.radius+"rpx":""})));function f(e){0===g.height&&(p.imgHeight=e.detail.height/e.detail.width*750)}function y(e){p.isError=!0,m("error",e)}function w(){g.isPreview&&u({urls:g.previewList.length<1?[g.src]:g.previewList,current:g.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 p.isError?n("",!0):(t(),i(u,{key:0,class:"su-img",style:s(h.value),draggable:!1,mode:l.mode,src:o(a).$url.cdn(l.src),onClick:w,onLoad:f,onError:y},null,8,["style","mode","src"]))}}},[["__scopeId","data-v-74e3b72e"]]);export{c as _};
+import{z as e,c as r,f as t,g as i,B as s,x as o,s as a,i as n,bd as u,y as d}from"./index-96189a9b.js";import{_ as l}from"./_plugin-vue_export-helper.1b428a4d.js";const c=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:c}){const p=e({isError:!1,imgHeight:600}),g=l,m=c,h=r((()=>({height:(g.height||p.imgHeight)+"rpx",width:g.width?g.width+"rpx":"100%",borderRadius:g.radius?g.radius+"rpx":""})));function f(e){0===g.height&&(p.imgHeight=e.detail.height/e.detail.width*750)}function y(e){p.isError=!0,m("error",e)}function w(){g.isPreview&&u({urls:g.previewList.length<1?[g.src]:g.previewList,current:g.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 p.isError?n("",!0):(t(),i(u,{key:0,class:"su-img",style:s(h.value),draggable:!1,mode:l.mode,src:o(a).$url.cdn(l.src),onClick:w,onLoad:f,onError:y},null,8,["style","mode","src"]))}}},[["__scopeId","data-v-74e3b72e"]]);export{c as _};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/su-number-box.6f3f973d.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/su-region-picker.382c4dc4.js


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


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


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


+ 1 - 1
unpackage/dist/build/web/assets/uni-badge.7853781a.js → unpackage/dist/build/web/assets/uni-badge.f1cc7ae7.js

@@ -1 +1 @@
-import{f as t,g as e,w as s,ah as i,E as a,B as o,u as l,v as r,i as u,I as d,j as n}from"./index-eb27cfa7.js";import{_ as p}from"./_plugin-vue_export-helper.1b428a4d.js";const h=p({name:"UniBadge",emits:["click"],props:{type:{type:String,default:"error"},inverted:{type:Boolean,default:!1},isDot:{type:Boolean,default:!1},maxNum:{type:Number,default:99},absolute:{type:String,default:""},offset:{type:Array,default:()=>[0,0]},text:{type:[String,Number],default:""},size:{type:String,default:"small"},customStyle:{type:Object,default:()=>({})}},data:()=>({}),computed:{width(){return 8*String(this.text).length+12},classNames(){const{inverted:t,type:e,size:s,absolute:i}=this;return[t?"uni-badge--"+e+"-inverted":"","uni-badge--"+e,"uni-badge--"+s,i?"uni-badge--absolute":""].join(" ")},positionStyle(){if(!this.absolute)return{};let t=this.width/2,e=10;this.isDot&&(t=5,e=5);const s=`${-t+this.offset[0]}px`,i=`${-e+this.offset[1]}px`,a={rightTop:{right:s,top:i},rightBottom:{right:s,bottom:i},leftBottom:{left:s,bottom:i},leftTop:{left:s,top:i}},o=a[this.absolute];return o||a.rightTop},badgeWidth(){return{width:`${this.width}px`}},dotStyle(){return this.isDot?{width:"10px",height:"10px",borderRadius:"10px"}:{}},displayValue(){const{isDot:t,text:e,maxNum:s}=this;return t?"":Number(e)>s?`${s}+`:e}},methods:{onClick(){this.$emit("click")}}},[["render",function(p,h,f,m,c,g){const y=d,b=n;return t(),e(b,{class:"uni-badge--x"},{default:s((()=>[i(p.$slots,"default",{},void 0,!0),f.text?(t(),e(y,{key:0,class:a([g.classNames,"uni-badge"]),style:o([g.badgeWidth,g.positionStyle,f.customStyle,g.dotStyle]),onClick:h[0]||(h[0]=t=>g.onClick())},{default:s((()=>[l(r(g.displayValue),1)])),_:1},8,["class","style"])):u("",!0)])),_:3})}],["__scopeId","data-v-ea905333"]]);export{h as _};
+import{f as t,g as e,w as s,ah as i,E as a,B as o,u as l,v as r,i as u,I as d,j as n}from"./index-96189a9b.js";import{_ as p}from"./_plugin-vue_export-helper.1b428a4d.js";const h=p({name:"UniBadge",emits:["click"],props:{type:{type:String,default:"error"},inverted:{type:Boolean,default:!1},isDot:{type:Boolean,default:!1},maxNum:{type:Number,default:99},absolute:{type:String,default:""},offset:{type:Array,default:()=>[0,0]},text:{type:[String,Number],default:""},size:{type:String,default:"small"},customStyle:{type:Object,default:()=>({})}},data:()=>({}),computed:{width(){return 8*String(this.text).length+12},classNames(){const{inverted:t,type:e,size:s,absolute:i}=this;return[t?"uni-badge--"+e+"-inverted":"","uni-badge--"+e,"uni-badge--"+s,i?"uni-badge--absolute":""].join(" ")},positionStyle(){if(!this.absolute)return{};let t=this.width/2,e=10;this.isDot&&(t=5,e=5);const s=`${-t+this.offset[0]}px`,i=`${-e+this.offset[1]}px`,a={rightTop:{right:s,top:i},rightBottom:{right:s,bottom:i},leftBottom:{left:s,bottom:i},leftTop:{left:s,top:i}},o=a[this.absolute];return o||a.rightTop},badgeWidth(){return{width:`${this.width}px`}},dotStyle(){return this.isDot?{width:"10px",height:"10px",borderRadius:"10px"}:{}},displayValue(){const{isDot:t,text:e,maxNum:s}=this;return t?"":Number(e)>s?`${s}+`:e}},methods:{onClick(){this.$emit("click")}}},[["render",function(p,h,f,m,c,g){const y=d,b=n;return t(),e(b,{class:"uni-badge--x"},{default:s((()=>[i(p.$slots,"default",{},void 0,!0),f.text?(t(),e(y,{key:0,class:a([g.classNames,"uni-badge"]),style:o([g.badgeWidth,g.positionStyle,f.customStyle,g.dotStyle]),onClick:h[0]||(h[0]=t=>g.onClick())},{default:s((()=>[l(r(g.displayValue),1)])),_:1},8,["class","style"])):u("",!0)])),_:3})}],["__scopeId","data-v-ea905333"]]);export{h as _};

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/uni-collapse.79bdaa83.js


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