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

75 lines
1.2 KiB

6 months ago
6 months ago
6 months ago
6 months ago
6 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. >
  13. <view class="btn2"
  14. @click="next">
  15. 返回
  16. </view>
  17. <text class="second-color">{{ configList.bg_title }}</text>
  18. </view>
  19. </view>
  20. </template>
  21. <script>
  22. import { mapState } from 'vuex'
  23. export default {
  24. computed : {
  25. ...mapState(['articleList', 'configList']),
  26. },
  27. data() {
  28. return {
  29. key : 'cancel_value'
  30. }
  31. },
  32. onLoad(args) {
  33. this.key = args.key || 'cancel_value'
  34. },
  35. methods: {
  36. next(){
  37. uni.reLaunch({
  38. url: '/pages/index/index'
  39. })
  40. },
  41. }
  42. }
  43. </script>
  44. <style lang="scss" scoped>
  45. .article{
  46. width: 600rpx;
  47. font-size: 28rpx;
  48. line-height: 50rpx;
  49. }
  50. .an{
  51. position: fixed;
  52. bottom: 330rpx;
  53. text-align: center;
  54. display: flex;
  55. flex-direction: column;
  56. align-items: center;
  57. width: 100%;
  58. }
  59. .second-color{
  60. margin-top: 20rpx;
  61. }
  62. .btn2 {
  63. border: 4rpx solid $uni-color;
  64. display: flex;
  65. align-items: center;
  66. justify-content: center;
  67. padding: 16rpx 200rpx;
  68. color: $uni-color;
  69. border-radius: 10rpx;
  70. }
  71. </style>