测试页添加
This commit is contained in:
@@ -45,6 +45,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/test/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "测试",
|
||||
"app-plus": {
|
||||
"titleNView": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/study/index",
|
||||
"style": {
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
<template>
|
||||
<view class="max_page detail-main" style="overflow: hidden">
|
||||
<nav-bar :is_seat="false"></nav-bar>
|
||||
<view class="cell_div">
|
||||
<uv-cell-group>
|
||||
<uv-cell title="根域名" :value="url" ></uv-cell>
|
||||
<uv-cell title="版本号" ></uv-cell>
|
||||
<uv-cell title="版本名称" ></uv-cell>
|
||||
<uv-cell title="当前环境NODE_ENV" :value="env"></uv-cell>
|
||||
<!-- <uv-cell title="竞赛记录" :clickable="false" :border="false"></uv-cell> -->
|
||||
</uv-cell-group>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { reactive, ref } from 'vue';
|
||||
import { onLoad, onShow } from '@dcloudio/uni-app';
|
||||
import common from '@/common/common';
|
||||
import { get_base_url } from '../../api/request';
|
||||
const url = get_base_url();
|
||||
const env = process.env.NODE_ENV;
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
$bg-margin-left: 50rpx;
|
||||
// 下方单元格
|
||||
.cell_div {
|
||||
margin: 30rpx $bg-margin-left 0 $bg-margin-left;
|
||||
background: #ffffff;
|
||||
border-radius: 15rpx;
|
||||
z-index: 101;
|
||||
overflow: hidden;
|
||||
|
||||
// 为了让线缩进来24单位
|
||||
:deep(.uv-line) {
|
||||
width: calc(100% - 48rpx) !important;
|
||||
margin: 0 24rpx !important;
|
||||
}
|
||||
|
||||
:deep(.uv-cell__body) {
|
||||
padding: 12px 15px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -44,6 +44,15 @@
|
||||
"titleNView": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/test/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "测试",
|
||||
"app-plus": {
|
||||
"titleNView": false
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"tabBar": {
|
||||
|
||||
Reference in New Issue
Block a user