Commit 9a1c8204 authored by lvtz's avatar lvtz

fix

parent c888ee88
...@@ -12,7 +12,7 @@ Component({ ...@@ -12,7 +12,7 @@ Component({
type: Number, type: Number,
value: 0 value: 0
}, },
current: { // 当前选中的菜单 ucenter 我的 message 消息 class 课程列表 current: { // 当前选中的菜单 home首页 ucenter我的 papersquare习作广场 message消息
type: String, type: String,
value: 'ucenter' value: 'ucenter'
} }
...@@ -60,9 +60,6 @@ Component({ ...@@ -60,9 +60,6 @@ Component({
url = `/src/pages/mynews/index?sid=${this.data.sid}`; url = `/src/pages/mynews/index?sid=${this.data.sid}`;
btnName = 'message'; btnName = 'message';
break break
// case 'class': // 跳转课程管理
// url = `/src/pages/schoolclasslist/index?sid=${this.data.sid}`;
// break
case 'papersquare': // 跳转习作广场 case 'papersquare': // 跳转习作广场
url = `/src/pages/papersquare/index?sid=${this.data.sid}`; url = `/src/pages/papersquare/index?sid=${this.data.sid}`;
btnName = 'papersquare'; btnName = 'papersquare';
...@@ -92,8 +89,8 @@ Component({ ...@@ -92,8 +89,8 @@ Component({
}) })
}) })
}, },
// 消息数量
getCommonwaitJob() { getCommonwaitJob() {
console.log(22)
commonwaitjobGet({ commonwaitjobGet({
school_id: this.data.sid school_id: this.data.sid
}).then((res) => { }).then((res) => {
......
<view class="tabbar-wrap"> <view class="tabbar-wrap">
<view class="btabbar"> <view class="btabbar">
<view class="btabbaritem home {{current == 'home' ? 'active' : ''}}" bindtap="chooseTab" data-type="home" > <view class="btabbaritem {{current == 'home' ? 'active' : ''}}" bindtap="chooseTab" data-type="home" >
<image class="icon home" wx:if="{{current != 'home'}}" src="/images/ctabbar/home.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> <image class="icon" wx:if="{{current != 'home'}}" src="/images/ctabbar/home.png"></image>
<image class="icon home" wx:if="{{current == 'home'}}" src="/images/ctabbar/homeactive.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> <image class="icon" wx:if="{{current == 'home'}}" src="/images/ctabbar/homeactive.png"></image>
<text class="btabbaritemname" selectable="false" space="false" decode="false">主页</text> <text class="btabbaritemname">主页</text>
</view> </view>
<!-- <view class="btabbaritem class {{current == 'class' ? 'active' : ''}}" bindtap="chooseTab" data-type="class" > <view class="btabbaritem {{current == 'papersquare' ? 'active' : ''}}" bindtap="chooseTab" data-type="papersquare" >
<image class="icon class" wx:if="{{current != 'class'}}" src="/images/ctabbar/class.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> <image class="icon" wx:if="{{current != 'papersquare'}}" src="/images/ctabbar/class.png"></image>
<image class="icon class" wx:if="{{current == 'class'}}" src="/images/ctabbar/classactive.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> <image class="icon" wx:if="{{current == 'papersquare'}}" src="/images/ctabbar/classactive.png"></image>
<text class="btabbaritemname" selectable="false" space="false" decode="false">课程列表</text> <text class="btabbaritemname">习作广场</text>
</view> -->
<view class="btabbaritem class {{current == 'papersquare' ? 'active' : ''}}" bindtap="chooseTab" data-type="papersquare" >
<image class="icon class" wx:if="{{current != 'papersquare'}}" src="/images/ctabbar/class.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="icon class" wx:if="{{current == 'papersquare'}}" src="/images/ctabbar/classactive.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<text class="btabbaritemname" selectable="false" space="false" decode="false">习作广场</text>
</view> </view>
<!-- <view class="btabbaritem message {{current == 'message' ? 'active' : ''}}" bindtap="chooseTab" data-type="message" > <!-- <view class="btabbaritem message {{current == 'message' ? 'active' : ''}}" bindtap="chooseTab" data-type="message" >
<image class="icon message" wx:if="{{current != 'message'}}" src="/images/ctabbar/message.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> <image class="icon" wx:if="{{current != 'message'}}" src="/images/ctabbar/message.png"></image>
<image class="icon message" wx:if="{{current == 'message'}}" src="/images/ctabbar/messageactive.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> <image class="icon" wx:if="{{current == 'message'}}" src="/images/ctabbar/messageactive.png"></image>
<text class="btabbaritemname" selectable="false" space="false" decode="false">消息</text> <text class="btabbaritemname">消息</text>
<view class="message-count" wx:if="{{noticecount > 0}}">{{noticecount > 99 ? '99+' : noticecount}}</view> <view class="message-count" wx:if="{{noticecount > 0}}">{{noticecount > 99 ? '99+' : noticecount}}</view>
</view> --> </view> -->
<view class="btabbaritem ucenter {{current == 'ucenter' ? 'active' : ''}}" bindtap="chooseTab" data-type="ucenter" > <view class="btabbaritem {{current == 'ucenter' ? 'active' : ''}}" bindtap="chooseTab" data-type="ucenter" >
<image class="icon ucenter" wx:if="{{current != 'ucenter'}}" src="/images/ctabbar/ucenter.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> <image class="icon" wx:if="{{current != 'ucenter'}}" src="/images/ctabbar/ucenter.png"></image>
<image class="icon ucenter" wx:if="{{current == 'ucenter'}}" src="/images/ctabbar/ucenteractive.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> <image class="icon" wx:if="{{current == 'ucenter'}}" src="/images/ctabbar/ucenteractive.png"></image>
<text class="btabbaritemname" selectable="false" space="false" decode="false">我</text> <text class="btabbaritemname">我</text>
</view> </view>
</view> </view>
</view> </view>
\ No newline at end of file
.tabbar-wrap{ .tabbar-wrap{
background: #fff; background: #fff;
position: fixed; position: fixed;
...@@ -15,19 +14,15 @@ ...@@ -15,19 +14,15 @@
justify-content: space-around; justify-content: space-around;
height: 100rpx; height: 100rpx;
width: 100%; width: 100%;
padding-top: 10rpx;
}
.btabbar image {
display: block;
} }
.btabbaritem { .btabbaritem {
text-align: center;
width: 128rpx; width: 128rpx;
/* height: 100rpx; */ height: 100%;
/* display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
flex-direction: column; */ flex-direction: column;
justify-content: center;
position: relative; position: relative;
} }
.message-count { .message-count {
...@@ -46,65 +41,20 @@ ...@@ -46,65 +41,20 @@
transform: translateX(-50%); transform: translateX(-50%);
box-sizing: content-box; box-sizing: content-box;
} }
.btabbaritem.active .message-count {
top: 14rpx;
}
.btabbaritemname { .btabbaritemname {
font-size: 22rpx; font-size: 22rpx;
color: #464646; color: #464646;
} line-height: 1;
.btabbaritemname.active { padding-top: 10rpx;
color: #65B8F4;
}
.btabbaricon {
width: 100%;
height: 41rpx;
display: flex;
align-items: center;
justify-content: center;
} }
.btabbaritem .icon{ .btabbaritem .icon{
height: 41rpx; height: 41rpx;
width: 41rpx; width: 41rpx;
display: block; display: block;
margin: 0 auto 2rpx;
}
.btabbaritem.active {
border-radius: 50%;
height: 128rpx;
}
.btabbaritem.active .home{
width: 61rpx;
height: 64rpx;
margin-bottom: -16rpx;
}
.btabbaritem.active .class{
width: 66rpx;
height: 66rpx;
margin-bottom: -16rpx;
} }
.btabbaritem.active .message{ .btabbaritem.active .icon{
width: 66rpx; transform: scale(1.5);
height: 66rpx;
margin-bottom: -16rpx;
}
.btabbaritem.active .ucenter{
width: 63rpx;
height: 62rpx;
margin-bottom:-14rpx;
} }
.btabbaritem.active .btabbaritemname { .btabbaritem.active .btabbaritemname {
color: #FFBD21; color: #FFBD21;
}
.btabbaritem.active.ucenter {
padding-top: 16rpx;
}
.btabbaritem.active.message {
padding-top:15rpx;
}
.btabbaritem.active.class {
padding-top:15rpx;
}
.btabbaritem.active.home {
padding-top:17rpx;
} }
\ No newline at end of file
<!--src/components/goTop/index.wxml--> <!--src/components/goTop/index.wxml-->
<view class="goTop-box" bindtap="goTop" > <view class="goTop-box" bindtap="goTop" >
<image class="gotop-img" src="{{localImageRoot}}2c/papersquare/upup.png?{{imageVersion}}" lazy-load="false" binderror="" bindload=""></image> <image class="gotop-img" src="{{imageRoot}}2c/papersquare/upup.png?{{imageVersion}}" lazy-load="false" binderror="" bindload=""></image>
</view> </view>
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
background: #F7F7F7; background: #F7F7F7;
flex-direction:column; flex-direction:column;
border-radius: 10rpx; border-radius: 10rpx;
margin: 0 auto; margin: 10rpx auto 0;
line-height: 1; line-height: 1;
} }
.line1{ .line1{
......
...@@ -246,6 +246,7 @@ const apis = { ...@@ -246,6 +246,7 @@ const apis = {
sharerthumbnail: `${api}student/influence/share/thumbnail`, // 分享缩略 sharerthumbnail: `${api}student/influence/share/thumbnail`, // 分享缩略
shares: `${api}student/influence/shares`, // 分享列表 shares: `${api}student/influence/shares`, // 分享列表
clues: `${api}student/influence/clues`, // 线索列表 clues: `${api}student/influence/clues`, // 线索列表
viewVisitors: `${api}student/influence/view/visitors`,//个人中心访客列表
}, },
}, },
business: { business: {
......
...@@ -34,6 +34,14 @@ function views(data) { ...@@ -34,6 +34,14 @@ function views(data) {
errorresolve: 1, errorresolve: 1,
}) })
} }
function viewVisitors(data) {
return wxRequest({
url: apis.customer.myInfluence.viewVisitors,
data,
method: 'GET',
errorresolve: 1,
})
}
function sharerthumbnail(data) { function sharerthumbnail(data) {
return wxRequest({ return wxRequest({
url: apis.customer.myInfluence.sharerthumbnail, url: apis.customer.myInfluence.sharerthumbnail,
...@@ -62,6 +70,7 @@ export { ...@@ -62,6 +70,7 @@ export {
dashboard, dashboard,
viewthumbnail, viewthumbnail,
views, views,
viewVisitors,
sharerthumbnail, sharerthumbnail,
clues, clues,
shares, shares,
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
</view> </view>
<view class="expand-content" wx:if="{{clock.content.length > 100 && (type == 0 || othertype==1)}}"> <view class="expand-content" wx:if="{{clock.content.length > 100 && (type == 0 || othertype==1)}}">
<text class="" catchtap="goClockDetail">查看全文</text> <text class="" catchtap="goClockDetail">查看全文</text>
<image class="" src="{{localImageRoot}}/2c/papersquare/blueright.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" /> <image class="" src="{{imageRoot}}2c/papersquare/blueright.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
</view> </view>
<view class="mediacontent" wx:if="{{clock.video_parse.length > 0 && (type == 0 &&type != 1 || othertype==1)}}"> <view class="mediacontent" wx:if="{{clock.video_parse.length > 0 && (type == 0 &&type != 1 || othertype==1)}}">
<!-- <view class="mediabox clearfix" wx:if="{{clock.video_parse.length == 1}}"> <!-- <view class="mediabox clearfix" wx:if="{{clock.video_parse.length == 1}}">
...@@ -224,7 +224,7 @@ ...@@ -224,7 +224,7 @@
<view class="theme-name-box" catchtap="goThemeIndex" data-subject="{{clock}}" wx:if="{{clock.subject_type!=3 && type==0 && frompage!=1}}"> <view class="theme-name-box" catchtap="goThemeIndex" data-subject="{{clock}}" wx:if="{{clock.subject_type!=3 && type==0 && frompage!=1}}">
<view class="theme-name-box-inner"> <view class="theme-name-box-inner">
<image class="dotdot-img" src="{{localImageRoot}}2c/papersquare/bluetheme.png?{{imageVersion}}" ></image> <image class="dotdot-img" src="{{imageRoot}}2c/papersquare/bluetheme.png?{{imageVersion}}" ></image>
<view class="name">主题:</view> <view class="name">主题:</view>
<view class="content">{{clock.subject.title}}</view> <view class="content">{{clock.subject.title}}</view>
<view class="goclock-btn">去打卡</view> <view class="goclock-btn">去打卡</view>
...@@ -249,7 +249,7 @@ ...@@ -249,7 +249,7 @@
<view class="btn-box" catchtap="goThemeIndex" data-subject="{{clock}}">去打卡</view> --> <view class="btn-box" catchtap="goThemeIndex" data-subject="{{clock}}">去打卡</view> -->
<view class="theme-box" catchtap="goThemeIndex" data-subject="{{clock}}"> <view class="theme-box" catchtap="goThemeIndex" data-subject="{{clock}}">
<view class="left"> <view class="left">
<image class="dotdot-img" src="{{localImageRoot}}2c/papersquare/bluetheme.png?{{imageVersion}}" ></image> <image class="dotdot-img" src="{{imageRoot}}2c/papersquare/bluetheme.png?{{imageVersion}}" ></image>
<view class="name">主题:</view> <view class="name">主题:</view>
<view class="content">{{clock.subject.title}}</view> <view class="content">{{clock.subject.title}}</view>
<view class="count1">{{filter.numberToCn(clock.subject.clock_count)}}人参加</view> <view class="count1">{{filter.numberToCn(clock.subject.clock_count)}}人参加</view>
...@@ -261,7 +261,7 @@ ...@@ -261,7 +261,7 @@
</view> </view>
<view class="theme-box business-box" catchtap="goSchoolIndex"> <view class="theme-box business-box" catchtap="goSchoolIndex">
<view class="left"> <view class="left">
<image class="dotdot-img" src="{{localImageRoot}}2c/papersquare/bluetheme.png?{{imageVersion}}" ></image> <image class="dotdot-img" src="{{imageRoot}}2c/papersquare/bluetheme.png?{{imageVersion}}" ></image>
<view class="name">机构:</view> <view class="name">机构:</view>
<view class="content">{{schoolDetail.title}}</view> <view class="content">{{schoolDetail.title}}</view>
<view class="count1">{{schoolDetail.student_count}}人去过</view> <view class="count1">{{schoolDetail.student_count}}人去过</view>
...@@ -281,7 +281,7 @@ ...@@ -281,7 +281,7 @@
<!-- <view class="view-num">浏览{{clock.visit_pv_count && clock.visit_pv_count!=0 ?clock.visit_pv_count:1}}次</view> --> <!-- <view class="view-num">浏览{{clock.visit_pv_count && clock.visit_pv_count!=0 ?clock.visit_pv_count:1}}次</view> -->
<view class="opt-box"> <view class="opt-box">
<view class="btn fingureup-btn" catchtap="fingureUp" bindtouchstart="touchStart" bindtouchend="touchEnd"> <view class="btn fingureup-btn" catchtap="fingureUp" bindtouchstart="touchStart" bindtouchend="touchEnd">
<image class="iconimg fingureuplike {{clock.had_like ? 'fingureuporedicon' : ''}}" src="{{localImageRoot}}2c/papersquare/{{clock.had_like ? 'yellowlike' : 'konglike'}}.png?{{imageVersion}}" ></image> <image class="iconimg fingureuplike {{clock.had_like ? 'fingureuporedicon' : ''}}" src="{{imageRoot}}2c/papersquare/{{clock.had_like ? 'yellowlike' : 'konglike'}}.png?{{imageVersion}}" ></image>
<!-- <text class="btnname {{clock.had_like?'active':''}}">赞</text> --> <!-- <text class="btnname {{clock.had_like?'active':''}}">赞</text> -->
<text class="btnname {{clock.had_like?'active':''}}" wx:if="{{clock.likes.total > 0}}">({{clock.likes.total}})</text> <text class="btnname {{clock.had_like?'active':''}}" wx:if="{{clock.likes.total > 0}}">({{clock.likes.total}})</text>
</view> </view>
...@@ -289,24 +289,24 @@ ...@@ -289,24 +289,24 @@
<form report-submit="true" bindsubmit="formIdCreate" class="createidform"> <form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button> <button form-type="submit" class="createidbutton">生成form</button>
</form> </form>
<image class="iconimg messageconment" src="{{localImageRoot}}2c/papersquare/messageconment.png?{{imageVersion}}" ></image> <image class="iconimg messageconment" src="{{imageRoot}}2c/papersquare/messageconment.png?{{imageVersion}}" ></image>
<!-- <text class="btnname" >评论</text> --> <!-- <text class="btnname" >评论</text> -->
</view> </view>
<view class="btn share-btn" catchtap="generatelongimg"> <view class="btn share-btn" catchtap="generatelongimg">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform"> <form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button> <button form-type="submit" class="createidbutton">生成form</button>
</form> </form>
<image class="iconimg icon-share" src="{{localImageRoot}}2c/papersquare/blackshare.png?{{imageVersion}}" ></image> <image class="iconimg icon-share" src="{{imageRoot}}2c/papersquare/blackshare.png?{{imageVersion}}" ></image>
<!-- <text class="btnname" >分享</text> --> <!-- <text class="btnname" >分享</text> -->
</view> </view>
</view> </view>
</view> </view>
<!-- <view class="detail-likes-list" wx:if="{{type==1 && clock.likes && clock.likes.list.length > 0}}"> <!-- <view class="detail-likes-list" wx:if="{{type==1 && clock.likes && clock.likes.list.length > 0}}">
<image class="fingureupoicon" src="{{localImageRoot}}2c/papersquare/graylike.png?{{imageVersion}}"></image> <image class="fingureupoicon" src="{{imageRoot}}2c/papersquare/graylike.png?{{imageVersion}}"></image>
<image class="advatar" wx:for="{{clock.likes.list}}" wx:for-item="like" wx:key="customerId" data-like="{{like}}" wx:for-index="customerId" catchtap="goLikeGrowthRecord" src="{{filter.imagify(like.avatar)}}"></image> <image class="advatar" wx:for="{{clock.likes.list}}" wx:for-item="like" wx:key="customerId" data-like="{{like}}" wx:for-index="customerId" catchtap="goLikeGrowthRecord" src="{{filter.imagify(like.avatar)}}"></image>
</view> --> </view> -->
<view class="teacher-opencomment-itembox teacher-comment-header-box fingureupbox" wx:if="{{clock.likes && clock.likes.list.length > 0}}" style="{{clock.review[1] || (clock.review[2] && customerId == clock.student_id) ? 'margin-bottom: 28rpx' :''}}"> <view class="teacher-opencomment-itembox teacher-comment-header-box fingureupbox" wx:if="{{clock.likes && clock.likes.list.length > 0}}" style="{{clock.review[1] || (clock.review[2] && customerId == clock.student_id) ? 'margin-bottom: 28rpx' :''}}">
<image class="fingureupoicon" src="{{localImageRoot}}2c/papersquare/graylike.png?{{imageVersion}}"></image> <image class="fingureupoicon" src="{{imageRoot}}2c/papersquare/graylike.png?{{imageVersion}}"></image>
<text class="fingure-count" wx:for="{{clock.likes.list}}" wx:for-item="like" wx:key="customerId" data-like="{{like}}" wx:for-index="customerId" bindtap="goLikeGrowthRecord">{{like.remark || like.nickname}} {{clock.likes.list.length > customerId + 1 ? ',' : ''}}</text> <text class="fingure-count" wx:for="{{clock.likes.list}}" wx:for-item="like" wx:key="customerId" data-like="{{like}}" wx:for-index="customerId" bindtap="goLikeGrowthRecord">{{like.remark || like.nickname}} {{clock.likes.list.length > customerId + 1 ? ',' : ''}}</text>
<!-- <image class="{{clock.likesExpand ? 'expandfingureup up' : 'expandfingureup'}}" wx:if="{{clock.likes.total > 50}}" src="{{imageRoot}}2c/common/arrowdowngrey.png" bindtap="expandLikes"></image> --> <!-- <image class="{{clock.likesExpand ? 'expandfingureup up' : 'expandfingureup'}}" wx:if="{{clock.likes.total > 50}}" src="{{imageRoot}}2c/common/arrowdowngrey.png" bindtap="expandLikes"></image> -->
</view> </view>
......
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
} }
} }
page { page {
height: 100%;
background: #f7f7f7; background: #f7f7f7;
padding-bottom: 40rpx;
} }
.theme-index-container { .theme-index-container {
......
...@@ -211,10 +211,10 @@ ...@@ -211,10 +211,10 @@
</view> --> </view> -->
<view class="footer-box"> <view class="footer-box">
<view class="business-box" bindtap="goWebsiteindex"> <view class="business-box" bindtap="goWebsiteindex">
<image class="" src="{{localImageRoot}}/2c/papersquare/websitehome.png" mode="aspectFit|aspectFill|widthFix" />机构 <image class="" src="{{imageRoot}}/2c/papersquare/websitehome.png" mode="aspectFit|aspectFill|widthFix" />机构
</view> </view>
<view class="like-box" bindtap="myfingureUp"> <view class="like-box" bindtap="myfingureUp">
<image class="" src="{{localImageRoot}}/2c/papersquare/{{ clock.had_like == 1 ? 'yellowlike' : 'konglike'}}.png" mode="aspectFit|aspectFill|widthFix" />点赞 <image class="" src="{{imageRoot}}/2c/papersquare/{{ clock.had_like == 1 ? 'yellowlike' : 'konglike'}}.png" mode="aspectFit|aspectFill|widthFix" />点赞
</view> </view>
<view class="clock-box" bindtap="goClock">立即打卡</view> <view class="clock-box" bindtap="goClock">立即打卡</view>
</view> </view>
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<view class="header-box"> <view class="header-box">
<view class="person-info"> <view class="person-info">
<image class="person-avator" src="{{filter.imagify(userInfo.avatar, 'image/resize,w_160/format,jpg')}}" wx:if="{{userInfo.avatar}}"></image> <image class="person-avator" src="{{filter.imagify(userInfo.avatar, 'image/resize,w_160/format,jpg')}}" wx:if="{{userInfo.avatar}}"></image>
<image class="person-avator" src="{{localImageRoot}}2c/ucenter2/empty_avatar.png?{{imageVersion}}" wx:else></image> <image class="person-avator" src="{{imageRoot}}2c/ucenter2/empty_avatar.png?{{imageVersion}}" wx:else></image>
<view class="person-name">{{userInfo.nickname}}</view> <view class="person-name">{{userInfo.nickname}}</view>
</view> </view>
<view class="defeat-box"> <view class="defeat-box">
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
<sjdbottombar <sjdbottombar
showcontact="{{true}}" showcontact="{{true}}"
keyword="growth" keyword="growth"
pagetitle="我是机构,我也要沉淀学员作品 > > >" pagetitle="我是机构,我也要沉淀学员作品 >"
pagetitletip ="立即使用" pagetitletip ="立即使用"
sharetitle="我要沉淀学员作品" sharetitle="我要沉淀学员作品"
coverimg="service/works.png" coverimg="service/works.png"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<view class="amountcard" > <view class="amountcard" >
<view class="avatarbox" > <view class="avatarbox" >
<image class="avatar" src="{{filter.imagify(userInfo.avatar, 'image/resize,w_320/format,jpg/quality,q_50')}}" wx:if="{{userInfo.avatar}}"></image> <image class="avatar" src="{{filter.imagify(userInfo.avatar, 'image/resize,w_320/format,jpg/quality,q_50')}}" wx:if="{{userInfo.avatar}}"></image>
<image class="avatar" src="{{localImageRoot}}2c/ucenter2/empty_avatar.png?{{imageVersion}}" wx:else></image> <image class="avatar" src="{{imageRoot}}2c/ucenter2/empty_avatar.png?{{imageVersion}}" wx:else></image>
<view class="scorestatic" >{{balance}}</view> <view class="scorestatic" >{{balance}}</view>
<image class="star" src="{{imageRoot}}2c/mall/star.png?{{imageVersion}}"></image> <image class="star" src="{{imageRoot}}2c/mall/star.png?{{imageVersion}}"></image>
</view> </view>
......
...@@ -88,7 +88,10 @@ ...@@ -88,7 +88,10 @@
transform: translate(-2.5px, 0.5px) rotate(-0.5deg) transform: translate(-2.5px, 0.5px) rotate(-0.5deg)
} }
} */ } */
page{
background: #f7f7f7;
padding-bottom: 40rpx;
}
.theme-index-container { .theme-index-container {
min-height: 100vh; min-height: 100vh;
background: rgba(244, 244, 247, 1); background: rgba(244, 244, 247, 1);
......
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
<form report-submit="true" bindsubmit="formIdCreate" class="createidform"> <form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button> <button form-type="submit" class="createidbutton">生成form</button>
</form> </form>
<image class="icon" src="{{localImageRoot}}ctabbar/ucenter.png?{{imageVersion}}"></image> <image class="icon" src="{{imageRoot}}ctabbar/ucenter.png?{{imageVersion}}"></image>
<view class="home-text" >我的</view> <view class="home-text" >我的</view>
</view> </view>
</btn-drag> </btn-drag>
\ No newline at end of file
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
</view> </view>
<view class="little-star-box"> <view class="little-star-box">
<view class="star-title"> <view class="star-title">
<image class="" src="{{localImageRoot}}2c/papersquare/king.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" /> 人气小明星 <image class="" src="{{imageRoot}}2c/papersquare/king.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" /> 人气小明星
</view> </view>
<view class="detail-box"> <view class="detail-box">
<view class="student-info"> <view class="student-info">
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<text class="listtitle">头像</text> <text class="listtitle">头像</text>
<view class="listcontent" bindtap="proMainImgUpload"> <view class="listcontent" bindtap="proMainImgUpload">
<image class="avatar" src="{{filter.imagify(userInfo.avatar, 'image/resize,w_320/format,jpg/quality,q_50')}}" wx:if="{{userInfo.avatar}}"></image> <image class="avatar" src="{{filter.imagify(userInfo.avatar, 'image/resize,w_320/format,jpg/quality,q_50')}}" wx:if="{{userInfo.avatar}}"></image>
<image class="avatar" src="{{localImageRoot}}2c/ucenter2/empty_avatar.png?{{imageVersion}}" wx:else></image> <image class="avatar" src="{{imageRoot}}2c/ucenter2/empty_avatar.png?{{imageVersion}}" wx:else></image>
<image class="arrowsmall" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image> <image class="arrowsmall" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view> </view>
</view> </view>
......
...@@ -49,8 +49,8 @@ ...@@ -49,8 +49,8 @@
} }
page { page {
height: 100%;
background: #f7f7f7; background: #f7f7f7;
padding-bottom: 40rpx;
} }
.theme-index-container { .theme-index-container {
......
...@@ -39,7 +39,7 @@ import { ...@@ -39,7 +39,7 @@ import {
} from '../service/customer/staticlog.js'; } from '../service/customer/staticlog.js';
import apis from '../constants/api.js'; import apis from '../constants/api.js';
import { import {
views, viewVisitors
} from '../service/customer/myinfluence.js'; } from '../service/customer/myinfluence.js';
var app = getApp(); var app = getApp();
...@@ -529,7 +529,7 @@ Page({ ...@@ -529,7 +529,7 @@ Page({
}) })
}, },
viewlistGet(){ viewlistGet(){
views({ viewVisitors({
school_id: this.data.sid, school_id: this.data.sid,
page: 1, page: 1,
perPage: 5, perPage: 5,
......
<wxs src="../filter/index.wxs" module="filter" /> <wxs src="../filter/index.wxs" module="filter" />
<view class="container"> <view class="container">
<image class="header-bg" src="{{localImageRoot}}2c/ucenter2/header_bg.png?{{imageVersion}}"></image> <image class="header-bg" src="{{imageRoot}}2c/ucenter2/header_bg.png?{{imageVersion}}"></image>
<view class="headerbox"> <view class="headerbox">
<view class="nickname" wx:if="{{userInfo.nickname}}">{{userInfo.nickname}}<loginbtn loginCode="{{loginCode}}"/></view> <view class="nickname" wx:if="{{userInfo.nickname}}">{{userInfo.nickname}}<loginbtn loginCode="{{loginCode}}"/></view>
<view class="nickname" wx:if="{{!userInfo.nickname}}">点击登录<loginbtn loginCode="{{loginCode}}"/></view> <view class="nickname" wx:if="{{!userInfo.nickname}}">点击登录<loginbtn loginCode="{{loginCode}}"/></view>
...@@ -10,13 +10,14 @@ ...@@ -10,13 +10,14 @@
<loginbtn loginCode="{{loginCode}}"/> <loginbtn loginCode="{{loginCode}}"/>
</view> </view>
<view class="msg-box" bindtap="toMyNews"> <view class="msg-box" bindtap="toMyNews">
<image class="icon-msg" src="{{localImageRoot}}2c/ucenter2/icon_msg.png?{{imageVersion}}"></image> <image class="icon-msg" src="{{imageRoot}}2c/ucenter2/icon_msg.png?{{imageVersion}}"></image>
<view class="num" wx:if="{{noticecount>0}}">{{noticecount}}</view> <view class="num" wx:if="{{noticecount>0}}">{{noticecount}}</view>
<loginbtn loginCode="{{loginCode}}"/>
</view> </view>
<view class="static-box"> <view class="static-box">
<image class="avatar" src="{{userInfo.avatar && filter.imagify(userInfo.avatar, 'image/resize,w_320/format,jpg/quality,q_50')}}" wx:if="{{userInfo.avatar}}" bindtap="userInfoUpdate"></image> <image class="avatar" src="{{userInfo.avatar && filter.imagify(userInfo.avatar, 'image/resize,w_320/format,jpg/quality,q_50')}}" wx:if="{{userInfo.avatar}}" bindtap="userInfoUpdate"></image>
<image class="avatar" src="{{localImageRoot}}2c/ucenter2/empty_avatar.png?{{imageVersion}}" wx:else bindtap="userInfoUpdate"></image> <image class="avatar" src="{{imageRoot}}2c/ucenter2/empty_avatar.png?{{imageVersion}}" wx:else bindtap="userInfoUpdate"></image>
<view class="right"> <view class="right">
<view class="static-item" bindtap="goGrowthRecord"> <view class="static-item" bindtap="goGrowthRecord">
...@@ -72,7 +73,7 @@ ...@@ -72,7 +73,7 @@
<form report-submit="true" bindsubmit="formIdCreate" class="createidform"> <form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button> <button form-type="submit" class="createidbutton">生成form</button>
</form> </form>
<image class="menuicon" src="{{localImageRoot}}2c/ucenter2/icon_zuoye.png?{{imageVersion}}"></image> <image class="menuicon" src="{{imageRoot}}2c/ucenter2/icon_zuoye.png?{{imageVersion}}"></image>
<text class="title">我的作业</text> <text class="title">我的作业</text>
<text class="desc">待提交的作业</text> <text class="desc">待提交的作业</text>
<view class="red-dot" wx:if="{{zuoyecount>0}}">NEW</view> <view class="red-dot" wx:if="{{zuoyecount>0}}">NEW</view>
...@@ -82,7 +83,7 @@ ...@@ -82,7 +83,7 @@
<form report-submit="true" bindsubmit="formIdCreate" class="createidform"> <form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button> <button form-type="submit" class="createidbutton">生成form</button>
</form> </form>
<image class="menuicon" src="{{localImageRoot}}2c/ucenter2/icon_mycourse.png?{{imageVersion}}"></image> <image class="menuicon" src="{{imageRoot}}2c/ucenter2/icon_mycourse.png?{{imageVersion}}"></image>
<text class="title">我的课程</text> <text class="title">我的课程</text>
<text class="desc">购买的课程</text> <text class="desc">购买的课程</text>
</view> </view>
...@@ -91,7 +92,7 @@ ...@@ -91,7 +92,7 @@
<form report-submit="true" bindsubmit="formIdCreate" class="createidform"> <form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button> <button form-type="submit" class="createidbutton">生成form</button>
</form> </form>
<image class="menuicon" src="{{localImageRoot}}2c/ucenter2/icon_myschedule.png?{{imageVersion}}"></image> <image class="menuicon" src="{{imageRoot}}2c/ucenter2/icon_myschedule.png?{{imageVersion}}"></image>
<text class="title">我的课表</text> <text class="title">我的课表</text>
<text class="desc">上课时间在这里</text> <text class="desc">上课时间在这里</text>
</view> </view>
...@@ -100,7 +101,7 @@ ...@@ -100,7 +101,7 @@
<form report-submit="true" bindsubmit="formIdCreate" class="createidform"> <form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button> <button form-type="submit" class="createidbutton">生成form</button>
</form> </form>
<image class="menuicon" src="{{localImageRoot}}2c/ucenter2/icon_growthrecord.png?{{imageVersion}}"></image> <image class="menuicon" src="{{imageRoot}}2c/ucenter2/icon_growthrecord.png?{{imageVersion}}"></image>
<text class="title">我的成长</text> <text class="title">我的成长</text>
<text class="desc">往期作品在这里</text> <text class="desc">往期作品在这里</text>
</view> </view>
...@@ -109,7 +110,7 @@ ...@@ -109,7 +110,7 @@
<form report-submit="true" bindsubmit="formIdCreate" class="createidform"> <form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button> <button form-type="submit" class="createidbutton">生成form</button>
</form> </form>
<image class="menuicon" src="{{localImageRoot}}2c/ucenter2/icon_courserecord.png?{{imageVersion}}"></image> <image class="menuicon" src="{{imageRoot}}2c/ucenter2/icon_courserecord.png?{{imageVersion}}"></image>
<text class="title">上课记录</text> <text class="title">上课记录</text>
<text class="desc">课消记录</text> <text class="desc">课消记录</text>
</view> </view>
...@@ -118,7 +119,7 @@ ...@@ -118,7 +119,7 @@
<form report-submit="true" bindsubmit="formIdCreate" class="createidform"> <form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button> <button form-type="submit" class="createidbutton">生成form</button>
</form> </form>
<image class="menuicon" src="{{localImageRoot}}2c/ucenter2/icon_glory.png?{{imageVersion}}"></image> <image class="menuicon" src="{{imageRoot}}2c/ucenter2/icon_glory.png?{{imageVersion}}"></image>
<text class="title">我的荣誉</text> <text class="title">我的荣誉</text>
<text class="desc">证书勋章在这里</text> <text class="desc">证书勋章在这里</text>
</view> </view>
...@@ -128,7 +129,7 @@ ...@@ -128,7 +129,7 @@
app-id="{{feedbackAppId}}" app-id="{{feedbackAppId}}"
extra-data="{{ extraData }}" extra-data="{{ extraData }}"
version="release"> version="release">
<image class="menuicon" bindtap="feedbackLog" src="{{localImageRoot}}2c/ucenter2/icon_feedback.png?{{imageVersion}}"></image> <image class="menuicon" bindtap="feedbackLog" src="{{imageRoot}}2c/ucenter2/icon_feedback.png?{{imageVersion}}"></image>
<text class="title" bindtap="feedbackLog">意见反馈</text> <text class="title" bindtap="feedbackLog">意见反馈</text>
<text class="desc">不好用就吐槽</text> <text class="desc">不好用就吐槽</text>
</navigator> </navigator>
...@@ -137,7 +138,7 @@ ...@@ -137,7 +138,7 @@
<form report-submit="true" bindsubmit="formIdCreate" class="createidform"> <form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button> <button form-type="submit" class="createidbutton">生成form</button>
</form> </form>
<image class="menuicon" src="{{localImageRoot}}2c/ucenter2/icon_exchangeschool.png?{{imageVersion}}"></image> <image class="menuicon" src="{{imageRoot}}2c/ucenter2/icon_exchangeschool.png?{{imageVersion}}"></image>
<text class="title">切换校区</text> <text class="title">切换校区</text>
<text class="desc"></text> <text class="desc"></text>
</view> </view>
...@@ -147,7 +148,7 @@ ...@@ -147,7 +148,7 @@
<form report-submit="true" bindsubmit="formIdCreate" class="createidform"> <form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button> <button form-type="submit" class="createidbutton">生成form</button>
</form> </form>
<image class="menuicon" src="{{localImageRoot}}2c/ucenter2/icon_tologin.png?{{imageVersion}}"></image> <image class="menuicon" src="{{imageRoot}}2c/ucenter2/icon_tologin.png?{{imageVersion}}"></image>
<text class="title">机构登录</text> <text class="title">机构登录</text>
<text class="desc">老师/校长在这里登录</text> <text class="desc">老师/校长在这里登录</text>
</view> </view>
......
...@@ -197,7 +197,7 @@ page{ ...@@ -197,7 +197,7 @@ page{
} }
.menu-box { .menu-box {
width: 100%; width: 100%;
padding: 33rpx 24rpx 27rpx; padding: 33rpx 24rpx 17rpx;
position: relative; position: relative;
z-index: 1; z-index: 1;
display: flex; display: flex;
......
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