Commit 08b00115 authored by lvtz's avatar lvtz

fix

parent bfae5901
...@@ -107,6 +107,9 @@ ...@@ -107,6 +107,9 @@
} }
.boxwrap .leftbox .schoolname.short{ .boxwrap .leftbox .schoolname.short{
width: 350rpx; width: 350rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
} }
.boxwrap .currenttag { .boxwrap .currenttag {
background-color: #35BAFD; background-color: #35BAFD;
......
...@@ -18,8 +18,8 @@ page{ ...@@ -18,8 +18,8 @@ page{
width:702rpx; width:702rpx;
background:#fff; background:#fff;
border-radius: 20rpx; border-radius: 20rpx;
padding: 32rpx 32rpx 25rpx 32rpx; padding: 32rpx 32rpx 28rpx 32rpx;
padding-top: 56rpx; padding-top: 40rpx;
margin: 27rpx auto 26rpx; margin: 27rpx auto 26rpx;
position: relative; position: relative;
z-index: 20; z-index: 20;
...@@ -28,8 +28,8 @@ page{ ...@@ -28,8 +28,8 @@ page{
.header-box .top-box { .header-box .top-box {
display: flex; display: flex;
align-items: center; align-items: center;
padding-bottom: 22rpx; padding-bottom: 30rpx;
border-bottom: 1px solid rgba(0,0,0,.05); border-bottom: 1px solid #eee;
} }
.header-box .top-box .logo-box{ .header-box .top-box .logo-box{
width:120rpx; width:120rpx;
...@@ -53,7 +53,7 @@ page{ ...@@ -53,7 +53,7 @@ page{
font-size: 22rpx; font-size: 22rpx;
text-align: center; text-align: center;
display: inline-block; display: inline-block;
padding: 0 7rpx; padding: 0 14rpx;
} }
.header-box .top-box .info-box .roletag.teacher { .header-box .top-box .info-box .roletag.teacher {
color: #FF9F49; color: #FF9F49;
...@@ -67,7 +67,11 @@ page{ ...@@ -67,7 +67,11 @@ page{
color:rgba(0,0,0,1); color:rgba(0,0,0,1);
line-height:1; line-height:1;
padding-bottom: 26rpx; 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 { .header-box .top-box .info-box .list-box {
display: flex; display: flex;
...@@ -96,7 +100,7 @@ page{ ...@@ -96,7 +100,7 @@ page{
font-weight:400; font-weight:400;
color:rgba(130,130,130,1); color:rgba(130,130,130,1);
line-height:1; line-height:1;
padding-top: 25rpx; padding-top: 28rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
...@@ -105,7 +109,7 @@ page{ ...@@ -105,7 +109,7 @@ page{
color: #666666; color: #666666;
font-size: 22rpx; font-size: 22rpx;
max-width: 450rpx; max-width: 450rpx;
line-height: 1.5; line-height: 1;
word-break: break-all; word-break: break-all;
} }
.header-box .nick-name .rolechangebox { .header-box .nick-name .rolechangebox {
...@@ -121,7 +125,6 @@ page{ ...@@ -121,7 +125,6 @@ page{
.header-box .nick-name .icon{ .header-box .nick-name .icon{
width: 24rpx; width: 24rpx;
height: 24rpx; height: 24rpx;
margin-right: 14rpx;
border-radius: 50%; border-radius: 50%;
} }
.line-box{ .line-box{
...@@ -134,8 +137,20 @@ page{ ...@@ -134,8 +137,20 @@ page{
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 36rpx 30rpx 34rpx 30rpx; padding: 30rpx 24rpx;
border-bottom: 1px solid rgba(0,0,0,.05); 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{ .line-box .line .left{
font-size:26rpx; font-size:26rpx;
...@@ -149,7 +164,7 @@ page{ ...@@ -149,7 +164,7 @@ page{
.line-box .line .left .icon{ .line-box .line .left .icon{
width: 40rpx; width: 40rpx;
height: 40rpx; height: 40rpx;
margin-right: 22rpx; margin-right: 16rpx;
} }
.line-box .line .left .message-icon{ .line-box .line .left .message-icon{
width: 31rpx; width: 31rpx;
......
This diff is collapsed.
...@@ -202,6 +202,7 @@ page{ ...@@ -202,6 +202,7 @@ page{
position: relative; position: relative;
padding: 0 10rpx; padding: 0 10rpx;
margin: 5rpx; margin: 5rpx;
border-radius: 6rpx;
} }
.schoolinfo-box .address-box{ .schoolinfo-box .address-box{
padding: 25rpx 0; padding: 25rpx 0;
...@@ -859,6 +860,7 @@ page{ ...@@ -859,6 +860,7 @@ page{
.business-instro .desc-box{ .business-instro .desc-box{
padding: 0 24rpx; padding: 0 24rpx;
position: relative; position: relative;
margin-top: -10rpx;
} }
.business-instro .desc-box .content{ .business-instro .desc-box .content{
font-size: 26rpx; font-size: 26rpx;
...@@ -1037,7 +1039,7 @@ page{ ...@@ -1037,7 +1039,7 @@ page{
min-width: 130rpx; min-width: 130rpx;
height: 130rpx; height: 130rpx;
margin-right: 20rpx; margin-right: 20rpx;
border-radius: 20rpx; border-radius: 10rpx;
overflow: hidden; overflow: hidden;
} }
.subject-list .list-item .cover-box .cover{ .subject-list .list-item .cover-box .cover{
...@@ -1100,6 +1102,7 @@ page{ ...@@ -1100,6 +1102,7 @@ page{
color: #222; color: #222;
line-height: 37rpx; line-height: 37rpx;
padding: 12rpx 0 3rpx; padding: 12rpx 0 3rpx;
font-weight: bold;
} }
.section-ad{ .section-ad{
width: 100%; width: 100%;
......
export default { export default {
imageRoot: 'https://cdn.img.shangjiadao.cn/qingxiao/dakav2/images/', imageRoot: 'https://cdn.img.shangjiadao.cn/qingxiao/dakav2/images/',
// host: 'https://qxapi.qingxiao.online/daka', host: 'https://qxapi.qingxiao.online/daka',
// host2: 'https://wx.m.shangjiadao.cn', host2: 'https://wx.m.shangjiadao.cn',
storageVersion: '5.0', storageVersion: '5.0',
imageVersion: '20200409', imageVersion: '20200409',
host: 'https://clock.wp53.cn', // host: 'https://clock.wp53.cn',
host2: 'https://test.wp53.cn', // host2: 'https://test.wp53.cn',
appId: 'wxc1246ea029394785', appId: 'wxc1246ea029394785',
miniProgram: { miniProgram: {
clock: 'wxdeee20e52a1fd7ee' clock: 'wxdeee20e52a1fd7ee'
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
} }
.list-item .video-image{ .list-item .video-image{
width: 100%; width: 100%;
border-radius: 20rpx; border-radius: 10rpx;
display: block; display: block;
} }
.list-item .top-fix{ .list-item .top-fix{
......
...@@ -1501,7 +1501,7 @@ Page({ ...@@ -1501,7 +1501,7 @@ Page({
}) })
websitesubjectGet({ websitesubjectGet({
page: 1, page: 1,
perPage: 3, perPage: 4,
school_id: this.data.sid, school_id: this.data.sid,
}).then((res) => { }).then((res) => {
const { code, data } = res; const { code, data } = res;
...@@ -1554,5 +1554,14 @@ Page({ ...@@ -1554,5 +1554,14 @@ Page({
address: addressInfo.location_address, address: addressInfo.location_address,
name: addressInfo.address name: addressInfo.address
}) })
},
jumpAdUrl (e){
const { url } = e.currentTarget.dataset;
if( !url ) {
return
}
wx.navigateTo({
url: '/'+url
})
} }
}) })
\ No newline at end of file
This diff is collapsed.
...@@ -202,6 +202,7 @@ page{ ...@@ -202,6 +202,7 @@ page{
position: relative; position: relative;
padding: 0 10rpx; padding: 0 10rpx;
margin: 5rpx; margin: 5rpx;
border-radius: 6rpx;
} }
.schoolinfo-box .address-box{ .schoolinfo-box .address-box{
padding: 25rpx 0; padding: 25rpx 0;
...@@ -859,6 +860,7 @@ page{ ...@@ -859,6 +860,7 @@ page{
.business-instro .desc-box{ .business-instro .desc-box{
padding: 0 24rpx; padding: 0 24rpx;
position: relative; position: relative;
margin-top: -10rpx;
} }
.business-instro .desc-box .content{ .business-instro .desc-box .content{
font-size: 26rpx; font-size: 26rpx;
...@@ -1037,7 +1039,7 @@ page{ ...@@ -1037,7 +1039,7 @@ page{
min-width: 130rpx; min-width: 130rpx;
height: 130rpx; height: 130rpx;
margin-right: 20rpx; margin-right: 20rpx;
border-radius: 20rpx; border-radius: 10rpx;
overflow: hidden; overflow: hidden;
} }
.subject-list .list-item .cover-box .cover{ .subject-list .list-item .cover-box .cover{
...@@ -1100,6 +1102,7 @@ page{ ...@@ -1100,6 +1102,7 @@ page{
color: #222; color: #222;
line-height: 37rpx; line-height: 37rpx;
padding: 12rpx 0 3rpx; padding: 12rpx 0 3rpx;
font-weight: bold;
} }
.section-ad{ .section-ad{
width: 100%; width: 100%;
...@@ -1109,4 +1112,5 @@ page{ ...@@ -1109,4 +1112,5 @@ page{
.section-ad .cover{ .section-ad .cover{
width: 100%; width: 100%;
height: 100%; height: 100%;
} border-radius: 20rpx;
\ No newline at end of file }
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
bindtransition="swipertransition" bindtransition="swipertransition"
bindanimationfinish="swiperanimationfinish" 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> <swiper-item>
<!-- <view class="video-box-wrapper" wx-if="{{playitem.type==2}}"> <!-- <view class="video-box-wrapper" wx-if="{{playitem.type==2}}">
<view class="video-box-wrapper"> <view class="video-box-wrapper">
......
...@@ -491,22 +491,22 @@ Page({ ...@@ -491,22 +491,22 @@ Page({
showPassWordTip:true, showPassWordTip:true,
passWord: '' passWord: ''
}) })
wx.showToast({ // wx.showToast({
title: '密码错误', // title: '密码错误',
icon: 'none', // icon: 'none',
duration: 2000 // duration: 2000
}) // })
} }
}).catch((res)=>{ }).catch((res)=>{
this.setData({ this.setData({
showPassWordTip:true, showPassWordTip:true,
passWord: '' passWord: ''
}) })
wx.showToast({ // wx.showToast({
title: '密码错误', // title: '密码错误',
icon: 'none', // icon: 'none',
duration: 2000 // duration: 2000
}) // })
}) })
}, },
goWebsiteIndex(){ goWebsiteIndex(){
......
...@@ -119,11 +119,11 @@ ...@@ -119,11 +119,11 @@
</view> </view>
<view class="info-box"> <view class="info-box">
<view class="title">{{item.title}}</view> <view class="title">{{item.title}}</view>
<view class="count-box"> <view class="count-box" wx:if="{{item.content}}">
<view class="count-item" wx:if="{{item.content && item.content.properties.duration}}"> <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)}}分钟 <image class="icon" src="{{imageRoot}}2c/websiteindex/onlinecourse/icon_time.png"/>{{filter.Mathceil(item.content.properties.duration/60)}}分钟
</view> </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="{{item.visitor}}">
<block wx:if="{{filter.toFix(item.visitor.learned_time/item.content.properties.duration,2)>=1}}">已学完</block> <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> <block wx:else>已学{{filter.toFix(item.visitor.learned_time/item.content.properties.duration,2)*100}}%</block>
......
...@@ -452,7 +452,7 @@ ...@@ -452,7 +452,7 @@
font-weight: 600; font-weight: 600;
color:#222; color:#222;
line-height: 1; line-height: 1;
max-width: 450rpx; max-width: 400rpx;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -566,7 +566,7 @@ ...@@ -566,7 +566,7 @@
.content-box .search-box{ .content-box .search-box{
display: flex; display: flex;
margin: 0 26rpx 0 24rpx; margin: 0 26rpx 20rpx 24rpx;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
......
...@@ -445,7 +445,7 @@ ...@@ -445,7 +445,7 @@
font-weight: 600; font-weight: 600;
color:#222; color:#222;
line-height: 1; line-height: 1;
max-width: 450rpx; max-width: 400rpx;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -1002,11 +1002,11 @@ ...@@ -1002,11 +1002,11 @@
.catlog-dailog .content .title-box .title{ .catlog-dailog .content .title-box .title{
font-size: 32rpx; font-size: 32rpx;
font-family:PingFangSC-Regular,PingFang SC; font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:#222; color:#222;
display: flex; display: flex;
align-items: center; align-items: center;
line-height: 45rpx; line-height: 45rpx;
font-weight: bold;
} }
.catlog-dailog .content .title-box .right{ .catlog-dailog .content .title-box .right{
display: flex; display: flex;
......
...@@ -24,7 +24,7 @@ page { ...@@ -24,7 +24,7 @@ page {
min-width: 130rpx; min-width: 130rpx;
height: 130rpx; height: 130rpx;
margin-right: 20rpx; margin-right: 20rpx;
border-radius: 20rpx; border-radius: 10rpx;
overflow: hidden; overflow: hidden;
} }
.subject-list .list-item .cover-box .cover{ .subject-list .list-item .cover-box .cover{
......
...@@ -40,12 +40,13 @@ ...@@ -40,12 +40,13 @@
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
font-weight: bold;
} }
.list-box .list-item .main .line .label { .list-box .list-item .main .line .label {
height: 30rpx; height: 36rpx;
font-size: 22rpx; font-size: 22rpx;
background: #f7f7f7; background: #f7f7f7;
line-height: 30rpx; line-height: 36rpx;
padding: 0 10rpx; padding: 0 10rpx;
margin-left: 14rpx; margin-left: 14rpx;
border-radius: 6rpx; border-radius: 6rpx;
...@@ -102,10 +103,11 @@ ...@@ -102,10 +103,11 @@
content: ""; content: "";
width: 100%; width: 100%;
height: 1px; height: 1px;
background: #eeeeee; background: #eee;
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
transform: scaleY(.5);
} }
video{ video{
width: 100%; width: 100%;
......
...@@ -47,10 +47,10 @@ page { ...@@ -47,10 +47,10 @@ page {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.list-box .list-item .main .line .label { .list-box .list-item .main .line .label {
height: 30rpx; height: 36rpx;
font-size: 22rpx; font-size: 22rpx;
background: #f7f7f7; background: #f7f7f7;
line-height: 30rpx; line-height: 36rpx;
padding: 0 10rpx; padding: 0 10rpx;
margin-left: 14rpx; margin-left: 14rpx;
border-radius: 6rpx; border-radius: 6rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment