Commit 7cea7852 by chenwq

style: 调整表单元素样式及布局

- 为退款地址字段增加宽度和文本域类型
- 移除多个组件中不必要的边框样式
- 优化规格值显示布局和间距
- 调整表格行样式和表单内边距
1 parent 758a500f
......@@ -554,7 +554,7 @@ html {
color: #5850ff;
background: #ffffff !important;
border-radius: 4px 4px 0px 0px;
border: 1px solid #eeedff !important;
// border: 1px solid #eeedff !important;
}
.microStore .tips-icon {
......@@ -633,13 +633,13 @@ html {
display: inline-flex;
align-items: center;
div {
display: inline-block;
width: 6px;
height: 6px;
border-radius: 50%;
margin-right: 8px;
}
// div {
// display: inline-block;
// width: 6px;
// height: 6px;
// border-radius: 50%;
// margin-right: 8px;
// }
.normal {
background-color: #2cca74;
......
......@@ -572,7 +572,7 @@ export default {
border-radius: 4px 4px 0 0;
color: #666666;
font-size: 14px;
border: 1px solid #e8e8ea;
/* border: 1px solid #e8e8ea; */
background: #fafafa;
z-index: 999;
}
......@@ -584,7 +584,7 @@ export default {
}
.home-set .home-set-form .item-box .home-set-tabs .el-tabs__item {
border-radius: 4px 4px 0px 0px;
border: 1px solid #eeedff !important;
/* border: 1px solid #eeedff !important; */
font-size: 14px;
color: #37383a;
}
......@@ -592,7 +592,7 @@ export default {
color: #5850ff;
background: #ffffff !important;
border-radius: 4px 4px 0px 0px;
border: 1px solid #ffffff !important;
/* border: 1px solid #ffffff !important; */
border-bottom: none !important;
}
.microStore.home-set .el-tabs__item {
......
......@@ -59,7 +59,7 @@
<div>
<span class="specs-title">规格名:</span>
<span class="specs-item">{{ subItem.specificationName }}</span>
<div style="position: absolute; right: -50px; top: 50%;">
<div style="position: absolute; right: -50px; top: 45%;">
<el-button class="el-icon-edit-outline" style="padding: 0 0" v-show="!isDisabled" type="text" @click="handleSpecsEdit(2, subItem, subIndex)"></el-button>
<el-button class="el-icon-delete" style="padding: 0; margin-left: 8px" v-show="!isDisabled" type="text" @click="handleSpecsDelete(subIndex)"></el-button>
</div>
......@@ -68,7 +68,7 @@
<span style="width: 56px;">规格值:</span>
<div class="flex-default" style="width: calc(100% - 56px); flex-wrap: wrap;">
<!-- <div> -->
<div class="specs-item" style="display: inline-block; margin-bottom: 12px;" v-for="(n, idx) in subItem.platformSpecificationValueList" :key="idx">{{ n.specificationValue }}</div>
<span class="specs-item" style="display: inline-block; margin-bottom: 12px; line-height: 22px;" v-for="(n, idx) in subItem.platformSpecificationValueList" :key="idx">{{ n.specificationValue }}</span>
<!-- </div> -->
</div>
</div>
......@@ -79,7 +79,7 @@
<div :style="{ width: `calc(100% - ${defaultLabelWidth} )` }">
<table class="table-spesc">
<tbody>
<tr style="padding: 17px 0; background: #F4F6FC; box-shadow: 0px 1px 5px 0px rgba(38, 38, 38, 0.1);">
<tr style="padding: 17px 0;">
<td :style="{ width: specsWidth }" v-for="(subItem, subIndex) in specificationDetailList" :key="subIndex">{{ subItem.specificationName }}</td>
<td :style="{ width: specsWidth }">供货价(元)</td>
<td :style="{ width: specsWidth }">库存(件)</td>
......@@ -1223,7 +1223,7 @@ export default {
position: relative;
box-sizing: border-box;
width: 684px;
padding: 22px 20px;
padding: 4px 16px;
color: #3a3a3a;
background: #f9f9f9;
border: 1px solid #f9f9f9;
......@@ -1283,6 +1283,7 @@ export default {
background-color: #f7f7f7;
border: 1px dotted #d9d9d9;
cursor: pointer;
border-radius: 4px;
}
.microStore .muti-imgs {
......
......@@ -59,7 +59,7 @@
<div>
<span class="specs-title">规格名:</span>
<span class="specs-item">{{ subItem.specificationName }}</span>
<div style="position: absolute; right: -50px; top: 50%;">
<div style="position: absolute; right: -50px; top: 45%;">
<el-button class="el-icon-edit-outline" style="padding: 0 0" v-show="!isDisabled" type="text" @click="handleSpecsEdit(2, subItem, subIndex)"></el-button>
<el-button class="el-icon-delete" style="padding: 0; margin-left: 8px" v-show="!isDisabled" type="text" @click="handleSpecsDelete(subIndex)"></el-button>
</div>
......@@ -68,7 +68,7 @@
<span style="width: 56px;">规格值:</span>
<div class="flex-default" style="width: calc(100% - 56px); flex-wrap: wrap;">
<!-- <div> -->
<div class="specs-item" style="display: inline-block; margin-bottom: 12px;" v-for="(n, idx) in subItem.platformSpecificationValueList" :key="idx">{{ n.specificationValue }}</div>
<span class="specs-item" style="display: inline-block; margin-bottom: 12px; line-height: 22px;" v-for="(n, idx) in subItem.platformSpecificationValueList" :key="idx">{{ n.specificationValue }}</span>
<!-- </div> -->
</div>
</div>
......@@ -79,7 +79,7 @@
<div :style="{ width: `calc(100% - ${defaultLabelWidth} )` }">
<table class="table-spesc">
<tbody>
<tr style="padding: 17px 0; background: #F4F6FC; box-shadow: 0px 1px 5px 0px rgba(38, 38, 38, 0.1);">
<tr style="padding: 17px 0;">
<td :style="{ width: specsWidth }" v-for="(subItem, subIndex) in specificationDetailList" :key="subIndex">{{ subItem.specificationName }}</td>
<td :style="{ width: specsWidth }">供货价(元)</td>
<td :style="{ width: specsWidth }">库存(件)</td>
......@@ -1223,7 +1223,7 @@ export default {
position: relative;
box-sizing: border-box;
width: 684px;
padding: 22px 20px;
padding: 4px 16px;
color: #3a3a3a;
background: #f9f9f9;
border: 1px solid #f9f9f9;
......@@ -1283,6 +1283,7 @@ export default {
background-color: #f7f7f7;
border: 1px dotted #d9d9d9;
cursor: pointer;
border-radius: 4px;
}
.microStore .muti-imgs {
......
......@@ -349,6 +349,8 @@ export default {
label: '退款地址:',
name: 'address',
type: 'input',
width: '400px',
inputType: 'textarea',
placeholder: '请输入退款地址',
maxlength: 50
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!