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
7402f478
Commit
7402f478
authored
Sep 05, 2019
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
90bbed1b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
36 deletions
+14
-36
index.js
business/pages/circleindex/index.js
+3
-0
index.js
src/pages/clockdetail/index.js
+0
-18
index.wxml
src/pages/clockdetail/index.wxml
+0
-13
index.wxml
src/pages/clockeditor/index.wxml
+7
-2
index.js
src/pages/growthrecord/index.js
+0
-1
index.js
src/pages/websiteindex/index.js
+4
-2
No files found.
business/pages/circleindex/index.js
View file @
7402f478
...
...
@@ -1204,4 +1204,7 @@ Page({
url
:
`/business/pages/studentmgt/list?id=
${
this
.
data
.
id
}
&sid=
${
this
.
data
.
sid
}
&from=circle&checkedIdStr=
${
this
.
data
.
memberIds
}
&courseid=
${
this
.
data
.
circleInfo
.
course
.
id
}
`
})
},
ture
(){
}
})
\ No newline at end of file
src/pages/clockdetail/index.js
View file @
7402f478
...
...
@@ -349,21 +349,6 @@ Page({
}
=
res
;
if
(
code
==
200
)
{
if
(
data
)
{
// if (data.clock_circle.deleted_at) {
// wx.showModal({
// title: '提示',
// content: '班级已被删除,点击确定返回机构首页',
// showCancel:false,
// confirmText:"确定",
// success(r) {
// if (r.confirm) {
// wx.reLaunch({
// url:`/src/pages/shopindex/index?mid=${res.data.member_id}`
// })
// }
// }
// })
// }
let
video_parse
=
JSON
.
parse
(
data
.
video
);
let
imageCount
=
video_parse
.
filter
(
data
=>
data
.
type
==
'image'
).
length
;
if
(
data
.
subject_type
==
3
){
...
...
@@ -410,7 +395,6 @@ Page({
clock
:
that
.
data
.
clock
})
})
// this.adInfoGet()
const
visitor
=
LocalStorage
.
getItem
(
'visitor'
);
activityLog
({
type
:
22
,
...
...
@@ -1103,7 +1087,6 @@ Page({
source_type
:
1
,
source_id
:
e
.
detail
.
themeId
}).
then
((
res
)
=>
{
// const {integral} = res;
if
(
res
.
integral
&&
Number
(
res
.
integral
)
>
0
)
{
this
.
setData
({
scoreFeedBackStatus
:
{
...
...
@@ -1119,7 +1102,6 @@ Page({
// 防止悬浮窗滚动页面滚动,无特殊意义
ture
()
{
},
goBusinessIndex
()
{
console
.
log
(
this
.
data
.
sid
)
wx
.
reLaunch
({
url
:
`/src/pages/websiteindex/index?sid=
${
this
.
data
.
sid
}
`
,
})
...
...
src/pages/clockdetail/index.wxml
View file @
7402f478
...
...
@@ -36,25 +36,12 @@
bind:integrallogpost="integrallogpost"
>
</clock-item>
<!-- <view class="submitbtn-box" >
<button class="submitbtn" bindtap="goClock">我也要打卡</button>
</view> -->
<!-- <view class="" >
</view> -->
</view>
<empty-content
wx:if="{{!hasData}}"
>
</empty-content>
<sjdbottombar></sjdbottombar>
<!-- <prize-get
wx-if="{{adGetShow}}"
bind:closeAdModal="closeAdModal"
adInfo="{{adInfo}}"
circleid="{{id}}"
>
</prize-get> -->
<view class="" data-editor="commenteditor">
<comment-editor wx:if="{{commenteditor}}" prams="{{commentclock}}" bind:hidecommenteditor="hidecommenteditor" type="2c"></comment-editor>
</view>
...
...
src/pages/clockeditor/index.wxml
View file @
7402f478
...
...
@@ -68,6 +68,8 @@
<view class="sjd-radio-box" >
<view
class="play-btn"
data-value="{{item.src}}"
data-index="{{index}}"
bindtap="playvoiceb"
...
...
@@ -111,7 +113,10 @@
</view>
<image class="delicon" data-value="{{item.src}}" data-index="{{index}}" src="{{imageRoot}}2c/common/reddelicon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bindtap="delAudio"></image>
</view>
<!-- </view> -->
<view class="" id="mediabtnbox" >
<!-- <view class="media-type-box {{ params.video == '' && params.audio == '' && imageBox.length == 0 ? '' : 'border-t-1px'}}" wx:if="{{themeDetail.type == 0}}"> -->
<view class="media-type-box" >
<view class="media-type-item" bindtap="addImg">
<view class="media-type-icon" id="imgBtn" >
<image class="media-type-icon-img image" src="{{imageRoot}}2c/clockeditor/imageicongreen.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="">
...
...
@@ -239,7 +244,7 @@
>
</video>
</view>
<view class="" wx:if="{{themeDetail.school_id == activtySchoolInfo.sid && tid != activtySchoolInfo.tid}}">
<view class=""
wx:if="{{themeDetail.school_id == activtySchoolInfo.sid && tid != activtySchoolInfo.tid}}">
<activity-bar
classid="{{activtySchoolInfo.id}}"
sid="{{activtySchoolInfo.sid}}"
...
...
@@ -251,4 +256,4 @@
>
</activity-bar>
</view>
</view>
\ No newline at end of file
</view>
src/pages/growthrecord/index.js
View file @
7402f478
...
...
@@ -891,7 +891,6 @@ Page({
const
{
cid
}
=
e
.
detail
;
const
{
bigindex
,
index
}
=
e
.
currentTarget
.
dataset
;
const
clockList
=
this
.
data
.
clockList
[
bigindex
].
filter
(
ele
=>
ele
.
id
!=
cid
);
// this.judgeIsClock(this.data.themeSelect.id);
this
.
setData
({
[
`clockList[
${
bigindex
}
]`
]:
clockList
})
...
...
src/pages/websiteindex/index.js
View file @
7402f478
...
...
@@ -113,11 +113,13 @@ Page({
s
,
}
=
sceneQuery
;
this
.
setData
({
sid
:
s
sid
:
s
,
websitehomeEmpty
:
s
?
true
:
false
})
}
else
{
this
.
setData
({
sid
:
options
.
sid
sid
:
options
.
sid
,
websitehomeEmpty
:
options
.
sid
?
true
:
false
})
}
this
.
setData
({
...
...
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