Commit 26cbedf8 authored by Mac's avatar Mac

图片单个上传

parent 8b72bb2d
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
{{SmallShops.UserInfo.UserName}} {{SmallShops.UserInfo.UserName}}
</Text> </Text>
<view class="sj_style" style="" @click="goEdit('/pages/microShop/shopSettings')"> <view class="sj_style" style="" @click="goEdit('/pages/microShop/shopSettings')">
<image src="../../../static/images/edit_w.png" style="width: 13px;height: 13px;"></image> <image src="../../../static/images/edit_w.png" style="width: 15px;height: 15px;"></image>
</view> </view>
</view> </view>
<Text style='max-width:250px;font-size: 12px;margin-top: 5px;overflow: hidden;display: inline-block;white-space: nowrap; text-overflow:ellipsis;'> <Text style='max-width:250px;font-size: 12px;margin-top: 5px;overflow: hidden;display: inline-block;white-space: nowrap; text-overflow:ellipsis;'>
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
@on-success="uploadSuccessHandler" @on-success="uploadSuccessHandler"
:show-upload-list="showUploadList" :show-upload-list="showUploadList"
:file-list="fileList" :file-list="fileList"
:multiple='false'
> >
<u-avatar :src="msg.Logo" size="120" slot="addBtn"></u-avatar> <u-avatar :src="msg.Logo" size="120" slot="addBtn"></u-avatar>
</u-upload> </u-upload>
......
...@@ -294,10 +294,7 @@ ...@@ -294,10 +294,7 @@
this.g.SpecificationList.forEach(x=>{ this.g.SpecificationList.forEach(x=>{
if(x.checked == true){ if(x.checked == true){
show = false, show = false
x.UpPrice = 0;
x.PriceType = 0;
x.checked = false
} }
}) })
if(show==true){ if(show==true){
...@@ -307,6 +304,14 @@ ...@@ -307,6 +304,14 @@
}); });
return return
}; };
this.allchecked = false;
this.g.SpecificationList.forEach(x=>{
if(x.checked == true){
x.UpPrice = 0;
x.PriceType = 0;
x.checked = false
}
})
}, },
define(){ define(){
if(this.editMsg.PriceType==1 && (this.editMsg.UpPrice<this.editMsg.CustomMinPriceRate || this.editMsg.UpPrice>this.editMsg.CustomMaxPriceRate)){ if(this.editMsg.PriceType==1 && (this.editMsg.UpPrice<this.editMsg.CustomMinPriceRate || this.editMsg.UpPrice>this.editMsg.CustomMaxPriceRate)){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment