Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
f5ffc2b2
You need to sign in or sign up before continuing.
Commit
f5ffc2b2
authored
Nov 05, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商品详情页
parent
e6505421
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
productDetail.js
src/pages/productDetail/productDetail.js
+5
-1
productDetail.wxml
src/pages/productDetail/productDetail.wxml
+7
-3
No files found.
src/pages/productDetail/productDetail.js
View file @
f5ffc2b2
...
@@ -26,7 +26,11 @@ wxService.page({
...
@@ -26,7 +26,11 @@ wxService.page({
fromZc
:
false
,
fromZc
:
false
,
scene
:
''
,
//触点参数
scene
:
''
,
//触点参数
},
},
handelToHome
()
{
wx
.
reLaunch
({
url
:
'/pages/userCenter/userCenter'
,
});
},
/**
/**
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
...
...
src/pages/productDetail/productDetail.wxml
View file @
f5ffc2b2
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
report-submit
report-submit
name='home'
name='home'
>
>
<navigator
<
!--<
navigator
class='get-formId--btn footer-icon'
class='get-formId--btn footer-icon'
url="/pages/userCenter/userCenter"
url="/pages/userCenter/userCenter"
formType="submit"
formType="submit"
...
@@ -108,7 +108,11 @@
...
@@ -108,7 +108,11 @@
>
>
<image src="/assets/imgs/7_1_0/home_un.png" mode="widthFix" />
<image src="/assets/imgs/7_1_0/home_un.png" mode="widthFix" />
<view>首页</view>
<view>首页</view>
</navigator>
</navigator>-->
<view bindtap="handelToHome" class='get-formId--btn footer-icon'>
<image src="/assets/imgs/7_1_0/home_un.png" mode="widthFix" />
<view>首页</view>
</view>
</form>
</form>
<form
<form
class='get-formId'
class='get-formId'
...
@@ -187,5 +191,5 @@
...
@@ -187,5 +191,5 @@
/> -->
/> -->
<!--goHome-->
<!--goHome-->
<
go-home/
>
<
!--<go-home/>--
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment