12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <template>
- <view class="content">
- <view class="content1 flex-all-center relative">
- <view class="user">
- <image src="../../static/logo.png" mode="widthFix" class="img"></image>
- <view class="name">
- 我是昵称
- </view>
- </view>
- <view class="position">
- <u-icon name="share-square" color="#2979ff" size="28"></u-icon>
- <u-icon name="grid-fill" color="#2979ff" size="28"></u-icon>
- </view>
- </view>
- <view class="content2">
- <view class="row" v-for="item in menuList" @click="menuClick(item.type)">
- <span class="left">{{item.name}}</span>
- <span class="right">></span>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- menuList:[
- {
- name:"我的名片",
- type:'myInfo'
- },
- {
- name:"我的主页",
- type:'myHome'
- },
- {
- name:"账号",
- type:"myAccount"
- },
- {
- name:"名片分类",
- type:"cardType"
- },
- {
- name:"我的证件",
- type:"myCard"
- },
- {
- name:"帮助说明",
- type:"help"
- },
- {
- name:"联系客服",
- type:"contactCustomer"
- },
- {
- name:"设置",
- type:'set'
- },
- ]
- };
- },
- methods:{
- menuClick(typeName){
- let _url = '/pages/mySet/'+typeName
- console.log(_url)
- uni.navigateTo({
- url:_url
- })
- }
- }
-
- }
- </script>
- <style lang="scss" scoped>
- .content1{
-
- .img{
- width: 100rpx;
- border-radius: 50%;
- }
- }
- </style>
|