You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

131 lines
2.5 KiB
Vue

1 year ago
<template>
<navigationStyle :titles="titles" :bgcolor="bgcolor" :color="color"></navigationStyle>
<view class="huiyuan">
<view class="tops">
</view>
<view class="headers">
<view class="kong">
</view>
<view class="centers">
<view class="flex-1">
<img class="i" src="https://www.jiubaotongxue.love/image/tin.jpg" alt="" />
<text class="txts">微信昵称</text>
</view>
<view class="flex-2">
<text class="color-r">100</text>
</view>
</view>
<view class="bottoms">
<text>普通会员</text>
<text>No001</text>
</view>
</view>
</view>
<view class="chon" @click="checks">
去充值
</view>
</template>
<script setup>
import { ref } from 'vue';
import {onLoad} from '@dcloudio/uni-app'
const titles = ref('会员提升')
const bgcolor = ref('#fff')
const color = ref('#000')
const checks = ()=>{
uni.switchTab({
url:"/pages/handle/handle"
})
}
</script>
<style lang="scss">
.huiyuan{
width: 100%;
height: 100%;
position: absolute;
background-color: #f2f2f2;
.tops{
width: 100%;
height: 11%;
}
.headers{
width: 96%;
height: 300rpx;
margin-left: 50%;
transform: translateX(-50%);
background-color: #fff;
border: 1rpx solid #009dd9;
margin-top: 30rpx;
border-radius: 20rpx 20rpx 20rpx 20rpx;
.kong{
width: 100%;
height: 100rpx;
}
.centers{
width: 100%;
height: 120rpx;
display: flex;
justify-content: space-between;
align-items: center;
.flex-1{
// width: 70%;
height: 120rpx;
display: flex;
align-items: center;
font-size: 28rpx;
.i{
width: 120rpx;
height: 120rpx;
border-radius: 50%;
margin-left: 60rpx;
}
.txts{
display: block;
margin-left: 40rpx;
}
}
.flex-2{
// width: 30%;
text-align: center;
font-size: 30rpx;
margin-right: 50rpx;
}
}
.bottoms{
margin-top: 28rpx;
width: 100%;
height: 40rpx;
line-height: 40rpx;
font-size: 26rpx;
box-sizing: border-box;
padding-left: 70rpx;
padding-right: 50rpx;
display: flex;
justify-content: space-between;
}
}
.color-r{
color: #d9001b;
font-size: 50rpx;
}
}
.chon{
position: fixed;
bottom: 0rpx;
width: 100%;
height: 100rpx;
bottom: constant(safe-area-inset-bottom);
bottom: env(safe-area-inset-bottom);
background-color: #d9001b;
text-align: center;
line-height: 100rpx;
color: white;
}
</style>