Commit 7ec1cc23 authored by sujie@126.com's avatar sujie@126.com

dd

parent 9d457bc6
......@@ -54,7 +54,8 @@
"rewardpoints",
"reviewclass",
"selectstudentlist",
"reviewdetail"
"reviewdetail",
"classreviewindex"
]
},
{
......
This diff is collapsed.
{
"component": true
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"navigationBarTitleText": "课堂小评",
"usingComponents": {
"go-top": "../../../components/goTop",
"list-loading": "../../../components/listloading",
"expiredTip": "../../components/expiredTip",
"gallery-card": "../../components/gallerycard",
"comment-editor": "../../../components/commenteditor"
}
}
\ No newline at end of file
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="header-box">
<view class="title" bindtap="showSelectClass">
<view class="label">班级:</view>
<view class="title-text">小星星英语培训2班班上等分的小星星英语培训2班班上等分的</view>
<view class="exchang-btn">切换班级 <image class="icon" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"/></view>
</view>
<view class="review-btn" bindtap="showSelectStudent"><image class="icon" src="{{localImageRoot}}2b/common/white-edit.png?{{imageVersion}}"/>课堂点评</view>
</view>
<view class="line-20"></view>
<view class="content-box">
<view class="title-box" >
<view class="label">班级点评</view>
<view class="exchang-btn" bindtap="showSelectTime">{{timeList[selectTimeId].title}} <image class="icon" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"/></view>
</view>
<view class="list-box">
<block wx:if="{{!galleryEmptyPage}}">
<block wx:for="{{galleryList}}" wx:for-item="bigitem" wx:key="bigindex" wx:for-index="bigindex">
<view class="clock-item" wx:for="{{bigitem}}" wx:key="index">
<gallery-card
clock="{{item}}"
bind:delClock="delClock"
bind:expandGalleryAccessment="expandGalleryAccessment"
bind:galleryFingureUp="galleryFingureUp"
cindex="{{index}}"
tid="{{tid}}"
cid="{{item.class_id}}"
sid="{{sid}}"
bind:expandLikes="expandLikes"
bind:expandContent="expandContent"
type="{{0}}"
othertype="{{1}}"
withthemetitle="{{true}}"
headerclick="{{true}}"
bind:playvoice="playvoice"
bind:pausevoice="pausevoice"
bind:voiceslide="voiceslide"
audioStorage="{{audioStorage}}"
bind:slidestart="slidestart"
bind:slideend="slideend"
bind:playvideo="playvideo"
bind:delGalleryEvaluate="delGalleryEvaluate"
bind:showgallerycommenteditor="showcommenteditor"
isactivityclock="{{item.subject_id == activtySchoolInfo.tid}}"
bind:drawpaint="drawpaint"
bind:integrallogpost="integrallogpost"
data-bigindex="{{bigindex}}"
data-index="{{index}}"
/>
</view>
</block>
</block>
<view class="empty-content" wx:else>
<view class="empty-img-box">
<image class="empty-icon" src='{{imageRoot}}common/empty/empty_no.png?{{imageVersion}}'></image>
</view>
<view class="empty-text">暂无课堂小评,快去通知老师点评吧~</view>
</view>
<list-loading loading="{{galleryLoading}}"></list-loading>
</view>
</view>
</view>
<view class="select-student-dailog" wx:if="{{selectStudentShow}}" bindtap="hideStudentShow" data-flag="{{1}}">
<view class="dailog-content">
<view class="search-box">
<image class="icon" src='{{imageRoot}}2b/themeindex/w-icon.png?{{imageVersion}}'/>
<input type="text" class="ipt" placeholder="输入学员昵称" value="{{selectStudentKeyword}}" maxlength="{{20}}" bindinput="getKeyword"/>
<view class="search-btn" bindtap="searchSelectStudentList">搜索</view>
</view>
<scroll-view class="student-list" scroll-y="true">
<view class="student-item" bindtap="goReviewClass">
<view class="avatar-box">
<image class="" src="{{imageRoot}}2b/common/class-student.png?{{imageVersion}}"/>
</view>
<view class="name">全班{{classMemberTotal}}人</view>
<view class="count">月评{{classReviewCount}}次</view>
</view>
<block wx:for="{{selectStudentList}}" wx:for-index="idx" wx:for-item="listItem" wx:key="idx">
<view class="student-item" wx:for="{{listItem}}" wx:key="index" data-item="{{item}}" bindtap="goReviewStudent">
<view class="avatar-box">
<image class="avatar" src="{{filter.imagify(item.avatar, 'image/resize,w_160/format,jpg')}}" wx:if="{{item.avatar}}"></image>
<image class="avatar" src="{{imageRoot}}common/empty/avatar_user.png?{{imageVersion}}" wx:else></image>
</view>
<view class="name">{{item.name}}</view>
<view class="count">月评{{item.student_review_count}}次</view>
</view>
</block>
</scroll-view>
</view>
</view>
<view class="select-student-dailog" wx:if="{{selectClassShow}}" bindtap="hideSelectClass" data-flag="{{1}}">
<view class="dailog-content dailog-class-content">
<scroll-view class="student-list class-list" scroll-y="true">
<view class="class-item {{selectClassId == item.id ? 'act-class' : ''}}" wx:for="{{classList}}" wx:key="index" data-item="{{item}}" bindtap="selectClassHandle">{{item.title}}</view>
</scroll-view>
<view class="line-16"></view>
<view class="cancle-btn" bindtap="hideSelectClass" data-flag="{{1}}">取消</view>
</view>
</view>
<view class="select-student-dailog" wx:if="{{selectTimeShow}}" bindtap="hideSelectTime" data-flag="{{1}}">
<view class="dailog-content dailog-class-content" style="height: 692rpx;">
<scroll-view class="student-list class-list" style="height: 570rpx;" scroll-y="true">
<view class="class-item {{selectTimeId == item.id ? 'act-class' : ''}}" wx:for="{{timeList}}" wx:key="index" data-item="{{item}}" bindtap="selectTimeHandle">{{item.title}}</view>
</scroll-view>
<view class="line-16"></view>
<view class="cancle-btn" bindtap="hideSelectTime" data-flag="{{1}}">取消</view>
</view>
</view>
<view class="videodialog" wx:if="{{videostatus.videoShow}}">
<view class="videodialogmask" bindtap="closeVideo"></view>
<video class="" src="{{filter.transformOssVideofy(videostatus.src,videostatus.mode)}}" id="{{videostatus.videoId}}"
initial-time="0" autoplay="false" loop="false" direction="0" bindplay="" bindpause="" bindended=""
bindtimeupdate="" bindwaiting="" binderror="" bindfullscreenchange="screenchange">
</video>
</view>
<view class="" data-editor="commenteditor">
<comment-editor wx:if="{{commenteditor}}" prams="{{commentclock}}" bind:hidecommenteditor="hidecommenteditor" type="2b"></comment-editor>
</view>
/* business/pages/classservice/classreviewindex.wxss */
.empty-content {
padding-top: 152rpx;
}
.empty-content .empty-img-box {
width: 263rpx;
height: 219rpx;
margin: 0 auto;
}
.empty-content .empty-img-box .empty-icon {
width: 263rpx;
height: 219rpx;
}
.empty-content .empty-text {
padding-top: 47rpx;
text-align: center;
font-size: 26rpx;
color: rgba(0, 0, 0, 0.5);
padding-bottom: 217rpx;
}
.select-student-dailog{
width: 100%;
height: 100%;
position: fixed;
left: 0;
top: 0;
background:rgba(0,0,0,.5);
z-index: 100;
}
.select-student-dailog .dailog-content{
width: 100%;
height: 80vh;
position: absolute;
left: 0;
bottom: 0;
background:rgba(255,255,255,1);
border-radius:20rpx 20rpx 0px 0px;
}
.select-student-dailog .dailog-content .search-box{
width:525rpx;
height:60rpx;
background:rgba(247,247,249,1);
border-radius:30rpx;
margin: 40rpx auto;
display: flex;
align-items: center;
}
.select-student-dailog .dailog-content .search-box .icon{
width:30rpx;
height:30rpx;
margin: 0 26rpx;
}
.select-student-dailog .dailog-content .search-box .ipt{
flex: 1;
}
.select-student-dailog .dailog-content .search-box .search-btn{
width:107rpx;
height:60rpx;
background:rgba(101,184,244,1);
border-radius:30rpx;
font-size:26rpx;
font-family:PingFang SC;
font-weight:400;
color:rgba(255,255,255,1);
line-height:60rpx;
text-align: center;
}
.select-student-dailog .dailog-content .student-list{
display: flex;
flex-wrap: wrap;
height: calc(80vh - 30px);
}
.select-student-dailog .dailog-content .student-list .student-item{
display: inline-block;
width: 25%;
text-align: center;
margin-bottom: 60rpx;
}
.select-student-dailog .dailog-content .student-list .student-item .avatar-box{
padding-bottom: 16rpx;
}
.select-student-dailog .dailog-content .student-list .student-item .avatar-box image{
width:107rpx;
height:107rpx;
border-radius:50%;
}
.select-student-dailog .dailog-content .student-list .student-item .name{
font-size:26rpx;
font-family:PingFang SC;
font-weight:bold;
color:rgba(0,0,0,1);
line-height:1;
padding-bottom: 20rpx;
}
.select-student-dailog .dailog-content .student-list .student-item .count{
font-size:22rpx;
font-family:PingFang SC;
font-weight:400;
color:rgba(137,138,136,1);
line-height:1;
}
.container{
}
.header-box{
padding: 50rpx 0 30rpx 0;
}
.header-box .title{
padding: 0 24rpx;
display: flex;
margin-bottom: 50rpx;
}
.header-box .title .label{
width: 82rpx;
font-size:26rpx;
font-family:PingFang SC;
font-weight:400;
color:rgba(117,117,117,1);
line-height: 1;
}
.header-box .title .title-text{
flex: 1;
font-size:30rpx;
font-family:PingFang SC;
font-weight:500;
color:rgba(0,0,0,1);
line-height:1;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
padding-right: 20rpx;
}
.exchang-btn{
font-size:26rpx;
font-family:PingFang SC;
font-weight:400;
color:rgba(142,142,142,1);
line-height:1;
display: flex;
align-items: center;
}
.exchang-btn .icon{
width:12rpx;
height:20rpx;
margin-left: 20rpx;
}
.header-box .review-btn{
width:556rpx;
height:70rpx;
background:rgba(255,185,122,1);
border-radius:16rpx;
font-size:26rpx;
font-family:PingFang SC;
font-weight:bold;
color:rgba(255,255,255,1);
line-height:1;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
}
.header-box .review-btn .icon{
width: 31rpx;
height: 33rpx;
margin-right: 27rpx;
}
.line-20{
width:100%;
height:20rpx;
background:rgba(247,247,249,1);
}
.content-box .title-box{
padding: 32rpx 24rpx 0 24rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.content-box .title-box .label{
font-size:30rpx;
font-family:PingFang SC;
font-weight:bold;
color:rgba(58,58,58,1);
}
.select-student-dailog .dailog-class-content{
height:600rpx;
background:rgba(255,255,255,1);
border-radius:20rpx 20rpx 0px 0px;
}
.select-student-dailog .dailog-class-content .class-list{
height:475rpx;
}
.line-16{
width:100%;
height:16rpx;
background:rgba(237,237,237,1);
}
.dailog-class-content .cancle-btn{
height: 106rpx;
font-size:28rpx;
font-family:PingFang SC;
font-weight:bold;
color:rgba(0,0,0,1);
display: flex;
align-items: center;
justify-content: center;
}
.select-student-dailog .dailog-class-content .class-list .class-item{
height: 95rpx;
padding: 66rpx 33rpx;
font-size:28rpx;
font-family:PingFang SC;
font-weight:bold;
color:rgba(0,0,0,1);
border-bottom: 1px solid rgba(0,0,0,.1);
line-height: 1;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
text-align: center;
}
.select-student-dailog .dailog-class-content .class-list .act-class{
color:rgba(83,200,255,1);
}
@import "../../../style/radio.wxss";
\ No newline at end of file
......@@ -26,7 +26,9 @@ import {
LocalStorage
} from '../../../utilities/index.js';
import {
studentreviewPost
studentreviewPost,
classroomdetailGet,
classroomreviewupdatePost
} from '../../../service/business/classservice.js';
Page({
data: {
......@@ -85,17 +87,26 @@ Page({
},
onLoad: function (options) {
this.innerAudioContext = wx.createInnerAudioContext(); // 当前页面唯一的一个音频容器
const {sid, id,stdid, scheid} = options;
const {sid, id,stdid, scheid,rid} = options;
this.setData({
sid,
id,
stdid,
scheid
scheid,
rid: rid || '',
})
this.subjectReviewTemplate();
if(rid){
wx.setNavigationBarTitle({
title: '编辑点评'
})
this.ClassroomDetailGet()
}else{
this.subjectReviewTemplate();
}
},
onShow: function () {
if(this.data.needREfresh){
if(this.data.needREfresh && !this.data.rid){
this.subjectReviewTemplate();
}
},
......@@ -105,7 +116,39 @@ Page({
onUnload: function () {
},
subjectReviewTemplate () {
// 点评详情
ClassroomDetailGet(){
classroomdetailGet({
id: this.data.rid
}).then((res)=>{
const {code, data} = res;
if(code == 200){
try {
data.content = data.content ? JSON.parse(data.content) :'';
data.works = data.works ? JSON.parse(data.works) :'';
} catch (error) {
}
this.setData({
params: data.content,
audioInfo: data.content.audio[0] ? data.content.audio[0] : {
src: '',
duration: 0
},
imageBox: data.content.img,
imgWorksBox: data.works,
isTop: data.place_top_at ? true :false,
visibieStatus: data.visible_type,
averageScore: data.content.score,
//scoreObject: data.content.templates
})
this.subjectReviewTemplate(data.content.templates);
}
}).catch((err)=>{
console.log(err)
})
},
subjectReviewTemplate (templatesList) {
subjectReviewTemplate({
class_id: this.data.id
}).then((res) => {
......@@ -113,14 +156,25 @@ Page({
if (code == 200) {
data.forEach(ele => {
const key = `score_${ele.id}`;
this.setData({
[`scoreObject.${key}`]: {
score: 2.5,
title: ele.title,
id: ele.id,
},
});
if(this.data.rid){
this.setData({
[`scoreObject.${key}`]: {
title: ele.title,
id: ele.id,
score: templatesList.find(e=> e.template_id == ele.id).number
},
});
}else{
this.setData({
[`scoreObject.${key}`]: {
score: 2.5,
title: ele.title,
id: ele.id,
},
});
}
})
console.log(this.data.scoreObject,'console.log(this.data.scoreObject)')
this.calculatetotal();
}
})
......@@ -888,10 +942,10 @@ Page({
number: scoreObject[i].score * 2 * 5,
})
}
let params = Object.assign({
let params = Object.assign(this.data.params,{
score: this.data.averageScore * 2 * 5,
templates: templates
}, this.data.params);
});
const blacklist = matchBlacklist(params.content);
let imageBox = this.data.imageBox.filter(ele => ele.status == 'fullfilled');
params.img = imageBox;
......@@ -935,44 +989,86 @@ Page({
commentPost(params, formId) {
const that = this;
const visitor = LocalStorage.getItem('visitor');
let _content = params
studentreviewPost({
school_id: this.data.sid,
class_id: this.data.id,
schedule_id: this.data.scheid,
visible_type: this.data.visibieStatus,
place_top_at: this.data.isTop==1?1:2,
works: JSON.stringify(this.data.imgWorksBox),
student_id_list: JSON.stringify([this.data.stdid]),
content: JSON.stringify(_content)
}).then((res) => {
this.data.submitting= false
wx.hideLoading();
const {
data,
code
} = res;
if (code == 200) {
formIdCreate({
formId
})
let pages = getCurrentPages();
let currPage = null; //当前页面
let prevPage = null; //上一个页面
if (pages.length >= 2) {
currPage = pages[pages.length - 1]; //当前页面
prevPage = pages[pages.length - 2]; //上一个页面
let _content = params;
if(that.data.rid){
classroomreviewupdatePost({
school_id: this.data.sid,
class_id: this.data.id,
schedule_id: this.data.scheid,
visible_type: this.data.visibieStatus,
place_top_at: this.data.isTop==1?1:2,
works: JSON.stringify(this.data.imgWorksBox),
student_id_list: JSON.stringify([this.data.stdid]),
content: JSON.stringify(_content),
id: this.data.rid
}).then((res) => {
this.data.submitting= false
wx.hideLoading();
const {
data,
code
} = res;
if (code == 200) {
formIdCreate({
formId
})
let pages = getCurrentPages();
let currPage = null; //当前页面
let prevPage = null; //上一个页面
if (pages.length >= 2) {
currPage = pages[pages.length - 1]; //当前页面
prevPage = pages[pages.length - 2]; //上一个页面
}
prevPage.setData({
showRefresh: true
});
wx.navigateBack({
delta: 1, // 回退前 delta(默认为1) 页面
})
}
prevPage.setData({
showRefresh: true
});
wx.navigateBack({
delta: 1, // 回退前 delta(默认为1) 页面
})
}
}).catch((e) => {
wx.hideLoading();
this.data.submitting = false
})
}).catch((e) => {
wx.hideLoading();
this.data.submitting = false
})
}else{
studentreviewPost({
school_id: this.data.sid,
class_id: this.data.id,
schedule_id: this.data.scheid,
visible_type: this.data.visibieStatus,
place_top_at: this.data.isTop==1?1:2,
works: JSON.stringify(this.data.imgWorksBox),
student_id_list: JSON.stringify([this.data.stdid]),
content: JSON.stringify(_content)
}).then((res) => {
this.data.submitting= false
wx.hideLoading();
const {
data,
code
} = res;
if (code == 200) {
formIdCreate({
formId
})
let pages = getCurrentPages();
let currPage = null; //当前页面
let prevPage = null; //上一个页面
if (pages.length >= 2) {
currPage = pages[pages.length - 1]; //当前页面
prevPage = pages[pages.length - 2]; //上一个页面
}
prevPage.setData({
showRefresh: true
});
wx.navigateBack({
delta: 1, // 回退前 delta(默认为1) 页面
})
}
}).catch((e) => {
wx.hideLoading();
this.data.submitting = false
})
}
},
})
\ No newline at end of file
......@@ -3,6 +3,10 @@ var app = getApp();
import {
constants
} from '../../../constants/index.js';
import {
classroomdetailGet,
classroomreviewupdatePost
} from '../../../service/business/classservice.js';
import {
bOssAccess,
cMediaOssAccess
......@@ -78,14 +82,22 @@ Page({
sid,
id,
from,
scheid
scheid,
rid
} = options;
this.setData({
sid,
id,
from,
rid: rid || '',
scheid: scheid || 0
})
if(rid){
wx.setNavigationBarTitle({
title: '编辑点评'
})
this.ClassroomDetailGet()
}
},
/**
......@@ -141,6 +153,33 @@ Page({
*/
onShareAppMessage: function () {
},
ClassroomDetailGet(){
classroomdetailGet({
id: this.data.rid
}).then((res)=>{
const {code, data} = res;
if(code == 200){
try {
data.content = data.content ? JSON.parse(data.content) :'';
data.works = data.works ? JSON.parse(data.works) :'';
} catch (error) {
}
console.log(data.content, 'data.content')
this.setData({
params: data.content,
audioInfo: data.content.audio[0] ? data.content.audio[0] : {
src: '',
duration: 0
},
imageBox: data.content.img,
topStatus: data.place_top_at ? true :false,
checkRedio: data.visible_type,
})
}
}).catch((err)=>{
console.log(err)
})
},
getContent(e) {
this.setData({
......@@ -692,7 +731,7 @@ Page({
})
},
submit(){
const{params, checkRedio, topStatus, imageBox, id, from,audioInfo } = this.data;
const{params, checkRedio, topStatus, imageBox, id, from,audioInfo, rid } = this.data;
if(params.content==""){
wx.showModal({
title: '提示',
......@@ -709,46 +748,72 @@ Page({
wx.showLoading({
title: '加载中',
})
classreviewPOST({
class_id:id,
visible_type: checkRedio,
place_top_at: topStatus ? 1 : 2,
schedule_id: this.data.scheid,
content: JSON.stringify(bigParams)
}).then((res)=>{
const { code, data} = res;
if(code == 200){
wx.showToast({
title: '成功',
icon: 'success',
duration: 2000
})
let pages = getCurrentPages();
let currPage = null; //当前页面
let prevPage = null; //上一个页面
if (pages.length >= 2) {
currPage = pages[pages.length - 1]; //当前页面
prevPage = pages[pages.length - 2]; //上一个页面
}
if(prevPage) {
if(from == 'classdetail'){
prevPage.classRoomReviewlistByeDateGet([Object.assign(data,{
read:0,
read_remind:0
})]);
prevPage.setData({
selectStudentShow: false
})
}
if(rid){
classroomreviewupdatePost({
class_id:id,
visible_type: checkRedio,
place_top_at: topStatus ? 1 : 2,
schedule_id: this.data.scheid,
id: rid,
content: JSON.stringify(bigParams)
}).then((res)=>{
const { code, data} = res;
if(code == 200){
wx.showToast({
title: '成功',
icon: 'success',
duration: 2000
})
wx.navigateBack({
delta: 1,
})
}
}
wx.hideLoading()
}).catch((err)=>{
wx.hideLoading()
})
wx.hideLoading()
}).catch((err)=>{
wx.hideLoading()
})
}else{
classreviewPOST({
class_id:id,
visible_type: checkRedio,
place_top_at: topStatus ? 1 : 2,
schedule_id: this.data.scheid,
content: JSON.stringify(bigParams)
}).then((res)=>{
const { code, data} = res;
if(code == 200){
wx.showToast({
title: '成功',
icon: 'success',
duration: 2000
})
let pages = getCurrentPages();
let currPage = null; //当前页面
let prevPage = null; //上一个页面
if (pages.length >= 2) {
currPage = pages[pages.length - 1]; //当前页面
prevPage = pages[pages.length - 2]; //上一个页面
}
if(prevPage) {
if(from == 'classdetail'){
prevPage.classRoomReviewlistByeDateGet([Object.assign(data,{
read:0,
read_remind:0
})]);
prevPage.setData({
selectStudentShow: false
})
}
wx.navigateBack({
delta: 1,
})
}
}
wx.hideLoading()
}).catch((err)=>{
wx.hideLoading()
})
}
}
})
\ No newline at end of file
// components/layout/index.js
import {
formIdCreate
} from '../../service/common.js';
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
formSubmit: function (e) {
if ("the formId is a mock one" != e.detail.formId) {
const {
formId
} = e.detail;
formIdCreate({
formId
})
}
},
}
})
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<!--components/layout/index.wxml-->
<form bindsubmit="formSubmit" report-submit class="layout">
<button formType="submit" class="button"
hover-class="none">
<view class="fixed"><slot></slot></view>
</button>
</form>
/* components/layout/index.wxss */
.layout {
display: inline-block;
padding-left: 0;
padding-right: 0;
box-sizing: border-box;
font-size: inherit;
text-align: left;
text-decoration: none;
line-height: inherit;
-webkit-tap-highlight-color: transparent;
color: inherit;
width: 100%;
position: relative;
}
.layout .button{
display: inline-block;
padding-left: 0;
padding-right: 0;
box-sizing: border-box;
font-size: inherit;
text-align: left;
text-decoration: none;
line-height: inherit;
-webkit-tap-highlight-color: #000;
color: inherit;
width: 100%;
position: relative;
}
.layout .button .fixed{
position:relative;
z-index: 9999;
width: 100%;
}
.layout .button:before,.layout .button:after{
border-width: 0;
}
\ No newline at end of file
......@@ -271,6 +271,7 @@ const apis = {
classroomcomments: `${api}common/class_room/comments`,//获取点赞数据
memberclassroomcomment: `${api}member/class_room/comment`,//评论或回复
deleteclassroomcomment: `${api}member/class_room/comment`,//评论或回复
classroomreviewupdate: `${api}member/classroom_review/update`,//B端-课堂点评修改
},
common: {
memberSession: `${api}member/session`,
......
......@@ -146,6 +146,15 @@ function memberclassroomcommentDELETE (data) {
errorresolve: 1,
})
}
function classroomreviewupdatePost (data) {
return wxRequest({
role: '2b',
url: apis.business.classservice.classroomreviewupdate,
data,
method: 'POST',
errorresolve: 1,
})
}
export {
statisticalGet,
schedulesGet,
......@@ -162,5 +171,6 @@ export {
classroomlikesGet,
classroomcommentsGet,
memberclassroomcommentPost,
memberclassroomcommentDELETE
memberclassroomcommentDELETE,
classroomreviewupdatePost
}
\ No newline at end of file
......@@ -26,6 +26,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
console.log(2222)
wx.setNavigationBarColor({
frontColor: '#ffffff',
backgroundColor: '#FFD146',
......
......@@ -3,7 +3,8 @@
"list-loading": "../../../components/listloading",
"activity-bar": "../../../components/activitybar",
"sjdbottombar": "../../../components/sjdbottombar",
"guidecollection": "../../../components/guidecollection"
"guidecollection": "../../../components/guidecollection",
"layout": "../../../components/layout"
},
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#FFD146"
......
This diff is collapsed.
/* src/pages/myinfluence/influencelist.wxss */
page{
background:rgba(245,244,249,1);
}
.container{
background:rgba(245,244,249,1);
min-height: 100vh;
}
.header-box{
width:100%;
......
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