Commit c49529b8 by 萱草

update: 样式更改

parent ba99c522
......@@ -52,7 +52,7 @@
<el-dropdown-item style="width:200px" :command="m" v-for="m in standardValueList" :key="m.specValueId">{{ m.specValue }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<div class="table-img" v-if="!index && isStdImg">
<div class="table-img" v-if="!index && isStdImg && item.valueList.length">
<div class="triangle"></div>
<el-upload class="avatar-uploader" :action="uploadAction" :show-file-list="false" with-credentials :on-success="(response, file, fileList) => tableUploadSuccess(response, file, fileList, v)" :before-upload="tableBeforeUpload">
<img v-if="v.propImg" :src="v.propImg" class="avatar" />
......@@ -66,7 +66,7 @@
<span class="el-icon-error" @click="deleteValue(item, v, index, n)"></span>
</div>
<el-button type="text" @click="addValue(item)">添加规格值</el-button>
<p v-if="!index && isStdImg" style="font-size: 12px; color: rgb(144, 147, 153);margin-top:129px">仅支持为第一组规格设置规格图片,买家选择不同规格会看到对应规格图片,建议尺寸 800*800px。</p>
<p v-if="!index && isStdImg" :class="[item.valueList.length ? 'hasValueList' : 'emptyValueList']">仅支持为第一组规格设置规格图片,买家选择不同规格会看到对应规格图片,建议尺寸 800*800px。</p>
</div>
</div>
</div>
......@@ -1545,6 +1545,15 @@ export default {
color: #909399;
}
}
.emptyValueList{
font-size: 12px;
color: rgb(144, 147, 153);
}
.hasValueList{
font-size: 12px;
color: rgb(144, 147, 153);
margin-top: 129px;
}
}
}
}
......
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