百富门答题小程序
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.
 
 
 

74 lines
1.2 KiB

<template>
<view class="home">
<image src="/static/image/bg/1.png"
class="page-bg"
mode="aspectFill"></image>
<view class="content_now">
<view class="article">
<uv-parse :content="configList[key]"></uv-parse>
</view>
</view>
<view class="an">
<view class="btn2"
@click="next">
下一页
</view>
<text class="second-color">{{ configList.bg_title }}</text>
</view>
</view>
</template>
<script>
import { mapState } from 'vuex'
export default {
computed : {
...mapState(['configList']),
},
data() {
return {
index : 0,
key : '',
}
},
onLoad(args) {
this.key = args.key || 'cancel_value'
},
methods: {
next(){
},
}
}
</script>
<style lang="scss" scoped>
.article{
width: 600rpx;
font-size: 28rpx;
}
.an{
position: fixed;
bottom: 330rpx;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.second-color{
margin-top: 20rpx;
}
.btn2 {
border: 4rpx solid $uni-color;
display: flex;
align-items: center;
justify-content: center;
padding: 16rpx 200rpx;
color: $uni-color;
border-radius: 10rpx;
}
</style>