index.vue 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <template>
  2. <view class="login">
  3. <!-- header -->
  4. <view class="header">
  5. <cu-custom bgColor="header-blue" />
  6. <cu-login-userinfo />
  7. </view>
  8. <!-- section -->
  9. <view class="bg-white">
  10. <view class="cu-list menu card-menu shadow-lg radius">
  11. <view @click="navfunc('/pages/information/index')" class="cu-item arrow">
  12. <view class="content"><text>设备信息</text></view>
  13. </view>
  14. <view @click="navfunc('/pages/status/index')" class="cu-item arrow">
  15. <view class="content"><text>设备状态</text></view>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="bg-white margin-top">
  20. <view class="cu-list menu card-menu margin-bottom-xl shadow-lg radius">
  21. <view @click="navfunc('/pages/privacy/index')" class="cu-item arrow ">
  22. <view class="content"><text>隐私声明</text></view>
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. </template>
  28. <script>
  29. export default {
  30. data() {
  31. return {};
  32. },
  33. onLoad() {},
  34. methods: {
  35. // 跳转
  36. navfunc(url){
  37. uni.navigateTo({url})
  38. }
  39. }
  40. };
  41. </script>
  42. <style lang="scss" scoped>
  43. .login {
  44. }
  45. </style>