mine.vue
1.4 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
<template>
<view class="">
<uv-navbar title=" " :placeholder="true" bg-color="#ffffff00"></uv-navbar>
<view class="top-info">
<image src="/static/logo.png" mode=""></image>
<view class="right">
<view class="nickname">哈哈哈</view>
<view style=" color: #00000099;font-size: 30rpx;" @click="toPopularityInfo">999人气值</view>
</view>
</view>
<view class="main-content">
<order-module :mineOrderList="mineOrderList" />
<two-moudle />
<my-item />
</view>
</view>
</template>
<script setup>
import { onShow, onLoad } from '@dcloudio/uni-app'
import { ref } from 'vue'
import myItem from './c-cpns/my-item.vue';
import orderModule from './c-cpns/order-module.vue'
import twoMoudle from './c-cpns/two-module.vue'
import { mineOrderList } from '@/data/formDataList.js'
function toPopularityInfo() { uni.navigateTo({ url: '/pages/mine/mine-popularityInfo/mine-popularityInfo' }) }
</script>
<style lang="scss">
page {
width: 750rpx;
background: linear-gradient(180deg, #95f7f7 0%, #f7f8fa 100%);
}
.top-info {
@include flexcenter();
margin: 40rpx 0 0 40rpx;
image {
width: 140rpx;
height: 140rpx;
border-radius: 50%;
margin-right: 22rpx;
}
.right {
.nickname {
font-size: 32rpx;
font-weight: 700;
margin-bottom: 16rpx;
}
}
}
.main-content {
@include wrap(702rpx);
margin-top: 52rpx;
}
</style>