이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
가입하기
로그인
weapp
/
C
보기
8
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
66
위키
활동
소스 검색
[商户详情][新增]
tags/湖南版5.1.4
luqc
6 년 전
부모
e1681fb72c
커밋
6b3398026f
6개의 변경된 파일
과
84개의 추가작업
그리고
0개의 파일을 삭제
분할 보기
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
파일 보기
@@ -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
파일 보기
@@ -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
파일 보기
@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "券详情",
"backgroundColor": "#f4f4f4",
"enablePullDownRefresh": true
}
+ 4
- 0
pages/index/detail/index.wxml
파일 보기
@@ -0,0 +1,4 @@
<!--pages/index/detail/index.wxml-->
<view>
</view>
+ 1
- 0
pages/index/detail/index.wxss
파일 보기
@@ -0,0 +1 @@
/* pages/index/detail/index.wxss */
+ 7
- 0
pages/index/searchbar/index.js
파일 보기
@@ -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) {
쓰기
미리보기
불러오는 중...
취소
저장