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
6989fd5b
Commit
6989fd5b
authored
Jun 04, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 会员规则跳转
parent
68217022
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
authorization-modal.js
src/component/authorization-modal/authorization-modal.js
+3
-0
authorization-modal.wxml
src/component/authorization-modal/authorization-modal.wxml
+5
-4
No files found.
src/component/authorization-modal/authorization-modal.js
View file @
6989fd5b
...
...
@@ -25,6 +25,9 @@ Component({
* 组件的方法列表
*/
methods
:
{
handelToMemberRules
()
{
wxService
.
router
(
'/pages/memberRules/memberRules'
)
},
//再想想
close
()
{
this
.
setData
({
...
...
src/component/authorization-modal/authorization-modal.wxml
View file @
6989fd5b
...
...
@@ -9,12 +9,14 @@
</view>
<button type='primary' bindgetuserinfo="_getUserInfo" open-type='getUserInfo' class='agree' >同意</button>
<view class='rule-wrap'>
<view class='agree-rule'>我已阅读并同意 <text class='rule-text'>《会员规则》</text></view>
<view class='agree-rule'>
<!--<label class="radio">
<radio checked="{{preferentialType}}" name="preferentialTypeCheck" value="0" />
</label>-->
我已阅读并同意 <text class='rule-text' bindtap="handelToMemberRules">《会员规则》</text></view>
</view>
<view class='close' bindtap='close'>
<image src='/assets/imgs/close.png'></image>
</view>
</view>
</view>
\ No newline at end of file
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