|
|
@ -1,20 +1,30 @@ |
|
|
|
<script setup> |
|
|
|
import { onLoad } from '@dcloudio/uni-app'; |
|
|
|
import { reactive, ref } from 'vue'; |
|
|
|
import { routeTo } from "@/utils/polish"; |
|
|
|
|
|
|
|
onLoad(() => { |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
function toLogin(){ |
|
|
|
routeTo('/subpackage/authorize/pages/index'); |
|
|
|
} |
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
<template> |
|
|
|
<view class="member-index"> |
|
|
|
<view class="mi-header"> |
|
|
|
<image class="mh-avatar"></image> |
|
|
|
<view class="mh-info"> |
|
|
|
<view class="mi-name">抖音用户</view> |
|
|
|
<view class="mi-num">17688184874</view> |
|
|
|
<view class="mh-user" v-if="false"> |
|
|
|
<image class="mh-avatar"></image> |
|
|
|
<view class="mh-info"> |
|
|
|
<view class="mi-name">抖音用户</view> |
|
|
|
<view class="mi-num">17688184874</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="mh-unlogin" v-else> |
|
|
|
<view class="mu-btn" @click="toLogin">登录</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="mi-section"> |
|
|
@ -36,28 +46,41 @@ onLoad(() => { |
|
|
|
|
|
|
|
} |
|
|
|
.mi-header{ |
|
|
|
padding: 40upx 48upx 48upx; |
|
|
|
background: $mColor; |
|
|
|
@include ctf; |
|
|
|
.mh-avatar{ |
|
|
|
flex-shrink: 0; |
|
|
|
flex-grow: 0; |
|
|
|
margin-right: 24upx; |
|
|
|
width: 128upx; |
|
|
|
height: 128upx; |
|
|
|
border-radius: 50%; |
|
|
|
background-color: #fff; |
|
|
|
} |
|
|
|
.mh-info{ |
|
|
|
padding-top: 8upx; |
|
|
|
.mi-name{ |
|
|
|
@include flcw(36upx, 50upx, #fff, 500); |
|
|
|
@include tHide; |
|
|
|
.mh-user{ |
|
|
|
padding: 40upx 48upx 48upx; |
|
|
|
@include ctf; |
|
|
|
.mh-avatar{ |
|
|
|
flex-shrink: 0; |
|
|
|
flex-grow: 0; |
|
|
|
margin-right: 24upx; |
|
|
|
width: 128upx; |
|
|
|
height: 128upx; |
|
|
|
border-radius: 50%; |
|
|
|
background-color: #fff; |
|
|
|
} |
|
|
|
.mi-num{ |
|
|
|
margin-top: 24upx; |
|
|
|
@include flcw(28upx, 40upx, #fff); |
|
|
|
@include tHide; |
|
|
|
.mh-info{ |
|
|
|
padding-top: 8upx; |
|
|
|
.mi-name{ |
|
|
|
@include flcw(36upx, 50upx, #fff, 500); |
|
|
|
@include tHide; |
|
|
|
} |
|
|
|
.mi-num{ |
|
|
|
margin-top: 24upx; |
|
|
|
@include flcw(28upx, 40upx, #fff); |
|
|
|
@include tHide; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.mh-unlogin{ |
|
|
|
min-height: 216upx; |
|
|
|
@include ctf(center); |
|
|
|
.mu-btn{ |
|
|
|
width: 240rpx; |
|
|
|
text-align: center; |
|
|
|
border-radius: 46rpx; |
|
|
|
background-color: #FFF; |
|
|
|
@include flcw(32upx, 88upx, $mColor, 500); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|