Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
S'inscrire
Connexion
weapp
/
C
Suivre
8
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Demandes d'ajout
0
Versions
66
Wiki
Activité
Parcourir la source
[商户详情][新增]
tags/湖南版5.1.4
luqc
il y a 6 ans
Parent
e1681fb72c
révision
6b3398026f
6 fichiers modifiés
avec
84 ajouts
et
0 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+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
Voir le fichier
@@ -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
Voir le fichier
@@ -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
Voir le fichier
@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "券详情",
"backgroundColor": "#f4f4f4",
"enablePullDownRefresh": true
}
+ 4
- 0
pages/index/detail/index.wxml
Voir le fichier
@@ -0,0 +1,4 @@
<!--pages/index/detail/index.wxml-->
<view>
</view>
+ 1
- 0
pages/index/detail/index.wxss
Voir le fichier
@@ -0,0 +1 @@
/* pages/index/detail/index.wxss */
+ 7
- 0
pages/index/searchbar/index.js
Voir le fichier
@@ -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) {
Écrire
Aperçu
Chargement…
Annuler
Enregistrer