From 32215c93706df98eb06e518ed3e59a58bf571436 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 29 四月 2026 22:19:43 +0800
Subject: [PATCH] 小程序 | app
---
small-program/shop/pages/store-info/store-info.vue | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 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..3bfc66a 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,12 +40,12 @@
<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">
@@ -66,7 +66,7 @@
<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>
@@ -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:"璇峰~鍐欒惀涓氭椂闂�",
--
Gitblit v1.9.3