| 1234567891011121314151617181920212223242526272829303132333435363738 |
- // pages/voyageManage/myDaily/examine/examine.js
- const {
- postApi
- } = require("../../../../apis/api")
- const app = getApp()
- Page({
- data: {
- voyageId: 0,
- currentBillItem: {},
- tab: 0,
- },
- previewImage(e) {
- let {
- src
- } = e.currentTarget.dataset
- wx.previewImage({
- current: src, // 当前显示图片的http链接
- urls: [src] // 需要预览的图片http链接列表
- })
- },
- changeTab(e) {
- this.setData({
- tab: e.currentTarget.dataset.tab
- })
- },
- reject() {
- },
- onLoad(options) {
- this.setData({
- voyageId: options.id,
- currentBillItem: app.globalData.currentBillItem
- })
- },
- })
|