Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsalesProgram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9a2ea822
authored
Aug 30, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
d211da47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
pages/list/signin/index.js
pages/list/signin/index.wxml
pages/list/signin/index.js
View file @
9a2ea822
...
...
@@ -159,10 +159,28 @@ Page({
/**
* 发布
*/
sendSignin
:
function
(
e
vt
)
{
sendSignin
:
function
(
e
)
{
console
.
log
(
e
vt
)
console
.
log
(
e
)
this
.
data
.
inputbar
.
cancelEmoji
();
http
.
getData
(
apis
.
checkAdd
,
'GET'
,
{
topic_id
:
this
.
data
.
topic_id
,
content
:
e
.
detail
.
msg
,
},
(
res
)
=>
{
if
(
res
.
errcode
===
0
)
{
this
.
getData
();
}
else
{
wx
.
showToast
({
title
:
res
.
errmsg
,
icon
:
'none'
,
duration
:
2000
});
}
},
true
,
false
,
true
);
},
/**
*tab切换
...
...
pages/list/signin/index.wxml
View file @
9a2ea822
...
...
@@ -21,6 +21,7 @@
</view>
</view>
<view class="topic-list">
<!-- 最新 -->
<block wx:if="{{tabIndex == 1}}">
<block wx:for="{{checkList}}" wx:for-item="item">
<view class="topic-item">
...
...
@@ -50,6 +51,7 @@
</view>
</block>
</block>
<!-- 热门 -->
<block wx:elif="{{tabIndex == 2}}">
<block wx:for="{{checkPopular}}" wx:for-item="item">
<view class="topic-item">
...
...
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