Commit dc967491 authored by zhengke's avatar zhengke

no message

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