From 552238172036acf08ccf36134282a06b5e21b936 Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期五, 22 五月 2026 18:07:49 +0800
Subject: [PATCH] 代码生成

---
 small-program/shop/pages/store-info/store-info.vue |   39 +++++++++++++++++++++++----------------
 1 files changed, 23 insertions(+), 16 deletions(-)

diff --git a/small-program/shop/pages/store-info/store-info.vue b/small-program/shop/pages/store-info/store-info.vue
index b593862..9fcd218 100644
--- a/small-program/shop/pages/store-info/store-info.vue
+++ b/small-program/shop/pages/store-info/store-info.vue
@@ -8,7 +8,7 @@
 				<text class="text-input align-left" style="font-weight: 600;margin-left: 30rpx;">{{info.name}}</text>
 			</view>
 			<view class="form-group">
-				<text class="label">闂ㄥ簵澶村儚</text>
+				<text class="label">闂ㄥ簵澶村儚<text class="required">*</text></text>
 				<view class="upload-row" style="margin-top: 20rpx;">
 					<view class="upload-box" @click="chooseAndUploadImage(1)">
 						<view class="upload-plus">+</view>
@@ -22,7 +22,7 @@
 			<view class="divider"></view>
 			<view class="form-group textarea-group">
 				<text class="label">闂ㄥ簵浠嬬粛</text>
-				<input v-model="form.content" class="text-input align-left" type="text" placeholder="璇疯緭鍏ラ棬搴椾粙缁�" placeholder-style="color: #B2B2B2;" />
+				<textarea v-model="form.content"   maxlength="200" placeholder="璇疯緭鍏ラ棬搴椾粙缁�"  class="text-area charge-area" placeholder-style="color: #B2B2B2;" auto-height></textarea>
 			</view>
 			<view class="divider"></view>
 			<view class="form-group switch-group">
@@ -40,15 +40,15 @@
 					<text class="label">钀ヤ笟鏃堕棿</text>
 					<text class="required">*</text>
 				</view>
-				<input v-model="form.shopHours" class="text-input align-left" type="text" placeholder="蹇呭~锛岃杈撳叆闂ㄥ簵钀ヤ笟鏃堕棿" placeholder-style="color: #B2B2B2;" />
+				<textarea v-model="form.shopHours"  maxlength="200" placeholder="蹇呭~锛岃杈撳叆闂ㄥ簵钀ヤ笟鏃堕棿"  class="text-area charge-area" placeholder-style="color: #B2B2B2;" auto-height></textarea>
 			</view>
 			<view class="divider"></view>
 			<view class="form-group">
 				<text class="label">瀵勫瓨绫诲瀷</text>
-				<input v-model="form.depositTypes" class="text-input align-left" type="text" placeholder="璇疯緭鍏ュ彲瀵勫瓨绫诲瀷" placeholder-style="color: #B2B2B2;" />
+				<textarea v-model="form.depositTypes"   maxlength="200" placeholder="璇疯緭鍏ュ彲瀵勫瓨绫诲瀷"  class="text-area charge-area" placeholder-style="color: #B2B2B2;" auto-height></textarea>
 			</view>
 			<view class="divider"></view>
-			<view class="form-group">
+			<!-- <view class="form-group">
 				<view class="label-row">
 					<text class="label">閰嶉�佽寖鍥�</text>
 					<text class="required">*</text>
@@ -59,14 +59,14 @@
 				</view>
 			</view>
 
-			<view class="divider"></view>
+			<view class="divider"></view> -->
 
 			<view class="form-group textarea-group last-group">
 				<view class="label-row">
 					<text class="label">鏀惰垂鏍囧噯</text>
 					<text class="required">*</text>
 				</view>
-				<textarea v-model="form.feeStandard" class="text-area charge-area" placeholder="蹇呭~锛岃杈撳叆闂ㄥ簵鏀惰垂鏍囧噯" placeholder-style="color: #B2B2B2;" auto-height></textarea>
+				<textarea v-model="form.feeStandard"  placeholder="蹇呭~锛岃杈撳叆闂ㄥ簵鏀惰垂鏍囧噯" class="text-area charge-area" placeholder-style="color: #B2B2B2;" auto-height></textarea>
 			</view>
 		</view>
 
@@ -90,7 +90,7 @@
 				  businessType: 0,
 				  content: "",
 				  coverImg: "",
-				  deliveryArea: 0,
+				//   deliveryArea: 0,
 				  depositTypes:"" ,
 				  feeStandard:"" ,
 				  shopHours: ""
@@ -124,7 +124,7 @@
 						  businessType: res.data.businessType || 0,
 						  content: res.data.content || '',
 						  coverImg:  res.data.coverImg || '',
-						  deliveryArea: res.data.deliveryArea || 0,
+						//   deliveryArea: res.data.deliveryArea || 0,
 						  depositTypes: res.data.depositTypes || '',
 						  feeStandard:res.data.feeStandard || '',
 						  shopHours: res.data.shopHours || '',
@@ -136,6 +136,13 @@
 				if(this.loading){
 					return;
 				}
+				if(!this.form.coverImg){
+					uni.showToast({
+						title:"璇蜂笂浼犻棬搴楀ご鍍�",
+						icon:'none'
+					})
+					return
+				}
 				if(!this.form.shopHours){
 					uni.showToast({
 						title:"璇峰~鍐欒惀涓氭椂闂�",
@@ -143,13 +150,13 @@
 					})
 					return
 				}
-				if(!this.form.deliveryArea){
-					uni.showToast({
-						title:"璇峰~鍐欓厤閫佽寖鍥�",
-						icon:'none'
-					})
-					return
-				}
+				// if(!this.form.deliveryArea){
+				// 	uni.showToast({
+				// 		title:"璇峰~鍐欓厤閫佽寖鍥�",
+				// 		icon:'none'
+				// 	})
+				// 	return
+				// }
 				if(!this.form.feeStandard){
 					uni.showToast({
 						title:"璇峰~鍐欐敹璐规爣鍑�",

--
Gitblit v1.9.3