zhaojs
2023-05-16 9707c4410a67d6a6d63b634f53565711d2d337da
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
126
127
128
129
130
131
132
133
134
135
136
<template>
    <view class="aboutUs-wrapper wrapperLayer borderBox">
        <titleBar :titleText='"关于我们"' :pageForm='"aboutUs"'></titleBar>
        <view class="pageContent-container colCen">
            <view class="appInfo-container colCen">
                <view class="applogo defIcon">
                    <image :src="logo" mode=""></image>
                </view>
                <view class="appName">
                    {{appName}}
                </view>
                <view class="editionbox">
                    {{editionNum}}
                </view>
            </view>
            
            <view class="message-content infoContainer colCen">
                <view class="keyvalueBox rowCenBet borderBox" @click="goPage('agreement')">
                    <view class="leftKey">
                        用户协议
                    </view>
                    <view class="rightvalue rowCen">
                        <view class="arrow-icon defIcon">
                            <image src="../../../static/images/goods/arrow.png" mode=""></image>
                        </view>
                    </view>
                </view>
                <view class="keyvalueBox rowCenBet borderBox" @click="goPage('policy')">
                    <view class="leftKey">
                        隐私政策
                    </view>
                    <view class="rightvalue rowCen">
                        <view class="arrow-icon defIcon">
                            <image src="../../../static/images/goods/arrow.png" mode=""></image>
                        </view>
                    </view>
                </view>
            </view>
        </view>
    </view>
</template>
 
<script>
    import titleBar from '../../../components/backTitlebar.vue'
    import utils from '../../../utils/utils.js'
    export default{
        components:{
            titleBar
        },
        data(){
            return{
                appName:'',
                editionNum:'',
                logo:''
            }
        },
        onLoad() {
            utils.getCache('appInfo').then(res=>{
                this.appName = res.appName
                this.logo = res.logo
                // #ifdef APP-PLUS
                this.editionNum = plus.runtime.version;
                // #endif
            })
        },
        methods:{
            goPage(type){
                uni.navigateTo({
                    url:'../../login/policyAgreement?type='+type
                })
            }
        }
    }
</script>
 
<style lang="scss">
    .aboutUs-wrapper{
        .pageContent-container{
            width: 100%;
            .appInfo-container{
                width: 100%;
                .applogo{
                    width: 130rpx;
                    height: 130rpx;
                    border-radius: 20rpx;
                    margin-top: 80rpx;
                    overflow: hidden;
                }
                .appName{
                    font-size: 32rpx;
                    font-weight: 500;
                    color: #333333;
                    margin-top: 25rpx;
                    margin-bottom: 10rpx;
                }
                .editionbox{
                    font-size: 24rpx;
                    font-weight: 400;
                    color: #999999;
                }
            }
            .infoContainer {
                width: 100%;
                margin-top: 80rpx;
                background-color: #FFFFFF;
            
                .keyvalueBox {
                    width: 100%;
                    height: 100rpx;
                    border-bottom: 1rpx solid #F2F2F2;
                    padding: 0 30rpx;
            
                    .leftKey {
                        font-size: 28rpx;
                        font-weight: 500;
                        color: #333333;
                    }
            
                    .rightvalue {
                        .rightText {
                            font-size: 24rpx;
                            font-weight: 400;
                            color: #999999;
                            margin-right: 15rpx;
                        }
            
                        .arrow-icon {
                            width: 10rpx;
                            height: 18rpx;
                        }
                    }
                }
            }
        }
    }
</style>