修改导航页

This commit is contained in:
952108534@qq.com 2022-01-10 11:15:16 +08:00
parent 8d00674559
commit 9c43246e1c
5 changed files with 70 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -10,6 +10,19 @@
<img :src=item.catimage alt=""> <img :src=item.catimage alt="">
</li> </li>
</ul> </ul>
<ol>
<li v-for="(item,index) in usermessage" :key="index" @click="usertiao(item,index)">
<img :src=item.catimage alt="">
<span>{{item.address}}</span>
</li>
</ol>
<!-- <ol>
<li v-for="(usermes,index) in usermessage" :key="index" @click="huangjia(item,index)" ></li>
<span>{{usermes.address}}</span>
<img :src=usermes.catimage alt="">
</ol> -->
</div> </div>
</div> </div>
@ -54,6 +67,40 @@ data(){
catimage: require("../../assets/image/rc-left.png"), catimage: require("../../assets/image/rc-left.png"),
}, },
], ],
usermessage: [
{
address: "皇家官方公众号",
catimage: require("../../assets/image/weixin.png"),
},
{
address: "皇家爱宠荟",
catimage: require("../../assets/image/xiaochenxu.png"),
},
{
address: "皇家官方社群",
catimage: require("../../assets/image/weixin.png"),
},
{
address: "微博",
catimage: require("../../assets/image/weibo.png"),
},
{
address: "与我们联系",
catimage: require("../../assets/image/xiaochenxu.png"),
},
{
address: "关于我们",
catimage: require("../../assets/image/rc-left.png"),
},
],
} }
}, },
methods:{ methods:{
@ -187,6 +234,29 @@ color: #444444;
} }
} }
} }
ol{
display: flex;
flex-direction: column;
border-bottom: 1px solid #D7D7D7;
font-size: 16px;
color: #444444;
li{
border-bottom: 1px solid #D7D7D7;
display: flex;
align-items: center;
height: 50px;
span{
margin-left: 10px;
}
}
img{
width: 23px;
height: 19px;
display: block;
}
}
} }
} }
// /* 768px1920 *pc/ // /* 768px1920 *pc/