Commit dc967491 authored by zhengke's avatar zhengke

no message

parent d9bfff91
......@@ -74,7 +74,9 @@
Style:1
},
classData:[],
classObj:null,
classObj:{
Id:''
},
AllList:[],
list: [{
letter: '*',
......@@ -213,11 +215,9 @@
}
},
onLoad(option) {
this.navHeight = this.$navHeight - 2;
if (this.cstyle.cat_style == "4") {
}
this.navHeight = this.$navHeight - 2
if(option.Id){
this.classObj.Id = option.Id
this.classObj.Id = option.Id
}
this.getBrand()
},
......
......@@ -36,14 +36,14 @@
</view>
<view class="hint">请按示例上传清晰的照片</view>
<view class="ValuationCenter-image">
<view class="upload-comm-image" v-for="(item,index) in datas.BrandImgList">
<view class="upload-comm-image" v-for="(item,index) in BrandImgList">
<view class="comm-image" style="height: 200rpx;"
:style="{'background':'url('+item.Path+')no-repeat rgba(48,49,60,.1)','background-size': '100% 100%'}">
<u-upload
class="uploadImg"
style="display: flex;align-items: center;justify-content: center; width: 200rpx;background: rgba(48,49,60,.4)"
:action="action"
:file-list="[item]"
:file-list="[msg.GoodsImgList[index]]"
:obj="item"
max-count="1" :custom-btn="true"
@on-success="uploadSuccessHandler"
......@@ -77,7 +77,7 @@
style="width: 660rpx;flex-wrap: wrap;"
class="uploadImg uploadImgb"
:action="action"
:file-list="datas.MoreImgList"
:file-list="msg.MoreImgList"
max-count="10"
:custom-btn="true"
@on-success="uploadSuccessHandlerB"
......@@ -128,11 +128,12 @@
export default {
data() {
return {
loading: true,
loading: true,
isloading: true,
pageTitle: "我要估价",
navHeight: 0,
contentHeight: 0,
BrandImgList:[],
fileList:[],
action:'',
Obj:{},
......@@ -172,7 +173,6 @@
this.msg.MoreImgList = this.datas.MoreImgList
this.isloading = false
this.getDetails()
// this.fileList = this.datas.GoodsImgList
}
this.showOpenSettingDialog = uni.getStorageSync('showOpenSettingDialog') || false;
// this.subscription()
......@@ -211,9 +211,7 @@
},
// 提交
setMsg(){
// this.msg.GoodsImgList = this.datas.GoodsImgList
// this.msg.MoreImgList = this.datas.MoreImgList
if(this.msg.GoodsImgList.length==0||this.msg.GoodsImgList.length<this.datas.GoodsImgList.length){
if(this.msg.GoodsImgList.length==0||this.msg.GoodsImgList.length<this.GoodsImgList.length){
uni.showToast({
title: "请上传商品图",
icon:'none'
......@@ -288,8 +286,7 @@
this.isloading = false;
if(res.resultCode==1){
uni.hideLoading();
this.datas.BrandImgList = res.data.BrandImgList
console.log(this.datas.BrandImgList,'----')
this.BrandImgList = res.data.BrandImgList
// this.msg.CategoryId = this.data.CategoryId
// this.tmplIds = this.data.TempIdList
}
......
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