This commit is contained in:
@@ -60,6 +60,7 @@
|
||||
<text class="dialog-title">{{ currentCategory.name }} - 属性配置</text>
|
||||
</view>
|
||||
<view class="dialog-body">
|
||||
<view v-if="attributes.length === 0" class="empty-tip">暂无属性,点击下方按钮添加</view>
|
||||
<view v-for="(attr, index) in attributes" :key="index" class="attr-item">
|
||||
<input class="input attr-name" v-model="attr.name" placeholder="属性名称" />
|
||||
<select class="input attr-type" v-model="attr.attrType">
|
||||
@@ -465,6 +466,13 @@ export default {
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
|
||||
.empty-tip {
|
||||
text-align: center;
|
||||
color: #999;
|
||||
padding: 40rpx 0;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
.add-attr-btn {
|
||||
padding: 20rpx;
|
||||
text-align: center;
|
||||
|
||||
Reference in New Issue
Block a user