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

49 lines
985 B

8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
  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"
  7. style="margin-top: 15rpx;">
  8. {{item}}
  9. </span>
  10. <view class="flex-col query" style="gap: 0rpx;" v-show="btn.length>0">
  11. <view class="btn2" @click="query">
  12. {{btn[0]}}
  13. </view>
  14. <text class="second-color">欢快无限饮&nbsp;&nbsp;饮酒有限度</text>
  15. </view>
  16. </view>
  17. </view>
  18. </template>
  19. <script>
  20. export default {
  21. data() {
  22. return {
  23. }
  24. },
  25. props:['title','textList','path','btn'],
  26. methods: {
  27. query(){
  28. uni.navigateTo({
  29. url:this.path
  30. })
  31. }
  32. }
  33. }
  34. </script>
  35. <style lang="scss" scoped>
  36. .query{
  37. position: absolute;
  38. bottom: -25vh;
  39. }
  40. .mt-25{
  41. padding-top: 25vh;
  42. }
  43. .mt-30{
  44. padding-top: 30vh;
  45. }
  46. </style>