更新
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="view-page">
|
||||
<view class="view-page" :style="{backgroundImage : `url('${ThemeData?.app_bg ?? 'https://vespa.qxmier.com/image/bg.png'}')`}">
|
||||
<navBar :navTitle="`规则说明`" :style="{'margin-top' : `${statusBarHeight || 0}px`}">
|
||||
</navBar>
|
||||
<view class="dec-view" v-if="flagIndex !== null">
|
||||
@@ -18,7 +18,8 @@
|
||||
data() {
|
||||
return {
|
||||
statusBarHeight:0,
|
||||
flagIndex:null
|
||||
flagIndex:null,
|
||||
ThemeData:null
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
@@ -27,6 +28,9 @@
|
||||
} = options
|
||||
this.flagIndex = +flag
|
||||
this.statusBarHeight = h
|
||||
if(uni.getStorageSync('Theme_Data')) {
|
||||
this.ThemeData = JSON.parse(uni.getStorageSync('Theme_Data'))
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -35,7 +39,7 @@
|
||||
.view-page {
|
||||
min-height: 100vh;
|
||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||
background-image: url('@/static/image/help/bg.png');
|
||||
// background-image: url('@/static/image/help/bg.png');
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
img{
|
||||
|
||||
Reference in New Issue
Block a user