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

48 lines
990 B

  1. <template>
  2. <view class="home">
  3. <view class="content" :class="btn[0]==='下一页'?'mt-25':'mt-30'">
  4. <span v-show="btn[0]==='下一页'" style="margin-bottom: 10rpx; font-size: 28rpx;">作为一位</span>
  5. <span style="color: #c7a87c;">{{title}}</span>
  6. <span v-for="(item,index) in textList" :key="index" style="margin-top: 15rpx;">
  7. {{item}}
  8. </span>
  9. <view class="flex-col query" style="gap: 0rpx;" v-show="btn.length>0">
  10. <view class="btn2" @click="query">
  11. {{btn[0]}}
  12. </view>
  13. <text class="second-color">欢快无限饮&nbsp;&nbsp;饮酒有限度</text>
  14. </view>
  15. </view>
  16. </view>
  17. </template>
  18. <script>
  19. export default {
  20. data() {
  21. return {
  22. }
  23. },
  24. props:['title','textList','path','btn'],
  25. methods: {
  26. query(){
  27. uni.navigateTo({
  28. url:this.path
  29. })
  30. }
  31. }
  32. }
  33. </script>
  34. <style lang="scss" scoped>
  35. .query{
  36. position: absolute;
  37. bottom: -25vh;
  38. }
  39. .mt-25{
  40. padding-top: 25vh;
  41. }
  42. .mt-30{
  43. padding-top: 30vh;
  44. }
  45. </style>