From 3fc241d02fb8b671289de3d9d80bf848349c04d4 Mon Sep 17 00:00:00 2001
From: Sanakey <714737083@qq.com>
Date: 星期五, 09 七月 2021 18:04:12 +0800
Subject: [PATCH] 海报、新建活动等新版完善

---
 pages/signUpCreate/signUpCreate.wxml |   47 ++++++++++++++++++++++++++++-------------------
 1 files changed, 28 insertions(+), 19 deletions(-)

diff --git a/pages/signUpCreate/signUpCreate.wxml b/pages/signUpCreate/signUpCreate.wxml
index 138e932..cec88d6 100644
--- a/pages/signUpCreate/signUpCreate.wxml
+++ b/pages/signUpCreate/signUpCreate.wxml
@@ -1,26 +1,32 @@
 <view class="container has-footer">
   <van-cell-group class="my-cell-group">
+    <van-cell class="my-cell required" border="{{false}}" title="鎶ュ悕鍥剧墖"></van-cell>
+    <my-file-uploader id="file-uploader" img-list="{{coverImageList}}" url="{{fileUploadUrl+'&isCoverImage=true'}}" file-delete-url="/shopping/panicBuying.do?m=deleteAttachment"></my-file-uploader>
+
+  </van-cell-group>
+  <van-cell-group class="my-cell-group">
     <van-field
+        required
+        id="promotionsTitle"
         class="my-cell"
         value="{{ promotionsTitle }}"
         name="promotionsTitle"
         label="娲诲姩鏍囬"
-        placeholder="寤鸿鏍囬鏂囧瓧10瀛椾互鍐�"
+        placeholder="寤鸿鏍囬鏂囧瓧鍦�3-14瀛椾箣闂�"
         bind:blur="checkPromotionsTitle"
         error-message="{{promotionsTitleError}}"
     />
   </van-cell-group>
-  <van-cell-group class="my-cell-group">
-    <van-cell class="my-cell" border="{{false}}" title="鎶ュ悕鍥剧墖"></van-cell>
-    <my-file-uploader id="file-uploader" url="{{fileUploadUrl+'&isCoverImage=true'}}"></my-file-uploader>
-  </van-cell-group>
 
   <van-cell-group class="my-cell-group">
     <van-field
+        required
+        id="originalPrice"
         class="my-cell"
         value="{{ originalPrice }}"
         name="originalPrice"
         label="鎶ュ悕璐圭敤"
+        type="digit"
         placeholder="璇疯緭鍏ユ姤鍚嶈垂鐢�"
         bind:blur="checkOriginalPrice"
         error-message="{{originalPriceError}}"
@@ -30,23 +36,22 @@
       </view>
     </van-field>
 
-    <my-time-quantum id="time-quantum" bind:selectedStartTime="selectedStartTime" bind:selectedEndTime="selectedEndTime"></my-time-quantum>
-
-
-    <view>
-
-    </view>
+    <my-time-quantum id="time-quantum" start-time="{{startTime}}" end-time="{{endTime}}" bind:selectedStartTime="selectedStartTime" bind:selectedEndTime="selectedEndTime"></my-time-quantum>
 
   </van-cell-group>
 
-  <my-seller-edit id="seller-edit"></my-seller-edit>
+  <view class="desc font-size-12 padding-lr"><text class="iconfont icon-gantanhao-xianxingyuankuang theme-font-color"></text> 瀹㈡埛鎶ュ悕涔嬪悗锛岄噾棰濆皢鎵i櫎骞冲彴鎵嬬画璐箋{feeRateForPay||0}}%鍚庯紝鎵撳叆鍚庡彴璐︽埛锛岃鎵嬪姩鎻愮幇銆�</view>
+
+  <my-store-edit id="store-edit" store-list="{{storeList}}" from="{{fromPage}}"></my-store-edit>
+  <my-seller-edit id="seller-edit" seller-list="{{sellerList}}" from="{{fromPage}}"></my-seller-edit>
   <van-cell-group class="my-cell-group">
-    <van-cell border="{{false}}" title="璇疯緭鍏ユ椿鍔ㄦ弿杩拌鍒�" label="寤鸿浠ュ浘鐗囨弿杩颁负涓伙紝鏂囧瓧鎻忚堪200瀛椾互鍐�"></van-cell>
+    <van-cell border="{{false}}" title="璇疯緭鍏ユ椿鍔ㄦ弿杩拌鍒�(閫夊~)"></van-cell>
     <van-field
-        value="{{ message }}"
+        cursor-spacing="250"
+        value="{{ promotionDescription }}"
         class="field-text-left"
         type="textarea"
-        placeholder="鐐瑰嚮杈撳叆娲诲姩鎻忚堪"
+        placeholder="鐐瑰嚮杈撳叆娲诲姩鎻忚堪锛屾枃瀛楁弿杩�200瀛椾互鍐�"
         autosize="{{autosize}}"
         bind:blur="checkPromotionDescription"
         error-message="{{promotionDescriptionError}}"
@@ -54,11 +59,15 @@
         maxlength="{{200}}"
         show-word-limit
     />
-    <my-file-uploader id="file-uploader-multiple" url="{{fileUploadUrl+'&isCoverImage=false'}}" multiple="{{true}}"></my-file-uploader>
+
+    <my-file-uploader id="file-uploader-multiple" img-list="{{imagesList}}" url="{{fileUploadUrl+'&isCoverImage=false'}}" multiple="{{true}}" file-delete-url="/shopping/panicBuying.do?m=deleteAttachment"></my-file-uploader>
   </van-cell-group>
 </view>
-<view class="fixed-footer fixed-footer-button flex-row space-around">
-  <van-button plain class="btn-padding" type="warning" data-status="0" bind:click="onSave">淇濆瓨</van-button>
-  <van-button class="theme-button btn-padding" type="warning" data-status="1" bind:click="onSubmit">鍙戝竷</van-button>
+<view class="fixed-footer fixed-footer-button {{!status?'flex-row':''}} space-around">
+  <van-button plain class="btn-padding" wx:if="{{!status}}" type="warning" data-status="0" bind:click="onSave">淇濆瓨</van-button>
+  <view class="{{!status?'':'padding'}}">
+    <van-button class="theme-button btn-padding" block="{{!!status}}" type="warning" data-status="1" bind:click="onSubmit">鍙戝竷</van-button>
+  </view>
 </view>
 
+<my-seller-verify-dialog is-show="{{isShowDialog}}" seller-unchecked-names="{{sellerUnCheckedNames}}"></my-seller-verify-dialog>

--
Gitblit v1.8.0