Parcourir la source

始宁农业小程序:商品新增、编辑发售时间选择

panyong il y a 2 ans
Parent
commit
df13504008

+ 0 - 1
htmldev/shiningWxMini/pages/addNews/addNews.wxml

@@ -21,7 +21,6 @@
         multiple="{{true}}"
         accept="image"
         data-formkey="track_img_url"
-        bind:click-preview="uploadImg"
         bind:after-read="afterRead"
         bind:delete="delete"/>
     </view>

+ 0 - 2
htmldev/shiningWxMini/pages/businessApply/businessApply.wxml

@@ -67,7 +67,6 @@
           multiple="{{false}}"
           accept="image"
           data-formkey="user_code_url"
-          bind:click-preview="uploadImg"
           bind:after-read="afterRead"
           bind:delete="delete"/>
       </view>
@@ -112,7 +111,6 @@
           multiple="{{false}}"
           accept="image"
           data-formkey="shop_img_url"
-          bind:click-preview="uploadImg"
           bind:after-read="afterRead"
           bind:delete="delete"/>
       </view>

+ 3 - 6
htmldev/shiningWxMini/pages/businessGoodsEdit/businessGoodsEdit.wxml

@@ -14,9 +14,8 @@
               max-count="{{product_img_url_max}}"
               multiple="{{false}}"
               accept="image"
-              image-fit="widthFix"
+              image-fit="aspectFit"
               data-formkey="product_img_url"
-              bind:click-preview="uploadImg"
               bind:after-read="afterRead"
               bind:delete="delete"/>
           </view>
@@ -35,9 +34,8 @@
               max-count="{{product_rotation_img_list_max}}"
               multiple="{{true}}"
               accept="image"
-              image-fit="widthFix"
+              image-fit="aspectFit"
               data-formkey="product_rotation_img_list"
-              bind:click-preview="uploadImg"
               bind:after-read="afterRead"
               bind:delete="delete"/>
           </view>
@@ -56,9 +54,8 @@
               max-count="{{product_detail_img_list_max}}"
               multiple="{{true}}"
               accept="image"
-              image-fit="widthFix"
+              image-fit="aspectFit"
               data-formkey="product_detail_img_list"
-              bind:click-preview="uploadImg"
               bind:after-read="afterRead"
               bind:delete="delete"/>
           </view>