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.
49 lines
880 B
49 lines
880 B
2 years ago
|
<style lang="less">
|
||
|
.container{
|
||
|
&>view{
|
||
|
margin:30rpx;
|
||
|
padding-bottom:20rpx;
|
||
|
border-bottom:1rpx solid rgba(216, 216, 216, 0.2);
|
||
|
color:#777;
|
||
|
&>view:first-child{
|
||
|
margin-bottom:5rpx;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</style>
|
||
|
<template>
|
||
|
<view class="container">
|
||
|
<view>
|
||
|
<view>当前最新版本号</view>
|
||
|
<view>{{detail.currentVersion}}</view>
|
||
|
</view>
|
||
|
<view>
|
||
|
<view>PC(管理)端访问地址</view>
|
||
|
<view style="color:#10C176;">{{detail.pcUrl}}</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</template>
|
||
|
<script>
|
||
|
import request from '@/common/request'
|
||
|
export default {
|
||
|
data(){
|
||
|
return{
|
||
|
detail:{}
|
||
|
}
|
||
|
},
|
||
|
async onLoad(){
|
||
|
var res=await request("/api/appAbout/queryAppAbout",{
|
||
|
params:{type:1}
|
||
|
})
|
||
|
if(res.statu){
|
||
|
this.detail=res.data
|
||
|
}else{
|
||
|
uni.showModal({
|
||
|
title:"提示",
|
||
|
content:res.msg||"获取详情失败!",
|
||
|
showCancel:false,
|
||
|
})
|
||
|
}
|
||
|
},
|
||
|
}
|
||
|
</script>
|