1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <template>
- <view>
- <view class="head">
- <image src="../../static/mic.png" mode="" style="width: 100rpx;height: 100rpx;"></image>
- <view class="nickname">
- 昵称
- </view>
- </view>
- <view class="content">
- <view class="contact">
- <view class="row">
- <view class="flex justify-space-between kf">
- <button class="left-btn" open-type='contact'>联系客服</button>
- <u-icon name="arrow-right" color="#909399" size="16"></u-icon>
- </view>
- </view>
- <view class="row" @click="toPage">
- <view class="left">
- 去用户端
- </view>
- <view class="right">
- >
- </view>
- </view>
-
- </view>
- </view>
- <u-tabbar :value="tabbarCheck" @change="tabbarChange" activeColor="#5F7DE9">
- <u-tabbar-item name="team" text="加入">
- <image class="u-page__item__slot-icon" slot="active-icon"
- src="@/static/image/nav-icon/antOutline-team Copy.png"></image>
- <image class="u-page__item__slot-icon" slot="inactive-icon"
- src="@/static/image/nav-icon/antOutline-team.png"></image>
- </u-tabbar-item>
- <u-tabbar-item name="notification" text="通知">
- <image class="u-page__item__slot-icon" slot="active-icon"
- src="@/static/image/nav-icon/md-notifications_none Copy.png"></image>
- <image class="u-page__item__slot-icon" slot="inactive-icon"
- src="@/static/image/nav-icon/md-notifications_none.png"></image>
- </u-tabbar-item>
- <u-tabbar-item name="user" text="我的">
- <image class="u-page__item__slot-icon" slot="active-icon"
- src="@/static/image/nav-icon/antOutline-user1 Copy.png"></image>
- <image class="u-page__item__slot-icon" slot="inactive-icon"
- src="@/static/image/nav-icon/antOutline-user1.png"></image>
- </u-tabbar-item>
- </u-tabbar>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- tabbarCheck: 'user',
- }
- },
- methods: {
- toPage(){
- uni.switchTab({
- url:"/pages/food/food"
- })
- },
- tabbarChange(e) {
- console.log(e)
- if (e == 'team') {
- uni.navigateTo({
- url: '/pageA/notice/index'
- })
- } else if (e == 'user') {
- uni.navigateTo({
- url: '/pageA/my/my'
- })
- }
- // name => tabbarCheck = name
- },
- }
- }
- </script>
- <style scoped lang="scss">
- .head{
- background: #fff;
- }
- .content{
- background: #fff;
- margin-top: 20rpx;
- }
- </style>
|