mall.vue 901 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <template>
  2. <view class="pages">
  3. <view class="tip">
  4. 正在建设中
  5. <button type="default" @click="goIndex" class="back-index">返回首页</button>
  6. </view>
  7. <view class="hold-status-bar">
  8. <!-- 占据了状态栏位置 -->
  9. </view>
  10. <view class="" style="display: none;">
  11. <view class="top-img mall">
  12. <image :src="$getimg + 'usercenter-bg.png'" class="img" mode="scaleToFill"></image>
  13. <view class="integral">
  14. <view class="integral-til">我的积分</view>
  15. </view>
  16. </view>
  17. </view>
  18. </view>
  19. </template>
  20. <script>
  21. export default {
  22. data() {
  23. return {
  24. token:'',
  25. $getimg:this.$getimg,
  26. params:{
  27. }
  28. }
  29. },
  30. onShow() {
  31. this.token = this.$store.state.token;
  32. },
  33. onLoad() {
  34. },
  35. methods: {
  36. goIndex(){
  37. uni.switchTab({
  38. url:'../index/index'
  39. })
  40. }
  41. }
  42. }
  43. </script>
  44. <style>
  45. @import url("./mall.css");
  46. </style>