noAuthority.vue 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <template>
  2. <view class="noauthority-page">
  3. <image class="img" :src="globalImgUrls.img1" mode="widthFix"></image>
  4. <view>您暂无权限参加此活动</view>
  5. <view>若想参加可以申请开通哦</view>
  6. <view class="global-btn-yellow-change btn" @click="handleGoApply">立即申请</view>
  7. <view class="global-btn-yellow-plain btn">返回</view>
  8. </view>
  9. </template>
  10. <script>
  11. export default {
  12. name:"noAuthority",
  13. data () {
  14. return {
  15. }
  16. },
  17. onLoad(){
  18. },
  19. methods: {
  20. handleGoApply(){
  21. uni.navigateTo({
  22. url:"/pages-activity/applyTrial"
  23. })
  24. }
  25. }
  26. }
  27. </script>
  28. <style lang="scss">
  29. .noauthority-page{
  30. padding: 34rpx;
  31. text-align: center;
  32. font-size: $global-font-size-lg;
  33. .img{
  34. width: 100%;
  35. margin-bottom: 50rpx;
  36. }
  37. .btn{
  38. width: 380rpx;
  39. line-height: 70rpx;
  40. margin-left: auto;
  41. margin-right: auto;
  42. margin-top: 40rpx;
  43. }
  44. }
  45. </style>