Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas / mini-program / points-mall

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • points-mall
  • components
  • TimeLine
  • TimeLine.js
  • liimin's avatar
    feat(订单详情): 优化物流信息展示和交互功能 · 7bed1351 ...
    - 在TimeLine组件中新增电话拨打功能并优化样式
    - 修复收货地址信息显示错误问题
    - 重构Express组件物流状态处理逻辑
    - 添加派件中状态并优化状态判断规则
    - 优化物流信息为空时的默认显示内容
    - 调整页面布局和样式细节
    liimin committed Sep 06, 2025
    7bed1351
TimeLine.js 372 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
/*可视化地呈现时间流信息*/
Component({
  properties: {
    // 时间轴节点数据
    nodes: {
      type: Array,
      value: [],
    }
   },
   methods: {
    // 拨打电话
    makePhoneCall(e) {
      const phone = e.currentTarget.dataset.phone;
      if (phone) {
        wx.makePhoneCall({
          phoneNumber: phone
        });
      }
    }
  }
});