yukangzhe 4 năm trước cách đây
mục cha
commit
fdeecec6b2

+ 3 - 1
app.json

@@ -17,7 +17,9 @@
     "pages/targetList/targetList",
     "pages/addClass/addClass",
     "pages/theClasses/theClasses",
-    "pages/growUp/growUp"
+    "pages/growUp/growUp",
+    "pages/evaluation/evaluation",
+    "pages/evaluationDetail/evaluationDetail"
   ],
   "window": {
     "backgroundTextStyle": "dark",

+ 1 - 3
pages/addClass/addClass.js

@@ -6,9 +6,7 @@ Page({
    */
   data: {
     list:[
-      {
-        
-      }
+      {}
     ],
     loading: '上拉加载',
     flag: 0,

+ 103 - 0
pages/evaluation/evaluation.js

@@ -0,0 +1,103 @@
+// pages/evaluation/evaluation.js
+Page({
+
+  /**
+   * 页面的初始数据
+   */
+  data: {
+    loading: '上拉加载',
+    flag: 0,
+    list:[
+      {},
+      {},
+      {},
+      {},
+      {},
+      {},
+    ]
+  },
+
+  getMore:function(e){
+    wx.navigateTo({
+      url: '/pages/evaluationDetail/evaluationDetail',
+    })
+  },
+
+  /**
+   * 生命周期函数--监听页面加载
+   */
+  onLoad: function (options) {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面初次渲染完成
+   */
+  onReady: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面显示
+   */
+  onShow: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面隐藏
+   */
+  onHide: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面卸载
+   */
+  onUnload: function () {
+
+  },
+
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh: function () {
+
+  },
+
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom: function () {
+    if (this.data.flag == 0) {
+      this.setData({
+        loading: '加载中',
+        flag: 1
+      })
+      setTimeout(() => {
+        this.setData({
+          list: [{},
+            {},
+            {},
+            {},
+            {},
+            {},
+            {},
+            {},
+            {},
+            {},
+          ],
+          loading: '没有更多数据',
+          flag: 2
+        })
+      }, 2000);
+    }
+  },
+
+  /**
+   * 用户点击右上角分享
+   */
+  onShareAppMessage: function () {
+
+  }
+})

+ 6 - 0
pages/evaluation/evaluation.json

@@ -0,0 +1,6 @@
+{
+  "navigationBarTitleText": "课堂点评",
+  "usingComponents": {
+    "selectDate": "/pages/Components/selectDate/selectDate"
+  }
+}

+ 22 - 0
pages/evaluation/evaluation.wxml

@@ -0,0 +1,22 @@
+<view class="container">
+
+  <!-- 时间筛选 -->
+  <selectDate></selectDate>
+  <!-- end -->
+
+  <view class="evaluation-view">
+    <view class="evaluation-list">
+      <view class="evaluation-box" wx:for="{{list}}" wx:key="index">
+        <view class="flag">集体</view>
+        <view class="title">小鹏钢琴课</view>
+        <view class="date">2021-02-24</view>
+        <view class="time">14:00 ~ 14:50</view>
+        <view class="teacher">老师:小象</view>
+        <view class="more" bindtap="getMore">查看详情</view>
+      </view>
+    </view>
+  </view>
+
+  <view class="loading">{{loading}}</view>
+
+</view>

+ 64 - 0
pages/evaluation/evaluation.wxss

@@ -0,0 +1,64 @@
+/* pages/evaluation/evaluation.wxss */
+.container{
+  padding: 0;
+  margin: 0;
+}
+page{
+  background: #f1f1f1;
+}
+
+.loading {
+  height: 200rpx;
+  line-height: 100rpx;
+  background: #f1f1f1;
+  color: #999;
+  text-align: center;
+}
+.evaluation-box{
+ width: 646rpx;
+ background: #FFF;
+ margin: 20rpx auto 40rpx;
+ border-left: 4rpx solid #cc6031;
+ border-radius: 15rpx;
+ display: flex;
+ flex-wrap: wrap;
+ padding: 25rpx;
+ box-shadow: 0 15rpx 20rpx #CCC;
+}
+.flag{
+  color: #FFF;
+  background: #cc6031;
+  line-height: 30rpx;
+  height: 30rpx;
+  margin-top: 20rpx;
+  font-size: 24rpx;
+  margin-right: 10rpx;
+  padding: 0 5rpx;
+  border-radius: 10rpx;
+  font-weight: 400;
+}
+.title{
+  font-size: 32rpx;
+    height: 60rpx;
+    line-height: 60rpx;
+    width: 420rpx;
+}
+.date{
+  margin-left: auto;
+  height: 60rpx;
+    line-height: 60rpx;
+}
+.time{
+  width: 646rpx;
+  height: 60rpx;
+    line-height: 60rpx;
+}
+.teacher,.more{
+  font-size: 28rpx;
+  height: 60rpx;
+  line-height: 60rpx;
+  color: #999;
+}
+.more{
+  margin-left: auto;
+}

+ 196 - 0
pages/evaluationDetail/evaluationDetail.js

@@ -0,0 +1,196 @@
+// pages/evaluationDetail/evaluationDetail.js
+Page({
+
+  /**
+   * 页面的初始数据
+   */
+  data: {
+    tipList:[
+      '人均:该学生在本班历次得分的平均值\r\n',
+      '班平:该班级内多有学生得分的平均值\r\n',
+      '满星:第一个数是该学生在本班级得满分的次数,第二个数是已评分的次数\r\n',
+    ],
+    imgList:[
+      'https://file.schoolwisdoms.com/image/26cf1980-5b25-4c2e-af7f-376677d76033.jpg',
+      'https://file.schoolwisdoms.com/image/26cf1980-5b25-4c2e-af7f-376677d76033.jpg',
+      'https://file.schoolwisdoms.com/image/26cf1980-5b25-4c2e-af7f-376677d76033.jpg',
+      'https://file.schoolwisdoms.com/image/26cf1980-5b25-4c2e-af7f-376677d76033.jpg',
+      'https://file.schoolwisdoms.com/image/26cf1980-5b25-4c2e-af7f-376677d76033.jpg',
+      'https://file.schoolwisdoms.com/image/26cf1980-5b25-4c2e-af7f-376677d76033.jpg',
+      'https://file.schoolwisdoms.com/image/26cf1980-5b25-4c2e-af7f-376677d76033.jpg'
+    ],
+    curVideo: '',
+    videoFlag: 0,
+    videoContext: '',
+    videoList:[
+      {
+        img: 'https://file.schoolwisdoms.com/image/26cf1980-5b25-4c2e-af7f-376677d76033.jpg',
+        url: 'http://wxsnsdy.tc.qq.com/105/20210/snsdyvideodownload?filekey=30280201010421301f0201690402534804102ca905ce620b1241b726bc41dcff44e00204012882540400&bizid=1023&hy=SH&fileparam=302c020101042530230204136ffd93020457e3c4ff02024ef202031e8d7f02030f42400204045a320a0201000400'
+      },
+      {
+        img: 'https://file.schoolwisdoms.com/image/26cf1980-5b25-4c2e-af7f-376677d76033.jpg',
+        url: 'http://wxsnsdy.tc.qq.com/105/20210/snsdyvideodownload?filekey=30280201010421301f0201690402534804102ca905ce620b1241b726bc41dcff44e00204012882540400&bizid=1023&hy=SH&fileparam=302c020101042530230204136ffd93020457e3c4ff02024ef202031e8d7f02030f42400204045a320a0201000400'
+      },
+      {
+        img: 'https://file.schoolwisdoms.com/image/26cf1980-5b25-4c2e-af7f-376677d76033.jpg',
+        url: 'http://wxsnsdy.tc.qq.com/105/20210/snsdyvideodownload?filekey=30280201010421301f0201690402534804102ca905ce620b1241b726bc41dcff44e00204012882540400&bizid=1023&hy=SH&fileparam=302c020101042530230204136ffd93020457e3c4ff02024ef202031e8d7f02030f42400204045a320a0201000400'
+      },
+      {
+        img: 'https://file.schoolwisdoms.com/image/26cf1980-5b25-4c2e-af7f-376677d76033.jpg',
+        url: 'http://wxsnsdy.tc.qq.com/105/20210/snsdyvideodownload?filekey=30280201010421301f0201690402534804102ca905ce620b1241b726bc41dcff44e00204012882540400&bizid=1023&hy=SH&fileparam=302c020101042530230204136ffd93020457e3c4ff02024ef202031e8d7f02030f42400204045a320a0201000400'
+      }
+    ],
+    curAudio: '',
+    curAudioIndex: -1,
+    audioPause: 0,
+    audioList:[
+      'https://gm-sycdn.kuwo.cn/2256fce37c86b5bc25065d780f769260/60347b85/resource/n2/73/81/1062648582.mp3',
+      'https://gm-sycdn.kuwo.cn/2256fce37c86b5bc25065d780f769260/60347b85/resource/n2/73/81/1062648582.mp3',
+    ],
+  },
+
+  getTip:function(){
+    var str = ''
+    for(var i in this.data.tipList){
+      str+= this.data.tipList[i]
+    }
+    wx.showModal({
+        title: '调课说明',
+         content: str,
+         showCancel: false,//是否显示取消按钮
+         cancelText:"否",//默认是“取消”
+         cancelColor:'#999999',//取消文字的颜色
+         confirmText:"我知道了",//默认是“确定”
+         confirmColor: 'skyblue',//确定文字的颜色
+    })
+  },
+
+  bindfullscreenchange:function(){
+    if(this.data.videoFlag == 0){
+      this.setData({
+        videoFlag : 1
+      })
+    } else {
+      this.setData({
+        videoFlag : 0,
+        curVideo : ""
+      })
+    }
+  },
+
+  videoShow:function(e){
+    this.setData({
+      curVideo: e.currentTarget.dataset.url
+    })
+    
+    this.videoContext.requestFullScreen({	// 设置全屏时视频的方向,不指定则根据宽高比自动判断。
+			direction: 90						// 屏幕逆时针90度
+		});
+  },
+
+  showImg:function(e){
+    // var list = e.currentTarget.dataset.url
+    wx.previewImage({
+      urls: this.data.imgList,
+    })
+  },
+
+  audioShow:function(e){
+    if(this.data.audioPause == 0 && this.data.curAudioIndex != e.currentTarget.dataset.index){//播放语音,切换
+      this.setData({
+        curAudio: ""
+      })
+      this.setData({
+        curAudioIndex: e.currentTarget.dataset.index,
+        curAudio: e.currentTarget.dataset.url,
+       
+      })
+      this.audioContext.play()
+      this.setData({
+        audioPause: 0
+      })
+    } else if(this.data.audioPause == 1 && this.data.curAudioIndex == e.currentTarget.dataset.index) {//暂停后恢复播放
+        this.audioContext.play()
+        this.setData({
+          audioPause: 0
+        })
+    } else if(this.data.audioPause == 0 && this.data.curAudioIndex == e.currentTarget.dataset.index){//暂停播放
+      this.audioContext.pause()
+      this.setData({
+        audioPause: 1
+      })
+    }
+  },
+
+  bindended:function(){
+    this.setData({
+      audioPause: 0,
+      curAudioIndex: -1,
+      curAudio: ''
+    })
+  },
+
+  bindpause:function(){
+    this.setData({
+      audioPause: 1
+    })
+  },
+
+
+  /**
+   * 生命周期函数--监听页面加载
+   */
+  onLoad: function (options) {
+    this.audioContext = wx.createAudioContext('audio-play')
+    this.videoContext = wx.createVideoContext('play-video');// 	创建 video 上下文 VideoContext 对象。
+  },
+
+  /**
+   * 生命周期函数--监听页面初次渲染完成
+   */
+  onReady: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面显示
+   */
+  onShow: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面隐藏
+   */
+  onHide: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面卸载
+   */
+  onUnload: function () {
+
+  },
+
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh: function () {
+
+  },
+
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom: function () {
+
+  },
+
+  /**
+   * 用户点击右上角分享
+   */
+  onShareAppMessage: function () {
+
+  }
+})

+ 4 - 0
pages/evaluationDetail/evaluationDetail.json

@@ -0,0 +1,4 @@
+{
+  "navigationBarTitleText": "课堂点评",
+  "usingComponents": {}
+}

+ 56 - 0
pages/evaluationDetail/evaluationDetail.wxml

@@ -0,0 +1,56 @@
+<view class="container">
+
+  <!-- 说明 -->
+  <view class="tip-view" bindtap="getTip">说明</view>
+  <!-- end -->
+
+  <!-- 点评内容 -->
+  <view class="class-title">
+    <view class="class-type">集体</view>
+    <view class="class-name">小鹏钢琴课</view>
+    <view class="class-date">2021-02-21</view>
+  </view>
+  <view class="class-teacher">
+    <view class="teacher-img">
+      <image src="/images/head.png"></image>
+    </view>
+    <view class="teacher-name">张老师</view>
+    <view class="contact-teacher">联系老师</view>
+  </view>
+  <view class="class-desc">
+    点评内容:这是一条测试数据这是一条测试数据这是一条测试数据这是一条测试数据这是一条测试数据这是一条测试数据
+  </view>
+  <!-- end -->
+
+  <!-- 点评内容文件 -->
+  <view class="img-content">
+    <view class="title">图片</view>
+    <view class="img-box">
+      <image src="/images/logo.png" wx:for="{{imgList}}" wx:key="index"></image>
+    </view>
+  </view>
+
+  <view class="video-content">
+    <view class="title">视频</view>
+    <view class="video-list">
+      <view wx:for="{{videoList}}" wx:key="index" class="video-img-view" data-url="{{item.url}}" bindtap="videoShow">
+        <image class="videoImg" src="{{item.img}}" mode="aspectFill"></image>
+        <image class="playImg" src="/images/play.png"></image>
+      </view>
+    </view>
+    <video id="play-video" bindfullscreenchange="bindfullscreenchange" wx:if="{{curVideo != ''}}" autoplay="true"
+      src="{{curVideo}}" controls="true" downloadlist></video>
+  </view>
+
+  <view class="audio-content">
+    <view class="title">语音</view>
+    <view class="audio-list">
+      <image bindtap="audioShow" src="{{index == curAudioIndex ? '/images/cur-audio.png' : '/images/audio.png'}}"
+        class="{{index == curAudioIndex ? 'curAudioStyle' : ''}}" wx:for="{{audioList}}" wx:key="index"
+        data-index="{{index}}" data-url="{{item}}"></image>
+    </view>
+    <audio id="audio-play" bindpause="bindpause" bindended="bindended" src="{{curAudio}}"></audio>
+  </view>
+  <!-- end -->
+
+</view>

+ 131 - 0
pages/evaluationDetail/evaluationDetail.wxss

@@ -0,0 +1,131 @@
+.container{
+  padding: 0;
+  margin: 0;
+}
+
+.tip-view{
+  height: 60rpx;
+  line-height: 60rpx;
+  width: 750rpx;
+  color: #FFF;
+  background: #cc6031;
+  text-align: center;
+  font-size: 36rpx;
+}
+.class-title{
+  display: flex;
+    border-bottom: 1px solid #CCC;
+    height: 100rpx;
+    line-height: 100rpx;
+    padding: 0 25rpx;
+    width: 700rpx;
+}
+.class-type{
+  background: #cc6031;
+    color: #FFF;
+    height: 30rpx;
+    line-height: 30rpx;
+    padding: 5rpx 10rpx;
+    border-radius: 10rpx;
+    margin-top: 35rpx;
+    font-size: 24rpx;
+    margin-right: 10rpx;
+}
+.class-date{
+  margin-left: auto;
+}
+.class-teacher{
+  display: flex;
+  line-height: 60rpx;
+  margin-top: 20rpx;
+  padding: 25rpx;
+}
+.teacher-img{
+  height: 60rpx;
+    width: 60rpx;
+    margin-right: 10rpx;
+}
+.teacher-img image{
+  width: 100%;
+  height: 100%;
+}
+.contact-teacher{
+  margin-left: auto;
+  color: #cc6031;
+}
+.class-desc{
+  padding: 5rpx 25rpx;
+  line-height: 40rpx;
+  color: #666;
+}
+
+.img-content,.video-content,.audio-content{
+  margin-top: 40rpx;
+    width: 700rpx;
+    margin: 40rpx auto 20rpx;
+}
+.img-box,.video-list{
+  display: grid;
+  justify-content: space-between;
+  grid-template-columns: repeat(auto-fill, 150rpx);
+  grid-gap: auto;
+}
+.img-box image{
+  width: 150rpx;
+    height: 150rpx;
+    border-radius: 10rpx;
+    box-shadow: 0 10rpx 10rpx #ccc;
+    margin-top: 20rpx;
+}
+.video-img-view {
+  position: relative;
+}
+.videoImg {
+  opacity: 0.9;
+}
+.playImg {
+  width: 48rpx !important;
+  height: 48rpx !important;
+  position: absolute;
+  z-index: 2;
+  left: 50%;
+  margin-left: -24rpx !important;
+  top: 50%;
+  margin-top: -24rpx !important;
+}
+.video-list image {
+  width: 150rpx;
+  height: 150rpx;
+  border-radius: 20rpx;
+  margin-bottom: 20rpx;
+  margin: 10rpx auto;
+}
+
+.audio-list {
+  display: grid;
+  justify-content: space-between;
+  grid-template-columns: repeat(auto-fill, 120rpx);
+  grid-gap: auto;
+}
+.audio-list image {
+  height: 30rpx;
+  width: 50rpx;
+  border: 1px solid #eee;
+  box-shadow: 0 0 20rpx #ccc;
+  padding: 10rpx;
+  margin-top: 20rpx;
+  padding: 0 25rpx;
+  border-radius: 10rpx;
+}
+.curAudioStyle {
+  box-shadow: 0 0 20rpx #cc6031 !important;
+  border: none;
+}
+.title{
+  color: #999;
+}
+#play-video{
+  position: absolute;
+  top: 40rpx;
+  left: 100rpx;
+}

+ 2 - 2
pages/index/index.js

@@ -13,13 +13,13 @@ Page({
     curStu: {},
     classList: [
       { img: '/images/kc.png', title: '今日课程', num: '0', url: "/pages/schedule/schedule" },
-      { img: '/images/jtzy.png', title: '今日作业', num: '0' },
+      { img: '/images/jtzy.png', title: '今日作业', num: '0',url: "/pages/task/task" },
       { img: '/images/cq.png', title: '出勤率', num: '0%' },
     ],
     appList: [
       { img: '/images/kb.png', title: '我的课表',url:"/pages/schedule/schedule" },
       { img: '/images/zy.png', title: '提交作业',url:"/pages/task/task" },
-      { img: '/images/dp.png', title: '课堂点评' },
+      { img: '/images/dp.png', title: '课堂点评', url:"/pages/evaluation/evaluation"},
       { img: '/images/zj.png', title: '成长足迹', url:"/pages/growUp/growUp"},
       { img: '/images/qj.png', title: '请假',url:"/pages/leave/leave" },
       { img: '/images/bk.png', title: '补课',url:"/pages/lessons/lessons" },

+ 3 - 1
pages/myself/myself.js

@@ -1,11 +1,13 @@
 // pages/myself/myself.js
+const app = getApp()
 Page({
 
   /**
    * 页面的初始数据
    */
   data: {
-
+    imageUrl: app.globalData.imageUrl,
+    childTitle:"我的",
   },
 
   /**

+ 77 - 2
pages/myself/myself.wxml

@@ -1,2 +1,77 @@
-<!--pages/myself/myself.wxml-->
-<text>pages/myself/myself.wxml</text>
+<view class="container">
+  <view>
+		<navTop title="{{childTitle}}" btnShow="{{false}}"></navTop>
+		<view class="top">
+			<open-data class="avatar" type="userAvatarUrl" wx:if="{{!userAvatar}}"></open-data>
+			<image lazy-load class="avatar" mode="aspectFill" src="{{userAvatar}}" wx:if="{{userAvatar}}"></image>
+			<open-data type="userNickName" wx:if="{{!userName}}"></open-data>
+			<text wx:if="{{userName}}">{{userName}}</text>
+		</view>
+		<view class="list">
+			<view class="list-item" catchtap="goNavigateTo" data-url="/pages/editInformation/editInformation">
+				<view class="li-left">
+					<image lazy-load mode="aspectFill" class="li-icon" src="/images/my-edit.png"></image>
+					<text>我的资料</text>
+				</view>
+				<image lazy-load mode="aspectFill" class="li-arrow" src="{{imageUrl? imageUrl+'arrow0603.png' : ''}}"></image>
+      </view>
+      <view class="list-item" catchtap="goNavigateTo" data-url="/pages/listenRumination/listenRumination">
+				<view class="li-left">
+					<image lazy-load mode="aspectFill" class="li-icon" src="/images/my-buyPiano.png"></image>
+					<text>商城(练琴卡购买)</text>
+				</view>
+				<image lazy-load mode="aspectFill" class="li-arrow" src="{{imageUrl? imageUrl+'arrow0603.png' : ''}}"></image>
+			</view>
+			<view class="list-item" catchtap="goNavigateTo" data-url="/pages/orderList/orderList">
+				<view class="li-left">
+					<image lazy-load mode="aspectFill" class="li-icon" src="/images/my-classOrder.png"></image>
+					<text>课程订单</text>
+				</view>
+				<image lazy-load mode="aspectFill" class="li-arrow" src="{{imageUrl? imageUrl+'arrow0603.png' : ''}}"></image>
+			</view>
+			<view class="list-item" catchtap="goNavigateTo" data-url="/pages/activeList/orderList">
+				<view class="li-left">
+					<image lazy-load mode="aspectFill" class="li-icon" src="/images/my-quan.png"></image>
+					<text>优惠券</text>
+				</view>
+				<image lazy-load mode="aspectFill" class="li-arrow" src="{{imageUrl? imageUrl+'arrow0603.png' : ''}}"></image>
+			</view>
+			<view class="list-item" catchtap="goNavigateTo" data-url="/pages/cardList/cardList">
+				<view class="li-left">
+					<image lazy-load mode="aspectFill" class="li-icon" src="/images/my-classTotal.png"></image>
+					<text>课时统计</text>
+				</view>
+				<image lazy-load mode="aspectFill" class="li-arrow" src="{{imageUrl? imageUrl+'arrow0603.png' : ''}}"></image>
+			</view>
+			<view class="list-item" catchtap="goNavigateTo" data-url="/pages/wcList/wcList" >
+				<view class="li-left">
+					<image lazy-load mode="aspectFill" class="li-icon" src="/images/my-forback.png"></image>
+					<text>校长信箱</text>
+				</view>
+				<image lazy-load mode="aspectFill" class="li-arrow" src="{{imageUrl? imageUrl+'arrow0603.png' : ''}}"></image>
+			</view>
+      <view class="line"></view>
+      <view class="list-item" catchtap="goNavigateTo" data-url="/pages/campusDistribution/campusDistribution">
+				<view class="li-left">
+					<image lazy-load mode="aspectFill" class="li-icon" src="/images/my-student.png"></image>
+					<text>推荐学员</text>
+				</view>
+				<image lazy-load mode="aspectFill" class="li-arrow" src="{{imageUrl? imageUrl+'arrow0603.png' : ''}}"></image>
+			</view>
+			<view class="list-item" catchtap="goNavigateTo" data-url="/pages/campusDistribution/campusDistribution">
+				<view class="li-left">
+					<image lazy-load mode="aspectFill" class="li-icon" src="/images/my-toget.png"></image>
+					<text>我要合作</text>
+				</view>
+				<image lazy-load mode="aspectFill" class="li-arrow" src="{{imageUrl? imageUrl+'arrow0603.png' : ''}}"></image>
+			</view>
+			<view class="list-item" catchtap="callPhone">
+				<view class="li-left">
+					<image lazy-load mode="aspectFill" class="li-icon" src="/images/my-about.png"></image>
+					<text>关于我们</text>
+				</view>
+				<image lazy-load mode="aspectFill" class="li-arrow" src="{{imageUrl? imageUrl+'arrow0603.png' : ''}}"></image>
+			</view>
+		</view>
+	</view>
+</view>

+ 62 - 1
pages/myself/myself.wxss

@@ -1 +1,62 @@
-/* pages/myself/myself.wxss */
+/* pages/tabBar/myself/myself.wxss */
+page{
+  background: #f5f5f5;
+  /* padding-bottom: 160rpx; */
+}
+.top {
+  width: 100%;
+  height: 240rpx;
+  /* background: linear-gradient(90deg, rgba(236, 58, 78, 1) 0%, rgba(255, 115, 115, 1) 100%); */
+  /* background-image: url(https://app.schoolwisdoms.com/static/wx/images/bg0603.png); */
+  background: linear-gradient(90deg, #005033 0%, #11774e 100%);
+  background-size: 100%;
+  display: flex;
+  align-items: center;
+  font-size: 32rpx;
+  font-weight: 400;
+  color: rgba(255, 255, 255, 1);
+}
+
+.avatar {
+  margin-left: 40rpx;
+  margin-right: 32rpx;
+  width: 112rpx;
+  height: 112rpx;
+  border-radius: 50%;
+  overflow: hidden;
+}
+
+.list-item{
+  width: 100%;
+  height: 90rpx;
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  padding: 0 40rpx;
+  box-sizing: border-box;
+  background: #fff;
+  border-bottom: 2rpx solid #f5f5f5;
+  line-height: 48rpx;
+}
+.li-icon{
+  margin-right: 30rpx;
+  width: 48rpx;
+  height: 48rpx;
+}
+.li-left{
+  display: flex;
+  align-items: center;
+}
+.li-arrow{
+  width: 14rpx;
+  height: 24rpx;
+}
+.line{
+  width: 100%;
+  height: 10rpx;
+}
+.footer{
+  width: 100%;
+  position: fixed;
+  bottom: 0;
+}

+ 6 - 0
pages/taskDetail/taskDetail.wxss

@@ -142,4 +142,10 @@
 .done-title {
   font-size: 36rpx;
   margin-top: 60rpx;
+}
+
+#play-video{
+  position: absolute;
+  top: 40rpx;
+  left: 100rpx;
 }

+ 0 - 1
pages/theClasses/theClasses.js

@@ -28,7 +28,6 @@ Page({
     var str = ''
     for(var i in this.data.tipList){
       str+= this.data.tipList[i]
-      console.log(str)
     }
     wx.showModal({
         title: '调课说明',