Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas_plus / sales-assistant

  • 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
  • sales-assistant
  • packageCustomer
  • components
  • materialDetails
  • index.js
  • zhangxw's avatar
    联调修改 · 2484422d
    zhangxw committed Oct 29, 2025
    2484422d
index.js 336 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Component({
  externalClasses: ['custom-class'],
  properties: {
    detail: {
      type: Object,
      value: {}
    }
  },
  data: {},
  methods: {
    // 图片预览
    previewImage(e) {
      let { url, index } = e.currentTarget.dataset
      wx.previewImage({
        urls: url,
        current: url[index]
      })
    }
  }
})