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
5e030a0f
Commit
5e030a0f
authored
Mar 12, 2020
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
活动校区 打卡详情展示介绍及按钮
parent
464e7d98
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
38 deletions
+30
-38
index.wxml
business/pages/circleeditor/index.wxml
+3
-16
newindex.js
src/pages/clockdetail/newindex.js
+2
-7
newindex.wxml
src/pages/clockdetail/newindex.wxml
+24
-14
newindex.wxss
src/pages/clockdetail/newindex.wxss
+1
-1
No files found.
business/pages/circleeditor/index.wxml
View file @
5e030a0f
...
...
@@ -118,25 +118,12 @@
<view class="devided-line"></view>
<view class="button-box" wx:if="{{id!=0}}">
<view class="btn btn-save" bindtap="saveCircle">保存
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
</view>
<view class="btn btn-delete" bindtap="delateCircle">
删除班级
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
</view>
<view class="btn btn-save" bindtap="saveCircle">保存</view>
<view class="btn btn-delete" bindtap="delateCircle">删除班级</view>
</view>
<view class="button-box" wx:else>
<view class="btn btn-save bigbtn-save" bindtap="saveCircle">
保存
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
</view>
保存</view>
</view>
<sound-recording
show="{{audioStatus.show}}"
...
...
src/pages/clockdetail/newindex.js
View file @
5e030a0f
...
...
@@ -148,7 +148,8 @@ Page({
clockGetting
:
false
,
studentsList
:
[],
//打卡学员头像列表
studentTotal
:
0
,
themeDetailData
:
''
themeDetailData
:
''
,
isexpand
:
true
},
/**
...
...
@@ -184,7 +185,6 @@ Page({
o
:
o
||
''
})
}
console
.
log
(
this
.
data
.
tid
,
this
.
data
.
cid
,
'参数'
)
app
.
getCurrentSchoolStudentId
({
source_id
:
this
.
data
.
tid
,
source_type
:
8
,
...
...
@@ -317,7 +317,6 @@ Page({
// 获取打卡学员头像列表
getModeStudent
()
{
let
type
=
this
.
data
.
clock
.
subject_type
;
console
.
log
(
'type'
,
type
);
let
params
=
{};
if
(
type
==
3
){
params
=
{
mode_id
:
this
.
data
.
clock
.
subject
.
unlock_mode_id
}
...
...
@@ -498,7 +497,6 @@ Page({
hasData
:
true
,
// tid: data.subject_id
},
()
=>
{
console
.
log
(
this
.
data
.
clock
,
'clock'
)
this
.
queryActivtySchoolInfo
(
this
.
data
.
sid
);
this
.
circleDetailGet
(
data
.
class_id
)
this
.
schoolInfoGet
(
data
.
school_id
)
...
...
@@ -568,7 +566,6 @@ Page({
data
}
=
res
;
if
(
code
==
200
)
{
console
.
log
(
data
,
'themeDetailDatathemeDetailData'
)
this
.
setData
({
moreTheme
:
data
,
themeDetailData
:
data
...
...
@@ -937,7 +934,6 @@ Page({
},
showcommenteditor1
(
e
)
{
this
.
data
.
bigindex
=
e
.
currentTarget
.
dataset
.
bigindex
;
console
.
log
(
e
.
currentTarget
.
dataset
.
bigindex
,
'e.currentTarget.dataset.bigindex'
)
this
.
setData
({
commentclock
:
e
.
detail
,
commenteditor1
:
true
...
...
@@ -1497,7 +1493,6 @@ Page({
integral
}
=
e
.
detail
;
const
{
bigindex
,
index
}
=
e
.
currentTarget
.
dataset
;
console
.
log
(
bigindex
,
e
)
let
clock
=
this
.
data
.
clockList
[
bigindex
].
find
(
ele
=>
ele
.
id
==
cid
);
if
(
type
==
2
)
{
// 取消点赞
if
(
clock
.
likes
.
list
.
find
(
ele
=>
ele
.
student_id
==
customerId
)){
...
...
src/pages/clockdetail/newindex.wxml
View file @
5e030a0f
...
...
@@ -103,26 +103,16 @@
<image class="animation" src="{{imageRoot}}2c/clockdetail/ling.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
</view>
</view> -->
<view wx:if="{{isMarketting&&noUserinfo}}" style="background: #fff; padding-bottom:40rpx">
<!--
<view style="background: #fff; padding-bottom:40rpx">
-->
<view class="new-marketing-box" wx:if="{{isMarketting&&noUserinfo}}">
<
!-- <view class="new-marketing-box"> --
>
<!--
领取体验课
-->
<view wx:if="{{isMarketting&&noUserinfo}}">
<
view class="new-marketing-box"
>
<button class="" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"></button>
<image class="lingt-img lightanimation" src="{{imageRoot}}2c/clockitem/light.png?{{imageVersion}}" ></image>
<image class="advert-img" src="{{imageRoot}}2c/clockitem/advert.png?{{imageVersion}}" ></image>
</view>
</view>
<!--
<view class="introduce" style="padding: 0" wx:if="{{circleDetail.content.length > 0&&noUserinfo}}">
<view class="sjd-media-show-box" wx:if="{{circleDetail.content.length > 0}}">
<sjd-media-show content="{{circleDetail.content}}" expandeddefault="{{false}}" bind:playvoice="playvoice" bind:pausevoice="pausevoice" bind:voiceslide="voiceslide" audioStorage="{{audioStorage}}" bind:slidestart="slidestart" bind:slideend="slideend" bind:videoplay="videoplay"
bind:playvideo="playvideo" widthtext="{{true}}"></sjd-media-show>
</view>
</view>
-->
<!-- 我也要打卡 加入 -->
<view class="join-box">
<view class="left">
...
...
@@ -157,6 +147,26 @@
<image wx:if="{{!themeDetailData.ad_banner || themeDetailData.ad_banner=='null' || themeDetailData.ad_banner=='https://cdn.img.shangjiadao.cn/qingxiao/daka/images/2c/morethemeindex/adbanner.png'}}" class="icon_click" src="{{imageRoot}}2c/clockitemv2/icon_click.gif?{{imageVersion}}" ></image>
</view>
</view>
<view class="introduce" style="border-top: 20rpx solid #EFEFEF;" wx:if="{{circleDetail.content.length > 0 && noUserinfo}}">
<view class="sjd-media-show-box">
<sjd-media-show
content="{{circleDetail.content}}"
noheight="{{false}}"
expandeddefault="{{false}}"
expanded="{{isexpand}}"
bind:playvoice="playvoice"
bind:pausevoice="pausevoice"
bind:voiceslide="voiceslide"
audioStorage="{{audioStorage}}"
bind:slidestart="slidestart"
bind:slideend="slideend"
bind:videoplay="videoplay"
bind:playvideo="playvideo"
widthtext="{{false}}"
>
</sjd-media-show>
</view>
</view>
<!-- 内容推荐 -->
<view class="introduce" wx:if="{{clockList.length>0}}" style="{{clockList.length<clockTotal ? 'padding-bottom: 44rpx' : ''}}" style="display: none;">
...
...
src/pages/clockdetail/newindex.wxss
View file @
5e030a0f
...
...
@@ -69,7 +69,7 @@
animation: leftfade 2s linear forwards;
}
page{
padding-bottom:
8
0rpx;
padding-bottom:
16
0rpx;
}
.container{
overflow-x: hidden;
...
...
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