index.vue 846 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <template>
  2. <view class="">
  3. <web-view :src="'https://wx.ewoogi.com/appfiv/#/?siteId='+siteId" allow></web-view>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. siteId:"",
  11. deviceData:[],
  12. modalName: null,
  13. };
  14. },
  15. onLoad:function(option){
  16. // console.log(111)
  17. // console.log(option)
  18. this.siteId = option.companyCode
  19. this.companyCode=option.companyCode
  20. this.deviceType=option.deviceType
  21. },
  22. onBackPress(event){
  23. uni.redirectTo({
  24. url:'../device-Manage?deviceType=1&companyCode='+this.companyCode
  25. });
  26. return true;
  27. },
  28. mounted () {
  29. },
  30. methods: {
  31. }
  32. }
  33. </script>
  34. <style lang="scss">
  35. .cu-list.menu-avatar>.cu-item .content>uni-view:first-child {
  36. font-size: 32rpx;
  37. }
  38. .num {
  39. font-size: 30rpx;
  40. color: #666;
  41. }
  42. </style>