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

73 lines
1.2 KiB

3 months ago
  1. <template>
  2. <view class="home">
  3. <image src="/static/image/bg/1.png"
  4. class="page-bg"
  5. mode="aspectFill"></image>
  6. <view class="content_now">
  7. <view class="article">
  8. <uv-parse :content="configList[key]"></uv-parse>
  9. </view>
  10. </view>
  11. <view class="an">
  12. <view class="btn2"
  13. @click="next">
  14. 下一页
  15. </view>
  16. <text class="second-color">{{ configList.bg_title }}</text>
  17. </view>
  18. </view>
  19. </template>
  20. <script>
  21. import { mapState } from 'vuex'
  22. export default {
  23. computed : {
  24. ...mapState(['configList']),
  25. },
  26. data() {
  27. return {
  28. index : 0,
  29. key : '',
  30. }
  31. },
  32. onLoad(args) {
  33. this.key = args.key || 'cancel_value'
  34. },
  35. methods: {
  36. next(){
  37. },
  38. }
  39. }
  40. </script>
  41. <style lang="scss" scoped>
  42. .article{
  43. width: 600rpx;
  44. font-size: 28rpx;
  45. }
  46. .an{
  47. position: fixed;
  48. bottom: 330rpx;
  49. text-align: center;
  50. display: flex;
  51. flex-direction: column;
  52. align-items: center;
  53. width: 100%;
  54. }
  55. .second-color{
  56. margin-top: 20rpx;
  57. }
  58. .btn2 {
  59. border: 4rpx solid $uni-color;
  60. display: flex;
  61. align-items: center;
  62. justify-content: center;
  63. padding: 16rpx 200rpx;
  64. color: $uni-color;
  65. border-radius: 10rpx;
  66. }
  67. </style>