|
@@ -1,37 +1,39 @@
|
|
|
<template>
|
|
|
- <div class="h5-menu-container">
|
|
|
- <nuxt-link to="/"> 首页 </nuxt-link>
|
|
|
+ <div class="phone-popper-box">
|
|
|
+ <nuxt-link to="/">首页</nuxt-link>
|
|
|
<el-collapse>
|
|
|
<el-collapse-item title="产品与服务">
|
|
|
- <nuxt-link :to="item.url" v-for="(item,index) in chanpinfuwu" :key="index">
|
|
|
- <div class="popover-left">
|
|
|
- <img :src="item.img">
|
|
|
- </div>
|
|
|
- <div class="popover-left">
|
|
|
- <span class="popover-left-title">{{ item.title }}</span>
|
|
|
- <span class="popover-left-des">{{ item.des }}</span>
|
|
|
- </div>
|
|
|
+ <nuxt-link :to="item.url" v-for="(item,index) in chanpinfuwu" :key="index" class="cpfw-popper-item">
|
|
|
+ <i></i>
|
|
|
+ <p>
|
|
|
+ <span class="phone-popper-title">{{ item.title }}</span>
|
|
|
+ <span class="phone-popper-des">{{ item.des }}</span>
|
|
|
+ </p>
|
|
|
</nuxt-link>
|
|
|
</el-collapse-item>
|
|
|
<el-collapse-item title="解决方案">
|
|
|
- <div>
|
|
|
+ <div class="jjfa-popper-content">
|
|
|
<h3>场景解决方案</h3>
|
|
|
- <nuxt-link :to="item.url" v-for="item in changjing" :key="item.url">
|
|
|
- {{item.title}}
|
|
|
- </nuxt-link>
|
|
|
+ <div class="jjfa-link-box">
|
|
|
+ <nuxt-link :to="item.url" v-for="item in changjing" :key="item.url">
|
|
|
+ <span class="jjfa-popper-title">{{item.title}}</span>
|
|
|
+ </nuxt-link>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div>
|
|
|
+ <div class="jjfa-popper-content">
|
|
|
<h3>行业解决方案</h3>
|
|
|
- <nuxt-link :to="item.url" v-for="item in hangye" :key="item.url">
|
|
|
- {{item.title}}
|
|
|
- </nuxt-link>
|
|
|
+ <div class="jjfa-link-box">
|
|
|
+ <nuxt-link :to="item.url" v-for="item in hangye" :key="item.url">
|
|
|
+ <span class="jjfa-popper-title">{{item.title}}</span>
|
|
|
+ </nuxt-link>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
</el-collapse-item>
|
|
|
</el-collapse>
|
|
|
- <nuxt-link to="/news"> 新闻资讯 </nuxt-link>
|
|
|
- <nuxt-link to="/introduction"> 关于我们 </nuxt-link>
|
|
|
+ <nuxt-link to="/news" class="xwzx-row">新闻资讯</nuxt-link>
|
|
|
+ <nuxt-link to="/introduction">关于我们</nuxt-link>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -142,11 +144,49 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-.h5-menu-container {
|
|
|
+.phone-popper-box {
|
|
|
position: absolute;
|
|
|
- top: 60px;
|
|
|
+ top: 61px;
|
|
|
background: #fff;
|
|
|
- width: 90%;
|
|
|
- height: auto;
|
|
|
+ width: 100%;
|
|
|
+ left: 0;
|
|
|
+ padding: 0 15px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ overflow: auto;
|
|
|
+ height: calc(100vh - 112px);
|
|
|
+ >a{
|
|
|
+ height: 48px;
|
|
|
+ line-height: 48px;
|
|
|
+ display: block;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #333;
|
|
|
+ }
|
|
|
+ // 新闻资讯
|
|
|
+ .xwzx-row{border-bottom: 1px solid #EBEEF5;}
|
|
|
+
|
|
|
+ // 产品服务 - 二级菜单
|
|
|
+ .cpfw-popper-item{
|
|
|
+ width: 100%;height: 80px;border-radius: 5px;background-color: rgba(187, 187, 187, 0.2);
|
|
|
+ margin-bottom: 10px;display: flex;align-items: center;padding: 20px;box-sizing: border-box;
|
|
|
+ i{width: 34px;height: 34px;background-size: contain;display: inline-block;margin-right: 16px;background-repeat:no-repeat;background-position: center;}
|
|
|
+ .phone-popper-title{font-size: 14px;color: #333;margin-bottom: 4px;display: inline-block;}
|
|
|
+ .phone-popper-des{display:block;font-size: 12px;color: #9c9c9c;}
|
|
|
+
|
|
|
+ // 列表
|
|
|
+ &:nth-child(1){i{background-image:url("~static/images/client/component/head-cp-icon1.png");} }
|
|
|
+ &:nth-child(2){i{background-image:url("~static/images/client/component/head-cp-icon2.png");} }
|
|
|
+ &:nth-child(3){i{background-image:url("~static/images/client/component/head-cp-icon3.png");} }
|
|
|
+ &:nth-child(4){i{background-image:url("~static/images/client/component/head-cp-icon4.png");} }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 解决方案 - 二级菜单
|
|
|
+ .jjfa-popper-content{
|
|
|
+ width: 100%;border-radius: 5px;background-color: rgba(187, 187, 187, 0.2);margin-bottom: 10px;padding: 10px;box-sizing: border-box;
|
|
|
+ h3{font-size: 16px;color: #333;display: block;font-weight: 700;margin-left: 8px;}
|
|
|
+ .jjfa-link-box{width: 100%;display: flex;flex-wrap: wrap;}
|
|
|
+ a{width: 33.33%;padding: 5px 8px;box-sizing: border-box}
|
|
|
+ .jjfa-popper-title{width:100%;height: 24px;line-height: 24px;text-align:center;display:inline-block;
|
|
|
+ font-size: 12px;color: rgba(16, 16, 16, 100);border-radius: 5px;border: 1px solid rgba(187, 187, 187, 100);}
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|