environment.wpy 776 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <style lang="less">
  2. .box {
  3. padding: 118px 20px 60px;
  4. background-color: #ebf5fa;
  5. background-repeat: no-repeat;
  6. background-size: contain;
  7. .image {
  8. width: 100%;
  9. }
  10. }
  11. </style>
  12. <template>
  13. <div class="box" :style="{'background-image': 'url('+h5StaticPath+'detailBack.jpg)'}">
  14. <navigationbar></navigationbar>
  15. <image class="image" :src="h5StaticPath+'envirInfo.svg'" mode="widthFix"/></div>
  16. </template>
  17. <script>
  18. import wepy from '@wepy/core';
  19. import store from '@/store';
  20. import config from '@/config';
  21. wepy.page({
  22. store,
  23. config: {},
  24. data: {
  25. h5StaticPath: config.h5StaticPath + '/page-home/',
  26. },
  27. methods: {},
  28. created() {},
  29. });
  30. </script>
  31. <config>
  32. {
  33. "navigationStyle":"custom",
  34. usingComponents: {
  35. "navigationbar":'./navigationbar',
  36. }
  37. }
  38. </config>