wangzhibo
4 天以前 10595d8632f959d0954d1939243196f4eed02372
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
<template>
    <cl-page>
        <view class="page-about">
            <view class="logo">
                <image src="/static/logo.png" />
            </view>
 
            <!-- 版本 -->
            <cl-version-about />
 
            <cl-list>
                <cl-list-item label="联系我们" />
            </cl-list>
 
            <cl-text
                block
                align="center"
                :size="24"
                color="info"
                :line-height="1.2"
                :margin="[80, 0, 0, 0]"
            >
                {{ app.info.desc }}
            </cl-text>
        </view>
    </cl-page>
</template>
 
<script lang="ts" setup>
import { onReady } from "@dcloudio/uni-app";
import { useApp } from "/@/cool";
 
const app = useApp();
 
onReady(() => {
    uni.setNavigationBarTitle({
        title: `关于${app.info.name}`,
    });
});
</script>
 
<style lang="scss" scoped>
.page-about {
    .logo {
        display: flex;
        justify-content: center;
        padding: 100rpx 0;
 
        image {
            height: 160rpx;
            width: 160rpx;
            border-radius: 24rpx;
            box-shadow: 0 25rpx 30rpx -25rpx #666666;
        }
    }
}
</style>