This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
weapp
/
C
Watch
8
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
66
Wiki
Activity
Browse Source
[商户详情][新增]
tags/湖南版5.1.4
luqc
6 years ago
parent
e1681fb72c
commit
6b3398026f
6 changed files
with
84 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app.json
+66
-0
pages/index/detail/index.js
+5
-0
pages/index/detail/index.json
+4
-0
pages/index/detail/index.wxml
+1
-0
pages/index/detail/index.wxss
+7
-0
pages/index/searchbar/index.js
+ 1
- 0
app.json
View File
@@ -13,6 +13,7 @@
"pages/topicDetail/index",
"pages/main/index",
"pages/index/searchbar/index",
"pages/index/detail/index",
"pages/bargain/bargainDatail/bargainDatail",
"pages/bargain/bargain",
"pages/cardorder/index/index",
+ 66
- 0
pages/index/detail/index.js
View File
@@ -0,0 +1,66 @@
// pages/index/detail/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
+ 5
- 0
pages/index/detail/index.json
View File
@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "券详情",
"backgroundColor": "#f4f4f4",
"enablePullDownRefresh": true
}
+ 4
- 0
pages/index/detail/index.wxml
View File
@@ -0,0 +1,4 @@
<!--pages/index/detail/index.wxml-->
<view>
</view>
+ 1
- 0
pages/index/detail/index.wxss
View File
@@ -0,0 +1 @@
/* pages/index/detail/index.wxss */
+ 7
- 0
pages/index/searchbar/index.js
View File
@@ -124,6 +124,13 @@ Page({
});
})
},
// 跳往商户详情
godetail: function (e) {
console.log(e)
wx.navigateTo({
url: `/pages/order/detail/index?orderId=${e.currentTarget.dataset.id}`
})
},
phone: function (e) {
let that = this;
if (e.currentTarget.dataset.merchantlinkphone) {
Write
Preview
Loading…
Cancel
Save