Commit 67a93153 authored by lvtz's avatar lvtz

fix

parent faebf326
......@@ -261,7 +261,7 @@
<sjdbottombar
showcontact="{{true}}"
keyword="website"
pagetitle="我是机构,我也要制作官网 > > > "
pagetitle="我是机构,我也要制作官网 >"
pagetitletip="立即制作"
sharetitle="我要制作官网"
coverimg="service/website.png"
......
images/2c/ucenter2/header_bg.png

216 KB | W: | H:

images/2c/ucenter2/header_bg.png

54.9 KB | W: | H:

images/2c/ucenter2/header_bg.png
images/2c/ucenter2/header_bg.png
images/2c/ucenter2/header_bg.png
images/2c/ucenter2/header_bg.png
  • 2-up
  • Swipe
  • Onion skin
images/2c/ucenter2/icon_courserecord.png

531 Bytes | W: | H:

images/2c/ucenter2/icon_courserecord.png

356 Bytes | W: | H:

images/2c/ucenter2/icon_courserecord.png
images/2c/ucenter2/icon_courserecord.png
images/2c/ucenter2/icon_courserecord.png
images/2c/ucenter2/icon_courserecord.png
  • 2-up
  • Swipe
  • Onion skin
images/2c/ucenter2/icon_exchangeschool.png

1010 Bytes | W: | H:

images/2c/ucenter2/icon_exchangeschool.png

502 Bytes | W: | H:

images/2c/ucenter2/icon_exchangeschool.png
images/2c/ucenter2/icon_exchangeschool.png
images/2c/ucenter2/icon_exchangeschool.png
images/2c/ucenter2/icon_exchangeschool.png
  • 2-up
  • Swipe
  • Onion skin
images/2c/ucenter2/icon_feedback.png

1.82 KB | W: | H:

images/2c/ucenter2/icon_feedback.png

615 Bytes | W: | H:

images/2c/ucenter2/icon_feedback.png
images/2c/ucenter2/icon_feedback.png
images/2c/ucenter2/icon_feedback.png
images/2c/ucenter2/icon_feedback.png
  • 2-up
  • Swipe
  • Onion skin
images/2c/ucenter2/icon_glory.png

1.57 KB | W: | H:

images/2c/ucenter2/icon_glory.png

711 Bytes | W: | H:

images/2c/ucenter2/icon_glory.png
images/2c/ucenter2/icon_glory.png
images/2c/ucenter2/icon_glory.png
images/2c/ucenter2/icon_glory.png
  • 2-up
  • Swipe
  • Onion skin
images/2c/ucenter2/icon_growthrecord.png

1.45 KB | W: | H:

images/2c/ucenter2/icon_growthrecord.png

715 Bytes | W: | H:

images/2c/ucenter2/icon_growthrecord.png
images/2c/ucenter2/icon_growthrecord.png
images/2c/ucenter2/icon_growthrecord.png
images/2c/ucenter2/icon_growthrecord.png
  • 2-up
  • Swipe
  • Onion skin
images/2c/ucenter2/icon_msg.png

4.92 KB | W: | H:

images/2c/ucenter2/icon_msg.png

1.21 KB | W: | H:

images/2c/ucenter2/icon_msg.png
images/2c/ucenter2/icon_msg.png
images/2c/ucenter2/icon_msg.png
images/2c/ucenter2/icon_msg.png
  • 2-up
  • Swipe
  • Onion skin
images/2c/ucenter2/icon_mycourse.png

963 Bytes | W: | H:

images/2c/ucenter2/icon_mycourse.png

599 Bytes | W: | H:

images/2c/ucenter2/icon_mycourse.png
images/2c/ucenter2/icon_mycourse.png
images/2c/ucenter2/icon_mycourse.png
images/2c/ucenter2/icon_mycourse.png
  • 2-up
  • Swipe
  • Onion skin
images/2c/ucenter2/icon_myschedule.png

488 Bytes | W: | H:

images/2c/ucenter2/icon_myschedule.png

343 Bytes | W: | H:

images/2c/ucenter2/icon_myschedule.png
images/2c/ucenter2/icon_myschedule.png
images/2c/ucenter2/icon_myschedule.png
images/2c/ucenter2/icon_myschedule.png
  • 2-up
  • Swipe
  • Onion skin
images/2c/ucenter2/icon_tologin.png

1.34 KB | W: | H:

images/2c/ucenter2/icon_tologin.png

647 Bytes | W: | H:

images/2c/ucenter2/icon_tologin.png
images/2c/ucenter2/icon_tologin.png
images/2c/ucenter2/icon_tologin.png
images/2c/ucenter2/icon_tologin.png
  • 2-up
  • Swipe
  • Onion skin
images/2c/ucenter2/icon_zuoye.png

784 Bytes | W: | H:

images/2c/ucenter2/icon_zuoye.png

438 Bytes | W: | H:

images/2c/ucenter2/icon_zuoye.png
images/2c/ucenter2/icon_zuoye.png
images/2c/ucenter2/icon_zuoye.png
images/2c/ucenter2/icon_zuoye.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -379,7 +379,7 @@
<sjdbottombar
showcontact="{{true}}"
keyword="theme"
pagetitle="我是机构,我也要用打卡 > > > "
pagetitle="我是机构,我也要用打卡 >"
pagetitletip ="立即使用"
sharetitle="我也要用打卡"
coverimg="service/useclock.png"
......
......@@ -51,7 +51,7 @@
<sjdbottombar
showcontact="{{true}}"
keyword="themedetail"
pagetitle="如何用作业招生 > > > "
pagetitle="如何用作业招生 >"
pagetitletip ="5S学会"
sharetitle="我也要用学生作业招生拓客"
coverimg="service/task.png"
......
......@@ -177,7 +177,7 @@
<sjdbottombar
showcontact="{{true}}"
keyword="themedetail"
pagetitle="如何用作业招生 > > > "
pagetitle="如何用作业招生 >"
pagetitletip ="5S学会"
sharetitle="我也要用学生作业招生拓客"
coverimg="service/task.png"
......
......@@ -43,7 +43,8 @@
<block wx:if="{{userInfo && userInfo.id}}">
<view class="header-box">
<view class="person-info">
<image class="person-avator" src="{{filter.imagify(userInfo.avatar, 'image/resize,w_160/format,jpg')}}"></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>
<view class="person-name">{{userInfo.nickname}}</view>
</view>
<view class="defeat-box">
......@@ -174,7 +175,7 @@
<sjdbottombar
showcontact="{{true}}"
keyword="growth"
pagetitle="我是机构,我也要沉淀学员作品 > > >"
pagetitle="我是机构,我也要沉淀学员作品 >"
pagetitletip ="立即使用"
sharetitle="我要沉淀学员作品"
coverimg="service/works.png"
......
......@@ -3,7 +3,8 @@
<view class="header-box" >
<view class="amountcard" >
<view class="avatarbox" >
<image class="avatar" src="{{filter.imagify(userInfo.avatar, 'image/resize,w_320/format,jpg/quality,q_50')}}"></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>
<view class="scorestatic" >{{balance}}</view>
<image class="star" src="{{imageRoot}}2c/mall/star.png?{{imageVersion}}"></image>
</view>
......
......@@ -277,7 +277,7 @@
<sjdbottombar
showcontact="{{true}}"
keyword="theme"
pagetitle="我是机构,我也要用打卡 > > > "
pagetitle="我是机构,我也要用打卡 >"
pagetitletip ="立即使用"
sharetitle="我也要用打卡"
coverimg="service/useclock.png"
......
......@@ -90,7 +90,7 @@
<sjdbottombar
showcontact="{{true}}"
keyword="theme"
pagetitle="我是机构,我也要用打卡 > > > "
pagetitle="我是机构,我也要用打卡 >"
pagetitletip ="立即使用"
sharetitle="我也要用打卡"
coverimg="service/useclock.png"
......
......@@ -23,7 +23,7 @@ Page({
data: {
imageRoot: app.globalData.imageRoot,
imageVersion: app.globalData.imageVersion,
localImageRoot: "../../../images",
localImageRoot: "../../../images/",
submiting: false,
sid: 0,
userInfo: {},
......
<!--src/pages/activityindex/index.wxml-->
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="listitem" >
<text class="listtitle" selectable="false" space="false" decode="false">头像</text>
<view class="listcontent" bindtap="proMainImgUpload">
<image class="avatar" src="{{filter.imagify(userInfo.avatar, 'image/resize,w_320/format,jpg/quality,q_50')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" ></image>
<image class="arrowsmall" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<view class="listitem">
<text class="listtitle">头像</text>
<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="{{localImageRoot}}2c/ucenter2/empty_avatar.png?{{imageVersion}}" wx:else></image>
<image class="arrowsmall" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
</view>
<view class="divideline" ></view>
<view class="listitem" >
<text class="listtitle" selectable="false" space="false" decode="false">昵称</text>
<view class="listcontent" >
<view class="divideline"></view>
<view class="listitem">
<text class="listtitle">昵称</text>
<view class="listcontent" >
<input type="text" class="nicknameinput" value="{{userInfo.nickname}}" placeholder="请输入机构昵称" maxlength="10" bindinput="nicknameInput" disabled/>
<!-- <image class="arrowsmall" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> -->
<!-- <image class="arrowsmall" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image> -->
</view>
</view>
<view class="submitbtn" bindtap="save">保存设置</view>
<view class="cropperdialog" wx:if="{{showCropper}}">
<view class="submitbtn" bindtap="save">保存设置</view>
<view class="cropperdialog" wx:if="{{showCropper}}">
<imagecropper
id="image-cropper"
limit_move="{{cropperOpt.limit_move}}"
......@@ -29,9 +30,9 @@
bindimageload="loadimage"
bindtapcut="clickcut"
></imagecropper>
<view class="cropperoperate" >
<view class="" bindtap="cancelcropper">取消</view>
<view class="" bindtap="surecropper">确认</view>
<view class="cropperoperate" >
<view class="" bindtap="cancelcropper">取消</view>
<view class="" bindtap="surecropper">确认</view>
</view>
</view>
<guidecollection/>
......
......@@ -236,7 +236,7 @@
<sjdbottombar
showcontact="{{true}}"
keyword="theme"
pagetitle="我是机构,我也要用打卡 > > > "
pagetitle="我是机构,我也要用打卡 >"
pagetitletip="立即使用"
sharetitle="我也要用打卡"
coverimg="service/useclock.png"
......
......@@ -279,7 +279,7 @@
<sjdbottombar
showcontact="{{true}}"
keyword="website"
pagetitle="我是机构,我也要制作官网 > > > "
pagetitle="我是机构,我也要制作官网 >"
pagetitletip="立即制作"
sharetitle="我要制作官网"
coverimg="service/website.png"
......
......@@ -12,7 +12,9 @@ import {
schoolList
} from '../service/business/ucenter.js';
import {
studentidentity
identitylist,
studentidentity,
identityswitch
} from '../service/customer/signup.js'
import {
noticecount,
......@@ -36,9 +38,9 @@ import {
behaviorLog
} from '../service/customer/staticlog.js';
import apis from '../constants/api.js';
// import {
// viewthumbnail,
// } from '../../../service/customer/myinfluence.js';
import {
views,
} from '../service/customer/myinfluence.js';
var app = getApp();
Page({
......@@ -71,7 +73,11 @@ Page({
}
},
loginCode: '',
visitorList: []
visitorList: [],
modalUsers: false,//切换用户弹窗
modelUsersAnimate: false,
identityList: [],//可切换的学员列表
actStudent: {}, //当前学生
},
onLoad: function (options) { // Do some initialize when page load.
const { sid } = options;
......@@ -100,6 +106,12 @@ Page({
loginCode: res.code
})
})
// app.getCurrentSchoolStudentId({
// source_id: this.data.sid,
// source_type: 10,
// }).then(() => {
// this.getIdentitylist()
// })
},
onReady: function () { // Do something when page ready.
......@@ -237,6 +249,7 @@ Page({
this.setData({
noUserinfo: data.is_visitor,
userInfo: data.student,
actStudent: data.student,
userStatic: {
class_times: data.class_times,
clock_days: data.clock_days,
......@@ -244,7 +257,8 @@ Page({
}
})
this.noticecountGet();
this.this.viewlistGet();//获取看客列表5条数据
this.viewlistGet();//获取看客列表5条数据
this.getIdentitylist();
const visitor = LocalStorage.getItem('visitor');
Object.assign(visitor, {
studentId:data.student.id
......@@ -374,22 +388,9 @@ Page({
url: `/src/pages/myinfluence/index?sid=${this.data.sid}`,
})
},
goScoreMall () {
this.log('goScoreMall');
if(this.data.noUserinfo){
wx.showToast({
title: '您还未加入该校区',
duration: 2000,
icon: 'none'
})
return
}
wx.navigateTo({
url: `/src/pages/mall/index?sid=${this.data.sid}`,
})
},
goMyScoreIndex () {
this.log('goMyScoreIndex');
// 去积分商城
toPointsMall () {
this.log('toPointsMall');
if(this.data.noUserinfo){
wx.showToast({
title: '您还未加入该校区',
......@@ -399,9 +400,10 @@ Page({
return
}
wx.navigateTo({
url: `/src/pages/integralfile/index?sid=${this.data.sid}`,
url: `/src/pages/mall/index?sid=${this.data.sid}&from=2`
})
},
// 设置
toSetting () {
wx.navigateTo({
url: `/src/pages/setting/index?sid=${this.data.sid}`,
......@@ -422,21 +424,6 @@ Page({
url: `/src/pages/myachievement/index?sid=${this.data.sid}&custormeId=${userInfo.id}`,
})
},
// 积分排行榜
toPointsRankList () {
this.log('toPointsRankList');
if(this.data.noUserinfo){
wx.showToast({
title: '您还未加入该校区',
duration: 2000,
icon: 'none'
})
return
}
wx.navigateTo({
url: `/src/pages/rankingList/index?sid=${this.data.sid}&tag=2`
})
},
// 消息
toMyNews () {
this.log('toMyNews');
......@@ -463,9 +450,7 @@ Page({
})
return
}
const visitor = LocalStorage.getItem('visitor');
const userInfo = this.data.userInfo;
console.log(userInfo)
wx.navigateTo({
url: `/src/pages/growthrecord/index?consumerId=${userInfo.id}&sid=${this.data.sid}`,
})
......@@ -537,12 +522,6 @@ Page({
})
})
},
// 老师登录 弹窗选择
// goTeacher(){
// wx.navigateTo({
// url: `/business/pages/loginregistermgt/teacherlogin?sid=${this.data.sid}`
// })
// },
// 修改头像昵称
userInfoUpdate(){
wx.navigateTo({
......@@ -550,10 +529,101 @@ Page({
})
},
viewlistGet(){
views({
school_id: this.data.sid,
page: 1,
perPage: 5,
}).then((res) => {
const {code,data} = res;
if(code==200){
this.setData({
visitorList: data.list || []
})
}
})
},
showUsersModal(){
let that = this;
that.setData({
modalUsers: true
})
},
hideUsersModal(){
let that = this;
that.setData({
modelUsersAnimate: true
})
setTimeout(() => {
that.setData({
modalUsers: false,
modelUsersAnimate: false
})
}, 200)
},
getIdentitylist(){
identitylist({
school_id: this.data.sid
}).then((res) => {
const {data, code} = res;
if(code == 200 && data){
this.setData({
identityList: data.list,
})
// this.getStudentidentity()
}
})
},
selectUserHandle(e){
let that = this;
const { sid, actStudent } = this.data;
const { item } = e.currentTarget.dataset;
that.setData({
modelUsersAnimate: true
})
setTimeout(() => {
that.setData({
modalUsers: false,
modelUsersAnimate: false
})
}, 200)
if(item.id == actStudent.id){
return
}
identityswitch({
school_id: sid,
student_id: item.id
}).then((res)=>{
const {data, code} = res;
if(code == 200 ) {
this.setData({
actStudent: item
})
const visitor = LocalStorage.getItem('visitor');
Object.assign(visitor, {
studentId:item.id
});
LocalStorage.setItem('visitor', visitor);
wx.showToast({
title: '切换成功',
icon: 'success',
duration: 2000
})
// this.getIdentitylist();
this.onShow()
}else{
wx.showToast({
title: '切换失败',
icon: 'none',
duration: 2000
})
}
}).catch((res)=>{
wx.showToast({
title: '切换失败',
icon: 'none',
duration: 2000
})
})
}
})
\ No newline at end of file
......@@ -15,49 +15,34 @@
</view>
<view class="static-box">
<image class="avatar" src="{{userInfo.avatar && filter.imagify(userInfo.avatar, 'image/resize,w_320/format,jpg/quality,q_50') || 'https://cdn.img.shangjiadao.cn/qingxiao/biz/image/defaultavatar.png'}}" 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>
<view class="right">
<view class="static-item">
<view class="static-item" bindtap="goGrowthRecord">
<loginbtn loginCode="{{loginCode}}"/>
<view class="item-title">打卡</view>
<view class="item-unit">{{userStatic.clock_days || 0}}天</view>
</view>
<view class="static-item" bindtap="goMyScoreIndex">
<view class="static-item" bindtap="toPointsMall">
<loginbtn loginCode="{{loginCode}}"/>
<view class="item-title">积分商城</view>
<view class="item-unit">{{userStatic.integral_balance || 0}}分</view>
</view>
<view class="static-item">
<view class="static-item" bindtap="goMyCourses">
<view class="item-title">课时</view>
<view class="item-unit">{{userStatic.class_times || 0}}课时</view>
<view class="item-unit">{{userStatic.class_times || 0}}</view>
</view>
</view>
<loginbtn loginCode="{{loginCode}}"/>
</view>
<!-- <view class="userbox">
<view class="left-box">
<image class="avatar" src="{{userInfo.avatar && filter.imagify(userInfo.avatar, 'image/resize,w_320/format,jpg/quality,q_50') || 'https://cdn.img.shangjiadao.cn/qingxiao/biz/image/defaultavatar.png'}}"></image>
<text class="nickname" wx:if="{{userInfo.nickname}}">{{userInfo.nickname}}</text>
<text class="nickname" wx:if="{{!userInfo.nickname}}">点击登录</text>
<loginbtn loginCode="{{loginCode}}"/>
</view>
<view class="right-box">
<view class="right-item" bindtap="toMyNews">
<loginbtn loginCode="{{loginCode}}"/>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<image class="icon" src="{{imageRoot}}2c/optimize/icon_message.png?{{imageVersion}}"></image>
<view class="red-dot" wx:if="{{noticecount>0}}">{{noticecount}}</view>
</view>
<view class="right-item" bindtap="toSetting" wx:if="{{sid != 0}}">
<loginbtn loginCode="{{loginCode}}"/>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<image class="icon" src="{{imageRoot}}2c/optimize/icon_setting.png?{{imageVersion}}"></image>
</view>
</view>
<!-- <view class="right-item" bindtap="toSetting" wx:if="{{sid != 0}}">
<loginbtn loginCode="{{loginCode}}"/>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<image class="icon" src="{{imageRoot}}2c/optimize/icon_setting.png?{{imageVersion}}"></image>
</view> -->
</view>
......@@ -70,25 +55,9 @@
</view>
</view>
<view class="avatar-box" wx:if="{{visitorList.length>0}}">
<view class="avatar-item">
<image class="avatar" src="{{userInfo.avatar && filter.imagify(userInfo.avatar, 'image/resize,w_320/format,jpg/quality,q_50') || 'https://cdn.img.shangjiadao.cn/qingxiao/biz/image/defaultavatar.png'}}"></image>
<view class="nickname">用户昵称</view>
</view>
<view class="avatar-item">
<image class="avatar" src="{{userInfo.avatar && filter.imagify(userInfo.avatar, 'image/resize,w_320/format,jpg/quality,q_50') || 'https://cdn.img.shangjiadao.cn/qingxiao/biz/image/defaultavatar.png'}}"></image>
<view class="nickname">用户昵称</view>
</view>
<view class="avatar-item">
<image class="avatar" src="{{userInfo.avatar && filter.imagify(userInfo.avatar, 'image/resize,w_320/format,jpg/quality,q_50') || 'https://cdn.img.shangjiadao.cn/qingxiao/biz/image/defaultavatar.png'}}"></image>
<view class="nickname">用户昵称</view>
</view>
<view class="avatar-item">
<image class="avatar" src="{{userInfo.avatar && filter.imagify(userInfo.avatar, 'image/resize,w_320/format,jpg/quality,q_50') || 'https://cdn.img.shangjiadao.cn/qingxiao/biz/image/defaultavatar.png'}}"></image>
<view class="nickname">用户昵称</view>
</view>
<view class="avatar-item">
<image class="avatar" src="{{userInfo.avatar && filter.imagify(userInfo.avatar, 'image/resize,w_320/format,jpg/quality,q_50') || 'https://cdn.img.shangjiadao.cn/qingxiao/biz/image/defaultavatar.png'}}"></image>
<view class="nickname">用户昵称</view>
<view class="avatar-item"wx:for="{{visitorList}}" wx:key="{{index}}" >
<image class="avatar" src="{{item.source_student.avatar&& filter.imagify(item.source_student.avatar, 'image/resize,w_320/format,jpg/quality,q_50') || 'https://cdn.img.shangjiadao.cn/qingxiao/biz/image/defaultavatar.png'}}"></image>
<view class="nickname">{{item.source_student.nickname}}</view>
</view>
</view>
<view class="avatar-box avatar-box-empty" wx:else>
......@@ -182,53 +151,7 @@
<text class="title">机构登录</text>
<text class="desc">老师/校长在这里登录</text>
</view>
<!-- <view class="menu-item" bindtap="goScoreMall">
<loginbtn loginCode="{{loginCode}}"/>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<image class="menuicon" src="{{imageRoot}}2c/optimize/icon_mall.png?{{imageVersion}}"></image>
<text class="title">商城</text>
</view>
<view class="menu-item" bindtap="goMyScoreIndex">
<loginbtn loginCode="{{loginCode}}"/>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<image class="menuicon" src="{{imageRoot}}2c/optimize/icon_points.png?{{imageVersion}}"></image>
<text class="title">我的积分</text>
</view>
<view class="menu-item" bindtap="toPointsRankList">
<loginbtn loginCode="{{loginCode}}"/>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<image class="menuicon" src="{{imageRoot}}2c/optimize/icon_ranking.png?{{imageVersion}}"></image>
<text class="title">排行榜</text>
</view>
<view class="menu-item" bindtap="goMyInfluence">
<loginbtn loginCode="{{loginCode}}"/>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<image class="menuicon" src="{{imageRoot}}2c/ucenter/myinfluence.png?{{imageVersion}}"></image>
<text class="title">影响力</text>
</view> -->
</view>
<!-- <view class="" style="padding-top: 76rpx;">
<loginbtn loginCode="{{loginCode}}" position="relative">
<view class="exchange-identity" bindtap="loginToManager">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<view class="exchange-center">商家管理员及老师入口
</view>
</view>
</loginbtn>
</view> -->
</view>
<btabbar
sid="{{sid}}"
......@@ -258,4 +181,15 @@
sharetitle="校区管理,打卡作业招生"
coverimg="service/tosue.png"
></sjdbottombar>
<view class="modal modalUsers {{modelUsersAnimate? 'hide': ''}}" hidden="{{!modalUsers}}">
<view class="mask" bindtap="hideUsersModal"></view>
<view class="modal-content">
<view class="opt-list">
<view class="opt-item {{actStudent.id == item.id ? 'active' : ''}}" wx:for="{{identityList}}" wx:key="index" data-item="{{item}}" bindtap="selectUserHandle">{{item.nickname}}</view>
</view>
<view class="opt-item btn-cancel" bindtap="hideUsersModal">取消</view>
</view>
</view>
</view>
\ No newline at end of file
......@@ -3,10 +3,6 @@ page{
}
.container{
padding-bottom: 120rpx;
/* display: flex;
flex-direction: column;
justify-content: center;
align-items: center; */
position: relative;
}
.header-bg{
......@@ -175,15 +171,16 @@ page{
padding-top: 12rpx;
}
.visit-box .avatar-box-empty .line2 text{
color: #FFCA28;
color: #547793;
position: relative;
margin-left: 10rpx;
font-size: 24rpx;
}
.visit-box .avatar-box-empty .line2 text::after{
content: '';
width: 100%;
height: 1px;
background: #FFCA28;
background: #547793;
position: absolute;
bottom: 0;
left: 0;
......@@ -275,4 +272,75 @@ page{
display: flex;
align-items: center;
justify-content: center;
}
/* 弹框 切换学员*/
.modal{
width: 100%;
height: 100%;
position: fixed;
left: 0;
top: 0;
background:rgba(0,0,0,.5);
z-index: 9;
animation: modalshow 0.2s linear;
}
.modal.hide{
animation: modalhide 0.2s linear forwards;
}
.modal .mask{
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 9;
}
.modal .modal-content{
width: 100%;
position: absolute;
left: 0;
bottom: 0;
background:#fff;
z-index: 10;
animation: modalmoveup 0.2s linear forwards;
}
.modal.hide .modal-content{
animation: modalmovedown 0.2s linear forwards;
}
.modalUsers{
z-index: 150;
}
.modalUsers .mask{
z-index: 150;
}
.modalUsers .modal-content{
padding: 14rpx;
background: transparent;
z-index: 160;
}
.modalUsers .modal-content .opt-list{
border-radius: 20rpx;
overflow: hidden;
}
.modalUsers .modal-content .opt-item{
height: 100rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 36rpx;
color: #000;
position: relative;
background: #fff;
}
.modalUsers .modal-content .opt-item.active{
background: #F8F8F8;
}
.modalUsers .modal-content .btn-cancel{
color: #FF6666;
font-weight: bold;
border-radius: 20rpx;
margin-top: 14rpx;
}
\ No newline at end of file
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