Quellcode durchsuchen

新增按钮文字色

hml vor 2 Jahren
Ursprung
Commit
3c513d10fb
1 geänderte Dateien mit 11 neuen und 1 gelöschten Zeilen
  1. 11 1
      purchase_ao/src/views/strategy/add.vue

+ 11 - 1
purchase_ao/src/views/strategy/add.vue

@@ -236,6 +236,10 @@
                       </el-popover>
                       <el-color-picker v-model="productJson.btnBotcol" size="small" show-alpha />
                     </el-col>
+                    <el-col style="display: flex;" :span="7">
+                      <el-button style="margin-right:20px ;width: 100px;" type="text">按钮文字色</el-button>
+                      <el-color-picker v-model="productJson.btnTextCol" size="small" show-alpha />
+                    </el-col>
                   </el-row>
                   <el-row style="margin:0" :gutter="24">
                     <el-col style="display: flex;" :span="7">
@@ -407,6 +411,10 @@
                       <el-button style="margin-right:20px ;width: 100px;" type="text">按钮色(下)</el-button>
                       <el-color-picker v-model="viceJson.btnBotcol" size="small" show-alpha />
                     </el-col>
+                    <el-col style="display: flex;" :span="7">
+                      <el-button style="margin-right:20px ;width: 100px;" type="text">按钮文字色</el-button>
+                      <el-color-picker v-model="viceJson.btnTextCol" size="small" show-alpha />
+                    </el-col>
                   </el-row>
                   <el-row style="margin:0" :gutter="24">
                     <el-col style="display: flex;" :span="7">
@@ -950,7 +958,8 @@ export default {
         orderImg: "", //订购窗图
         explainImg: "", //产品说明图
         productV: "2",//产品ui样式,
-        explainTitle: "" //订购窗标题图
+        explainTitle: "", //订购窗标题图,
+        btnTextCol:""
       },  //产品json
       otherJson: {}, // 备用json
       // 副产品json
@@ -974,6 +983,7 @@ export default {
         explainImg: "", //产品说明图
         productV: "2",
         drawVal: "0", //副产品动画
+        btnTextCol:""
       },
       // 客户端适配
       disposeList: [