supplier_information.vue 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <template>
  2. <view>
  3. <view class="supplier_login"><login-menu :menuList="menuList" @scrollPage="scrollPage" /></view>
  4. <view class="artform" v-html="artForm"></view>
  5. </view>
  6. </template>
  7. <script>
  8. import LoginMenu from './components/supplier-loginMenu.vue'
  9. export default {
  10. components: {
  11. LoginMenu
  12. },
  13. data() {
  14. return {
  15. menuList: [
  16. {
  17. id: 0,
  18. title: '营销服务'
  19. },
  20. {
  21. id: 1,
  22. title: '解决方案'
  23. },
  24. {
  25. id: 2,
  26. title: '运营产品'
  27. },
  28. {
  29. id: 3,
  30. title: '营销工具'
  31. },
  32. {
  33. id: 4,
  34. title: '成功案例'
  35. },
  36. {
  37. id: 5,
  38. title: '关于采美'
  39. },
  40. {
  41. id: 6,
  42. title: '增长社区'
  43. }
  44. ],
  45. activeMenu: '',
  46. artForm: ''
  47. }
  48. },
  49. mounted() {
  50. this.artForm = uni.getStorageSync('artForm')
  51. },
  52. methods: {
  53. // 滚动事件
  54. scrollPage($event) {
  55. this.activeMenu = $event
  56. uni.navigateBack(1)
  57. uni.$emit('changeLink', $event)
  58. },
  59. }
  60. }
  61. </script>
  62. <style scoped lang="scss">
  63. .artform {
  64. margin-top: 220rpx;
  65. padding: 0 40rpx 40rpx 40rpx;
  66. box-sizing: border-box;
  67. }
  68. </style>