Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fk_xcx
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
李静静
fk_xcx
Commits
d072895f
Commit
d072895f
authored
Jan 10, 2022
by
李静静
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改提示
parent
2087af52
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
index.js
pages/freeCourse/index.js
+10
-4
index.wxml
pages/freeCourse/index.wxml
+2
-2
No files found.
pages/freeCourse/index.js
View file @
d072895f
...
...
@@ -52,10 +52,10 @@ Page({
}
return
false
;
},
showServiceNoticMessage
(){
showServiceNoticMessage
(
content
){
wx
.
showModal
({
title
:
''
,
content
:
'入群方式已经通过“服务通知”的形式下发到你的微信'
,
content
,
showCancel
:
false
})
},
...
...
@@ -98,7 +98,13 @@ Page({
wxShowModal
:
function
(
obj
){
wx
.
showModal
(
obj
)
},
completemessage
:
function
(
res
){
chatGroupComplete
:
function
(
res
){
this
.
completemessage
(
res
,
'入群方式已经通过“服务通知”的形式下发到你的微信'
)
},
contactComplete
:
function
(
res
){
this
.
completemessage
(
res
,
'入群方式已经通过“服务通知”的形式下发到你的微信'
)
},
completemessage
:
function
(
res
,
message
){
console
.
log
(
"complete"
,
arguments
,
res
.
detail
)
if
(
Number
(
res
.
detail
.
errcode
)
===-
3004
){
wxShowModal
({
...
...
@@ -110,7 +116,7 @@ Page({
if
(
res
.
detail
&&
Number
(
res
.
detail
.
notifytype
)
===
0
){
// this.showVersion()
if
(
!
this
.
data
.
isLowerVersion
){
this
.
showServiceNoticMessage
()
this
.
showServiceNoticMessage
(
message
)
}
}
...
...
pages/freeCourse/index.wxml
View file @
d072895f
...
...
@@ -80,14 +80,14 @@
wx:if="{{item.type===1}}"
url='{{item.uniq_code}}'
bind:startmessage="startmessage"
bind:completemessage="c
ompletemessag
e"
bind:completemessage="c
hatGroupComplet
e"
/>
<contactCell
styleType="1"
paddingStyle="20"
wx:if="{{item.type===2}}"
plugid='{{item.uniq_code}}'
bind:completemessage="contactComplete"
/>
</view>
</view>
...
...
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