|
|
@ -25,7 +25,8 @@ |
|
|
</uni-popup-dialog> |
|
|
</uni-popup-dialog> |
|
|
</uni-popup> |
|
|
</uni-popup> |
|
|
<uni-popup ref="delDialog" type="dialog"> |
|
|
<uni-popup ref="delDialog" type="dialog"> |
|
|
<view class="type-popup" style="width:100%;margin-bottom: 0;border-radius: 0;height: 650rpx;border-radius: 20rpx;"> |
|
|
<view class="type-popup" |
|
|
|
|
|
style="width:100%;margin-bottom: 0;border-radius: 0;height: 650rpx;border-radius: 20rpx;"> |
|
|
<view style="height: 120rpx;font-size: 36rpx;font-weight: bold;line-height: 120rpx;text-align: center;"> |
|
|
<view style="height: 120rpx;font-size: 36rpx;font-weight: bold;line-height: 120rpx;text-align: center;"> |
|
|
编辑分类 |
|
|
编辑分类 |
|
|
</view> |
|
|
</view> |
|
|
@ -39,9 +40,12 @@ |
|
|
<view style="width: 90%;margin: 40rpx auto 0;"> |
|
|
<view style="width: 90%;margin: 40rpx auto 0;"> |
|
|
排序:<uni-easyinput type="text" v-model="sortTextEdit" @blur="handleBlurSort" placeholder="可设置排序" /> |
|
|
排序:<uni-easyinput type="text" v-model="sortTextEdit" @blur="handleBlurSort" placeholder="可设置排序" /> |
|
|
</view> |
|
|
</view> |
|
|
<view style="width: 100%;height: 90rpx;line-height: 90rpx;text-align: center;border-radius: 0;color: #fff;display: flex;position: absolute;bottom: 0;"> |
|
|
<view |
|
|
<view style="flex: 1;background: linear-gradient(90deg, #60F3FF, #088FEB);" v-if="inputVal != '默认分类'" @tap="dialogDel">删除</view> |
|
|
style="width: 100%;height: 90rpx;line-height: 90rpx;text-align: center;border-radius: 0;color: #fff;display: flex;position: absolute;bottom: 0;"> |
|
|
<view style="flex: 1;background: linear-gradient(90deg, #FF9797, #FFC1E0);" @tap="dialogInputConfirm">确认</view> |
|
|
<view style="flex: 1;background: linear-gradient(90deg, #60F3FF, #088FEB);" |
|
|
|
|
|
v-if="inputVal != '默认分类'" @tap="dialogDel">删除</view> |
|
|
|
|
|
<view style="flex: 1;background: linear-gradient(90deg, #FF9797, #FFC1E0);" |
|
|
|
|
|
@tap="dialogInputConfirm">确认</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</uni-popup> |
|
|
</uni-popup> |
|
|
@ -54,10 +58,12 @@ |
|
|
style="height:40rpx;line-height: 40rpx;position: absolute !important;bottom:0;right: 30rpx;"></uni-icons> |
|
|
style="height:40rpx;line-height: 40rpx;position: absolute !important;bottom:0;right: 30rpx;"></uni-icons> |
|
|
</view> |
|
|
</view> |
|
|
<view class="add-popup-container"> |
|
|
<view class="add-popup-container"> |
|
|
<input type="text" v-model="typeText" style="width: 100%;border: 1px solid #eee;height: 80rpx;padding-left: 20rpx;margin:20rpx 0;font-size: 25rpx;line-height: 80rpx;" |
|
|
<input type="text" v-model="typeText" |
|
|
|
|
|
style="width: 100%;border: 1px solid #eee;height: 80rpx;padding-left: 20rpx;margin:20rpx 0;font-size: 25rpx;line-height: 80rpx;" |
|
|
placeholder="请输入分类名称"> |
|
|
placeholder="请输入分类名称"> |
|
|
<input type="text" v-model="sortText" style="width: 100%;border: 1px solid #eee;height: 80rpx;padding-left: 20rpx;margin:20rpx 0;font-size: 25rpx;line-height: 80rpx;" |
|
|
<input type="text" v-model="sortText" |
|
|
placeholder="可设置分类排序"> |
|
|
style="width: 100%;border: 1px solid #eee;height: 80rpx;padding-left: 20rpx;margin:20rpx 0;font-size: 25rpx;line-height: 80rpx;" |
|
|
|
|
|
placeholder="可设置分类排序"> |
|
|
<view class="add-popup-bottom"> |
|
|
<view class="add-popup-bottom"> |
|
|
<view class="add-popup-btn" @tap="dialogInputConfirm(typeText)">确认</view> |
|
|
<view class="add-popup-btn" @tap="dialogInputConfirm(typeText)">确认</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -79,7 +85,8 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="shop-box" v-for="(item,index) in goodsList" :key="index" style="position: relative;"> |
|
|
<view class="shop-box" v-for="(item,index) in goodsList" :key="index" style="position: relative;"> |
|
|
<view style='height: 50rpx;line-height: 50rpx;'> |
|
|
<view style='height: 50rpx;line-height: 50rpx;'> |
|
|
<view style="width: 70%;text-align: center;border-right: 1px solid #eee;float: left;height: 50rpx;overflow: hidden;"> |
|
|
<view |
|
|
|
|
|
style="width: 70%;text-align: center;border-right: 1px solid #eee;float: left;height: 50rpx;overflow: hidden;"> |
|
|
{{item.attributeList | sliceMsg}} |
|
|
{{item.attributeList | sliceMsg}} |
|
|
</view> |
|
|
</view> |
|
|
<view style="width: 29%;text-align: center;float: left;"> |
|
|
<view style="width: 29%;text-align: center;float: left;"> |
|
|
@ -111,8 +118,8 @@ |
|
|
indexList: [], |
|
|
indexList: [], |
|
|
show: false, |
|
|
show: false, |
|
|
inputVal: '', |
|
|
inputVal: '', |
|
|
specVal:'', |
|
|
specVal: '', |
|
|
addIndex:0, |
|
|
addIndex: 0, |
|
|
typeModel: '', |
|
|
typeModel: '', |
|
|
editItem: {}, |
|
|
editItem: {}, |
|
|
delItems: {}, |
|
|
delItems: {}, |
|
|
@ -120,137 +127,137 @@ |
|
|
delType: '', |
|
|
delType: '', |
|
|
goodsList: [], |
|
|
goodsList: [], |
|
|
dialogTit: '输入分类名', |
|
|
dialogTit: '输入分类名', |
|
|
typeText:'', |
|
|
typeText: '', |
|
|
sortText:'', |
|
|
sortText: '', |
|
|
sortTextEdit:'', |
|
|
sortTextEdit: '', |
|
|
defaultList:[{ |
|
|
defaultList: [{ |
|
|
name:'颜色', |
|
|
name: '颜色', |
|
|
list:[{ |
|
|
list: [{ |
|
|
value:'均色', |
|
|
value: '均色', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'白色', |
|
|
value: '白色', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'黑色', |
|
|
value: '黑色', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'浅蓝', |
|
|
value: '浅蓝', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'蓝色', |
|
|
value: '蓝色', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'灰色', |
|
|
value: '灰色', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'咖色', |
|
|
value: '咖色', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'紫色', |
|
|
value: '紫色', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'红色', |
|
|
value: '红色', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'米色', |
|
|
value: '米色', |
|
|
checked:false, |
|
|
checked: false, |
|
|
}] |
|
|
}] |
|
|
},{ |
|
|
}, { |
|
|
name:'尺码', |
|
|
name: '尺码', |
|
|
list:[{ |
|
|
list: [{ |
|
|
value:'均码', |
|
|
value: '均码', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'XS码', |
|
|
value: 'XS码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'S码', |
|
|
value: 'S码', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'M码', |
|
|
value: 'M码', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'L码', |
|
|
value: 'L码', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'XL码', |
|
|
value: 'XL码', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'XXL码', |
|
|
value: 'XXL码', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'XXXL码', |
|
|
value: 'XXXL码', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'XXXXL码', |
|
|
value: 'XXXXL码', |
|
|
checked:false, |
|
|
checked: false, |
|
|
},{ |
|
|
}, { |
|
|
value:'25码', |
|
|
value: '25码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'26码', |
|
|
value: '26码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'27码', |
|
|
value: '27码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'28码', |
|
|
value: '28码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'29码', |
|
|
value: '29码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'30码', |
|
|
value: '30码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'31码', |
|
|
value: '31码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'32码', |
|
|
value: '32码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'33码', |
|
|
value: '33码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'34码', |
|
|
value: '34码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'35码', |
|
|
value: '35码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'36码', |
|
|
value: '36码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'37码', |
|
|
value: '37码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'38码', |
|
|
value: '38码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'39码', |
|
|
value: '39码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'40码', |
|
|
value: '40码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'41码', |
|
|
value: '41码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'42码', |
|
|
value: '42码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'43码', |
|
|
value: '43码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'44码', |
|
|
value: '44码', |
|
|
checked:false |
|
|
checked: false |
|
|
},{ |
|
|
}, { |
|
|
value:'45码', |
|
|
value: '45码', |
|
|
checked:false |
|
|
checked: false |
|
|
}] |
|
|
}] |
|
|
}], |
|
|
}], |
|
|
multipleList:[] |
|
|
multipleList: [] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
@ -291,7 +298,8 @@ |
|
|
if (type == 'edit') { |
|
|
if (type == 'edit') { |
|
|
this.inputVal = item.categoryName; |
|
|
this.inputVal = item.categoryName; |
|
|
this.editItem = item; |
|
|
this.editItem = item; |
|
|
this.sortTextEdit = (this.editItem.sort == null || this.editItem.sort == 'null') ? '' : this.editItem.sort |
|
|
this.sortTextEdit = (this.editItem.sort == null || this.editItem.sort == 'null') ? '' : this.editItem |
|
|
|
|
|
.sort |
|
|
this.$refs.delDialog.open('bottom') |
|
|
this.$refs.delDialog.open('bottom') |
|
|
} else if (type == 'add') { |
|
|
} else if (type == 'add') { |
|
|
this.inputVal = ''; |
|
|
this.inputVal = ''; |
|
|
@ -301,13 +309,13 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
close(){ |
|
|
close() { |
|
|
this.$refs.addTypeDialog.close() |
|
|
this.$refs.addTypeDialog.close() |
|
|
}, |
|
|
}, |
|
|
handleBlur(e){ |
|
|
handleBlur(e) { |
|
|
this.inputVal = e.detail.value |
|
|
this.inputVal = e.detail.value |
|
|
}, |
|
|
}, |
|
|
handleBlurSort(e){ |
|
|
handleBlurSort(e) { |
|
|
this.sortTextEdit = e.detail.value |
|
|
this.sortTextEdit = e.detail.value |
|
|
}, |
|
|
}, |
|
|
//查询分类下有没有库存 |
|
|
//查询分类下有没有库存 |
|
|
@ -340,9 +348,19 @@ |
|
|
} else { |
|
|
} else { |
|
|
that.show = true |
|
|
that.show = true |
|
|
} |
|
|
} |
|
|
|
|
|
} else { |
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
title: res1.message, |
|
|
|
|
|
icon: 'none' |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
} else { |
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
title: res.message, |
|
|
|
|
|
icon: 'none' |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
@ -369,7 +387,7 @@ |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if(e == ''){ |
|
|
if (e == '') { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: "请输入分类名", |
|
|
title: "请输入分类名", |
|
|
icon: 'none' |
|
|
icon: 'none' |
|
|
@ -380,7 +398,7 @@ |
|
|
this.NB.sendRequest('/app/productCategory/batchSaveCategoryAndAttribute', { |
|
|
this.NB.sendRequest('/app/productCategory/batchSaveCategoryAndAttribute', { |
|
|
categoryName: e, |
|
|
categoryName: e, |
|
|
sort: that.sortText, |
|
|
sort: that.sortText, |
|
|
productAttributeOfAddVos:that.multipleList |
|
|
productAttributeOfAddVos: that.multipleList |
|
|
}, false, 'POST', 'application/json').then(data => { |
|
|
}, false, 'POST', 'application/json').then(data => { |
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
@ -389,7 +407,7 @@ |
|
|
}) |
|
|
}) |
|
|
that.$refs.addTypeDialog.close() |
|
|
that.$refs.addTypeDialog.close() |
|
|
that.sortText = '' |
|
|
that.sortText = '' |
|
|
|
|
|
|
|
|
that.getGategoryList() |
|
|
that.getGategoryList() |
|
|
} else { |
|
|
} else { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
@ -398,8 +416,8 @@ |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
for(var i=0;i<that.defaultList.length;i++){ |
|
|
for (var i = 0; i < that.defaultList.length; i++) { |
|
|
for(var m=0;m<that.defaultList[i].list.length;m++){ |
|
|
for (var m = 0; m < that.defaultList[i].list.length; m++) { |
|
|
that.defaultList[i].list[m].checked = false |
|
|
that.defaultList[i].list[m].checked = false |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
@ -439,7 +457,7 @@ |
|
|
this.specVal = ''; |
|
|
this.specVal = ''; |
|
|
this.$refs.inputClose.val = '' |
|
|
this.$refs.inputClose.val = '' |
|
|
this.$refs.addClose.val = '' |
|
|
this.$refs.addClose.val = '' |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
//带删除按钮的弹窗 |
|
|
//带删除按钮的弹窗 |
|
|
dialogDel() { |
|
|
dialogDel() { |
|
|
@ -459,7 +477,7 @@ |
|
|
}) |
|
|
}) |
|
|
this.$refs.carPopup.close() |
|
|
this.$refs.carPopup.close() |
|
|
this.$refs.delDialog.close() |
|
|
this.$refs.delDialog.close() |
|
|
|
|
|
|
|
|
} else { |
|
|
} else { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: "删除失败", |
|
|
title: "删除失败", |
|
|
@ -481,62 +499,65 @@ |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
//选择多个规格保存 |
|
|
//选择多个规格保存 |
|
|
addMultipleType(item,item1,index){ |
|
|
addMultipleType(item, item1, index) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
item.list[index].checked = !item.list[index].checked |
|
|
item.list[index].checked = !item.list[index].checked |
|
|
var list = [] |
|
|
var list = [] |
|
|
if(this.multipleList == ''){ |
|
|
if (this.multipleList == '') { |
|
|
|
|
|
|
|
|
list.push(item.list[index]) |
|
|
list.push(item.list[index]) |
|
|
var data = { |
|
|
var data = { |
|
|
attributeName:item.name, |
|
|
attributeName: item.name, |
|
|
productAttributeValueVoList: list |
|
|
productAttributeValueVoList: list |
|
|
} |
|
|
} |
|
|
this.multipleList.push(data) |
|
|
this.multipleList.push(data) |
|
|
}else{ |
|
|
} else { |
|
|
for(var i=0;i<this.multipleList.length;i++){ |
|
|
for (var i = 0; i < this.multipleList.length; i++) { |
|
|
if(this.multipleList[i].attributeName == item.name){ //同种分类 |
|
|
if (this.multipleList[i].attributeName == item.name) { //同种分类 |
|
|
for(var m=0;m<this.multipleList[i].productAttributeValueVoList.length;m++){ |
|
|
for (var m = 0; m < this.multipleList[i].productAttributeValueVoList.length; m++) { |
|
|
if(this.multipleList[i].productAttributeValueVoList[m].value == item.list[index].value){ //规格相同 |
|
|
if (this.multipleList[i].productAttributeValueVoList[m].value == item.list[index] |
|
|
|
|
|
.value) { //规格相同 |
|
|
this.multipleList[i].productAttributeValueVoList.splice(m,1) |
|
|
|
|
|
|
|
|
this.multipleList[i].productAttributeValueVoList.splice(m, 1) |
|
|
|
|
|
|
|
|
return; |
|
|
return; |
|
|
}else{ //规格不同 |
|
|
} else { //规格不同 |
|
|
if(m+1 == this.multipleList[i].productAttributeValueVoList.length){ |
|
|
if (m + 1 == this.multipleList[i].productAttributeValueVoList.length) { |
|
|
|
|
|
|
|
|
this.multipleList[i].productAttributeValueVoList.push(item.list[index]) |
|
|
this.multipleList[i].productAttributeValueVoList.push(item.list[index]) |
|
|
|
|
|
|
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}else{ //不同分类 |
|
|
} else { //不同分类 |
|
|
if(this.multipleList.length == i+1){ |
|
|
if (this.multipleList.length == i + 1) { |
|
|
list.push(item.list[index]) |
|
|
list.push(item.list[index]) |
|
|
var data = { |
|
|
var data = { |
|
|
attributeName:item.name, |
|
|
attributeName: item.name, |
|
|
productAttributeValueVoList: list |
|
|
productAttributeValueVoList: list |
|
|
} |
|
|
} |
|
|
this.multipleList.push(data) |
|
|
this.multipleList.push(data) |
|
|
|
|
|
|
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|
page,.page1{ |
|
|
page, |
|
|
|
|
|
.page1 { |
|
|
font-size: 28rpx; |
|
|
font-size: 28rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.u-wrap { |
|
|
.u-wrap { |
|
|
height: calc(100vh); |
|
|
height: calc(100vh); |
|
|
/* #ifdef H5 */ |
|
|
/* #ifdef H5 */ |
|
|
@ -611,10 +632,12 @@ |
|
|
margin: 150rpx auto 0; |
|
|
margin: 150rpx auto 0; |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
.checked{ |
|
|
|
|
|
|
|
|
.checked { |
|
|
background: #60F3FF; |
|
|
background: #60F3FF; |
|
|
color: #fff; |
|
|
color: #fff; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.card-list ul {} |
|
|
.card-list ul {} |
|
|
|
|
|
|
|
|
.card-list li { |
|
|
.card-list li { |
|
|
@ -708,6 +731,7 @@ |
|
|
background: linear-gradient(90deg, #60F3FF, #088FEB); |
|
|
background: linear-gradient(90deg, #60F3FF, #088FEB); |
|
|
border-radius: 70rpx; |
|
|
border-radius: 70rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.add-popup-content { |
|
|
.add-popup-content { |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
@ -717,18 +741,18 @@ |
|
|
background-color: #fff; |
|
|
background-color: #fff; |
|
|
overflow: scroll; |
|
|
overflow: scroll; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.add-popup-title { |
|
|
.add-popup-title { |
|
|
font-size: 36rpx; |
|
|
font-size: 36rpx; |
|
|
font-weight: bold; |
|
|
font-weight: bold; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
position: relative; |
|
|
position: relative; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.add-popup-container { |
|
|
.add-popup-container { |
|
|
margin-top: 20rpx; |
|
|
margin-top: 20rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.add-popup-bottom { |
|
|
.add-popup-bottom { |
|
|
display: flex; |
|
|
display: flex; |
|
|
height: 80rpx; |
|
|
height: 80rpx; |
|
|
@ -736,17 +760,19 @@ |
|
|
line-height: 80rpx; |
|
|
line-height: 80rpx; |
|
|
margin-top: 50rpx; |
|
|
margin-top: 50rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.add-popup-btn { |
|
|
.add-popup-btn { |
|
|
flex: 1; |
|
|
flex: 1; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
background: linear-gradient(90deg, #60F3FF, #088FEB); |
|
|
background: linear-gradient(90deg, #60F3FF, #088FEB); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.title-fur { |
|
|
.title-fur { |
|
|
width: 95%; |
|
|
width: 95%; |
|
|
height: 70rpx; |
|
|
height: 70rpx; |
|
|
margin: 0 auto; |
|
|
margin: 0 auto; |
|
|
border-bottom: 1px solid #eee; |
|
|
border-bottom: 1px solid #eee; |
|
|
|
|
|
|
|
|
.name { |
|
|
.name { |
|
|
font-size: 30rpx; |
|
|
font-size: 30rpx; |
|
|
width: 90%; |
|
|
width: 90%; |
|
|
@ -755,10 +781,11 @@ |
|
|
line-height: 70rpx; |
|
|
line-height: 70rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.content-fur { |
|
|
.content-fur { |
|
|
padding-bottom: 25rpx; |
|
|
padding-bottom: 25rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.content-low { |
|
|
.content-low { |
|
|
width: auto; |
|
|
width: auto; |
|
|
border: 1px solid #eee; |
|
|
border: 1px solid #eee; |
|
|
@ -770,7 +797,8 @@ |
|
|
color: #777; |
|
|
color: #777; |
|
|
margin: 20rpx 0 0 20rpx; |
|
|
margin: 20rpx 0 0 20rpx; |
|
|
} |
|
|
} |
|
|
.type-popup{ |
|
|
|
|
|
|
|
|
.type-popup { |
|
|
width: 500rpx; |
|
|
width: 500rpx; |
|
|
height: auto; |
|
|
height: auto; |
|
|
background: #fff; |
|
|
background: #fff; |
|
|
|