import history from '../../utils/history';
const app = getApp();
Component({
  props: {
    componentData: {}
  },
  data: {
    imgSrcPrefix: app.globalData.imgSrcPrefix
  },
  methods: {
    toMorePage() {
      const {
        componentData
      } = this.props;
      const {
        componentExtInfo = {}
      } = componentData;
      history.push({
        title: '全部功能',
        pageType: 'all-general-services',
        componentData: { ...componentData,
          componentExtInfo: {
            allPage: true,
            ...componentExtInfo
          }
        }
      });
    }

  }
});