mine-popularityInfo.vue
2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<template>
<view class="mine-popularityInfo">
<uv-navbar title=" " :placeholder="true" bg-color="#ffffff00" :auto-back="true"></uv-navbar>
<view class="top-bg">
<image src="/static/logo.png" mode=""></image>
<view class="inner">
<image src="/static/logo.png" mode=""></image>
<view class="">快乐的张张紫</view>
<view class="">999人气值</view>
</view>
</view>
<view class="content">
<view class="title">人气值明细</view>
<view class="info-item" v-for="item in 6" :key="item">
<view class="top">
<view class="left">抽取福袋</view>
<view class="right">-5</view>
</view>
<view class="bottom">2023.12.03</view>
</view>
</view>
</view>
</template>
<script setup>
import { onShow, onLoad } from '@dcloudio/uni-app'
import { ref } from 'vue'
</script>
<style lang="scss">
.mine-popularityInfo {
position: relative;
}
.top-bg {
position: absolute;
top: 0;
left: 0;
right: 0;
image {
width: 750rpx;
height: 520rpx;
}
.inner {
position: absolute;
top: 214rpx;
left: 50%;
transform: translateX(-50%);
image {
width: 156rpx;
height: 156rpx;
border-radius: 50%;
margin-bottom: 24rpx;
}
view {
text-align: center;
&:first-child {
font-size: 28rpx;
font-weight: 700;
margin-bottom: 10rpx;
}
&:last-child {
font-weight: 700;
font-size: 40rpx;
}
}
}
}
.content {
position: absolute;
top: 520rpx;
width: 750rpx;
height: 1108rpx;
padding: 40rpx 24rpx 0 24rpx;
border-top-left-radius: 32rpx;
border-top-right-radius: 32rpx;
box-sizing: border-box;
background: #ffffff;
.title {
font-size: 32rpx;
font-weight: 700;
}
.info-item {
margin-top: 28rpx;
height: 112rpx;
border-bottom: 1rpx solid #eee;
.top {
@include flexCj();
margin-bottom: 16rpx;
.left {
font-size: 28rpx;
}
.right {
font-weight: 700;
font-family: "32rpx";
}
}
.bottom {
color: #00000066;
font-size: 26rpx;
padding-bottom: 26rpx;
}
}
}
</style>