Browse Source

btb商务页开发

gaoxm 7 years ago
parent
commit
3ec310fd85

+ 16 - 13
components/btbBusiness/banner.vue

@@ -3,8 +3,8 @@
     <div class="content">
       <p class="title" v-if="showAd"><marquee scrollAmount=1 width=501 direction="left" behavior="alternate">B2B商务】和【优软商城】牵手成功!大家可以更全面、便捷地了解和享受平台的各项服务咯!</marquee><a @click="showAd = false"><img src="/images/btbBusiness/close.png"></a></p>
       <div class="clearfix">
-        <h4 class="pull-left">B2B商务</h4>
-        <a class="pull-left enter">立即体验</a>
+       <!-- <h4 class="pull-left">B2B商务</h4>-->
+        <a class="enter">立即体验</a>
       </div>
       <p class="first">十年深耕,携您飞跃<br>
         优软B2B商务,为您提供更强大的功能服务</p>
@@ -12,7 +12,6 @@
     </div>
   </div>
 </template>
-
 <script>
   export default {
     name: 'BannerView',
@@ -23,11 +22,10 @@
     }
   }
 </script>
-
 <style type="text/scss" lang="scss" scoped>
   .banner{
     width: 100%;
-    height: 620px;
+    height: 481px;
     min-width: 1190px;
     background: url('/images/btbBusiness/btbBanner.png')no-repeat center center;
     .content{
@@ -47,11 +45,17 @@
         font-size: 12px;
         color: #fdfbfb;
         border-radius: 4px;
+        padding-left: 30px;
+        position: relative;
         background-color: rgba(255, 255, 255, 0.18);
+        img{
+          float: right;
+          margin: 5px 10px 0px 0px;
+        }
         &::before{
            content: '';
            display: inline-block;
-           position: relative;
+           position: absolute;
            top: 7px;
            left: 10px;
            margin-right: 10px;
@@ -61,9 +65,9 @@
          }
       }
       h4{
-        margin: 125px 0px 70px 0px;
+        margin: 120px 0px 60px 0px;
         font-family: MicrosoftYaHei-Bold;
-        font-size: 54px;
+        font-size: 48px;
         line-height: 40px;
         letter-spacing: 2px;
         color: #fff600;
@@ -71,7 +75,7 @@
       .enter{
         display: inline-block;
         padding-left: 21px;
-        margin: 128px 0px 70px 20px;
+        margin: 125px 0px 60px 20px;
         width: 148px;
         height: 38px;
         line-height: 38px;
@@ -96,15 +100,14 @@
       }
       p.first{
         width: 594px;
-        font-size: 30px;
+        font-size: 18px;
         letter-spacing: 1px;
         color: #fcfdfe;
-        line-height: 43px;
+        line-height: 33px;
       }
       p:last-child{
         width: 582px;
-        font-size: 18px;
-        line-height: 30px;
+        line-height: 25px;
         color: #feffff;
       }
     }

+ 184 - 359
components/btbBusiness/features.vue

@@ -1,88 +1,50 @@
 <template>
-  <div class="merchant">
+  <div class="features">
     <div class="container">
       <div class="top clearfix">
         <div class="title">
-          <p>High quality dealer</p>
-          <h2>供应商列表</h2>
-          <div class="count">
-            <img src="/images/supplier/count.png" alt=""/>
-            <div class="count_num">
-              <span v-for="spCount in all" v-text="spCount"></span>
-            </div>
-          </div>
-        </div>
-        <div class="search">
-          <div class="input-group">
-            <input type="search" class="form-control" title="code" placeholder="名称/地址/行业"
-                   v-model="searchCode" @keyup.13="goodsSearch(searchCode)" @search="goodsSearch(searchCode)"/>
-            <span class="input-group-btn">
-            <button type="button" class="btn" @click="goodsSearch(searchCode)">&nbsp;查 询</button>
-          </span>
-          </div>
-        </div>
-      </div>
-
-      <div class="list_info">
-        <div class="empty" v-if="!list.content || list.content.length === 0">
-          <img src="/images/supplier/icon/empty.png">
-          <div class="info">
-            <p>暂无供应商信息</p>
-            <a href="javascript:history.go(-1)"><i class="fa fa-reply" style="margin-right:5px;"></i>返回上一页</a>
-          </div>
-        </div>
-        <ul class="list-inline">
-          <li v-for="item in list.content" @click="jumpResource(item.enUU)">
-            <div class="has_shop" v-if="item.isStore === 1">已开店</div>
-            <div class="enterprise_name" v-text="item.enName">深圳英优软科技有限公司</div>
-            <div class="select_btn" v-html="isInFrame ? '添加为<br/>供应商' : '查看<br/>更多'" @mouseleave="hasJump = false" @mouseenter="hasJump = true" @click="addResource(item.enUU)"></div>
-            <div class="popups">
-              <p>企业执照号:</p><p v-text="item.enBusinesscode ? item.enBusinesscode : '暂无信息'">1</p>
-              <p>地址:</p><p v-text="item.enAddress ? item.enAddress : '暂无信息'">1</p>
-              <p>邮箱:</p><p v-text="item.enEmail ? item.enEmail : '暂无信息'">h</p>
-              <p>电话:</p><p v-text="item.enTel ? item.enTel : '暂无信息'">1</p>
-              <p>行业:</p><p v-text="item.enIndustry ? item.enIndustry : '暂无信息'">1</p>
-            </div>
-          </li>
-        </ul>
-        <div style="float: right;">
-          <page :total="list.totalElements" :page-size="pageParams.count"
-                :current="pageParams.page" v-on:childEvent="handleCurrentChange">
-          </page>
+          <p>Five major features</p>
+          <h2>五大特点</h2>
         </div>
       </div>
-      <el-dialog
-        title="提示"
-        :visible.sync="hasDialog ">
-        <div class="form_dialog">
-          <p><span>供应商正在完善产品信息,</span>暂时不能查看更多。 </p>
-        </div>
-        <span slot="footer" class="dialog-footer">
-        <a type="button" @click="hasDialog=false">我知道了</a>
-      </span>
-      </el-dialog>
+      <ul class="content clearfix list-unstyled">
+        <li v-for="(data, index) in featureData" @click="openUrl('/')" :class="{'move': hasAnimation }"
+            @mouseenter="hasAnimation = false"
+            @mouseleave="hasAnimation = true">
+            <div><p>{{data.illustrationF}}</p><p class="illustration">{{data.illustrationS}}</p></div>
+    </li>
+      </ul>
     </div>
   </div>
 </template>
 
 <script>
-  import Page from '~components/common/page/pageComponent.vue'
   export default {
-    name: 'MerchantView',
+    name: 'FiveFeature',
     data () {
       return {
-        hasDialog: false,
-        hasJump: false,
-        searchCode: '',
-        pageParams: {
-          count: 20,
-          page: 1
-        }
+        featureData: [{
+          illustrationF: '颠覆传统ERP及',
+          illustrationS: '管理软件市场模式'
+        }, {
+          illustrationF: '平台用户的链式',
+          illustrationS: '反应式发展'
+        }, {
+          illustrationF: '企业信息化',
+          illustrationS: '全面解决方案'
+        }, {
+          illustrationF: '全过程的移动',
+          illustrationS: '互联解决方案'
+        }, {
+          illustrationF: ' 全智能的',
+          illustrationS: '交易平台'
+        }, {
+          illustrationF: '平台用户的链式',
+          illustrationS: '反应式发展'
+        }],
+        hasAnimation: true
       }
     },
-    components: {
-      Page
-    },
     computed: {
       isInFrame () {
         if (this.$route.query.type === 'erp') {
@@ -97,316 +59,179 @@
         let supplierCount = count.content ? count.totalElements + '' : '00000'
         return this.formatNumber(supplierCount, 5)
       }
-    },
-    methods: {
-      // 供应商数字格式转换
-      formatNumber (num, key) {
-        let count = ('00000' + num).substr(-key)
-        let _arr = []
-        for (var i = 0; i < count.length; i++) {
-          _arr.push(count[i])
-        }
-        return _arr
-      },
-      addResource (id) {
-        if (this.isInFrame) {
-          this.$http.get(`/basic/enterprise /${id}/info`)
-            .then(res => {
-              if (res.data) {
-                window.open(this.$route.query.localPath + this.$route.query.erpPath + '?b2bdata=' + encodeURIComponent(JSON.stringify(res.data)))
-              }
-            })
-            .catch(err => {
-              console.log(err)
-            })
-        } else {
-          this.isVaildSupplier(id)
-        }
-      },
-      jumpResource (id) {
-        if (!this.hasJump) {
-          this.isVaildSupplier(id)
-        }
-      },
-      // 判断是否有有效物料信息
-      isVaildSupplier (id) {
-        this.$http.get('vendor/introduction/product/count', {params: {vendUU: id}})
-          .then(res => {
-            if (res.data.count !== 0) {
-              this.$router.push('supplier/' + id)
-            } else {
-              this.hasDialog = true
-            }
-          }, err => {
-            console.log(err)
-          })
-      },
-      goodsSearch (type) {
-        this.pageParams.page = 1
-        this.$store.dispatch('supplier/loadVendorList', {page: this.pageParams.page, size: this.pageParams.count, keyword: type})
-      },
-      handleCurrentChange (type) {
-        this.pageParams.page = type
-        this.$store.dispatch('supplier/loadVendorList', {page: type, size: this.pageParams.count, keyword: this.searchCode})
-      }
     }
   }
 </script>
 
-<style type="text/scss" lang="scss">
-  .merchant{
-    background: #ecf1f1 url(/images/supplier/banner.jpg)no-repeat;
-    border-top:3px solid #000;
-    padding-bottom:25px;
-    margin-top:-1.5em;
-    .el-dialog{
-      width: 290px!important;
-      .el-dialog__header{
-        background: #4290f7;
-        line-height: 40px;
-        padding: 0 20px 0;
-        .el-dialog__title{
-          color:#fff;
-        }
-        .el-dialog__headerbtn:hover .el-dialog__close, .el-dialog__headerbtn:focus .el-dialog__close{
-          color:#fff;
-        }
-      }
-      .el-dialog__body{
-        padding: 10px 20px;
-      }
-      .el-dialog__footer{
-        text-align: center;
-        a{
-          display:inline-block;
-          background: #3c7cf5;
-          color:#fff;
-          font-size: 14px;
-          line-height: 30px;
-          height:30px;
-          padding:0 10px;
-          border-radius:5px;
-        }
-      }
-    }
-    .form_dialog{
-      p{
-        width:200px;
-        font-size: 14px;
-        color:#666666;
-        margin:0 auto;
-        padding-top:5px;
-        line-height: 20px;
-        span{
-          color:#eb6054;
-        }
-      }
-    }
-    .top{
-      padding-top:30px;
-      margin-bottom:40px;
-      .title{
-        margin:0 auto;
-        text-align: center;
-        width:215px;
-        border-bottom:1px solid #ff5151;
-        color:#fff;
-        p{
-          margin:0;
-        }
-        h2{
-          font-size: 32px;
-          margin:0;
-          line-height: 46px;
-        }
-        div.count{
-          position: relative;
-          .count_num {
-            position:absolute;
-            top:4px;
-            left:3px;
-            span {
-              display:inline-block;
-              width:29px;
-              text-align: center;
-              font-size: 28px;
-              color:#4a2f01;
-            }
+<style type="text/scss" lang="scss" scoped>
+  @keyframes featureTop {
+    0%{top: 0;}
+    50%{top: 40px;}
+    100%{top: 0px;}
+  }
+  @-webkit-keyframes featureTop {
+    0%{top: 0;}
+    50%{top: 40px;}
+    100%{top: 0px;}
+  }
+  @-moz-keyframes featureTop {
+    0%{top: 0;}
+    50%{top: 40px;}
+    100%{top: 0px;}
+  }
+  @-o-keyframes featureTop {
+    0%{top: 0;}
+    50%{top: 40px;}
+    100%{top: 0px;}
+  }
+  @keyframes featureBottom {
+    0%{top: 40px;}
+    50%{top: 0px;}
+    100%{top: 40px;}
+  }
+  @-webkit-keyframes featureBottom {
+    0%{top: 40px;}
+    50%{top: 0px;}
+    100%{top: 40px;}
+  }
+  @-moz-keyframes featureBottom {
+    0%{top: 40px;}
+    50%{top: 0px;}
+    100%{top: 40px;}
+  }
+  @-o-keyframes featureBottom {
+    0%{top: 40px;}
+    50%{top: 0px;}
+    100%{top: 40px;}
+  }
+  .features{
+    width: 100%;
+    min-width: 1190px;
+    height: 464px;
+    background-color: #f7f7f7;
+    .container{
+      width: 1190px;
+      margin: 0 auto;
+      .top{
+        padding-top:30px;
+        margin-bottom:50px;
+        .title{
+          margin: 0 auto;
+          text-align: center;
+          width:215px;
+          border-bottom:1px solid #ff7070;
+          p{
+            margin:0;
+            font-family: FZLTXHK;
+            font-size: 14px;
+            color: #666;
           }
-        }
-        &:before{
-          content: '';
-          display:block;
-          position:relative;
-          left:55px;
-          top:61px;
-          width:105px;
-          height:1px;
-          background: #ff8a00;
-        }
-        &:after{
-          content: '';
-          display:block;
-          position:relative;
-          left:55px;
-          top:4px;
-          width:105px;
-          height:1px;
-          background: #fff600;
-        }
-      }
-      .search{
-        float:right;
-        width:310px;
-        text-align: right;
-        margin-right:10px;
-        .btn{
-          width:68px;
-          background: #ffa200;
-          color:#fff;
-        }
-      }
-    }
-    .list_info{
-      padding: 0 10px;
-      min-height:300px;
-      margin-bottom:100px;
-      .empty{
-        height:418px;
-        border:15px solid #c4e9f9;
-        background: #eef9fd;
-        padding-top:165px;
-        text-align: center;
-        img{
-          vertical-align: top;
-          margin-right:15px;
-        }
-        .info{
-          display: inline-block;
-          padding-top:10px;
-        }
-      }
-      > ul{
-        margin-left:5px;
-        li{
-          position:relative;
-          vertical-align: top;
-          width:267px;
-          height:115px;
-          border-radius:5px;
-          margin-right:32px;
-          margin-bottom:60px;
-          background: #ffffff;
-          box-shadow: 0 3px 10px rgba(0,0,0,.8);
-          &:nth-child(4n) {
-            margin-right:0;
+          h2{
+            font-size: 32px;
+            margin:0;
+            line-height: 46px;
+            color: #333;
           }
-          &:after{
+          &::before{
             content: '';
             display:block;
-            position:absolute;
-            top:99%;
-            left:50%;
-            z-index:200;
-            width:88px;
-            height:22px;
-            margin-left:-44px;
-            background: url(/images/supplier/icon/bottom_center_img.png)no-repeat;
+            position:relative;
+            left:55px;
+            top:61px;
+            width:105px;
+            height:1px;
+            background: #00caff;
           }
-          .has_shop {
-            position:absolute;
-            right:0;
-            top:0;
-            width:68px;
-            height:22px;
-            background: url(/images/supplier/icon/top_right_img.png)no-repeat;
-            color:#fff;
-            font-weight: bold;
-            text-align: center;
-            line-height: 22px;
+          &::after{
+            content: '';
+            display:block;
+            position:relative;
+            left:55px;
+            top:4px;
+            width:105px;
+            height:1px;
+            background: #4391f7;
           }
-          .enterprise_name{
-            padding-top:15px;
-            width:98%;
-            overflow: hidden;
-            text-overflow: ellipsis;
-            white-space:nowrap;
-            border-bottom:1px solid #b9def7;
-            font-weight: bold;
-            color:#1891e4;
-            font-size: 18px;
-            line-height: 48px;
-            text-align: center;
+        }
+
+      }
+      .content{
+        width: 1140px;
+        height: 228px;
+        margin: 0 auto;
+        padding-left: 3px;
+        li{
+          float: left;
+          height: 228px;
+          width: 165px;
+          margin-right: 29px;
+          &:nth-child(6){
+            margin-right: 0px;
           }
-          .select_btn{
-            position:absolute;
-            bottom:-10px;
-            left:50%;
-            z-index:250;
-            width:56px;
-            height:56px;
-            padding:10px 0;
-            margin-left:-28px;
-            text-align: center;
-            line-height: 18px;
-            background: #1891e4;
-            border-radius:50%;
-            color:#fff;
+          &:nth-child(2), &:nth-child(4), &:nth-child(6){
+            div{
+              top: 40px;
+              animation: featureTop 3s linear infinite;
+              -moz-animation: featureTop 3s linear infinite;
+              -o-animation: featureTop 3s linear infinite;
+              -webkit-animation: featureTop 3s linear infinite;
+            }
           }
-          &:hover{
-            cursor:pointer;
-            .popups{
-              top:99%;
-              opacity:1;
-              z-index:100;
+          &:nth-child(1), &:nth-child(3), &:nth-child(5){
+            div{
+              top: 0px;
+              animation: featureBottom 3s linear infinite;
+              -moz-animation: featureBottom 3s linear infinite;
+              -o-animation: featureBottom 3s linear infinite;
+              -webkit-animation: featureBottom 3s linear infinite;
+
             }
           }
-          .popups{
-            position:absolute;
-            top:50px;
-            left:0;
-            background: #6c6c6c;
-            width:267px;
-            min-height:20px;
-            padding:20px 15px 5px 10px;
-            transition: all .5s ease;
-            opacity: 0;
-            color:#fff;
-            overflow: hidden;
-            p{
-              float:left;
-              margin: 0 !important;
-              line-height: 18px;
-              max-height:18px;
-              overflow: hidden;
-              text-overflow: ellipsis;
-              white-space: nowrap;
-              &:nth-child(2n-1){
-                width:42px;
-              }
-              &:first-child{
-                width:85px;
-              }
-              &:nth-child(2n){
-                width:200px;
-              }
-              &:nth-child(2){
-                width:155px;
-              }
-              &:nth-child(4){
-                max-height:38px;
-                overflow: hidden;
-                white-space:pre-wrap;
-                word-wrap:break-word;
+          div{
+            width: 163px;
+            height: 186px;
+            padding-top:80px;
+            position: relative;
+            background: url('/images/btbBusiness/feature-bg0.png') no-repeat center;
+            &:hover{
+              background: url('/images/btbBusiness/feature-bg1.png') no-repeat center;
+              p{
+                color: #2d84fd;
               }
+            }
+            p {
+              margin: 0px;
+              font-size: 18px;
+              text-align: center;
+              width: 100%;
+              color: #fff;
               &:last-child{
-                overflow: hidden;
-                text-overflow: ellipsis;
-                white-space: nowrap;
+                font-weight: 600;
               }
             }
           }
         }
+        .hasAnimation{
+          &:nth-child(2), &:nth-child(4), &:nth-child(6){
+            div{
+              top: 40px;
+              animation: featureTop 3s linear infinite;
+              -moz-animation: featureTop 3s linear infinite;
+              -o-animation: featureTop 3s linear infinite;
+              -webkit-animation: featureTop 3s linear infinite;
+            }
+          }
+          &:nth-child(1), &:nth-child(3), &:nth-child(5){
+            div{
+              top: 0px;
+              animation: featureBottom 3s linear infinite;
+              -moz-animation: featureBottom 3s linear infinite;
+              -o-animation: featureBottom 3s linear infinite;
+              -webkit-animation: featureBottom 3s linear infinite;
+
+            }
+          }
+        }
       }
     }
   }

+ 111 - 363
components/btbBusiness/means.vue

@@ -1,88 +1,58 @@
 <template>
-  <div class="merchant">
+  <div class="means">
     <div class="container">
       <div class="top clearfix">
         <div class="title">
-          <p>High quality dealer</p>
-          <h2>供应商列表</h2>
-          <div class="count">
-            <img src="/images/supplier/count.png" alt=""/>
-            <div class="count_num">
-              <span v-for="spCount in all" v-text="spCount"></span>
-            </div>
-          </div>
-        </div>
-        <div class="search">
-          <div class="input-group">
-            <input type="search" class="form-control" title="code" placeholder="名称/地址/行业"
-                   v-model="searchCode" @keyup.13="goodsSearch(searchCode)" @search="goodsSearch(searchCode)"/>
-            <span class="input-group-btn">
-            <button type="button" class="btn" @click="goodsSearch(searchCode)">&nbsp;查 询</button>
-          </span>
-          </div>
+          <p>Auxiliary means</p>
+          <h2>辅助工具</h2>
         </div>
       </div>
-
-      <div class="list_info">
-        <div class="empty" v-if="!list.content || list.content.length === 0">
-          <img src="/images/supplier/icon/empty.png">
-          <div class="info">
-            <p>暂无供应商信息</p>
-            <a href="javascript:history.go(-1)"><i class="fa fa-reply" style="margin-right:5px;"></i>返回上一页</a>
-          </div>
-        </div>
-        <ul class="list-inline">
-          <li v-for="item in list.content" @click="jumpResource(item.enUU)">
-            <div class="has_shop" v-if="item.isStore === 1">已开店</div>
-            <div class="enterprise_name" v-text="item.enName">深圳英优软科技有限公司</div>
-            <div class="select_btn" v-html="isInFrame ? '添加为<br/>供应商' : '查看<br/>更多'" @mouseleave="hasJump = false" @mouseenter="hasJump = true" @click="addResource(item.enUU)"></div>
-            <div class="popups">
-              <p>企业执照号:</p><p v-text="item.enBusinesscode ? item.enBusinesscode : '暂无信息'">1</p>
-              <p>地址:</p><p v-text="item.enAddress ? item.enAddress : '暂无信息'">1</p>
-              <p>邮箱:</p><p v-text="item.enEmail ? item.enEmail : '暂无信息'">h</p>
-              <p>电话:</p><p v-text="item.enTel ? item.enTel : '暂无信息'">1</p>
-              <p>行业:</p><p v-text="item.enIndustry ? item.enIndustry : '暂无信息'">1</p>
-            </div>
-          </li>
-        </ul>
-        <div style="float: right;">
-          <page :total="list.totalElements" :page-size="pageParams.count"
-                :current="pageParams.page" v-on:childEvent="handleCurrentChange">
-          </page>
-        </div>
-      </div>
-      <el-dialog
-        title="提示"
-        :visible.sync="hasDialog ">
-        <div class="form_dialog">
-          <p><span>供应商正在完善产品信息,</span>暂时不能查看更多。 </p>
-        </div>
-        <span slot="footer" class="dialog-footer">
-        <a type="button" @click="hasDialog=false">我知道了</a>
-      </span>
-      </el-dialog>
+      <ul class="content clearfix list-unstyled">
+       <li>
+         <h4>UAS系统</h4>
+         <p>UAS通过为客户提供信息化产品以及咨询服务,帮助客户在多组织、跨地域快速发展时从容地管理自己的业务,同时帮助客户累积信息和知识,使客户能在坚实基础上健康成长。<br>
+         基于对客户需求独特的理解,为客户建立专业、有效、具协同性和集成性管理系统,从而帮助客户简化日常运作管理,最大化地提升客户竞争力。<br>
+         UAS建立在B/S架构上,包括ERP、OA、CRM、HR、PLM等模块。UAS同时还能支持集团公司的运作,区分多公司、多工厂的模式</p></li>
+        <li><img src="/images/btbBusiness/feature-bg0.png"></li>
+        <li>
+          <h4>优软商城</h4>
+          <p style="margin-bottom: 15px;">优软商城(UsoftMall)成立于2016年,总部位于南山区高新技术产业园科技南5路英唐大厦一楼。 优软商城是由深圳市优软商城科技有限公司,为真正地解决电子信息行业的众多难题,秉持回归互联网精神的 “分享与链接”, 基于垂直细分理念打造的一个全球询价共享平台。 优软商城智能询价求购服务基于大数据结合人工智能,智能自动匹配商家询价求购信息,让供应商商机无限拓展,让采购商省时省力更省心。 目前我们拥有7千多家企业用户 7500家的原厂品牌,拥有超过1100万现货型号,交易额月均8亿,2017年公司产业互联网平台“优软云” GMV 已破100亿元,2018年目标有望超过300 亿元。 优软商城的主要服务有:询价求购、入驻开店、供应商资源对接、品牌墙、标准器件库、器件选型、垫资代采 。</p>
+          <h4>优企云服</h4>
+          <p>优软SAAS是UAS在云模式下的精简版,核心是给企业提供与优软B2B平台进行有效对接的内部管理软件。<br>
+            制造业及流通业的中小规模的企业,通过租用方式,在优软SAAS上开通企业数据库,进行内部的物流、
+            财务、制造、流程等的管控。</p>
+        </li>
+      </ul>
     </div>
   </div>
 </template>
 
 <script>
-  import Page from '~components/common/page/pageComponent.vue'
   export default {
-    name: 'MerchantView',
+    name: 'FiveFeature',
     data () {
       return {
-        hasDialog: false,
-        hasJump: false,
-        searchCode: '',
-        pageParams: {
-          count: 20,
-          page: 1
-        }
+        featureData: [{
+          illustrationF: '颠覆传统ERP及',
+          illustrationS: '管理软件市场模式'
+        }, {
+          illustrationF: '平台用户的链式',
+          illustrationS: '反应式发展'
+        }, {
+          illustrationF: '企业信息化',
+          illustrationS: '全面解决方案'
+        }, {
+          illustrationF: '全过程的移动',
+          illustrationS: '互联解决方案'
+        }, {
+          illustrationF: ' 全智能的',
+          illustrationS: '交易平台'
+        }, {
+          illustrationF: '平台用户的链式',
+          illustrationS: '反应式发展'
+        }]
       }
     },
-    components: {
-      Page
-    },
     computed: {
       isInFrame () {
         if (this.$route.query.type === 'erp') {
@@ -97,315 +67,93 @@
         let supplierCount = count.content ? count.totalElements + '' : '00000'
         return this.formatNumber(supplierCount, 5)
       }
-    },
-    methods: {
-      // 供应商数字格式转换
-      formatNumber (num, key) {
-        let count = ('00000' + num).substr(-key)
-        let _arr = []
-        for (var i = 0; i < count.length; i++) {
-          _arr.push(count[i])
-        }
-        return _arr
-      },
-      addResource (id) {
-        if (this.isInFrame) {
-          this.$http.get(`/basic/enterprise /${id}/info`)
-            .then(res => {
-              if (res.data) {
-                window.open(this.$route.query.localPath + this.$route.query.erpPath + '?b2bdata=' + encodeURIComponent(JSON.stringify(res.data)))
-              }
-            })
-            .catch(err => {
-              console.log(err)
-            })
-        } else {
-          this.isVaildSupplier(id)
-        }
-      },
-      jumpResource (id) {
-        if (!this.hasJump) {
-          this.isVaildSupplier(id)
-        }
-      },
-      // 判断是否有有效物料信息
-      isVaildSupplier (id) {
-        this.$http.get('vendor/introduction/product/count', {params: {vendUU: id}})
-          .then(res => {
-            if (res.data.count !== 0) {
-              this.$router.push('supplier/' + id)
-            } else {
-              this.hasDialog = true
-            }
-          }, err => {
-            console.log(err)
-          })
-      },
-      goodsSearch (type) {
-        this.pageParams.page = 1
-        this.$store.dispatch('supplier/loadVendorList', {page: this.pageParams.page, size: this.pageParams.count, keyword: type})
-      },
-      handleCurrentChange (type) {
-        this.pageParams.page = type
-        this.$store.dispatch('supplier/loadVendorList', {page: type, size: this.pageParams.count, keyword: this.searchCode})
-      }
     }
   }
 </script>
 
-<style type="text/scss" lang="scss">
-  .merchant{
-    background: #ecf1f1 url(/images/supplier/banner.jpg)no-repeat;
-    border-top:3px solid #000;
-    padding-bottom:25px;
-    margin-top:-1.5em;
-    .el-dialog{
-      width: 290px!important;
-      .el-dialog__header{
-        background: #4290f7;
-        line-height: 40px;
-        padding: 0 20px 0;
-        .el-dialog__title{
-          color:#fff;
-        }
-        .el-dialog__headerbtn:hover .el-dialog__close, .el-dialog__headerbtn:focus .el-dialog__close{
-          color:#fff;
-        }
-      }
-      .el-dialog__body{
-        padding: 10px 20px;
-      }
-      .el-dialog__footer{
-        text-align: center;
-        a{
-          display:inline-block;
-          background: #3c7cf5;
-          color:#fff;
-          font-size: 14px;
-          line-height: 30px;
-          height:30px;
-          padding:0 10px;
-          border-radius:5px;
-        }
-      }
-    }
-    .form_dialog{
-      p{
-        width:200px;
-        font-size: 14px;
-        color:#666666;
-        margin:0 auto;
-        padding-top:5px;
-        line-height: 20px;
-        span{
-          color:#eb6054;
-        }
-      }
-    }
-    .top{
-      padding-top:30px;
-      margin-bottom:40px;
-      .title{
-        margin:0 auto;
-        text-align: center;
-        width:215px;
-        border-bottom:1px solid #ff5151;
-        color:#fff;
-        p{
-          margin:0;
-        }
-        h2{
-          font-size: 32px;
-          margin:0;
-          line-height: 46px;
-        }
-        div.count{
-          position: relative;
-          .count_num {
-            position:absolute;
-            top:4px;
-            left:3px;
-            span {
-              display:inline-block;
-              width:29px;
-              text-align: center;
-              font-size: 28px;
-              color:#4a2f01;
-            }
+<style type="text/scss" lang="scss" scoped>
+
+  .means{
+    width: 100%;
+    min-width: 1190px;
+    height: 604px;
+    .container{
+      width: 1190px;
+      margin: 0 auto;
+      .top{
+        padding-top:30px;
+        margin-bottom:50px;
+        .title{
+          margin: 0 auto;
+          text-align: center;
+          width:215px;
+          border-bottom:1px solid #ff7070;
+          p{
+            margin:0;
+            font-family: FZLTXHK;
+            font-size: 14px;
+            color: #666;
           }
-        }
-        &:before{
-          content: '';
-          display:block;
-          position:relative;
-          left:55px;
-          top:61px;
-          width:105px;
-          height:1px;
-          background: #ff8a00;
-        }
-        &:after{
-          content: '';
-          display:block;
-          position:relative;
-          left:55px;
-          top:4px;
-          width:105px;
-          height:1px;
-          background: #fff600;
-        }
-      }
-      .search{
-        float:right;
-        width:310px;
-        text-align: right;
-        margin-right:10px;
-        .btn{
-          width:68px;
-          background: #ffa200;
-          color:#fff;
-        }
-      }
-    }
-    .list_info{
-      padding: 0 10px;
-      min-height:300px;
-      margin-bottom:100px;
-      .empty{
-        height:418px;
-        border:15px solid #c4e9f9;
-        background: #eef9fd;
-        padding-top:165px;
-        text-align: center;
-        img{
-          vertical-align: top;
-          margin-right:15px;
-        }
-        .info{
-          display: inline-block;
-          padding-top:10px;
-        }
-      }
-      > ul{
-        margin-left:5px;
-        li{
-          position:relative;
-          vertical-align: top;
-          width:267px;
-          height:115px;
-          border-radius:5px;
-          margin-right:32px;
-          margin-bottom:60px;
-          background: #ffffff;
-          box-shadow: 0 3px 10px rgba(0,0,0,.8);
-          &:nth-child(4n) {
-            margin-right:0;
+          h2{
+            font-size: 32px;
+            margin:0;
+            line-height: 46px;
+            color: #333;
           }
-          &:after{
+          &::before{
             content: '';
             display:block;
-            position:absolute;
-            top:99%;
-            left:50%;
-            z-index:200;
-            width:88px;
-            height:22px;
-            margin-left:-44px;
-            background: url(/images/supplier/icon/bottom_center_img.png)no-repeat;
-          }
-          .has_shop {
-            position:absolute;
-            right:0;
-            top:0;
-            width:68px;
-            height:22px;
-            background: url(/images/supplier/icon/top_right_img.png)no-repeat;
-            color:#fff;
-            font-weight: bold;
-            text-align: center;
-            line-height: 22px;
+            position:relative;
+            left:55px;
+            top:61px;
+            width:105px;
+            height:1px;
+            background: #00caff;
           }
-          .enterprise_name{
-            padding-top:15px;
-            width:98%;
-            overflow: hidden;
-            text-overflow: ellipsis;
-            white-space:nowrap;
-            border-bottom:1px solid #b9def7;
-            font-weight: bold;
-            color:#1891e4;
-            font-size: 18px;
-            line-height: 48px;
-            text-align: center;
+          &::after{
+            content: '';
+            display:block;
+            position:relative;
+            left:55px;
+            top:4px;
+            width:105px;
+            height:1px;
+            background: #4391f7;
           }
-          .select_btn{
-            position:absolute;
-            bottom:-10px;
-            left:50%;
-            z-index:250;
-            width:56px;
-            height:56px;
-            padding:10px 0;
-            margin-left:-28px;
-            text-align: center;
-            line-height: 18px;
-            background: #1891e4;
-            border-radius:50%;
-            color:#fff;
+        }
+
+      }
+      .content{
+        width: 100%;
+        margin: 0 auto;
+        padding-left:2px;
+        li{
+          float: left;
+          margin-right: 41px;
+          width: 366px;
+          h4{
+            font-family: MicrosoftYaHei-Bold !important;
+            color: #2c7adf;
+            font-size: 16px;
+            margin: 0px 0px 15px 0;
           }
-          &:hover{
-            cursor:pointer;
-            .popups{
-              top:99%;
-              opacity:1;
-              z-index:100;
-            }
+          p{
+            font-size: 12px;
+            color: #666666;
+            line-height: 20px;
           }
-          .popups{
-            position:absolute;
-            top:50px;
-            left:0;
-            background: #6c6c6c;
-            width:267px;
-            min-height:20px;
-            padding:20px 15px 5px 10px;
-            transition: all .5s ease;
-            opacity: 0;
-            color:#fff;
-            overflow: hidden;
+          &:nth-child(1){
             p{
-              float:left;
-              margin: 0 !important;
-              line-height: 18px;
-              max-height:18px;
-              overflow: hidden;
-              text-overflow: ellipsis;
-              white-space: nowrap;
-              &:nth-child(2n-1){
-                width:42px;
-              }
-              &:first-child{
-                width:85px;
-              }
-              &:nth-child(2n){
-                width:200px;
-              }
-              &:nth-child(2){
-                width:155px;
-              }
-              &:nth-child(4){
-                max-height:38px;
-                overflow: hidden;
-                white-space:pre-wrap;
-                word-wrap:break-word;
-              }
-              &:last-child{
-                overflow: hidden;
-                text-overflow: ellipsis;
-                white-space: nowrap;
-              }
+              text-align: right;
             }
           }
+          &:nth-child(2){
+            width: 355px;
+          }
+          &:nth-child(3){
+            width: 376px;
+            margin-right: 0px;
+          }
         }
       }
     }

+ 27 - 53
components/btbBusiness/service.vue

@@ -8,7 +8,9 @@
         </div>
       </div>
       <ul class="content clearfix list-unstyled">
-        <li v-for="(data, index) in serviceData" >
+        <li v-for="(data, index) in serviceData" @click="openUrl('/')"
+            @mouseenter="setStatus('in', index)"
+            @mouseleave="setStatus('out', index)">
           <div>
             <img :src="data.imgUrl">
           </div>
@@ -23,7 +25,6 @@
 </template>
 
 <script>
-  import Page from '~components/common/page/pageComponent.vue'
   export default {
     name: 'PlatformService',
     data () {
@@ -55,9 +56,6 @@
           }]
       }
     },
-    components: {
-      Page
-    },
     computed: {
       isInFrame () {
         if (this.$route.query.type === 'erp') {
@@ -74,55 +72,28 @@
       }
     },
     methods: {
-      // 供应商数字格式转换
-      formatNumber (num, key) {
-        let count = ('00000' + num).substr(-key)
-        let _arr = []
-        for (var i = 0; i < count.length; i++) {
-          _arr.push(count[i])
-        }
-        return _arr
-      },
-      addResource (id) {
-        if (this.isInFrame) {
-          this.$http.get(`/basic/enterprise /${id}/info`)
-            .then(res => {
-              if (res.data) {
-                window.open(this.$route.query.localPath + this.$route.query.erpPath + '?b2bdata=' + encodeURIComponent(JSON.stringify(res.data)))
-              }
-            })
-            .catch(err => {
-              console.log(err)
-            })
-        } else {
-          this.isVaildSupplier(id)
-        }
-      },
-      jumpResource (id) {
-        if (!this.hasJump) {
-          this.isVaildSupplier(id)
+      // 鼠标移入更换图标
+      setStatus: function (type, index) {
+        switch (index) {
+          case 0:
+            this.serviceData[index].imgUrl = type === 'in' ? '/images/btbBusiness/customer1.png' : '/images/btbBusiness/customer0.png'
+            break
+          case 1:
+            this.serviceData[index].imgUrl = type === 'in' ? '/images/btbBusiness/procurement1.png' : '/images/btbBusiness/procurement0.png'
+            break
+          case 2:
+            this.serviceData[index].imgUrl = type === 'in' ? '/images/btbBusiness/sales1.png' : '/images/btbBusiness/sales0.png'
+            break
+          case 3:
+            this.serviceData[index].imgUrl = type === 'in' ? '/images/btbBusiness/subcontract1.png' : '/images/btbBusiness/subcontract0.png'
+            break
+          case 4:
+            this.serviceData[index].imgUrl = type === 'in' ? '/images/btbBusiness/quality1.png' : '/images/btbBusiness/quality0.png'
+            break
+          case 5:
+            this.serviceData[index].imgUrl = type === 'in' ? '/images/btbBusiness/financial1.png' : '/images/btbBusiness/financial0.png'
+            break
         }
-      },
-      // 判断是否有有效物料信息
-      isVaildSupplier (id) {
-        this.$http.get('vendor/introduction/product/count', {params: {vendUU: id}})
-          .then(res => {
-            if (res.data.count !== 0) {
-              this.$router.push('supplier/' + id)
-            } else {
-              this.hasDialog = true
-            }
-          }, err => {
-            console.log(err)
-          })
-      },
-      goodsSearch (type) {
-        this.pageParams.page = 1
-        this.$store.dispatch('supplier/loadVendorList', {page: this.pageParams.page, size: this.pageParams.count, keyword: type})
-      },
-      handleCurrentChange (type) {
-        this.pageParams.page = type
-        this.$store.dispatch('supplier/loadVendorList', {page: type, size: this.pageParams.count, keyword: this.searchCode})
       }
     }
   }
@@ -193,6 +164,9 @@
           &:nth-child(4), &:nth-child(5), &:nth-child(6) {
             margin-top: 82px;
           }
+          &:hover{
+            cursor: point;
+          }
           div{
             float: left;
              h2{

BIN
static/images/btbBusiness/btbBanner.jpg


BIN
static/images/btbBusiness/btbBanner.png


BIN
static/images/btbBusiness/feature-bg0.png


BIN
static/images/btbBusiness/feature-bg1.png