Kaynağa Gözat

Merge branch 'feature/v4.10.19' of https://jygit.jydev.jianyu360.cn/qmx/jy into feature/v4.10.19

wangchuanjin 3 hafta önce
ebeveyn
işleme
1ded46df41

+ 6 - 1
src/web/staticres/bid-fileinter/css/product-introduce.css

@@ -21,7 +21,9 @@
   background: linear-gradient(90deg, #5AFDFB 0%, #154BFF 100%);
 }
 .u-button.u-bg-purpose-blue {
-  background: linear-gradient(90deg, #8186F3 0%, #0055FF 100%);
+  /* background: linear-gradient(90deg, #8186F3 0%, #0055FF 100%); */
+  background: linear-gradient(90deg, #8186F3 0%, #0055FF 95.34%);
+
 }
 .u-button.u-bg-cyan-blue {
   background: linear-gradient(90deg, #6CEFCA 0%, #4342FF 100%);
@@ -40,6 +42,9 @@
   color: #fff;
   background: linear-gradient(90deg, #7B1CFF 0%, #DD00FF 100%);
 }
+.u-button.u-bg-pink-purpose {
+  background: linear-gradient(90deg, #D787FB 0%, #742FF9 100%);
+}
 
 
 

+ 1 - 1
src/web/staticres/bid-fileinter/js/product-introduce-config.js

@@ -408,7 +408,7 @@ var __page_config = {
         title: '优势渠道 优先对接',
         subtitle: '精准识别<span class="color-purpose">匹配度达90%</span>以上的优质合作伙伴,<br />缩短洽谈周期。',
         buttonText: '立即体验',
-        buttonClass: 'u-bg-purpose-blue',
+        buttonClass: 'u-bg-pink-purpose',
         source: 'customer_experience',
         bannerImageSrc: '/bid-fileinter/image/khtz/banner-bg3@2x.png'
       },

+ 9 - 1
src/web/templates/frontRouter/pc/brand/free/property.html

@@ -171,6 +171,9 @@ $(function () {
         success: function(res) {
           if (res && Array.isArray(res.data)) {
             _this.powerList = res.data
+            if (_this.checkPower()) {
+              $('.contact_content button').text('立即使用')
+            }
           }
         }
       })
@@ -179,10 +182,15 @@ $(function () {
       var options = options || {}
       simpleLeaveSource.doLeaveInfo(source, options)
     },
+    checkPower: function () {
+      var _this = this
+      var power = 'bi_yx_wyzb'
+      return Array.isArray(_this.powerList) && this.powerList.indexOf(power) !== -1
+    },
     initEvents: function() {
       var _this = this
       $('.contact button').on('click', function() {
-        if (Array.isArray(_this.powerList) && _this.powerList.indexOf('bi_yx_wyzb') !== -1) {
+        if (_this.checkPower()) {
           _this.toProductPage()
         } else {
           _this.doLeaveInfo('pc_property_consult')