Page({
  data: {

  },
  onLoad: function (options) {

  },
  navigateToOrder: function() {
    wx.navigateTo({
      url: '/pages/zf_static/index'
    })
  },
  navigateToDesc: function(e) {
    const type = e.currentTarget.dataset.type;
    if (type) {
      wx.navigateTo({
        url: '../common_desc/index?type=' + type,
        fail: function(err) {
          console.error('页面跳转失败:', err);
        }
      })
    } else {
      console.warn('navigateToDesc: 缺少 type 参数');
    }
  }
})