minor.vue
3.05 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
119
120
121
122
123
124
125
<template>
<view class="page">
<view class="bg"><image src="/static/bg.jpg"></image></view>
<pyh-nv ref="nv" :config="nvConfig"></pyh-nv>
<view class="listBox" :style="{'padding-top':(pageTop+'px')}">
<view class="content">
<view class="my-top">
<view class="user-info" @click="Information">
<view class="portrait">
<image src="../../static/img/head.jpg"></image>
</view>
<view class="info">
<view class="nickname">
<text>Ssense</text>
</view>
<view class="rank">
<image src="../../static/id.png"></image>
<text>21216554</text>
<image class="rank-img" src="../../static/copy.png"></image>
</view>
</view>
</view>
</view>
<view class="message-list">
<view class="titleall-box">
<view class="titleall-left"><view class="titleall-left-line"></view>我的服务</view>
</view>
<view class="list" @click="minorcontrol">
<view class="icon-data">
<view class="icon">
<image src="/static/my-icon1.png" mode=""></image>
</view>
<view class="data">
<view class="title">
<text>动态监控</text>
</view>
</view>
</view>
<view class="more">
<text class="iconfont icon-more"></text>
</view>
</view>
<view class="list" @click="minorlocate">
<view class="icon-data">
<view class="icon">
<image src="/static/my-icon2.png" mode=""></image>
</view>
<view class="data">
<view class="title">
<text>儿童定位</text>
</view>
</view>
</view>
<view class="more">
<text class="iconfont icon-more"></text>
</view>
</view>
<view class="list" @click="minorsos">
<view class="icon-data">
<view class="icon">
<image src="/static/my-icon3.png" mode=""></image>
</view>
<view class="data">
<view class="title">
<text>SOS呼叫记录</text>
</view>
</view>
</view>
<view class="more">
<text class="iconfont icon-more"></text>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
nvConfig:{
title:"未成年人救助保护",
bgColor:"#ffffff",
color:"#000000",
fixedAssist:{
hide:true,
},
transparent:{
initColor:"#000",
},
},
};
},
onPageScroll(e) {this.$refs.nv.pageScroll(e)},
computed:{
pageTop(){return parseInt(88*uni.getSystemInfoSync().windowWidth/750) + uni.getSystemInfoSync().statusBarHeight}
},
onReady() {
uni.hideTabBar();
},
methods: {
minorsos() {
uni.navigateTo({
url: '/pages/minorsos/minorsos'
})
},
minorcontrol() {
uni.navigateTo({
url: '/pages/minorcontrol/minorcontrol'
})
},
minorlocate() {
uni.navigateTo({
url: '/pages/minorlocate/minorlocate'
})
},
}
}
</script>
<style scoped lang="scss">
@import 'minor.scss';
</style>