Commit 2018147a authored by sujie@126.com's avatar sujie@126.com

dd

parent 586c673a
......@@ -664,6 +664,13 @@
"index"
]
},
{
"root": "business/pages/officialwebteachermgt",
"name": "businessofficialwebteachermgt",
"pages": [
"index"
]
},
{
"root": "src/pages/pointsrule",
"name": "pointsrule",
......
// business/pages/officialwebmgt/evaluationmgt.js
import {
websitecommentlist,
websitecommentisshow,
websitecommentoverhead
} from '../../../service/business/website.js';
var app = getApp();
Page({
......@@ -9,6 +14,14 @@ Page({
localImageRoot: '../../../images/',
imageRoot: app.globalData.imageRoot,
imageVersion: app.globalData.imageVersion,
sid:'',
page: 1,
perPage: 10,
list: [],
hasmore: true,
total: 0,
emptyPage: false,
listLoading: false,
},
/**
......@@ -35,7 +48,11 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow: function () {
this.setData({
page: 1,
hasmore: true
})
this.evaluationListGet('init');
},
/**
......@@ -56,14 +73,18 @@ Page({
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
this.setData({
page: 1,
hasmore: true
})
this.evaluationListGet('down');
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
this.evaluationListGet('up');
},
/**
......@@ -71,5 +92,182 @@ Page({
*/
onShareAppMessage: function () {
},
evaluationListGet(type) {
if (!this.data.hasmore) {
return;
}
if (this.data.listLoading) {
return
};
this.setData({
listLoading: true
})
websitecommentlist({
page: this.data.page,
perPage: this.data.perPage,
school_id:this.data.sid
}).then((res) => {
const { code, data } = res;
this.setData({
listLoading: false
})
if (code != 200) { // 失败的处理
} else {
if (data.total) {
this.setData({
total: data.total,
})
}
switch (type) {
case 'init': //页面进来第一次加载
this.setData({
list: data.list || []
}, () => {
if (this.data.total > this.data.list.length) {
let page = this.data.page + 1;
this.setData({
page,
})
} else { // 没有更多了
this.setData({
hasmore: false
})
}
})
break;
case 'down': // 页面下拉刷新
this.setData({
list: data.list || []
}, () => {
if (this.data.total > this.data.list.length) {
let page = this.data.page + 1;
this.setData({
page,
})
} else { // 没有更多了
this.setData({
hasmore: false
})
}
})
wx.stopPullDownRefresh();
break;
case 'up': // 页面上拉刷新
let list = this.data.list;
let _list = list.concat(data.list);
this.setData({
list: _list
}, () => {
if (this.data.total > this.data.list.length) {
let page = this.data.page + 1;
this.setData({
page,
})
} else { // 没有更多了
this.setData({
hasmore: false
})
}
})
break;
default:
break;
}
if (this.data.list.length == 0) {
this.setData({
emptyPage: true
})
} else {
this.setData({
emptyPage: false
})
}
}
}).catch((e) => {
this.setData({
listLoading: false
})
})
},
handleOverhead(e){
const that = this;
const {
dataset
} = e.currentTarget;
const text = dataset.item.place_top_at?'是否取消置顶该评论?':'是否置顶该评论?'
wx.showModal({
title: '提示',
content: text,
success(res) {
if (res.confirm) {
websitecommentoverhead({
id: dataset.item.id,
type:dataset.item.place_top_at?2:1
}).then((res) => {
if (res.code == 200) {
const _list = that.data.list
_list.filter(ele => ele.id == dataset.item.id)[0].place_top_at=dataset.item.place_top_at?'':1;
that.setData({
list:_list
})
wx.showToast({
title: '成功',
icon: 'success',
duration: 2000
})
}
}).catch(() => {
wx.showToast({
title: '失败',
icon: 'none',
duration: 2000
})
})
} else if (res.cancel) {}
}
})
},
handleShow(e){
const that = this;
const {
dataset
} = e.currentTarget;
const text = dataset.item.status==1?'是否隐藏该评论?':'是否取消隐藏该评论?'
wx.showModal({
title: '提示',
content: text,
success(res) {
if (res.confirm) {
websitecommentisshow({
id: dataset.item.id,
status:dataset.item.status==1?2:1
}).then((res) => {
if (res.code == 200) {
const _list = that.data.list
_list.filter(ele => ele.id == dataset.item.id)[0].status=dataset.item.status==1?2:1;
that.setData({
list:_list
})
wx.showToast({
title: '成功',
icon: 'success',
duration: 2000
})
}
}).catch(() => {
wx.showToast({
title: '失败',
icon: 'none',
duration: 2000
})
})
} else if (res.cancel) {}
}
})
}
})
\ No newline at end of file
......@@ -2,5 +2,7 @@
"enablePullDownRefresh": true,
"navigationBarTitleText": "评价管理",
"usingComponents": {
"empty-content": "../../../components/emptycontent",
"list-loading": "../../../components/listloading"
}
}
\ No newline at end of file
<!--business/pages/officialwebmgt/evaluationmgt.wxml-->
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="evaluationmgt-container clearfix">
<view class="evaluation-list" hover-class="none" hover-stop-propagation="false">
<view class="item" hover-class="none" hover-stop-propagation="false">
<view class="evaluation-list" hover-class="none" hover-stop-propagation="false" wx:if="{{!emptyPage}}">
<view class="item" hover-class="none" hover-stop-propagation="false" wx:for="{{list}}" wx:key="{{index}}">
<view class="top-line" hover-class="none" hover-stop-propagation="false">
<view class="left" hover-class="none" hover-stop-propagation="false">
<view class="avatar" hover-class="none" hover-stop-propagation="false"> <image class="icon1" src="{{localImageRoot}}2b/officialwebmgt/comment.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image></view>
<view class="name" hover-class="none" hover-stop-propagation="false">武剑奇</view>
<view class="avatar" hover-class="none" hover-stop-propagation="false"> <image class="icon1" src="{{filter.imagify(item.avatar)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image></view>
<view class="name" hover-class="none" hover-stop-propagation="false">{{item.nickname}}</view>
</view>
<view class="right" hover-class="none" hover-stop-propagation="false">
<view class="btn hide" hover-class="none" hover-stop-propagation="false">隐藏</view>
<view class="btn" hover-class="none" hover-stop-propagation="false">置顶</view>
<view class="btn hide {{item.status==1?'':'over'}}" hover-class="none" hover-stop-propagation="false" data-item="{{item}}" bindtap="handleShow">{{item.status==1?'隐藏':'取消隐藏'}}</view>
<view class="btn {{item.place_top_at?'over':''}}" hover-class="none" hover-stop-propagation="false" data-item="{{item}}" bindtap="handleOverhead">{{item.place_top_at?'取消置顶':'置顶'}}</view>
</view>
</view>
<view class="content" hover-class="none" hover-stop-propagation="false">教书质量一点都不好。大家不要来不然会上当的,尤
其是安格XX老师,特别凶</view>
<view class="from" hover-class="none" hover-stop-propagation="false">来源:刘老师</view>
<view class="content" hover-class="none" hover-stop-propagation="false">{{item.content}}</view>
<view class="from" hover-class="none" hover-stop-propagation="false">来源:{{item.source_type==1?'微官网':item.source_txt}}</view>
</view>
<list-loading loading="{{listLoading}}"></list-loading>
</view>
<view class="" hover-class="none" hover-stop-propagation="false" wx:if="{{emptyPage}}">
<empty-content></empty-content>
</view>
</view>
</view>
\ No newline at end of file
......@@ -43,6 +43,10 @@
.evaluationmgt-container .evaluation-list .item .top-line .hide{
margin-right: 30rpx;
}
.evaluationmgt-container .evaluation-list .item .top-line .over{
color:rgba(135,135,135,1);
border:1px solid rgba(135,135,135,1);
}
.left,.right{
display: flex;
align-items: center;
......
......@@ -237,6 +237,11 @@ Page({
url: `/business/pages/officialwebmgt/officialwebactitive?sid=${this.data.sid}&actIndex=${this.data.actIndex}&actId=${id}&page=${this.data.presencepage}`
})
},
goevaluationmgt(e){
wx.navigateTo({
url: `/business/pages/officialwebmgt/goevaluationmgt?sid=${this.data.sid}&actIndex=${this.data.actIndex}`
})
},
// ——————————————————————————————————————————————————————————课程
// 添加修改课程
editOrAddCourse (e) {
......
......@@ -4,7 +4,7 @@
<view class="container">
<view class="officialwebmgt-container clearfix">
<view class="nav-box" hover-class="none" hover-stop-propagation="false">
<view class="nav-item" hover-class="none" hover-stop-propagation="false">
<view class="nav-item" hover-class="none" hover-stop-propagation="false" bindtap="goevaluationmgt">
<view class="icon" hover-class="none" hover-stop-propagation="false">
<image class="icon1" src="{{localImageRoot}}2b/officialwebmgt/comment.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
</view>
......@@ -58,7 +58,7 @@
<view class="add-banner" hover-class="none" hover-stop-propagation="false" bindtap="gobannereditor">修改</view>
</view>
<view class="empty-box" hover-class="none" hover-stop-propagation="false" wx:if="{{lunboEmpty}}">
<view class="icon" hover-class="none" hover-stop-propagation="false"></view>
<view class="icon" hover-class="none" hover-stop-propagation="false"><image class='empty-content-img' src='{{imageRoot}}2c/rankinglist/empty.png?{{imageVersion}}'></image></view>
<view class="text" hover-class="none" hover-stop-propagation="false">还没有设置轮播图,赶快添加吧~</view>
<view class="add-btn" hover-class="none" hover-stop-propagation="false" bindtap="gobannereditor">去添加</view>
</view>
......@@ -77,7 +77,7 @@
<view class="add-banner" hover-class="none" hover-stop-propagation="false" bindtap="goheadlineeditor">修改</view>
</view>
<view class="empty-box" hover-class="none" hover-stop-propagation="false" wx:if="{{headlineEmpty}}">
<view class="icon" hover-class="none" hover-stop-propagation="false"></view>
<view class="icon" hover-class="none" hover-stop-propagation="false"><image class='empty-content-img' src='{{imageRoot}}2c/rankinglist/empty.png?{{imageVersion}}'></image></view>
<view class="text" hover-class="none" hover-stop-propagation="false">还没有设置新闻头条,赶快添加吧~</view>
<view class="add-btn" hover-class="none" hover-stop-propagation="false" bindtap="goheadlineeditor">添加头条</view>
</view>
......@@ -89,7 +89,7 @@
<w-switch slot="content" value="{{ tabList[2].status }}" size="small" color="#65B8F4" bind:onChange="handleActivitiesChange" />
</view>
</view>
<view class="schoolactivities-box" wx:if="{{pointsGoodsList2.length>0}}">
<view class="schoolactivities-box" wx:if="{{pointsGoodsList2.length>0&&tabList[2].status}}">
<view class="active-box" hover-class="none" hover-stop-propagation="false" wx:for="{{pointsGoodsList2}}" wx:key="">
<view class="item-show">
<view class="activestatus end" hover-class="none" hover-stop-propagation="false">{{item.status==1?'活动已结束':(item.status==2?'报名中':'随便状态')}}</view>
......@@ -110,13 +110,19 @@
</view>
</view>
<view class="" hover-class="none" hover-stop-propagation="false" wx:else>
<view class="empty-content" hover-class="none" hover-stop-propagation="false">
<view class="empty-content" hover-class="none" hover-stop-propagation="false" wx:if="{{tabList[2].status}}">
<image class='empty-content-img' src='{{imageRoot}}2c/rankinglist/empty.png?{{imageVersion}}'></image>
<text class="empty-content-text">还没有添加活动,赶快添加吧~</text>
</view>
</view>
<view class="add-btn" hover-class="none" hover-stop-propagation="false" bindtap="editOraddSchoolActivity">添加活动</view>
<view class="add-btn" hover-class="none" hover-stop-propagation="false" bindtap="editOraddSchoolActivity" wx:if="{{tabList[2].status}}">添加活动</view>
<!-- <template is="recomdcourse"></template> -->
<view class="guide-box" hover-class="none" hover-stop-propagation="false" wx:if="{{!tabList[2].status}}">
<view class="img-box" hover-class="none" hover-stop-propagation="false">
<image class="" src="{{localImageRoot}}2b/officialwebmgt/gog.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
</view>
<view class="text-box" hover-class="none" hover-stop-propagation="false">还没有开启,开启后才可以编辑哦~</view>
</view>
</view>
<view class="content-item" hover-class="none" hover-stop-propagation="false" wx:if="{{actIndex===3}}">
<view class="title" hover-class="none" hover-stop-propagation="false">
......@@ -178,7 +184,7 @@
<!-- <view class="loadmore" hover-class="none" hover-stop-propagation="false" bindtap="loadmoresTeacher" wx:if="{{teacherhasmore}}">加载更多</view> -->
</view>
<view class="empty-box" hover-class="none" hover-stop-propagation="false" wx:if="{{teacherEmpty&&tabList[4].status}}">
<view class="icon" hover-class="none" hover-stop-propagation="false"></view>
<view class="icon" hover-class="none" hover-stop-propagation="false"><image class='empty-content-img' src='{{imageRoot}}2c/rankinglist/empty.png?{{imageVersion}}'></image></view>
<view class="text" hover-class="none" hover-stop-propagation="false">还没有添加名师,赶紧添加吧~</view>
</view>
<view class="add-btn" hover-class="none" hover-stop-propagation="false" bindtap="goofficialwebteachermgt" wx:if="{{tabList[4].status}}">添加老师</view>
......@@ -217,7 +223,7 @@
<view class="loadmore" hover-class="none" hover-stop-propagation="false" bindtap="loadmoresStudent" wx:if="{{studenthasmore}}">加载更多</view>
</view>
<view class="empty-box" hover-class="none" hover-stop-propagation="false" wx:if="{{studentEmpty}}">
<view class="icon" hover-class="none" hover-stop-propagation="false"></view>
<view class="icon" hover-class="none" hover-stop-propagation="false"><image class='empty-content-img' src='{{imageRoot}}2c/rankinglist/empty.png?{{imageVersion}}'></image></view>
<view class="text" hover-class="none" hover-stop-propagation="false">还没有添加学员,赶紧添加吧~</view>
</view>
<view class="add-btn" hover-class="none" hover-stop-propagation="false" bindtap="goofficialwebactitive">添加学员</view>
......@@ -244,7 +250,7 @@
<view class="loadmore" hover-class="none" hover-stop-propagation="false" bindtap="loadmoresPresence" wx:if="{{presencehasmore}}">加载更多</view>
</view>
<view class="empty-box" hover-class="none" hover-stop-propagation="false" wx:if="{{presenceEmpty}}">
<view class="icon" hover-class="none" hover-stop-propagation="false"></view>
<view class="icon" hover-class="none" hover-stop-propagation="false"><image class='empty-content-img' src='{{imageRoot}}2c/rankinglist/empty.png?{{imageVersion}}'></image></view>
<view class="text" hover-class="none" hover-stop-propagation="false">还没有添加图册,赶紧添加吧~</view>
</view>
<view class="add-btn" hover-class="none" hover-stop-propagation="false" bindtap="goofficialwebactitive">添加图册</view>
......
......@@ -56,6 +56,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
this.innerAudioContext = wx.createInnerAudioContext(); // 当前页面唯一的一个音频容器
const {
sid,
teacherId
......@@ -100,14 +101,14 @@ Page({
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
this.innerAudioContext.pause();
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
this.innerAudioContext.pause();
},
/**
......
{
"usingComponents": {
"imagecropper": "../../../components/imagecropper",
"sjd-media-editor": "../../../components/sjdmediaeditor"
"sjd-media-editor": "../../../components/sjdmediaeditor",
"sound-recording": "../../../components/soundrecording"
},
"navigationBarTitleText": "新增老师"
}
\ No newline at end of file
......@@ -50,5 +50,6 @@
</view>
<view class="creat-btn" hover-class="none" hover-stop-propagation="false" bindtap="save">保存</view>
</view>
<sound-recording sid="{{sid}}" show="{{audioStatus.show}}" bind:addVoice="addVoice" bind:pushVoice="pushVoice">
</sound-recording>
</view>
\ No newline at end of file
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="potential-customer-container clearfix">
<view class="classInfo" hover-class="none" hover-stop-propagation="false">
<!-- <view class="classInfo" hover-class="none" hover-stop-propagation="false">
<view class="classname" hover-class="none" hover-stop-propagation="false">{{classInfo.title}}</view>
<view class="classshift" hover-class="none" hover-stop-propagation="false" bindtap="goClassList">切换班级</view>
</view>
</view> -->
<view class="emptydivide" hover-class="none" hover-stop-propagation="false">
</view>
<view class="content" hover-class="none" hover-stop-propagation="false" wx:if="{{hasData}}">
......@@ -13,20 +13,22 @@
<text class="count" selectable="false" space="false" decode="false">{{memberTotal}}</text>
<text class="" selectable="false" space="false" decode="false">个潜在客户</text>
</view>
<view class="customer-item clearfix" hover-class="none" hover-stop-propagation="false" wx:for="{{memberList}}" wx:key="index">
<view class="customer-item-left" hover-class="none" hover-stop-propagation="false">
<image class="customer-avator" src="{{item.avatar}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<view class="customer-info" hover-class="none" hover-stop-propagation="false">
<view class="customer-name" hover-class="none" hover-stop-propagation="false">{{item.nickname}}</view>
<view class="customer-mobile" hover-class="none" hover-stop-propagation="false" data-mobile="{{item.mobile}}" bindtap="makecall">{{item.mobile}}</view>
<view class="customer-item clearfix" hover-class="none" hover-stop-propagation="false">
<view class="info-box" hover-class="none" hover-stop-propagation="false">
<view class="avator-box" hover-class="none" hover-stop-propagation="false">
<image class="" src="{{imageRoot}}2b/potentialcustomer/emptyimg.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
</view>
<view class="left-box" hover-class="none" hover-stop-propagation="false">
<view class="center-box" hover-class="none" hover-stop-propagation="false">
<view class="name" hover-class="none" hover-stop-propagation="false">武剑奇</view>
<view class="time" hover-class="none" hover-stop-propagation="false">2018-09-26 12:12</view>
</view>
<view class="phone-box" hover-class="none" hover-stop-propagation="false">18735113988</view>
</view>
</view>
<view class="transparent" hover-class="none" hover-stop-propagation="false">
ssss
</view>
<view class="customer-item-right" hover-class="none" hover-stop-propagation="false">
<view class="create-time" hover-class="none" hover-stop-propagation="false">{{item.created_at}}</view>
<view class="seedetail" hover-class="none" hover-stop-propagation="false" data-info="{{item}}" bindtap="seeCustomerDetail" wx:if="{{item.custom!='[]'}}">查看详情</view>
<view class="from-box" hover-class="none" hover-stop-propagation="false">
<view class="content" hover-class="none" hover-stop-propagation="false">来源:小星星英语培训班。速成</view>
<view class="btn" hover-class="none" hover-stop-propagation="false">查看详情</view>
</view>
</view>
<list-loading loading="{{listLoading}}"></list-loading>
......
......@@ -105,12 +105,13 @@
}
.content {
background-color: #fff;
padding: 0 24rpx;
/* padding: 0 24rpx; */
border-bottom: 1px solid transparent;
}
.content .top-static {
margin-bottom: 36rpx;
border-bottom: 2rpx solid rgba(0,0,0,0.05);
padding: 0 24rpx;
}
.content .top-static text{
color: #9c9c9c;
......@@ -121,84 +122,81 @@
.content .top-static text.count {
color: #000;
line-height: 81rpx;
margin-bottom: 36rpx;
border-bottom: 2rpx solid rgba(0,0,0,0.05);
font-weight: bold;
letter-spacing: 2rpx;
}
.content .customer-item {
display: flex;
display: -webkit-flex;
justify-content: space-between;
align-items: center;
margin-bottom: 40rpx;
margin-bottom: 70rpx;
padding: 0 27rpx 30rpx 24rpx;
border-bottom: 1px solid rgba(247,247,249,1);
}
.content .customer-item .customer-item-left {
.content .customer-item .info-box{
display: flex;
display: -webkit-flex;
justify-content: flex-start;
max-width: 380rpx;
/* align-items: center; */
/* margin-bottom: 40rpx; */
}
.content .customer-item .customer-item-right {
height: 75rpx;
position: relative;
min-width: 260rpx;
align-items: center;
}
.content .customer-item .customer-item-right .seedetail {
position: absolute;
bottom: 0;
color: rgba(101, 184, 244, 1);
font-size: 24rpx;
width: 100%;
text-align: right;
.content .customer-item .info-box .avator-box{
padding-right: 28rpx;
}
.content .customer-item .customer-avator {
.content .customer-item .info-box .avator-box image{
width:75rpx;
height:75rpx;
background:rgba(255,255,255,1);
/* box-shadow:0rpx 4rpx 13rpx 0rpx rgba(0, 0, 0, 0.23); */
border-radius:50%;
margin-right: 28rpx;
float: left;
}
.content .customer-item .customer-info {
.content .customer-item .left-box{
flex: 1;
display: flex;
display: -webkit-flex;
flex-direction: column;
height: 75rpx;
float: left;
position: relative;
width: 300rpx;
justify-content: space-between;
align-items: center;
}
.content .customer-item .customer-info .customer-name {
color: #000;
/* font-weight: bold; */
font-size: 28rpx;
letter-spacing: 2rpx;
line-height: 1;
width: 100%;
.content .customer-item .left-box .center-box .name{
font-size:26rpx;
font-family:PingFang-SC-Regular;
font-weight:400;
color:rgba(0,0,0,1);
line-height:1;
padding-bottom: 24rpx;
}
.content .customer-item .left-box .center-box .time{
font-size:22rpx;
font-family:PingFang-SC-Regular;
font-weight:400;
color:rgba(177,177,177,1);
line-height:1;
}
.content .customer-item .left-box .phone-box{
font-size:24rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(101,184,244,1);
}
.content .customer-item .from-box{
margin-top: 40rpx;
padding-left: 102rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.content .customer-item .from-box .content{
width:383rpx;
height:40rpx;
line-height: 40rpx;
background:rgba(246,247,249,1);
border-radius:20rpx;
font-size:22rpx;
font-family:PingFang-SC-Regular;
font-weight:400;
color:rgba(136,136,136,1);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
white-space:nowrap;
/* align-self: flex-start; */
}
.content .customer-item .customer-info .customer-mobile {
color: #C6CBD1;
font-size: 24rpx;
letter-spacing: 2rpx;
line-height: 1;
color: rgba(101, 184, 244, 1);
/* align-self: flex-end; */
position: absolute;
bottom: 0;
text-align: center;
}
.content .customer-item .create-time {
color: rgba(177, 177, 177,1);
font-size: 24rpx;
float: right;
line-height: 1;
.content .customer-item .from-box .btn{
font-size:24rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(101,184,244,1);
}
.empty-content {
text-align: center;
......
......@@ -379,6 +379,9 @@ const apis = {
studentactivitydestory: `${api}member/website/student_activity/destory`, //微官网学员活动删除
studentactivitydetail: `${api}member/website/student_activity/detail`, //微官网学员活动详情
studentactivitylist: `${api}member/website/student_activity`, //微官网学员列表
websitecommentlist: `${api}member/website/comment`, //微官网评价列表
websitecommentisshow: `${api}member/website/comment/is_show`, //微官网评价隐藏显示操作
websitecommentoverhead: `${api}member/website/comment/overhead`, //微官网学员列表
}
}
}
......
......@@ -339,6 +339,36 @@ function studentactivitydetail(data) {
errorresolve: 1,
})
}
// 微官网评价列表
function websitecommentlist(data) {
return wxRequest({
role: '2b',
url: apis.business.website.websitecommentlist,
method: 'GET',
data,
errorresolve: 1,
})
}
// 微官网评价隐藏显示操作
function websitecommentisshow(data) {
return wxRequest({
role: '2b',
url: apis.business.website.websitecommentisshow,
method: 'POST',
data,
errorresolve: 1,
})
}
// 微官网评价顶置
function websitecommentoverhead(data) {
return wxRequest({
role: '2b',
url: apis.business.website.websitecommentoverhead,
method: 'POST',
data,
errorresolve: 1,
})
}
export {
schoolActivitesGet,
schoolActivitesUpdate,
......@@ -370,5 +400,8 @@ export {
studentactivitylist,
addwebsitestudentactivity,
studentactivitydestory,
studentactivitydetail
studentactivitydetail,
websitecommentlist,
websitecommentisshow,
websitecommentoverhead
}
\ 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