liukangdong
2024-07-26 1ae423f71a056e06a1f8908c6ae048d865e8ff47
wechat_jiaxuan/pages/index/index.js
@@ -8,7 +8,9 @@
  getZhongTaiVideoPage,
  getZhongTaiProductNewsPage
} from '../../api/index'
const { HYEventBus } = require('hy-event-store')
const {
  HYEventBus
} = require('hy-event-store')
const eventBus = new HYEventBus()
Page({
@@ -93,7 +95,6 @@
          url: '/pages/calculator/index'
        })
        break;
      case '2':
        wx.navigateTo({
          url: '/pages/design/design'
@@ -256,7 +257,7 @@
    } = e.currentTarget.dataset
    const item = e.currentTarget.dataset.item
    console.log('item', item);
    if(item.openType){
    if (item.openType) {
      actionDo({
        actionType: 'view',
        id: item.id
@@ -272,7 +273,12 @@
    }
    if (item.openType == 'link') {
      wx.navigateTo({
        url: '/pages/webView/index?link=' + item.openContent,
        url: '/pages/webView/index',
        success: function (res) {
          res.eventChannel.emit('data', {
            link: item.content
          });
        }
      })
    }
    if (item.openType == 'page') {