|
@ -1,22 +1,32 @@ |
|
|
<script setup> |
|
|
<script setup> |
|
|
import { onLoad } from '@dcloudio/uni-app'; |
|
|
import { onLoad } from '@dcloudio/uni-app'; |
|
|
import { reactive, ref } from 'vue'; |
|
|
import { reactive, ref } from 'vue'; |
|
|
|
|
|
import { routeTo } from "@/utils/polish"; |
|
|
|
|
|
|
|
|
onLoad(() => { |
|
|
onLoad(() => { |
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
function toLogin(){ |
|
|
|
|
|
routeTo('/subpackage/authorize/pages/index'); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<template> |
|
|
<template> |
|
|
<view class="member-index"> |
|
|
<view class="member-index"> |
|
|
<view class="mi-header"> |
|
|
<view class="mi-header"> |
|
|
|
|
|
<view class="mh-user" v-if="false"> |
|
|
<image class="mh-avatar"></image> |
|
|
<image class="mh-avatar"></image> |
|
|
<view class="mh-info"> |
|
|
<view class="mh-info"> |
|
|
<view class="mi-name">抖音用户</view> |
|
|
<view class="mi-name">抖音用户</view> |
|
|
<view class="mi-num">17688184874</view> |
|
|
<view class="mi-num">17688184874</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view class="mh-unlogin" v-else> |
|
|
|
|
|
<view class="mu-btn" @click="toLogin">登录</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
<view class="mi-section"> |
|
|
<view class="mi-section"> |
|
|
<view class="ms-tool"> |
|
|
<view class="ms-tool"> |
|
|
<view class="mt-tit">我的工具</view> |
|
|
<view class="mt-tit">我的工具</view> |
|
@ -36,8 +46,9 @@ onLoad(() => { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
.mi-header{ |
|
|
.mi-header{ |
|
|
padding: 40upx 48upx 48upx; |
|
|
|
|
|
background: $mColor; |
|
|
background: $mColor; |
|
|
|
|
|
.mh-user{ |
|
|
|
|
|
padding: 40upx 48upx 48upx; |
|
|
@include ctf; |
|
|
@include ctf; |
|
|
.mh-avatar{ |
|
|
.mh-avatar{ |
|
|
flex-shrink: 0; |
|
|
flex-shrink: 0; |
|
@ -61,6 +72,18 @@ onLoad(() => { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.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); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
.mi-section{ |
|
|
.mi-section{ |
|
|
margin-top: 24upx; |
|
|
margin-top: 24upx; |
|
|
} |
|
|
} |
|
|