|
|
|
@ -8,12 +8,9 @@ |
|
|
|
<li v-for="(item, index) in indexList" :key="index" @tap="clickList(item)"> |
|
|
|
<view class="name"> |
|
|
|
<text>{{item.categoryName}}</text> |
|
|
|
</view> |
|
|
|
<view class="bj-btn" @tap.stop="inputDialogToggle('edit', item)"> |
|
|
|
<u-icon name="edit-pen-fill" size="22"></u-icon> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- <button @tap.stop="goGategoryLow(item.id)">编辑规格</button> --> |
|
|
|
<u-icon name="edit-pen-fill" size="22" @tap.stop="inputDialogToggle('edit', item)"></u-icon> |
|
|
|
</view> |
|
|
|
<button class="bj-btn" @tap.stop="goGategoryLow(item.id)">编辑规格</button> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</view> |
|
|
|
@ -50,12 +47,12 @@ |
|
|
|
style="height:40rpx;line-height: 40rpx;position: absolute !important;bottom:0;right: 30rpx;"></uni-icons> |
|
|
|
</view> |
|
|
|
<view class="add-popup-container"> |
|
|
|
<!-- <view> |
|
|
|
<view> |
|
|
|
<text style="color:red;font-size:22rpx;">*您可以点击默认项快捷添加分类,如没有想要的快捷项,可以手动输入</text> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
<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="请输入分类名称"> |
|
|
|
<!-- <ul> |
|
|
|
<ul> |
|
|
|
<li v-for="(item,index) in defaultList" :key="index"> |
|
|
|
<view class="title-fur"> |
|
|
|
<view class="name">{{item.name}}</view> |
|
|
|
@ -67,7 +64,7 @@ |
|
|
|
@tap.stop="addMultipleType(item,item1.value,index1)">{{item1.value}}</view> |
|
|
|
</view> |
|
|
|
</li> |
|
|
|
</ul> --> |
|
|
|
</ul> |
|
|
|
<view class="add-popup-bottom"> |
|
|
|
<view class="add-popup-btn" @tap="dialogInputConfirm(typeText)">确认</view> |
|
|
|
</view> |
|
|
|
@ -76,7 +73,7 @@ |
|
|
|
</uni-popup> |
|
|
|
<!-- 查看商品库存弹出层 --> |
|
|
|
<uni-popup ref="carPopup" background-color="#fff"> |
|
|
|
<view class="popup-content" style="height:auto !important;max-height: 1000rpx;overflow: scroll;"> |
|
|
|
<view class="popup-content" style="height:auto !important;"> |
|
|
|
<view style="font-size: 36rpx;font-weight: bold;text-align: center;">提示</view> |
|
|
|
<view v-if="goodsList !=''" |
|
|
|
style="width:100%;font-weight:bold;text-align: center;font-size: 28rpx;margin: 20rpx 0;"> |
|
|
|
@ -190,13 +187,13 @@ |
|
|
|
value:'XL码', |
|
|
|
checked:false, |
|
|
|
},{ |
|
|
|
value:'2XL码', |
|
|
|
value:'XXL码', |
|
|
|
checked:false, |
|
|
|
},{ |
|
|
|
value:'3XL码', |
|
|
|
value:'XXXL码', |
|
|
|
checked:false, |
|
|
|
},{ |
|
|
|
value:'4XL码', |
|
|
|
value:'XXXXL码', |
|
|
|
checked:false, |
|
|
|
},{ |
|
|
|
value:'25码', |
|
|
|
@ -308,7 +305,7 @@ |
|
|
|
this.inputVal = ''; |
|
|
|
this.isOpenId = item; |
|
|
|
this.dialogTit = '输入分类名' |
|
|
|
this.$refs.addTypeDialog.open('center') |
|
|
|
this.$refs.addTypeDialog.open('bottom') |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
@ -543,9 +540,12 @@ |
|
|
|
}, |
|
|
|
//选择多个规格保存 |
|
|
|
addMultipleType(item,item1,index){ |
|
|
|
|
|
|
|
|
|
|
|
item.list[index].checked = !item.list[index].checked |
|
|
|
var list = [] |
|
|
|
if(this.multipleList == ''){ |
|
|
|
|
|
|
|
list.push(item.list[index]) |
|
|
|
var data = { |
|
|
|
attributeName:item.name, |
|
|
|
@ -687,9 +687,10 @@ |
|
|
|
} |
|
|
|
|
|
|
|
.bj-btn { |
|
|
|
width: 80rpx; |
|
|
|
width: 120rpx; |
|
|
|
height: 60rpx; |
|
|
|
font-size: 26rpx; |
|
|
|
background: red; |
|
|
|
margin: 20rpx 0; |
|
|
|
float: left; |
|
|
|
padding: 0; |
|
|
|
@ -697,7 +698,7 @@ |
|
|
|
} |
|
|
|
|
|
|
|
.name { |
|
|
|
width: 86%; |
|
|
|
width: 75%; |
|
|
|
float: left; |
|
|
|
display: flex; |
|
|
|
} |
|
|
|
@ -770,8 +771,8 @@ |
|
|
|
align-items: center; |
|
|
|
justify-content: center; |
|
|
|
padding: 15px; |
|
|
|
width: 500rpx; |
|
|
|
height: 350rpx; |
|
|
|
width: 100%; |
|
|
|
height: 1300rpx; |
|
|
|
background-color: #fff; |
|
|
|
} |
|
|
|
|
|
|
|
|