Browse Source

更新商户入驻

RuHu.Xu 8 months ago
parent
commit
151dd2af74
100 changed files with 981 additions and 31 deletions
  1. 7 0
      pages.json
  2. 579 11
      pages/public/merchant.vue
  3. 281 0
      pages/public/merchantApplyList.vue
  4. 58 0
      sheep/api/sale/sale.js
  5. 19 1
      sheep/components/s-uploader/s-uploader.vue
  6. 19 0
      sheep/validate/form.js
  7. BIN
      static/file/非独家品牌授权书.docx
  8. BIN
      static/images/add.png
  9. 3 3
      uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue
  10. 3 3
      uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue
  11. 1 0
      unpackage/dist/build/web/assets/comment-item.19fa5af2.js
  12. 0 1
      unpackage/dist/build/web/assets/comment-item.289a47f1.js
  13. 1 1
      unpackage/dist/build/web/assets/const.489dfe3e.js
  14. 0 0
      unpackage/dist/build/web/assets/detail-content-card.1b116dfe.js
  15. 0 0
      unpackage/dist/build/web/assets/index-8049b29e.js
  16. 0 0
      unpackage/dist/build/web/assets/md5.cc101503.js
  17. 0 0
      unpackage/dist/build/web/assets/merchant-38f00b88.css
  18. 0 0
      unpackage/dist/build/web/assets/merchantApplyList-f9291fe6.css
  19. 0 0
      unpackage/dist/build/web/assets/mp-html.139e490c.js
  20. 0 0
      unpackage/dist/build/web/assets/pages-activity-bargain-detail.cc5b80f9.js
  21. 0 0
      unpackage/dist/build/web/assets/pages-activity-bargain-list.ac88a5b6.js
  22. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-detail.7d5be1d6.js
  23. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-list.bfcd04b0.js
  24. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-order.b1386528.js
  25. 0 0
      unpackage/dist/build/web/assets/pages-activity-groupon-order.c7cd7573.js
  26. 0 0
      unpackage/dist/build/web/assets/pages-activity-index.ebbb8780.js
  27. 0 0
      unpackage/dist/build/web/assets/pages-activity-seckill-list.57e635e4.js
  28. 0 0
      unpackage/dist/build/web/assets/pages-app-sign.8d69e6cc.js
  29. 0 0
      unpackage/dist/build/web/assets/pages-chat-index.fa028606.js
  30. 0 0
      unpackage/dist/build/web/assets/pages-chat-speechtotext.9179b1c1.js
  31. 0 0
      unpackage/dist/build/web/assets/pages-chat-speechtotext.daec356b.js
  32. 0 0
      unpackage/dist/build/web/assets/pages-commission-commission-ranking.f8d7a729.js
  33. 0 0
      unpackage/dist/build/web/assets/pages-commission-goods.70660a82.js
  34. 0 0
      unpackage/dist/build/web/assets/pages-commission-index.258a86ee.js
  35. 0 0
      unpackage/dist/build/web/assets/pages-commission-order.45c9392d.js
  36. 0 0
      unpackage/dist/build/web/assets/pages-commission-order.b84d3f9a.js
  37. 0 0
      unpackage/dist/build/web/assets/pages-commission-promoter.dc07de7c.js
  38. 0 0
      unpackage/dist/build/web/assets/pages-commission-team.c4731f24.js
  39. 0 0
      unpackage/dist/build/web/assets/pages-commission-wallet.1e42c8e6.js
  40. 0 0
      unpackage/dist/build/web/assets/pages-commission-withdraw.415259db.js
  41. 0 0
      unpackage/dist/build/web/assets/pages-coupon-detail.97e3c18c.js
  42. 0 0
      unpackage/dist/build/web/assets/pages-coupon-list.30a89ded.js
  43. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-add.f5bd1425.js
  44. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-list.0fde57a3.js
  45. 0 0
      unpackage/dist/build/web/assets/pages-goods-comment-list.f50b8262.js
  46. 0 0
      unpackage/dist/build/web/assets/pages-goods-groupon.37892424.js
  47. 0 0
      unpackage/dist/build/web/assets/pages-goods-index.b626a5c0.js
  48. 0 0
      unpackage/dist/build/web/assets/pages-goods-list.87cfe57f.js
  49. 0 0
      unpackage/dist/build/web/assets/pages-goods-seckill.1a692ac4.js
  50. 0 0
      unpackage/dist/build/web/assets/pages-index-cart.ae990619.js
  51. 0 0
      unpackage/dist/build/web/assets/pages-index-category.ef761aa9.js
  52. 0 0
      unpackage/dist/build/web/assets/pages-index-index.17bcb7e6.js
  53. 0 0
      unpackage/dist/build/web/assets/pages-index-index.a9684511.js
  54. 0 0
      unpackage/dist/build/web/assets/pages-index-login.6909884d.js
  55. 1 1
      unpackage/dist/build/web/assets/pages-index-page.7b5c21ed.js
  56. 1 1
      unpackage/dist/build/web/assets/pages-index-search.b16fa28d.js
  57. 1 1
      unpackage/dist/build/web/assets/pages-index-user.ff5fe525.js
  58. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-apply.ead76cb1.js
  59. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-detail.c06fc362.js
  60. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-list.5fa2b83f.js
  61. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-list.c4f9917b.js
  62. 1 1
      unpackage/dist/build/web/assets/pages-order-aftersale-log.60512ebf.js
  63. 0 0
      unpackage/dist/build/web/assets/pages-order-aftersale-return-delivery.0b2c5a5f.js
  64. 0 0
      unpackage/dist/build/web/assets/pages-order-confirm.9efbb347.js
  65. 0 0
      unpackage/dist/build/web/assets/pages-order-detail.cd883cb5.js
  66. 0 0
      unpackage/dist/build/web/assets/pages-order-express-log.98717e68.js
  67. 0 0
      unpackage/dist/build/web/assets/pages-order-express-log.c4ce9527.js
  68. 0 0
      unpackage/dist/build/web/assets/pages-order-list.074077ce.js
  69. 0 0
      unpackage/dist/build/web/assets/pages-order-list.e13be29f.js
  70. 0 0
      unpackage/dist/build/web/assets/pages-order-otherlist.64c73b93.js
  71. 0 0
      unpackage/dist/build/web/assets/pages-pay-index.f9894417.js
  72. 0 0
      unpackage/dist/build/web/assets/pages-pay-recharge-log.18a127d8.js
  73. 0 0
      unpackage/dist/build/web/assets/pages-pay-recharge.c9eeb7f2.js
  74. 0 0
      unpackage/dist/build/web/assets/pages-pay-result.5db6a236.js
  75. 0 0
      unpackage/dist/build/web/assets/pages-pay-resultYuan.08d191cb.js
  76. 0 0
      unpackage/dist/build/web/assets/pages-pay-resultYuan.1ad74959.js
  77. 1 1
      unpackage/dist/build/web/assets/pages-public-error.f8ffc91b.js
  78. 1 1
      unpackage/dist/build/web/assets/pages-public-faq.8b5a1e85.js
  79. 0 1
      unpackage/dist/build/web/assets/pages-public-merchant.5ede7552.js
  80. 0 0
      unpackage/dist/build/web/assets/pages-public-merchant.f760b78d.js
  81. 0 0
      unpackage/dist/build/web/assets/pages-public-merchantApplyList.63a55fe7.js
  82. 1 1
      unpackage/dist/build/web/assets/pages-public-richtext.96c8ce83.js
  83. 0 0
      unpackage/dist/build/web/assets/pages-public-setting.32354a0e.js
  84. 1 1
      unpackage/dist/build/web/assets/pages-public-webview.f3b12f72.js
  85. 0 0
      unpackage/dist/build/web/assets/pages-shop-index.68fed4ee.js
  86. 0 0
      unpackage/dist/build/web/assets/pages-user-address-edit.678c016b.js
  87. 0 0
      unpackage/dist/build/web/assets/pages-user-address-list.8e0ddfd1.js
  88. 0 0
      unpackage/dist/build/web/assets/pages-user-address-list.c3974f11.js
  89. 0 0
      unpackage/dist/build/web/assets/pages-user-dummyAddress-edit.bc4d1eb1.js
  90. 1 0
      unpackage/dist/build/web/assets/pages-user-dummyAddress-list.5b7c3bdf.js
  91. 0 1
      unpackage/dist/build/web/assets/pages-user-dummyAddress-list.e8d1db3b.js
  92. 0 0
      unpackage/dist/build/web/assets/pages-user-goods-collect.c93fd155.js
  93. 0 0
      unpackage/dist/build/web/assets/pages-user-goods-log.969ec665.js
  94. 0 0
      unpackage/dist/build/web/assets/pages-user-goods-log.cacc33b8.js
  95. 0 0
      unpackage/dist/build/web/assets/pages-user-info.120be468.js
  96. 0 0
      unpackage/dist/build/web/assets/pages-user-invoice-edit.d0474980.js
  97. 0 1
      unpackage/dist/build/web/assets/pages-user-invoice-list.5931de56.js
  98. 1 0
      unpackage/dist/build/web/assets/pages-user-invoice-list.ff14b65c.js
  99. 0 0
      unpackage/dist/build/web/assets/pages-user-qrcode-share.1f048972.js
  100. 0 0
      unpackage/dist/build/web/assets/pages-user-qrcode-share.4821c011.js

+ 7 - 0
pages.json

@@ -642,6 +642,13 @@
 						"navigationBarTitleText" : "",
 						"enablePullDownRefresh" : false
 					}
+				},{
+					"path" : "merchantApplyList",
+					"style" : 
+					{
+						"navigationBarTitleText" : "",
+						"enablePullDownRefresh" : false
+					}
 				}
 			]
 		},

+ 579 - 11
pages/public/merchant.vue

@@ -1,22 +1,590 @@
 <template>
-	<s-layout class="set-wrap" title="商家" :bgStyle="{ color: '#FFF' }" >
-	 
+	<s-layout class="set-wrap" title="商家入驻" :bgStyle="{ color: '#FFF' }">
+		<uni-forms :model="state.model" :rules="state.rules" validateTrigger="bind" labelPosition="left" border
+			class="form-box" labelWidth='200' ref="merchantFormRef" >
+			<view class="bg-white ss-p-x-30">
+				<uni-forms-item name="name" label="商家名称" :required="!state.formStatus">
+					<uni-easyinput v-model="state.model.name" type="name" placeholder="请输入商家名称" :inputBorder="false"
+						:placeholderStyle="placeholderStyle" :clearable="false" :disabled="state.formStatus" />
+				</uni-forms-item>
+				<uni-forms-item name="contact" label="联络人" :required="!state.formStatus">
+					<uni-easyinput v-model="state.model.contact" type="contact" placeholder="请输入联络人"
+						:inputBorder="false" :placeholderStyle="placeholderStyle" :clearable="false" :disabled="state.formStatus"/>
+				</uni-forms-item>
+				<uni-forms-item name="contactNumber" label="联络人手机号" :required="!state.formStatus">
+					<uni-easyinput v-model="state.model.contactNumber" type="contactNumber" placeholder="请输入联络人手机号"
+						:inputBorder="false" :placeholderStyle="placeholderStyle" :clearable="false" :disabled="state.formStatus"/>
+				</uni-forms-item>
+				<uni-forms-item name="legalPerson" label="法人" :required="!state.formStatus">
+					<uni-easyinput v-model="state.model.legalPerson" type="legalPerson" placeholder="请输入联络人手机号"
+						:inputBorder="false" :placeholderStyle="placeholderStyle" :clearable="false" :disabled="state.formStatus"/>
+				</uni-forms-item>
+				<uni-forms-item name="legalPersonNumber" label="法人手机号" :required="!state.formStatus">
+					<uni-easyinput v-model="state.model.legalPersonNumber" type="legalPersonNumber" placeholder="请输入法人手机号"
+						:inputBorder="false" :placeholderStyle="placeholderStyle" :clearable="false" :disabled="state.formStatus"/>
+				</uni-forms-item>
+				<uni-forms-item name="identityCardFront" label="法人身份证正面" :required="!state.formStatus" :errorMessage="state.identityCardFrontError">
+					<s-uploader v-model:url="state.model.identityCardFront" fileMediatype="image" limit="1"
+						mode="grid" :imageStyles="{ width: '299rpx', height: '168rpx' }"  :readonly="state.formStatus"/>
+				</uni-forms-item>
+				<uni-forms-item name="identityCardReverseSide" label="法人身份证反面" :required="!state.formStatus" :errorMessage="identityCardReverseSideError">
+					<s-uploader v-model:url="state.model.identityCardReverseSide" fileMediatype="image" limit="1"
+						mode="grid" :imageStyles="{ width: '299rpx', height: '168rpx' }"  :readonly="state.formStatus"/>
+				</uni-forms-item>
+				<uni-forms-item name="areaId" label="所在地" :required="!state.formStatus" :errorMessage="state.areaIdError">
+					<uni-data-picker v-model="state.model.areaId" :localdata="areaTree" :readonly="state.formStatus" />
+				</uni-forms-item>
+
+				<uni-forms-item name="email" label="邮箱">
+					<uni-easyinput v-model="state.model.email" type="email" placeholder="请输入邮箱" :inputBorder="false"
+						:placeholderStyle="placeholderStyle" :clearable="false" :disabled="state.formStatus"/>
+				</uni-forms-item>
+				<uni-forms-item name="address" label="办公地址">
+					<uni-easyinput v-model="state.model.address" type="address" placeholder="请输入办公地址"
+						:inputBorder="false" :placeholderStyle="placeholderStyle" :clearable="false" :disabled="state.formStatus"/>
+				</uni-forms-item>
+				<uni-forms-item name="complaintsHotline" label="维权电话">
+					<uni-easyinput v-model="state.model.complaintsHotline" type="complaintsHotline"
+						placeholder="请输入维权电话" :inputBorder="false" :placeholderStyle="placeholderStyle"
+						:clearable="false" :disabled="state.formStatus"/>
+				</uni-forms-item>
+				<uni-forms-item name="customerServiceHotline" label="客服电话" :required="!state.formStatus">
+					<uni-easyinput v-model="state.model.customerServiceHotline" type="customerServiceHotline"
+						placeholder="请输入客服电话" :inputBorder="false" :placeholderStyle="placeholderStyle"
+						:clearable="false" :disabled="state.formStatus"/>
+				</uni-forms-item>
+				<uni-forms-item name="website" label="官网">
+					<uni-easyinput v-model="state.model.website" type="website" placeholder="请输入官网" :inputBorder="false"
+						:placeholderStyle="placeholderStyle" :clearable="false" :disabled="state.formStatus"/>
+				</uni-forms-item>
+				<uni-forms-item name="bankName" label="开户银行" :required="!state.formStatus">
+					<uni-easyinput v-model="state.model.bankName" type="bankName" placeholder="请输入开户银行"
+						:inputBorder="false" :placeholderStyle="placeholderStyle" :clearable="false" :disabled="state.formStatus"/>
+				</uni-forms-item>
+				<uni-forms-item name="accountName" label="账户名称" :required="!state.formStatus">
+					<uni-easyinput v-model="state.model.accountName" type="accountName" placeholder="请输入账户名称"
+						:inputBorder="false" :placeholderStyle="placeholderStyle" :clearable="false" :disabled="state.formStatus"/>
+				</uni-forms-item>
+				<uni-forms-item name="accountNumber" label="账户号码" :required="!state.formStatus">
+					<uni-easyinput v-model="state.model.accountNumber" type="number" placeholder="请输入账户号码"
+						:inputBorder="false" :placeholderStyle="placeholderStyle" :clearable="false" :disabled="state.formStatus"/>
+				</uni-forms-item>
+
+				<uni-forms-item name="logoUrl" label="Logo">
+					<s-uploader v-model:url="state.model.logoUrl" fileMediatype="image" limit="1" mode="grid"
+						:imageStyles="{ width: '299rpx', height: '168rpx' }" :readonly="state.formStatus"/>
+				</uni-forms-item>
+				<uni-forms-item name="businessLicensePicture" label="营业执照" :required="!state.formStatus" :errorMessage="state.businessLicensePictureError">
+					<s-uploader v-model:url="state.model.businessLicensePicture" fileMediatype="image" limit="1"
+						mode="grid" :imageStyles="{ width: '299rpx', height: '168rpx' }"  :readonly="state.formStatus"/>
+
+				</uni-forms-item>
+				<uni-forms-item name="brandLicensing" label="品牌授权书" :required="!state.formStatus" :errorMessage="state.brandLicensingError">
+					<s-uploader v-model:url="state.model.brandLicensing" fileMediatype="image" limit="1" mode="grid"
+						:imageStyles="{ width: '299rpx', height: '168rpx' }"  :readonly="state.formStatus"/>
+					<view class="ss-m-t-20 " style="color: var(--ui-BG-Main);" @click="downloadTemplate" v-if="!state.model.brandLicensing">
+						下载模板
+					</view>
+
+				</uni-forms-item>
+				<uni-forms-item name="otherCertificate" label="其他证书">
+					<s-uploader v-model:url="state.model.otherCertificate" fileMediatype="image" limit="9" mode="grid"
+						:imageStyles="{ width: '299rpx', height: '168rpx' }"  :readonly="state.formStatus"/>
+
+				</uni-forms-item>
+				<uni-forms-item name="description" label="简介" :required="!state.formStatus">
+					
+					<uni-easyinput v-model="state.model.description" type="description" placeholder="请输入简介"
+						:inputBorder="false" :placeholderStyle="placeholderStyle" :clearable="false" :disabled="state.formStatus"/>
+				</uni-forms-item>
+				
+				<uni-forms-item name="description" label="状态" v-if="state.userApplyStatus">
+					<uni-easyinput v-model="statusName" type="description" placeholder="请输入简介"
+						:inputBorder="false" :placeholderStyle="placeholderStyle" :clearable="false" :disabled="state.formStatus"/>
+				</uni-forms-item>
+			</view>
+		</uni-forms>
+		<su-fixed bottom placeholder bg="none">
+			<view class="footer-box ss-p-20 ss-flex">
+				<!-- 审核中不允许改 -->
+				<!-- 通过后 变动 -->
+				<!-- {{"用户是否申请过:"+state.userApplyStatus}}
+				{{"当前状态"+state.model.checkStatus}}
+				{{"当前状态是否能改动:" + !state.formStatus}} -->
+				<button class="ss-rest-button btn" @tap="onSubmit" v-if="!state.userApplyStatus">提交</button>
+				
+
+				<template v-if="[0].includes(state.model.checkStatus)">
+					<button class="ss-rest-button btn" >审核中</button>
+				</template>
+				<template v-if="[1,2].includes(state.model.checkStatus)">
+					<template v-if="!state.changeIng">
+						<button class="ss-rest-button btn-two" @tap="openList" >审核记录</button>
+						<button class="ss-rest-button btn-two" @tap="onChange" >变动</button>
+					</template>
+					<template v-else>
+						<button class="ss-rest-button btn-two" @tap="onCancel" >取消</button>
+						<button class="ss-rest-button btn-two" @tap="onSave" >保存并提交</button>
+					</template>
+				</template>
+				
+			</view>
+		</su-fixed>
 	</s-layout>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
+
+<script setup>
+	import {
+		computed,
+		reactive,
+		onBeforeMount,
+		ref,
+		unref,
+	} from 'vue';
+	import sheep from '@/sheep';
+	import {
+		clone
+	} from 'lodash';
+	import {
+		onLoad
+	} from '@dcloudio/uni-app';
+
+	import SaleApi from '@/sheep/api/sale/sale';
+	import AreaApi from '@/sheep/api/system/area'
+	import {
+		email
+	} from '@/sheep/validate/form';
+
+	const state = reactive({
+		userApplyStatus:false, //用户是否已经申请过false未无 true为有
+		formStatus:false, // 当前表单是否可以修改
+		changeIng:false, //当前是否在修改
+		model: {
+			checkStatus: undefined,
+			id: undefined,
+			name: undefined,
+			status: undefined,
+			description: undefined,
+			contact: undefined,
+			address: undefined,
+			contactNumber: undefined,
+			website: undefined,
+			createTime: undefined,
+			complaintsHotline: undefined,
+			customerServiceHotline: undefined,
+			email: undefined,
+			businessLicensePicture: undefined,
+			expireTime: undefined,
+			areaId: undefined,
+			accountName: undefined,
+			accountNumber: undefined,
+			bankName: undefined,
+			logoUrl: undefined,
+			brandLicensing: undefined,
+			otherCertificate: [],
+			legalPerson:undefined,
+			legalPersonNumber:undefined,
+			identityCardFront:undefined,
+			identityCardReverseSide:undefined,
 		},
-		methods: {
+		areaIdError:'',
+		businessLicensePictureError:'',
+		brandLicensingError:'',
+		identityCardFrontError:'',
+		identityCardReverseSideError:'',
+		rules: {
+			name: {
+				rules: [{
+					required: true,
+					errorMessage: '商户名称不能为空',
+				}, ],
+			},
+			description: {
+				rules: [{
+					required: true,
+					errorMessage: '简介不能为空',
+				}, ],
+			},
+			contact: {
+				rules: [{
+					required: true,
+					errorMessage: '联络人不能为空',
+				}, ],
+			},
+			contactNumber: {
+				rules: [{
+					required: true,
+					errorMessage: '联络人手机号不能为空',
+				}, ],
+			},
+
+			customerServiceHotline: {
+				rules: [{
+					required: true,
+					errorMessage: '客服电话不能为空',
+				}, ],
+			},
+			email,
+			legalPerson: {
+				rules: [{
+					required: true,
+					errorMessage: '法人不能为空',
+				}, ],
+			},
+			legalPersonNumber: {
+				rules: [{
+					required: true,
+					errorMessage: '法人电话不能为空',
+				}, ],
+			},
+			accountName: {
+				rules: [{
+					required: true,
+					errorMessage: '账户名称不能为空',
+				}, ],
+			},
+			accountNumber: {
+				rules: [{
+					required: true,
+					errorMessage: '账户号码不能为空',
+				}, ],
+			},
+			bankName: {
+				rules: [{
+					required: true,
+					errorMessage: '开户银行不能为空',
+				}, ],
+			},
+		}
+	});
+	const placeholderStyle = 'color:#BBBBBB;font-size:28rpx;line-height:normal';
+	
+	const statusName = computed(() => {
+		const status = state.model.checkStatus;
+		if (status === 0) {
+			return '审核中';
+		} else if (status === 1) {
+			return '通过';
+		} else if (status === 2) {
+			return '拒绝';
+		} else {
+			return '';
+		}
+	});
+	
+	
+
+	// 下载模板
+	const downloadTemplate = () => {
+		// console.log('下载模板')
+		const fileUrl =
+			'https://zxgz.newfeifan.cn/static/file/%E9%9D%9E%E7%8B%AC%E5%AE%B6%E5%93%81%E7%89%8C%E6%8E%88%E6%9D%83%E4%B9%A6.docx'
+		// 创建并触发下载链接
+		const a = document.createElement('a');
+		a.href = fileUrl;
+		a.download = '非独家品牌授权书.docx'; // 下载文件的名称(可以修改为你希望的名称)
+		document.body.appendChild(a);
+		a.click();
+
+		// 移除下载链接
+		document.body.removeChild(a);
+	}
+	// 校验联络人是否已经申请入驻,如果已经入驻,那就不给提交
+	const checkNumber =()=>{
+		const {
+			data,
+			code
+		} =  SaleApi.checkContactNumber({mobile:state.model.contactNumber});
+	}
+	// 提交审核
+	const merchantFormRef = ref(null);
+	const onSubmit = async () => {
+		// 参数校验
+		const validate = await unref(merchantFormRef)
+			.validate()
+			.catch((error) => {
+				console.log('error: ', error);
+			});
+		if (!validate) {
+			return;
+		}
+		if(!state.model.areaId){
+			state.areaIdError = '请选择所在地';
+			return;
+		}
+		if(!state.model.identityCardFront){
+			state.identityCardFrontError = '请选择上传法人身份证正面(国徽面)';
+			return;
+		}
+		if(!state.model.identityCardReverseSide){
+			state.identityCardReverseSideError = '请选择上传法人身份证背面(人像面)';
+			return;
+		}
+		if(!state.model.businessLicensePicture){
+			state.businessLicensePictureError = '请上传营业执照';
+			return;
+		}
+		if(!state.model.brandLicensing){
+			state.brandLicensingError = '请上传品牌授权书';
+			return;
+		}
+		
+		
+		const {
+			data,
+			code
+		} = await SaleApi.createMerchant(state.model);
+		if(code === 0){
+			await getInfo()
+		}
+	}
+	
+	// 修改
+	const onChange = () => {
+		state.formStatus = false;
+		state.changeIng = true;
+	}
+	// 取消修改
+	const onCancel = () => {
+		state.formStatus = true;
+		state.changeIng = false;
+	}
+	const openList = () => {
+		sheep.$router.go('/pages/public/merchantApplyList',{merchantApplyId: state.model.id})
+	}
+	// 保存并提交
+	const onSave = async () => {
+		// 参数校验
+		const validate = await unref(merchantFormRef)
+			.validate()
+			.catch((error) => {
+				console.log('error: ', error);
+			});
+		if (!validate) {
+			return;
+		}
+		
+		const {
+			data,
+			code
+		} = await SaleApi.updateMerchant(state.model);
+		if (code === 0) {
+			state.formStatus = true;
+			state.changeIng = false;
+			await getInfo()
+		}
+		
+	}
+	
+	
+	
+	// 地区树
+	const areaTree = ref([])
+	function format(data) {
+		return data.map((item) => ({
+			text: item.name, // 显示的文本
+			value: item.id, // 值
+			children: item.children.length ? format(item.children) : null // 子项
+		}));
+	}
+	const getInfo = async () => {
+		const { data,code } = await SaleApi.getMerchant();
+		if(code === 0 && data){
+			// 如果能查到东西就证明当前用户已经申请了商户,只需要展示即可
+			state.model = data;
+			state.userApplyStatus = true;
 			
+			state.formStatus = true;
+		}else{
+			state.userApplyStatus = false;
+			state.formStatus = false;
 		}
 	}
+	onLoad(async (options) => {
+		await AreaApi.getAreaTree().then(res => {
+			areaTree.value = format(res.data)
+		})
+		
+		await getInfo();
+
+	});
 </script>
 
-<style>
+<style lang="scss" scoped>
+	.icon {
+		display: flex;
+		align-items: center;
+		margin-right: 7rpx
+	}
+
+	.icon image {
+		width: 35rpx;
+		height: 35rpx;
+	}
+
+	:deep() {
+
+		.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;
+	}
+
+	.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;
+	}
+	.btn-two {
+		width: 310rpx;
+		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;
+			}
 
-</style>
+			.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>

+ 281 - 0
pages/public/merchantApplyList.vue

@@ -0,0 +1,281 @@
+<template>
+	<!-- 商家申请审核记录 -->
+	<s-layout class="wallet-wrap" :bgStyle="{'backgroundColor':'#ffffff'}" title="审核记录" navbar="normal">
+		<view class="model-box ss-flex-col">
+			<view v-if="state.pagination.total > 0" style="padding:0 20rpx;">
+				<view class="list-item ss-flex ss-col-center ss-row-between "
+					
+					style="padding:0;padding: 20rpx 0;border-bottom: 1px solid #c4c4c4;">
+					<view class="ss-flex ss-col-center" style="width: 100%;">
+						<view class="ss-flex ss-m-t-10"
+							style="flex-direction: column;align-items: flex-start;width: 100%;">
+							<view class="name" style="width: 100%;"> 
+								商户登陆地址: <text class="color-red" @click="sheep.$helper.copyText('https://sh.letcgo.com')">https://sh.letcgo.com</text>
+							</view>
+							<view class="time " style="width: 100%;">
+								默认管理员账号: 联络人手机号
+							</view>
+							<view class="time " style="width: 100%;">
+								默认管理员密码: zxpt@联络人手机号
+							</view>
+						</view>
+					</view>
+				</view>
+			</view>
+			<scroll-view class="list-box" scroll-y="true" @touchmove.stop>
+				<view v-if="state.pagination.total > 0" style="padding: 20rpx;padding-top:0">
+					<view class="list-item ss-flex ss-col-center ss-row-between "
+						v-for="(item,index)  in state.pagination.list" :key="item.id"
+						style="padding:0;padding: 20rpx 0;border-bottom: 1px solid #c4c4c4;">
+						<view class="ss-flex ss-col-center" style="width: 100%;">
+							<view class="ss-flex ss-m-t-10"
+								style="flex-direction: column;align-items: flex-start;width: 100%;">
+								<view class="name" style="width: 100%;"> 
+									{{item.status === 1 ? '通过' : '拒绝'}}
+								</view>
+								<view class="time " style="width: 100%;">
+									审核时间:{{sheep.$helper.timeFormat(item.createTime, 'yyyy-mm-dd hh:MM')}}
+								</view>
+								<view class="time " style="width: 100%;">
+									描述:{{item.checkComment}}
+								</view>
+							</view>
+						</view>
+					</view>
+				</view>
+				<s-empty v-else text="暂无数据" paddingTop="200" icon="/static/data-empty.png" />
+				<uni-load-more v-if="state.pagination.total > 0" :status="state.loadStatus" :content-text="{
+					  contentdown: '点击加载更多',
+					}" @tap="onLoadMore(true)" @scrolltolower="onLoadMore(true)" />
+			</scroll-view>
+		</view>
+	</s-layout>
+</template>
+
+<script setup>
+	import sheep from '@/sheep';
+	import {
+		onLoad,
+		onReachBottom
+	} from '@dcloudio/uni-app';
+	import {
+		computed,
+		reactive
+	} from 'vue';
+	import {
+		points2point
+	} from '@/sheep/hooks/useGoods';
+	import _ from 'lodash';
+	import dayjs from 'dayjs';
+	import PointApi from '@/sheep/api/member/point';
+	import {
+		resetPagination
+	} from '@/sheep/util';
+	import SaleApi from '@/sheep/api/sale/sale';
+	const props = defineProps({
+		merchantApplyId: {
+			type: Number,
+			default: ''
+		}
+	})
+	const userWallet = computed(() => sheep.$store('user').userWallet);
+	const statusBarHeight = sheep.$platform.device.statusBarHeight * 2;
+	const userInfo = computed(() => sheep.$store('user').userInfo);
+	const sys_navBar = sheep.$platform.navbar;
+	const state = reactive({
+		currentTab: 0,
+		pagination: {
+			list: [],
+			total: 0,
+			pageSize: 10,
+			pageNo: 1,
+		},
+		loadStatus: '',
+	});
+	
+	async function getLogList() {
+		state.loadStatus = 'loading';
+		let {
+			code,
+			data
+		} = await SaleApi.getMerchantPage({
+			pageNo: state.pagination.pageNo,
+			pageSize: state.pagination.pageSize,
+			merchantApplyId: props.merchantApplyId
+		});
+
+		if (code !== 0) {
+			return;
+		}
+		let list = _.concat(state.pagination.list, data.list);
+		state.pagination.list = list;
+		state.pagination.total = data.total;
+		state.loadStatus = state.pagination.list.length < state.pagination.total ? 'more' : 'noMore';
+	}
+	onLoad(() => {
+		getLogList();
+	});
+	function onLoadMore() {
+		if (state.loadStatus === 'noMore') {
+			return;
+		}
+		state.pagination.pageNo++;
+		getLogList();
+	}
+
+	onReachBottom(() => {
+		onLoadMore();
+	});
+</script>
+
+<style lang="scss" scoped>
+	.color-red {
+		color: #f40;
+	}
+
+	.color-green {
+		color: green;
+	}
+
+	.score-box {
+		margin: 20rpx;
+		border-radius: 20rpx;
+		padding-top: 100rpx;
+	}
+
+	.avatar-box {
+		width: 100rpx;
+		height: 100rpx;
+		border-radius: 50%;
+		overflow: hidden;
+
+		.avatar-img {
+			width: 100%;
+			height: 100%;
+		}
+	}
+
+	.value-box {
+		width: 100rpx;
+		height: 100rpx;
+		line-height: 100rpx;
+		text-align: center;
+		border-radius: 50%;
+		border: 2px solid #f6f6f6;
+	}
+
+	.btn {
+		width: 300rpx;
+		background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
+		border-radius: 20rpx;
+		font-size: 30rpx;
+		font-weight: 500;
+		line-height: 80rpx;
+		color: $white;
+		position: relative;
+		z-index: 1;
+	}
+
+	.header-box {
+		width: 100%;
+		background: linear-gradient(180deg, var(--ui-BG-Main) 0%, var(--ui-BG-Main-gradient) 100%) no-repeat;
+		background-size: 750rpx 100%;
+		padding: 0 0 120rpx 0;
+		box-sizing: border-box;
+
+		.score-box {
+			height: 100%;
+
+			.all-num {
+				font-size: 50rpx;
+				font-weight: bold;
+				color: #fff;
+				font-family: OPPOSANS;
+			}
+
+			.all-title {
+				font-size: 26rpx;
+				font-weight: 500;
+				color: #fff;
+			}
+
+			.cicon-help-o {
+				color: #fff;
+				font-size: 28rpx;
+			}
+		}
+	}
+
+	// 筛选
+	.filter-box {
+		height: 114rpx;
+		background-color: $bg-page;
+
+		.total-box {
+			font-size: 24rpx;
+			font-weight: 500;
+			color: $dark-9;
+		}
+
+		.date-btn {
+			background-color: $white;
+			line-height: 54rpx;
+			border-radius: 27rpx;
+			padding: 0 20rpx;
+			font-size: 24rpx;
+			font-weight: 500;
+			color: $dark-6;
+
+			.ss-seldate-icon {
+				font-size: 50rpx;
+				color: $dark-9;
+			}
+		}
+	}
+
+
+	.list-box {
+		// width: 600rpx;
+		// padding: 0 30rpx;
+		overflow-y: auto;
+		height: 100vh;
+
+		.list-item {
+
+			background: #fff;
+			// border-bottom: 1rpx solid #dfdfdf;
+			padding: 30rpx;
+
+			.name {
+				font-size: 28rpx;
+
+				font-weight: 500;
+				color: rgba(102, 102, 102, 1);
+				// line-height: 28rpx;
+				// margin-bottom: 20rpx;
+			}
+
+			.time {
+				font-size: 24rpx;
+
+				font-weight: 500;
+				color: rgba(196, 196, 196, 1);
+				// line-height: 24px;
+			}
+
+			.add {
+				font-size: 30rpx;
+
+				font-weight: 500;
+				color: #e6b873;
+			}
+
+			.minus {
+				font-size: 30rpx;
+
+				font-weight: 500;
+				color: $dark-3;
+			}
+		}
+	}
+</style>

+ 58 - 0
sheep/api/sale/sale.js

@@ -0,0 +1,58 @@
+import request from '@/sheep/request';
+
+const SaleApi = {
+  // 申请成为商户
+  createMerchant: (data) => {
+    return request({
+      url: '/sale/merchant-apply/create',
+      method: 'POST',
+      data,
+      custom: {
+        showSuccess: true,
+        successMsg: '申请成功'
+      },
+    });
+  },
+  // 获取商户信息
+  getMerchant: () => {
+    return request({
+      url: '/sale/merchant-apply/get',
+      method: 'GET',
+    });
+  },
+  // 变动商户信息
+  updateMerchant: (data) => {
+    return request({
+      url: '/sale/merchant-apply/update',
+      method: 'PUT',
+      data,
+      custom: {
+        showSuccess: true,
+        successMsg: '变动成功'
+      },
+    });
+  },
+  getMerchantPage: (params) => {
+    return request({
+      url: '/sale/merchant-apply-log/page',
+      method: 'GET',
+      params,
+	  custom: {
+	    showLoading: true,
+	  },
+    });
+  },
+  checkContactNumber: (params) => {
+    return request({
+      url: '/system/users/getUserMobile',
+      method: 'GET',
+      params,
+  	  custom: {
+  	    showLoading: true,
+  	  },
+    });
+  },
+  
+};
+
+export default SaleApi;

+ 19 - 1
sheep/components/s-uploader/s-uploader.vue

@@ -205,7 +205,7 @@
       return {
         files: [],
         localValue: [],
-        imgsrc: sheep.$url.static('/static/images/upload-camera.png'),
+        imgsrc: sheep.$url.static('/static/images/add.png'),
       };
     },
     watch: {
@@ -215,6 +215,12 @@
         },
         immediate: true,
       },
+	  url: {
+	      handler(newUrl) {
+	        this.updateFilesFromUrl(newUrl);
+	      },
+	      immediate: true,
+	    },
     },
     computed: {
       returnType() {
@@ -263,6 +269,16 @@
       }
     },
     methods: {
+		updateFilesFromUrl(newUrl) {
+		    if (Array.isArray(newUrl)) {
+		      this.files = newUrl.map((url) => ({
+		        url,
+		        status: 'success',
+		      }));
+		    } else {
+		      this.files = newUrl ? [{ url: newUrl, status: 'success' }] : [];
+		    }
+		  },
       /**
        * 公开用户使用,清空文件
        * @param {Object} index
@@ -328,6 +344,7 @@
         }
         let filesData = Object.keys(newVal).length > 0 ? newVal : [];
         this.files = [].concat(filesData);
+		this.updateFilesFromUrl(this.url);  // 确保在值设置之后调用 updateFilesFromUrl 方法
       },
 
       /**
@@ -523,6 +540,7 @@
        * @param {Object} index
        */
       delFile(index) {
+		  console.log(this.files)
         this.$emit('delete', {
           tempFile: this.files[index],
           tempFilePath: this.files[index].url,

+ 19 - 0
sheep/validate/form.js

@@ -167,6 +167,24 @@ export const alipayAccount = {
     },
   ],
 };
+// 支付宝账号
+export const email = {
+  rules: [
+    {
+      required: true,
+      errorMessage: '请输入邮箱',
+    },
+    {
+      validateFunction: function (rule, value, data, callback) {
+        let isEmail = test.email(value);
+        if (!isEmail) {
+          callback('请输入正确邮箱账号');
+        }
+        return true;
+      },
+    },
+  ],
+};
 
 export default {
   mobile,
@@ -178,4 +196,5 @@ export default {
   code,
   taxNo,
   taxName,
+  email
 };

BIN
static/file/非独家品牌授权书.docx


BIN
static/images/add.png


+ 3 - 3
uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue

@@ -311,7 +311,7 @@
 		flex-wrap: nowrap;
 		font-size: 14px;
 		line-height: 38px;
-		padding: 0 5px;
+		/* padding: 0 5px; */
 		overflow: hidden;
 		/* #ifdef APP-NVUE */
 		height: 40px;
@@ -319,7 +319,7 @@
 	}
 
 	.input-value-border {
-		border: 1px solid #e5e5e5;
+		/* border: 1px solid #e5e5e5; */
 		border-radius: 5px;
 	}
 
@@ -347,7 +347,7 @@
 		/* #endif */
 		flex-direction: row;
 		flex-wrap: nowrap;
-		padding: 0 5px;
+		/* padding: 0 5px; */
 	}
 
 	.selected-item {

+ 3 - 3
uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue

@@ -222,8 +222,8 @@ export default {
 			default() {
 				return {
 					color: '#333',
-					disableColor: '#F7F6F6',
-					borderColor: '#e5e5e5'
+					disableColor: '#ffffff',
+					borderColor: '#ffffff'
 				};
 			}
 		},
@@ -528,7 +528,7 @@ $uni-border-1: #dcdfe6 !default;
 
 .is-disabled {
 	border-color: red;
-	background-color: #f7f6f6;
+	// background-color: #f7f6f6;
 	color: #d5d5d5;
 	.uni-easyinput__placeholder-class {
 		color: #d5d5d5;

+ 1 - 0
unpackage/dist/build/web/assets/comment-item.19fa5af2.js

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

+ 0 - 1
unpackage/dist/build/web/assets/comment-item.289a47f1.js

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

+ 1 - 1
unpackage/dist/build/web/assets/const.0452a229.js → unpackage/dist/build/web/assets/const.489dfe3e.js

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


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


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


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/assets/merchant-38f00b88.css


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


+ 1 - 1
unpackage/dist/build/web/assets/pages-index-page.604920af.js → unpackage/dist/build/web/assets/pages-index-page.7b5c21ed.js

@@ -1 +1 @@
-import{_ as t,a as e}from"./s-block.ae42c577.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-362f34b3.js";import{_ as g}from"./s-layout.c41325d6.js";import"./phone-international-input.74cd98cf.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.ec81e501.js";import"./uni-badge.283f2762.js";import"./su-image.2956894a.js";import"./su-swiper.1716fe75.js";import"./s-goods-column.6a9c56e1.js";import"./points.c381a8e1.js";import"./useGoods.1b454b40.js";/* empty css                                                                     */import"./uni-load-more.e4f6aad9.js";/* empty css                                                                *//* empty css                                                                      */import"./const.0452a229.js";import"./mp-html.daa19cab.js";import"./pages-public-richtext.60f9e557.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.301374e9.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-8049b29e.js";import{_ as g}from"./s-layout.1ad3099c.js";import"./phone-international-input.1c4c9881.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.cbdef6d6.js";import"./uni-badge.88ae28c5.js";import"./su-image.8ccb9ccd.js";import"./su-swiper.aa3e65f2.js";import"./s-goods-column.e0bb20f2.js";import"./points.c381a8e1.js";import"./useGoods.2c529be3.js";/* empty css                                                                     */import"./uni-load-more.1b9dfbc9.js";/* empty css                                                                *//* empty css                                                                      */import"./const.489dfe3e.js";import"./mp-html.139e490c.js";import"./pages-public-richtext.96c8ce83.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.aa4456f6.js → unpackage/dist/build/web/assets/pages-index-search.b16fa28d.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-362f34b3.js";import{b as g,_ as b}from"./s-layout.c41325d6.js";import{_ as w}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.74cd98cf.js";import"./useGoods.1b454b40.js";const j=w({__name:"search",setup(w){const j=s({historyList:[]});function k(s){s&&(!function(s){j.historyList.includes(s)&&j.historyList.splice(j.historyList.indexOf(s),1);j.historyList.unshift(s),j.historyList.length>=10&&(j.historyList.length=10);y("searchHistory",j.historyList)}(s),h.$router.go("/pages/goods/list",{keyword:s}))}function v(){d({title:"提示",content:"确认清除搜索历史吗?",success:function(s){s.confirm&&(j.historyTag=[],p("searchHistory"))}})}return t((()=>{j.historyList=e("searchHistory")||[]})),(s,t)=>{const e=i(_("uni-search-bar"),g),h=m,y=x,d=i(_("s-layout"),b);return o(),a(d,{class:"set-wrap",title:"搜索",bgStyle:{color:"#FFF"}},{default:r((()=>[l(h,{class:"ss-p-x-24"},{default:r((()=>[l(h,{class:"ss-flex ss-col-center"},{default:r((()=>[l(e,{class:"ss-flex-1",radius:"33",placeholder:"请输入关键字",cancelButton:"none",focus:!0,onConfirm:t[0]||(t[0]=s=>k(s.value))})])),_:1}),l(h,{class:"ss-flex ss-row-between ss-col-center"},{default:r((()=>[l(h,{class:"serach-history"},{default:r((()=>[n("搜索历史")])),_:1}),l(y,{class:"clean-history ss-reset-button",onClick:v},{default:r((()=>[n(" 清除搜索历史 ")])),_:1})])),_:1}),l(h,{class:"ss-flex ss-col-center ss-row-left ss-flex-wrap"},{default:r((()=>[(o(!0),c(f,null,u(j.historyList,((s,t)=>(o(),a(y,{class:"history-btn ss-reset-button",onClick:t=>k(s),key:t},{default:r((()=>[n(L(s),1)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-d3779116"]]);export{j as default};
+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 g,v as x}from"./index-8049b29e.js";import{b as L,_ as b}from"./s-layout.1ad3099c.js";import{_ as w}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.1c4c9881.js";import"./useGoods.2c529be3.js";const j=w({__name:"search",setup(w){const j=s({historyList:[]});function k(s){s&&(!function(s){j.historyList.includes(s)&&j.historyList.splice(j.historyList.indexOf(s),1);j.historyList.unshift(s),j.historyList.length>=10&&(j.historyList.length=10);y("searchHistory",j.historyList)}(s),h.$router.go("/pages/goods/list",{keyword:s}))}function v(){d({title:"提示",content:"确认清除搜索历史吗?",success:function(s){s.confirm&&(j.historyTag=[],p("searchHistory"))}})}return t((()=>{j.historyList=e("searchHistory")||[]})),(s,t)=>{const e=i(_("uni-search-bar"),L),h=m,y=g,d=i(_("s-layout"),b);return o(),a(d,{class:"set-wrap",title:"搜索",bgStyle:{color:"#FFF"}},{default:r((()=>[l(h,{class:"ss-p-x-24"},{default:r((()=>[l(h,{class:"ss-flex ss-col-center"},{default:r((()=>[l(e,{class:"ss-flex-1",radius:"33",placeholder:"请输入关键字",cancelButton:"none",focus:!0,onConfirm:t[0]||(t[0]=s=>k(s.value))})])),_:1}),l(h,{class:"ss-flex ss-row-between ss-col-center"},{default:r((()=>[l(h,{class:"serach-history"},{default:r((()=>[n("搜索历史")])),_:1}),l(y,{class:"clean-history ss-reset-button",onClick:v},{default:r((()=>[n(" 清除搜索历史 ")])),_:1})])),_:1}),l(h,{class:"ss-flex ss-col-center ss-row-left ss-flex-wrap"},{default:r((()=>[(o(!0),c(f,null,u(j.historyList,((s,t)=>(o(),a(y,{class:"history-btn ss-reset-button",onClick:t=>k(s),key:t},{default:r((()=>[n(x(s),1)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-d3779116"]]);export{j as default};

+ 1 - 1
unpackage/dist/build/web/assets/pages-index-user.7f198af8.js → unpackage/dist/build/web/assets/pages-index-user.ff5fe525.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-362f34b3.js";import{_ as v,a as f}from"./s-block.ae42c577.js";import{_ as k}from"./s-layout.c41325d6.js";import"./phone-international-input.74cd98cf.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.ec81e501.js";import"./uni-badge.283f2762.js";import"./su-image.2956894a.js";import"./su-swiper.1716fe75.js";import"./s-goods-column.6a9c56e1.js";import"./points.c381a8e1.js";import"./useGoods.1b454b40.js";/* empty css                                                                     */import"./uni-load-more.e4f6aad9.js";/* empty css                                                                *//* empty css                                                                      */import"./const.0452a229.js";import"./mp-html.daa19cab.js";import"./pages-public-richtext.60f9e557.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-8049b29e.js";import{_ as v,a as f}from"./s-block.301374e9.js";import{_ as k}from"./s-layout.1ad3099c.js";import"./phone-international-input.1c4c9881.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./uni-list.cbdef6d6.js";import"./uni-badge.88ae28c5.js";import"./su-image.8ccb9ccd.js";import"./su-swiper.aa3e65f2.js";import"./s-goods-column.e0bb20f2.js";import"./points.c381a8e1.js";import"./useGoods.2c529be3.js";/* empty css                                                                     */import"./uni-load-more.1b9dfbc9.js";/* empty css                                                                *//* empty css                                                                      */import"./const.489dfe3e.js";import"./mp-html.139e490c.js";import"./pages-public-richtext.96c8ce83.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.ead76cb1.js


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


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


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


+ 1 - 1
unpackage/dist/build/web/assets/pages-order-aftersale-log.c81923f6.js → unpackage/dist/build/web/assets/pages-order-aftersale-log.60512ebf.js

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

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


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


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


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


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


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


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


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


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


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


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


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


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


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


+ 1 - 1
unpackage/dist/build/web/assets/pages-public-error.3e0d04cb.js → unpackage/dist/build/web/assets/pages-public-error.f8ffc91b.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,b6 as i,bS as c,m as p,n as l}from"./index-362f34b3.js";import{_ as u}from"./s-empty.b20f9f6b.js";import{_}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                */const m=_({__name:"error",setup(_){const m=t(""),x=t("");async function y(){i({url:"/pages/index/index"}),await c()}return e((t=>{m.value=t.errCode,x.value=t.errMsg})),(t,e)=>{const i=p(l("s-empty"),u),c=s;return o(),n(c,{class:"error-page"},{default:a((()=>["NetworkError"===m.value?(o(),n(i,{key:0,icon:"/static/internet-empty.png",text:"网络连接失败",showAction:"",actionText:"重新连接",onClickAction:y,buttonColor:"#132b85"})):"TemplateError"===m.value?(o(),n(i,{key:1,icon:"/static/internet-empty.png",text:"未找到模板",showAction:"",actionText:"重新加载",onClickAction:y,buttonColor:"#132b85"})):""!==m.value?(o(),n(i,{key:2,icon:"/static/internet-empty.png",text:x.value,showAction:"",actionText:"重新加载",onClickAction:y,buttonColor:"#132b85"},null,8,["text"])):r("",!0)])),_:1})}}},[["__scopeId","data-v-189d7116"]]);export{m as default};
+import{N as t,o as e,f as o,g as n,w as a,j as s,i as r,b6 as i,bS as c,m as p,n as l}from"./index-8049b29e.js";import{_ as u}from"./s-empty.8c505fcb.js";import{_}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                */const m=_({__name:"error",setup(_){const m=t(""),x=t("");async function y(){i({url:"/pages/index/index"}),await c()}return e((t=>{m.value=t.errCode,x.value=t.errMsg})),(t,e)=>{const i=p(l("s-empty"),u),c=s;return o(),n(c,{class:"error-page"},{default:a((()=>["NetworkError"===m.value?(o(),n(i,{key:0,icon:"/static/internet-empty.png",text:"网络连接失败",showAction:"",actionText:"重新连接",onClickAction:y,buttonColor:"#132b85"})):"TemplateError"===m.value?(o(),n(i,{key:1,icon:"/static/internet-empty.png",text:"未找到模板",showAction:"",actionText:"重新加载",onClickAction:y,buttonColor:"#132b85"})):""!==m.value?(o(),n(i,{key:2,icon:"/static/internet-empty.png",text:x.value,showAction:"",actionText:"重新加载",onClickAction:y,buttonColor:"#132b85"},null,8,["text"])):r("",!0)])),_:1})}}},[["__scopeId","data-v-189d7116"]]);export{m as default};

+ 1 - 1
unpackage/dist/build/web/assets/pages-public-faq.f8ecdedf.js → unpackage/dist/build/web/assets/pages-public-faq.8b5a1e85.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 r,l as c,r as i,F as p,i as u,n as _,u as m,v as d,j as f,I as g}from"./index-362f34b3.js";import{_ as y,a as j}from"./uni-collapse.c51271fc.js";import{_ as x}from"./s-empty.b20f9f6b.js";import{_ as b}from"./s-layout.c41325d6.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.74cd98cf.js";/* empty css                                                                */import"./useGoods.1b454b40.js";const v=h({__name:"faq",setup(h){const v=s({list:[],loading:!0});return t((()=>{e.$router.go("/pages/public/richtext",{title:"常见问题"})})),(s,t)=>{const e=f,h=g,F=n(_("uni-collapse-item"),y),k=n(_("uni-collapse"),j),w=n(_("s-empty"),x),I=n(_("s-layout"),b);return a(),l(I,{class:"set-wrap",title:"常见问题",bgStyle:{color:"#FFF"}},{default:o((()=>[r(k,null,{default:o((()=>[(a(!0),c(p,null,i(v.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(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 r,l as c,r as i,F as p,i as u,n as _,u as m,v as f,j as d,I as g}from"./index-8049b29e.js";import{_ as y,a as j}from"./uni-collapse.3538903a.js";import{_ as x}from"./s-empty.8c505fcb.js";import{_ as b}from"./s-layout.1ad3099c.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.1c4c9881.js";/* empty css                                                                */import"./useGoods.2c529be3.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=d,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((()=>[r(k,null,{default:o((()=>[(a(!0),c(p,null,i(v.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(f(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(f(s.title),1)])),_:2},1024)])),_:2},1024)])),default:o((()=>[r(e,{class:"content ss-p-l-78 ss-p-r-40 ss-p-b-50 ss-p-t-20"},{default:o((()=>[r(h,{class:"text"},{default:o((()=>[m(f(s.content),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1}),0!==v.list.length||v.loading?u("",!0):(a(),l(w,{key:0,text:"暂无常见问题",icon:"/static/collect-empty.png"}))])),_:1})}}},[["__scopeId","data-v-d403c664"]]);export{v as default};

+ 0 - 1
unpackage/dist/build/web/assets/pages-public-merchant.5ede7552.js

@@ -1 +0,0 @@
-import{_ as t}from"./s-layout.c41325d6.js";import{f as o,g as s,m as e,n as r}from"./index-362f34b3.js";import{_ as a}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.74cd98cf.js";import"./useGoods.1b454b40.js";const n=a({data:()=>({}),methods:{}},[["render",function(a,n,i,p,m,l){const u=e(r("s-layout"),t);return o(),s(u,{class:"set-wrap",title:"商家",bgStyle:{color:"#FFF"}})}]]);export{n as default};

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


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


+ 1 - 1
unpackage/dist/build/web/assets/pages-public-richtext.60f9e557.js → unpackage/dist/build/web/assets/pages-public-richtext.96c8ce83.js

@@ -1 +1 @@
-import{z as t,o as e,bm as s,f as l,g as i,w as n,aO as o,m as a,k as c,n as r,j as p}from"./index-362f34b3.js";import{_ as m}from"./mp-html.daa19cab.js";import{_ as u}from"./s-layout.c41325d6.js";import{_ as d}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.74cd98cf.js";import"./useGoods.1b454b40.js";const f=d({__name:"richtext",props:{title:{defautls:"",type:String},type:{defautls:"",type:String}},setup(d){const f=t({title:"",content:""});const _=d;return e((t=>{(t.title||_.title)&&(f.title=t.title||_.title,s({title:f.title||_.title})),async function(t,e){const{code:l,data:i}=await o.getArticle(t,e);0===l&&(f.content=i.content,f.title!==i.title&&(f.title=i.title,s({title:f.title})))}(t.id,t.title||_.title)})),(t,e)=>{const s=a(r("mp-html"),m),o=p,_=a(r("s-layout"),u);return f.title&&!d.type?(l(),i(_,{key:0,class:"set-wrap",title:f.title,bgStyle:{color:"#FFF"}},{default:n((()=>[c(o,{class:"ss-p-30"},{default:n((()=>[c(s,{class:"richtext",content:f.content},null,8,["content"])])),_:1})])),_:1},8,["title"])):(l(),i(s,{key:1,class:"richtext",content:f.content},null,8,["content"]))}}},[["__scopeId","data-v-5342d437"]]);export{f as default};
+import{z as t,o as e,bm as s,f as l,g as i,w as n,aO as o,m as a,k as c,n as r,j as p}from"./index-8049b29e.js";import{_ as m}from"./mp-html.139e490c.js";import{_ as u}from"./s-layout.1ad3099c.js";import{_ as d}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.1c4c9881.js";import"./useGoods.2c529be3.js";const f=d({__name:"richtext",props:{title:{defautls:"",type:String},type:{defautls:"",type:String}},setup(d){const f=t({title:"",content:""});const _=d;return e((t=>{(t.title||_.title)&&(f.title=t.title||_.title,s({title:f.title||_.title})),async function(t,e){const{code:l,data:i}=await o.getArticle(t,e);0===l&&(f.content=i.content,f.title!==i.title&&(f.title=i.title,s({title:f.title})))}(t.id,t.title||_.title)})),(t,e)=>{const s=a(r("mp-html"),m),o=p,_=a(r("s-layout"),u);return f.title&&!d.type?(l(),i(_,{key:0,class:"set-wrap",title:f.title,bgStyle:{color:"#FFF"}},{default:n((()=>[c(o,{class:"ss-p-30"},{default:n((()=>[c(s,{class:"richtext",content:f.content},null,8,["content"])])),_:1})])),_:1},8,["title"])):(l(),i(s,{key:1,class:"richtext",content:f.content},null,8,["content"]))}}},[["__scopeId","data-v-5342d437"]]);export{f as default};

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


+ 1 - 1
unpackage/dist/build/web/assets/pages-public-webview.4b450a91.js → unpackage/dist/build/web/assets/pages-public-webview.f3b12f72.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,bT as u}from"./index-362f34b3.js";const l={__name:"webview",setup(l){const c=s("");return e((s=>{c.value=decodeURIComponent(s.url)})),(s,e)=>{const l=u,d=o;return a(),n(d,null,{default:t((()=>[r(l,{src:c.value},null,8,["src"])])),_:1})}}};export{l as default};
+import{N as s,o as e,f as a,g as n,w as t,j as o,k as r,bT as u}from"./index-8049b29e.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.68fed4ee.js


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


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


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


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


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

@@ -0,0 +1 @@
+import{z as s,p as a,aF as t,O as e,Q as o,aG as r,q as i,f as l,g as d,w as n,m as p,l as u,r as m,F as _,i as c,k as f,x as g,s as y,u as b,n as j,j as x,J as h,aH as k}from"./index-8049b29e.js";import{_ as v}from"./s-address-item.ac66e282.js";import{a as w,_ as F}from"./s-layout.1ad3099c.js";import{_ as S}from"./s-empty.8c505fcb.js";import{_ as A}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.1c4c9881.js";import"./useGoods.2c529be3.js";/* empty css                                                                */const C=A({__name:"list",setup(A){const C=s({list:[],loading:!0});return a((async()=>{C.list=(await t.getAddressList(2)).data,C.loading=!1})),e((()=>{o("areaData")||r.getAreaTree().then((s=>{0===s.code&&i("areaData",s.data)}))})),(s,a)=>{const t=p(j("s-address-item"),v),e=x,o=h,r=p(j("su-fixed"),w),i=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),u(_,null,m(C.list,(s=>(l(),d(t,{spuType:"0",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(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=>g(y).$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};

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

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

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


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


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


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


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


+ 0 - 1
unpackage/dist/build/web/assets/pages-user-invoice-list.5931de56.js

@@ -1 +0,0 @@
-import{z as s,p as a,aF as t,O as e,Q as o,aG as i,q as r,f as l,g as d,w as n,m as p,l as 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,aH as k}from"./index-362f34b3.js";import{_ as v}from"./s-address-item.73fd1a79.js";import{a as w,_ as D}from"./s-layout.c41325d6.js";import{_ as F}from"./s-empty.b20f9f6b.js";import{_ as S}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.74cd98cf.js";import"./useGoods.1b454b40.js";/* empty css                                                                */const C=S({__name:"list",setup(S){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"),F),S=p(j("s-layout"),D);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,{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};

+ 1 - 0
unpackage/dist/build/web/assets/pages-user-invoice-list.ff14b65c.js

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

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


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


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