[更新]
This commit is contained in:
37
pages/car/index.js
Normal file
37
pages/car/index.js
Normal file
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* 本时生活
|
||||
*/
|
||||
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad (options) {
|
||||
console.log(options)
|
||||
// this.couponInfo()
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 卡券列表
|
||||
*/
|
||||
couponInfo() {
|
||||
wx.$api.user.washcarBuy().then(res=>{
|
||||
console.log(res)
|
||||
})
|
||||
}
|
||||
})
|
||||
3
pages/car/index.json
Normal file
3
pages/car/index.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
2
pages/car/index.wxml
Normal file
2
pages/car/index.wxml
Normal file
@@ -0,0 +1,2 @@
|
||||
<!--pages/car/index.wxml-->
|
||||
<text>pages/car/index.wxml</text>
|
||||
1
pages/car/index.wxss
Normal file
1
pages/car/index.wxss
Normal file
@@ -0,0 +1 @@
|
||||
/* pages/car/index.wxss */
|
||||
Reference in New Issue
Block a user