12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- import {
- get,
- post
- } from '../../../utils/http'
- Page({
-
- data: {
- list: []
- },
-
- onLoad(options) {
- this.getCardLog()
- },
-
- onReady() {
- },
-
- onShow() {
- },
-
- onHide() {
- },
-
- onUnload() {
- },
-
- onPullDownRefresh() {
- },
-
- onReachBottom() {
- },
-
- onShareAppMessage() {
- },
- getCardLog() {
- get('v2/api/user/card/log', {}, res => {
- this.setData({
- list: res.data.list
- })
- })
- },
- again(e){
- let item = e.currentTarget.dataset.item
- let storeId = wx.getStorageSync('store_id')
- wx.navigateTo({
- url: `/pages/projectDetail/projectDetail?source=project&id=${item.project_id}&store_id=${storeId}`,
- })
- console.log(item);
- }
- })
|