Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-limited-sell-miniapp
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
7 years ago
Commit
50fc280ce656c8519c979c990374ce7afdebe1ab
1 parent
22618f79
fix
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
app/pages/product/detail/detail.js
app/pages/product/detail/detail.wxml
app/router/rules.js
app/pages/product/detail/detail.js
View file @
50fc280
...
...
@@ -462,6 +462,9 @@ Page(Object.assign({
buyNow
()
{
router
.
goUrl
(
`
miniapp
.
yohobuy
.
com
/
pages
/
goodsDetail
/
goodsDetail
?
app
=
yohobuy
&
productSkn
=
$
{
this
.
data
.
productSkn
}
`
);
},
goHelp
()
{
router
.
go
(
'webview'
,
{
url
:
''
});
},
goList
()
{
router
.
go
(
'home'
);
},
...
...
app/pages/product/detail/detail.wxml
View file @
50fc280
...
...
@@ -47,7 +47,7 @@
<form bindsubmit="assisShare" report-submit='true'>
<view class="bottom1-action">
<button class="action-btn" formType="submit">邀请好友助力获取限购码</button>
<view class="help">?</view>
<view class="help"
bindtap="goHelp"
>?</view>
</view>
</form>
</action-bar>
...
...
@@ -89,7 +89,7 @@
<action-bar wx:elif="{{assisStatus === 4}}">
<view class="bottom1-action">
<view class="action-btn">已助力</view>
<view class="help">?</view>
<view class="help"
bindtap="goHelp"
>?</view>
</view>
</action-bar>
...
...
@@ -291,7 +291,7 @@
<action-bar>
<view class="bottom1-action">
<view class="action-btn">已助力</view>
<view class="help">?</view>
<view class="help"
bindtap="goHelp"
>?</view>
</view>
</action-bar>
</block>
...
...
app/router/rules.js
View file @
50fc280
...
...
@@ -7,5 +7,6 @@ export default {
snapShare
:
{
path
:
'/pages/snapshootShare/snapshootShare'
},
prizeUserList
:
{
path
:
'/pages/queue/prizeUserList'
},
myList
:
{
path
:
'/pages/queue/myList'
},
queueIndex
:
{
path
:
'/pages/queue/index'
}
queueIndex
:
{
path
:
'/pages/queue/index'
},
webview
:
{
path
:
'/pages/webview/webview'
}
};
...
...
Please
register
or
login
to post a comment