You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
1.7 KiB
86 lines
1.7 KiB
<template>
|
|
<view class="main">
|
|
<view :style="{height:iSMT+'px'}"></view>
|
|
|
|
<view style="height:1.5vh" />
|
|
<view class="top">
|
|
<image src="/static/my/aboutDC.png"></image>
|
|
</view>
|
|
|
|
<view class="bottom">
|
|
<view class="bottom-list" @click="goToIntroduce">
|
|
<text class="label">产品介绍</text>
|
|
<uni-icons type="arrowright" size="16" />
|
|
</view>
|
|
<view class="bottom-list">
|
|
<text class="label">免责声明</text>
|
|
<uni-icons type="arrowright" size="16" />
|
|
</view>
|
|
<view class="bottom-list">
|
|
<text class="label">隐私政策</text>
|
|
<uni-icons type="arrowright" size="16" />
|
|
</view>
|
|
<view class="bottom-list">
|
|
<text class="label">服务协议</text>
|
|
<uni-icons type="arrowright" size="16" />
|
|
</view>
|
|
<view class="bottom-list">
|
|
<text class="label">鼓励一下</text>
|
|
<uni-icons type="arrowright" size="16" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script setup>
|
|
import {
|
|
ref,
|
|
onMounted
|
|
} from 'vue'
|
|
const iSMT = ref(0)
|
|
const goToIntroduce = () =>{
|
|
uni.navigateTo({
|
|
url: '../setting/introduce'
|
|
})
|
|
}
|
|
|
|
onMounted(() => {
|
|
// 状态栏高度
|
|
iSMT.value = uni.getSystemInfoSync().statusBarHeight;
|
|
console.log('看看高度', iSMT.value)
|
|
})
|
|
</script>
|
|
|
|
<style>
|
|
.top {
|
|
height: 23vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: white;
|
|
}
|
|
|
|
.bottom {
|
|
height: 35vh;
|
|
background-color: white;
|
|
}
|
|
|
|
.bottom-list {
|
|
width: 630rpx;
|
|
height: 7vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 40rpx;
|
|
padding: 0 10rpx;
|
|
border-bottom: 1rpx solid #eee;
|
|
}
|
|
|
|
.bottom-list:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.label{
|
|
flex:1;
|
|
}
|
|
</style>
|