Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
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
wangxuelai
wechatapp.shangjiadao.com
Commits
7e5d9d80
Commit
7e5d9d80
authored
May 07, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
''
parent
4c4e7949
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
index.js
src/pages/mynews/index.js
+9
-3
index.wxml
src/pages/mynews/index.wxml
+1
-1
No files found.
src/pages/mynews/index.js
View file @
7e5d9d80
...
...
@@ -419,8 +419,14 @@ Page({
},
goThemeDetail
(
e
){
this
.
themeNoticeRead
(
e
.
currentTarget
.
dataset
.
tid
)
wx
.
navigateTo
({
url
:
`/src/pages/themeindex/index?id=
${
e
.
currentTarget
.
dataset
.
id
}
&tid=
${
e
.
currentTarget
.
dataset
.
tid
}
`
,
})
if
(
e
.
currentTarget
.
dataset
.
subjecttype
==
1
)
{
wx
.
navigateTo
({
url
:
`/src/pages/themeindex/index?id=
${
e
.
currentTarget
.
dataset
.
id
}
&tid=
${
e
.
currentTarget
.
dataset
.
tid
}
`
})
}
else
if
(
e
.
currentTarget
.
dataset
.
subjecttype
==
2
)
{
wx
.
navigateTo
({
url
:
`/src/pages/calendarthemeindex/index?id=
${
e
.
currentTarget
.
dataset
.
id
}
&tid=
${
e
.
currentTarget
.
dataset
.
tid
}
`
})
}
},
})
\ No newline at end of file
src/pages/mynews/index.wxml
View file @
7e5d9d80
...
...
@@ -48,7 +48,7 @@
</view>
<view class="themenotice-container clearfix" wx:if="{{currentType == 1}}">
<view class="" hover-class="none" hover-stop-propagation="false" wx:if="{{!emptyPage}}">
<view class="themenotice-item" hover-class="none" hover-stop-propagation="false" wx:for="{{noticeList}}" wx:key="{{index}}" bindtap="goThemeDetail" data-id="{{item.class_id}}" data-tid="{{item.id}}">
<view class="themenotice-item" hover-class="none" hover-stop-propagation="false" wx:for="{{noticeList}}" wx:key="{{index}}" bindtap="goThemeDetail" data-
subjecttype="{{item.subject_type}}" data-
id="{{item.class_id}}" data-tid="{{item.id}}">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
...
...
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