hookehuyr

颜色样式调整

...@@ -112,16 +112,20 @@ ...@@ -112,16 +112,20 @@
112 <div v-else class="text-empty">请选择成员</div> 112 <div v-else class="text-empty">请选择成员</div>
113 </div> 113 </div>
114 </div> 114 </div>
115 - <el-form-item v-if="state.select_attr_set" prop="attr"> 115 + <!-- <el-form-item v-if="state.select_attr_set" prop="attr" style="width: 100%;"> -->
116 - <el-radio-group 116 + <!-- <el-radio-group
117 v-model="state.attr_radio" 117 v-model="state.attr_radio"
118 size="large" 118 size="large"
119 class="attr-radio-group" 119 class="attr-radio-group"
120 > 120 >
121 <el-radio-button label="基础属性" /> 121 <el-radio-button label="基础属性" />
122 <el-radio-button label="更多属性" /> 122 <el-radio-button label="更多属性" />
123 - </el-radio-group> 123 + </el-radio-group> -->
124 - </el-form-item> 124 + <!-- </el-form-item> -->
125 + <el-tabs v-if="state.select_attr_set" v-model="state.attr_radio" @tab-click="handleAttrClick" stretch>
126 + <el-tab-pane label="基础属性" name="基础属性"></el-tab-pane>
127 + <el-tab-pane label="更多属性" name="更多属性"></el-tab-pane>
128 + </el-tabs>
125 <el-form-item v-if="state.attr_radio === '基础属性'" prop=""> 129 <el-form-item v-if="state.attr_radio === '基础属性'" prop="">
126 <div slot="label"> 130 <div slot="label">
127 <div style="display: flex; align-items: center; justify-content: space-between;width:266px; margin-bottom: 15px;"> 131 <div style="display: flex; align-items: center; justify-content: space-between;width:266px; margin-bottom: 15px;">
...@@ -311,7 +315,7 @@ ...@@ -311,7 +315,7 @@
311 </div> 315 </div>
312 </el-tooltip> --> 316 </el-tooltip> -->
313 <div style="position: absolute; top: 15px; right: 160px; width: 80px;"> 317 <div style="position: absolute; top: 15px; right: 160px; width: 80px;">
314 - <div @click="saveData" style="border: 1px solid #009688; width: 100%; height: 25px; border-radius: 5px; color: #009688; text-align: center; line-height: 25px; cursor: pointer;">保存</div> 318 + <div @click="saveData" style="border: 1px solid #009688; width: 100%; height: 25px; border-radius: 5px; background-color: #009688; color: #fff; text-align: center; line-height: 25px; cursor: pointer;">保存</div>
315 </div> 319 </div>
316 <div class="select-version-wrapper"> 320 <div class="select-version-wrapper">
317 <el-dropdown trigger="click"> 321 <el-dropdown trigger="click">
...@@ -967,7 +971,10 @@ export default { ...@@ -967,7 +971,10 @@ export default {
967 /***************** END *******************/ 971 /***************** END *******************/
968 972
969 function handleActiveChange(name: any) { 973 function handleActiveChange(name: any) {
970 - console.warn(name) 974 + // console.warn(name)
975 + }
976 + const handleAttrClick = (tab, event) => {
977 + // console.warn(tab.props.name);
971 } 978 }
972 979
973 /************** 字段权限操作 ***************/ 980 /************** 字段权限操作 ***************/
...@@ -1967,6 +1974,7 @@ export default { ...@@ -1967,6 +1974,7 @@ export default {
1967 deleteFlowVersion, 1974 deleteFlowVersion,
1968 saveFlowVersionNote, 1975 saveFlowVersionNote,
1969 handleActiveChange, 1976 handleActiveChange,
1977 + handleAttrClick,
1970 onAuthVisibleChange, 1978 onAuthVisibleChange,
1971 onAuthEditableChange, 1979 onAuthEditableChange,
1972 onAuthAllChange, 1980 onAuthAllChange,
...@@ -2127,9 +2135,10 @@ body { ...@@ -2127,9 +2135,10 @@ body {
2127 align-items: center; 2135 align-items: center;
2128 margin-bottom: 5px; 2136 margin-bottom: 5px;
2129 /* .left { 2137 /* .left {
2130 - }
2131 - .right {
2132 } */ 2138 } */
2139 + .right {
2140 + color: #bbb;
2141 + }
2133 .active { 2142 .active {
2134 color: #009688; 2143 color: #009688;
2135 } 2144 }
...@@ -2236,4 +2245,8 @@ body { ...@@ -2236,4 +2245,8 @@ body {
2236 border-color: #009688 !important; 2245 border-color: #009688 !important;
2237 box-shadow: -1px 0 0 0 #009688 !important; 2246 box-shadow: -1px 0 0 0 #009688 !important;
2238 } 2247 }
2248 +
2249 +.el-tabs__item:hover {
2250 + color: #009688!important;
2251 +}
2239 </style> 2252 </style>
......