Browse Source

妥妥银服-贷款计算器样式优化

panyong 3 years ago
parent
commit
cd3681464d
1 changed files with 38 additions and 1 deletions
  1. 38 1
      htmldev/loan/src/views/loan/calculator/index.vue

+ 38 - 1
htmldev/loan/src/views/loan/calculator/index.vue

@@ -304,6 +304,43 @@ export default {
     this.$refreshTitle('房贷计算器')
     this.$route.meta.isUseCache = false
   },
+  watch: {
+    loanTypeIndx: {
+      handler: function () {
+        this.handleComputed()
+      }
+    },
+    gjjjine: {
+      handler: function () {
+        this.handleComputed()
+      }
+    },
+    gjjlilv: {
+      handler: function () {
+        this.handleComputed()
+      }
+    },
+    gjjnianxianIndex: {
+      handler: function () {
+        this.handleComputed()
+      }
+    },
+    sdjine: {
+      handler: function () {
+        this.handleComputed()
+      }
+    },
+    sdlilv: {
+      handler: function () {
+        this.handleComputed()
+      }
+    },
+    hkfangshiIndex: {
+      handler: function () {
+        this.handleComputed()
+      }
+    }
+  },
   methods: {
     // 贷款类型
     onConfirm0 (value, index) {
@@ -473,7 +510,7 @@ form {
   border-top-right-radius: 12px;
   padding: 10px 0 20px;
   margin-bottom: 16px;
-  background: #EBE1D7;
+  background: linear-gradient(90deg, #E5C7A5 0%, #CFAA7F 100%);
 
   .left,
   .right {