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
5fc9d93c
Commit
5fc9d93c
authored
Apr 20, 2020
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/lvtz_clock' into wxl-develop
parents
004b158d
1bcb2162
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
2615 additions
and
1480 deletions
+2615
-1480
index.wxss
business/pages/exchangebusiness/index.wxss
+3
-0
index.wxss
business/pages/organizationalmgt/index.wxss
+26
-11
newinfo.js
business/pages/organizationalmgt/newinfo.js
+1
-2
qxknow.js
business/pages/organizationalmgt/qxknow.js
+3
-8
qxknow.wxml
business/pages/organizationalmgt/qxknow.wxml
+4
-1
index.js
business/pages/websiteindex/index.js
+725
-542
index.wxml
business/pages/websiteindex/index.wxml
+513
-165
index.wxss
business/pages/websiteindex/index.wxss
+1089
-638
index.wxss
src/components/brickLayout/index.wxss
+1
-1
index.js
src/pages/websiteindex/index.js
+21
-2
index.wxml
src/pages/websiteindex/index.wxml
+187
-82
index.wxss
src/pages/websiteindex/index.wxss
+6
-2
momentvideo.wxml
src/pages/websiteindex/momentvideo.wxml
+1
-1
onlineclassroomindex.js
src/pages/websiteindex/onlineclassroomindex.js
+10
-10
onlineclassroomindex.wxml
src/pages/websiteindex/onlineclassroomindex.wxml
+3
-3
onlineclassroomindex.wxss
src/pages/websiteindex/onlineclassroomindex.wxss
+2
-2
onlineclassroomplay.wxml
src/pages/websiteindex/onlineclassroomplay.wxml
+1
-1
onlineclassroomplay.wxss
src/pages/websiteindex/onlineclassroomplay.wxss
+2
-2
subjectlist.wxss
src/pages/websiteindex/subjectlist.wxss
+1
-1
teacherdetail.wxss
src/pages/websiteindex/teacherdetail.wxss
+9
-3
teacherlist.wxss
src/pages/websiteindex/teacherlist.wxss
+7
-3
No files found.
business/pages/exchangebusiness/index.wxss
View file @
5fc9d93c
...
...
@@ -107,6 +107,9 @@
}
.boxwrap .leftbox .schoolname.short{
width: 350rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.boxwrap .currenttag {
background-color: #35BAFD;
...
...
business/pages/organizationalmgt/index.wxss
View file @
5fc9d93c
...
...
@@ -18,8 +18,8 @@ page{
width:702rpx;
background:#fff;
border-radius: 20rpx;
padding: 32rpx 32rpx 2
5
rpx 32rpx;
padding-top:
56
rpx;
padding: 32rpx 32rpx 2
8
rpx 32rpx;
padding-top:
40
rpx;
margin: 27rpx auto 26rpx;
position: relative;
z-index: 20;
...
...
@@ -28,8 +28,8 @@ page{
.header-box .top-box {
display: flex;
align-items: center;
padding-bottom:
22
rpx;
border-bottom: 1px solid
rgba(0,0,0,.05)
;
padding-bottom:
30
rpx;
border-bottom: 1px solid
#eee
;
}
.header-box .top-box .logo-box{
width:120rpx;
...
...
@@ -53,7 +53,7 @@ page{
font-size: 22rpx;
text-align: center;
display: inline-block;
padding: 0
7
rpx;
padding: 0
14
rpx;
}
.header-box .top-box .info-box .roletag.teacher {
color: #FF9F49;
...
...
@@ -67,7 +67,11 @@ page{
color:rgba(0,0,0,1);
line-height:1;
padding-bottom: 26rpx;
word-break: break-all;
max-width: 450rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.header-box .top-box .info-box .list-box {
display: flex;
...
...
@@ -96,7 +100,7 @@ page{
font-weight:400;
color:rgba(130,130,130,1);
line-height:1;
padding-top: 2
5
rpx;
padding-top: 2
8
rpx;
display: flex;
align-items: center;
justify-content: space-between;
...
...
@@ -105,7 +109,7 @@ page{
color: #666666;
font-size: 22rpx;
max-width: 450rpx;
line-height: 1
.5
;
line-height: 1;
word-break: break-all;
}
.header-box .nick-name .rolechangebox {
...
...
@@ -121,7 +125,6 @@ page{
.header-box .nick-name .icon{
width: 24rpx;
height: 24rpx;
margin-right: 14rpx;
border-radius: 50%;
}
.line-box{
...
...
@@ -134,8 +137,20 @@ page{
display: flex;
align-items: center;
justify-content: space-between;
padding: 3
6rpx 30rpx 34rpx 30
rpx;
padding: 3
0rpx 24
rpx;
border-bottom: 1px solid rgba(0,0,0,.05);
position: relative;
}
.line-box .line::after{
content: '';
width: calc(100% - 24rpx);
background: #eee;
position: absolute;
bottom: 0;
right: 0;
}
.line-box .line:last-of-type::after{
display: none;
}
.line-box .line .left{
font-size:26rpx;
...
...
@@ -149,7 +164,7 @@ page{
.line-box .line .left .icon{
width: 40rpx;
height: 40rpx;
margin-right:
22
rpx;
margin-right:
16
rpx;
}
.line-box .line .left .message-icon{
width: 31rpx;
...
...
business/pages/organizationalmgt/newinfo.js
View file @
5fc9d93c
...
...
@@ -523,8 +523,7 @@ Page({
if
(
res
.
code
==
200
)
{
// 成功的操作
if
(
this
.
data
.
sid
==
0
)
{
// 新增的操作
wx
.
redirectTo
({
url
:
`/business/pages/deskcenter/themetemplate?sid=
${
res
.
data
.
id
}
`
// url: `/business/pages/organizationalmgt/qxknow?sid=${res.data.id}`
url
:
`/business/pages/organizationalmgt/qxknow?sid=
${
res
.
data
.
id
}
`
});
}
else
{
wx
.
showToast
({
...
...
business/pages/organizationalmgt/qxknow.js
View file @
5fc9d93c
...
...
@@ -4,14 +4,9 @@ import {
var
app
=
getApp
();
Page
({
data
:
{
imgList
:
[
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/gif1.gif"
,
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/code.png"
,
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/idea.png"
,
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/gif2.gif"
,
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/gif3.gif"
,
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/pic_03.png"
],
imageRoot
:
app
.
globalData
.
imageRoot
,
localImageRoot
:
"../../../images/"
,
imageVersion
:
app
.
globalData
.
imageVersion
,
sid
:
0
},
...
...
business/pages/organizationalmgt/qxknow.wxml
View file @
5fc9d93c
<view class="container">
<view class="btn-jump" bindtap="bindJumpEvent">跳过</view>
<view class="desc-box">
<image class="desc-img" wx:for="{{imgList}}" wx:key="index" src="{{item}}" mode="widthFix"></image>
<image class="desc-img" wx:key="index" src="{{imageRoot}}qxknow/img_01.png?{{imageVersion}}" mode="widthFix"></image>
<image class="desc-img" wx:key="index" src="{{imageRoot}}qxknow/img_02.png?{{imageVersion}}" mode="widthFix"></image>
<image class="desc-img" wx:key="index" src="{{imageRoot}}qxknow/img_03.png?{{imageVersion}}" mode="widthFix"></image>
<image class="desc-img" wx:key="index" src="{{imageRoot}}qxknow/img_04.png?{{imageVersion}}" mode="widthFix"></image>
</view>
<view class="submitbtn-box">
<view class="submitbtn" bindtap="toCreate">创建作业打卡</view>
...
...
business/pages/websiteindex/index.js
View file @
5fc9d93c
This diff is collapsed.
Click to expand it.
business/pages/websiteindex/index.wxml
View file @
5fc9d93c
This diff is collapsed.
Click to expand it.
business/pages/websiteindex/index.wxss
View file @
5fc9d93c
This diff is collapsed.
Click to expand it.
src/components/brickLayout/index.wxss
View file @
5fc9d93c
...
...
@@ -22,7 +22,7 @@
}
.list-item .video-image{
width: 100%;
border-radius:
2
0rpx;
border-radius:
1
0rpx;
display: block;
}
.list-item .top-fix{
...
...
src/pages/websiteindex/index.js
View file @
5fc9d93c
...
...
@@ -42,7 +42,8 @@ import {
wxChooseLocation
,
wxOpenSetting
,
wxGetImageInfo
,
wxLogin
wxLogin
,
wxOpenLocation
,
}
from
'../../../utilities/wxApi.js'
;
var
app
=
getApp
();
Page
({
...
...
@@ -1500,7 +1501,7 @@ Page({
})
websitesubjectGet
({
page
:
1
,
perPage
:
3
,
perPage
:
4
,
school_id
:
this
.
data
.
sid
,
}).
then
((
res
)
=>
{
const
{
code
,
data
}
=
res
;
...
...
@@ -1544,5 +1545,23 @@ Page({
default
:
break
;
}
},
makenavigate
(){
let
addressInfo
=
this
.
data
.
schoolInfo
?
this
.
data
.
schoolInfo
:
this
.
data
.
schoolDetail
;
wxOpenLocation
({
latitude
:
Number
(
addressInfo
.
latitude
),
longitude
:
Number
(
addressInfo
.
longitude
),
address
:
addressInfo
.
location_address
,
name
:
addressInfo
.
address
})
},
jumpAdUrl
(
e
){
const
{
url
}
=
e
.
currentTarget
.
dataset
;
if
(
!
url
)
{
return
}
wx
.
navigateTo
({
url
:
'/'
+
url
})
}
})
\ No newline at end of file
src/pages/websiteindex/index.wxml
View file @
5fc9d93c
This diff is collapsed.
Click to expand it.
src/pages/websiteindex/index.wxss
View file @
5fc9d93c
...
...
@@ -202,6 +202,7 @@ page{
position: relative;
padding: 0 10rpx;
margin: 5rpx;
border-radius: 6rpx;
}
.schoolinfo-box .address-box{
padding: 25rpx 0;
...
...
@@ -859,6 +860,7 @@ page{
.business-instro .desc-box{
padding: 0 24rpx;
position: relative;
margin-top: -10rpx;
}
.business-instro .desc-box .content{
font-size: 26rpx;
...
...
@@ -1037,7 +1039,7 @@ page{
min-width: 130rpx;
height: 130rpx;
margin-right: 20rpx;
border-radius:
2
0rpx;
border-radius:
1
0rpx;
overflow: hidden;
}
.subject-list .list-item .cover-box .cover{
...
...
@@ -1100,6 +1102,7 @@ page{
color: #222;
line-height: 37rpx;
padding: 12rpx 0 3rpx;
font-weight: bold;
}
.section-ad{
width: 100%;
...
...
@@ -1109,4 +1112,5 @@ page{
.section-ad .cover{
width: 100%;
height: 100%;
}
\ No newline at end of file
border-radius: 20rpx;
}
src/pages/websiteindex/momentvideo.wxml
View file @
5fc9d93c
...
...
@@ -32,7 +32,7 @@
bindtransition="swipertransition"
bindanimationfinish="swiperanimationfinish"
>
<block wx:for="{{playList}}" wx:for-index="playindex" wx:for-item="playitem" wx:key="
{{playindex}}
" style="position: relative">
<block wx:for="{{playList}}" wx:for-index="playindex" wx:for-item="playitem" wx:key="
playindex
" style="position: relative">
<swiper-item>
<!-- <view class="video-box-wrapper" wx-if="{{playitem.type==2}}">
<view class="video-box-wrapper">
...
...
src/pages/websiteindex/onlineclassroomindex.js
View file @
5fc9d93c
...
...
@@ -491,22 +491,22 @@ Page({
showPassWordTip
:
true
,
passWord
:
''
})
wx
.
showToast
({
title
:
'密码错误'
,
icon
:
'none'
,
duration
:
2000
})
//
wx.showToast({
//
title: '密码错误',
//
icon: 'none',
//
duration: 2000
//
})
}
}).
catch
((
res
)
=>
{
this
.
setData
({
showPassWordTip
:
true
,
passWord
:
''
})
wx
.
showToast
({
title
:
'密码错误'
,
icon
:
'none'
,
duration
:
2000
})
//
wx.showToast({
//
title: '密码错误',
//
icon: 'none',
//
duration: 2000
//
})
})
},
goWebsiteIndex
(){
...
...
src/pages/websiteindex/onlineclassroomindex.wxml
View file @
5fc9d93c
...
...
@@ -119,11 +119,11 @@
</view>
<view class="info-box">
<view class="title">{{item.title}}</view>
<view class="count-box">
<view class="count-item" wx:if="{{item.content
&& item.content
.properties.duration}}">
<view class="count-box"
wx:if="{{item.content}}"
>
<view class="count-item" wx:if="{{item.content.properties.duration}}">
<image class="icon" src="{{imageRoot}}2c/websiteindex/onlinecourse/icon_time.png"/>{{filter.Mathceil(item.content.properties.duration/60)}}分钟
</view>
<view class="count-item" wx:if="{{item.content
&& item.content
.type==2 || item.content.type==3}}">
<view class="count-item" wx:if="{{item.content.type==2 || item.content.type==3}}">
<block wx:if="{{item.visitor}}">
<block wx:if="{{filter.toFix(item.visitor.learned_time/item.content.properties.duration,2)>=1}}">已学完</block>
<block wx:else>已学{{filter.toFix(item.visitor.learned_time/item.content.properties.duration,2)*100}}%</block>
...
...
src/pages/websiteindex/onlineclassroomindex.wxss
View file @
5fc9d93c
...
...
@@ -452,7 +452,7 @@
font-weight: 600;
color:#222;
line-height: 1;
max-width: 4
5
0rpx;
max-width: 4
0
0rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
...
...
@@ -566,7 +566,7 @@
.content-box .search-box{
display: flex;
margin: 0 26rpx
0
24rpx;
margin: 0 26rpx
20rpx
24rpx;
align-items: center;
justify-content: space-between;
}
...
...
src/pages/websiteindex/onlineclassroomplay.wxml
View file @
5fc9d93c
...
...
@@ -91,7 +91,7 @@
<view class="coursecounttext">已更新{{coursesDetail.type==1?'1': coursesDetail.sub_courses_count}}期</view>
</view>
</view>
<image class="shareicon" bindtap="ShowShareDailog" src="{{imageRoot}}2c/onlineclass/shareicon.png?{{imageVersion}}"></image>
<image class="shareicon" bindtap="ShowShareDailog" src="{{imageRoot}}2c/onlineclass/shareicon.png?{{imageVersion}}"
wx:if="{{coursesDetail.share_switch==1}}"
></image>
</view>
</view>
<view class="divideline"></view>
...
...
src/pages/websiteindex/onlineclassroomplay.wxss
View file @
5fc9d93c
...
...
@@ -445,7 +445,7 @@
font-weight: 600;
color:#222;
line-height: 1;
max-width: 4
5
0rpx;
max-width: 4
0
0rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
...
...
@@ -1002,11 +1002,11 @@
.catlog-dailog .content .title-box .title{
font-size: 32rpx;
font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:#222;
display: flex;
align-items: center;
line-height: 45rpx;
font-weight: bold;
}
.catlog-dailog .content .title-box .right{
display: flex;
...
...
src/pages/websiteindex/subjectlist.wxss
View file @
5fc9d93c
...
...
@@ -24,7 +24,7 @@ page {
min-width: 130rpx;
height: 130rpx;
margin-right: 20rpx;
border-radius:
2
0rpx;
border-radius:
1
0rpx;
overflow: hidden;
}
.subject-list .list-item .cover-box .cover{
...
...
src/pages/websiteindex/teacherdetail.wxss
View file @
5fc9d93c
...
...
@@ -18,6 +18,7 @@
}
.list-box .list-item .avatar {
width: 88rpx;
min-width: 88rpx;
height: 88rpx;
margin-right: 14rpx;
border-radius: 50%;
...
...
@@ -39,16 +40,20 @@
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: bold;
}
.list-box .list-item .main .line .label {
height: 3
0
rpx;
height: 3
6
rpx;
font-size: 22rpx;
background: #f7f7f7;
line-height: 3
0
rpx;
line-height: 3
6
rpx;
padding: 0 10rpx;
margin-left: 14rpx;
border-radius: 6rpx;
max-width: 150rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.list-box .list-item .main .line .bg {
font-size: 22rpx;
...
...
@@ -98,10 +103,11 @@
content: "";
width: 100%;
height: 1px;
background: #eee
eee
;
background: #eee;
position: absolute;
left: 0;
top: 0;
transform: scaleY(.5);
}
video{
width: 100%;
...
...
src/pages/websiteindex/teacherlist.wxss
View file @
5fc9d93c
...
...
@@ -23,6 +23,7 @@ page {
}
.list-box .list-item .avatar {
width: 88rpx;
min-width: 88rpx;
height: 88rpx;
margin-right: 14rpx;
border-radius: 50%;
...
...
@@ -40,20 +41,23 @@ page {
font-size: 32rpx;
color: #222;
line-height: 1;
max-width:
3
00rpx;
max-width:
2
00rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.list-box .list-item .main .line .label {
height: 3
0
rpx;
height: 3
6
rpx;
font-size: 22rpx;
background: #f7f7f7;
line-height: 3
0
rpx;
line-height: 3
6
rpx;
padding: 0 10rpx;
margin-left: 14rpx;
border-radius: 6rpx;
max-width: 150rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.list-box .list-item .main .line .bg {
font-size: 22rpx;
...
...
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