diff --git a/components/AQ/AQTabber.vue b/components/AQ/AQTabber.vue
index 431a50c..76815e9 100644
--- a/components/AQ/AQTabber.vue
+++ b/components/AQ/AQTabber.vue
@@ -1,7 +1,7 @@
-
+
@@ -14,9 +14,9 @@
},
data() {
return {
- userType:'1',//用户类型|1=教练,2=销售,3=学员
- tabBerIndex:'0',
- tabBar: []
+ userType:'1',//用户类型|1=教练,2=销售,3=学员
+ tabBerIndex:'0',
+ tabBar: []
};
},
@@ -27,7 +27,7 @@
methods: {
async init(){
- uni.setStorageSync('userType','1')
+ uni.setStorageSync('userType','3')
let userType = uni.getStorageSync('userType')
this.userType = userType
@@ -106,25 +106,25 @@
}
]
break;
- case "3"://学员
+ case "3"://学员
this.tabBar = [
{
text: "首页",
urlPath:'/pages/student/index/index',//自定义页面跳转路径
- iconPath: "/static/images/tabbar/my.png",
- selectedIconPath: "/static/images/tabbar/my.png"
+ iconPath: "/static/images/tabbar/index.png",
+ selectedIconPath: "/static/images/tabbar/indexs.png",
},
{
text: "课表",
urlPath:'/pages/student/timetable/index',//自定义页面跳转路径
- iconPath: "/static/images/tabbar/my.png",
- selectedIconPath: "/static/images/tabbar/my.png"
+ iconPath: "/static/images/tabbar/timetable.png",
+ selectedIconPath: "/static/images/tabbar/timetables.png",
},
{
text: "我的",
urlPath:'/pages/student/my/my',//自定义页面跳转路径
iconPath: "/static/images/tabbar/my.png",
- selectedIconPath: "/static/images/tabbar/my.png"
+ selectedIconPath: "/static/images/tabbar/mys.png",
}
]
break;
diff --git a/pages.json b/pages.json
index b65d17e..0a1548c 100644
--- a/pages.json
+++ b/pages.json
@@ -5,7 +5,7 @@
"style": {
"navigationBarTitleText": "首页",
"navigationStyle": "default",
- "navigationBarBackgroundColor": "#fff",
+ "navigationBarBackgroundColor": "#29d3b4",
"navigationBarTextStyle": "white"
}
},
@@ -45,10 +45,15 @@
"navigationBarTextStyle": "black"
}
},
-
-
-
-
+ {
+ "path": "pages/student/index/work_details",
+ "style": {
+ "navigationBarTitleText": "作业详情",
+ "navigationStyle": "default",
+ "navigationBarBackgroundColor": "#fff",
+ "navigationBarTextStyle": "black"
+ }
+ },
{
"path": "pages/coach/home/index",
"style": {
@@ -58,7 +63,6 @@
"navigationBarTextStyle": "black"
}
}
-
],
"globalStyle": {
"navigationBarTextStyle": "white",
diff --git a/pages/student/index/index.vue b/pages/student/index/index.vue
index 2310948..4f04d32 100644
--- a/pages/student/index/index.vue
+++ b/pages/student/index/index.vue
@@ -1,95 +1,133 @@
-
-
- 发现
-
+
+
+
+
+ 智卓燕
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+ 班级
+ 篮球少儿班
+
+
+ 已耗课时
+ 24/60
+
-
- {{item.user}}
- {{item.timedifference}}
+ 课程到期时间:2021.12.25
+
+
+
+ 90
+ 综合评分
+
+
+ 数据测评时间:2020.03.12
+
+
+ 123
+ 身高(CM)
+
+
+ 45
+ 体重(KG)
+
+
+
+ 更多
- 收藏
- 收藏
-
-
- {{item.activity}}
-
-
-
-
-
+
+
+
+ 课程预告
+
+
+ 5/28 周五 15:30 - 17:30
+ 301室 篮球少儿课程
+
+
+ 详情
-
- {{item.content}}
-
-
-
- 点击内容查看详情
-
- {{item.area}}
-
-
- {{item.likes}}
+
+
+ 课后作业
+ 全部
+
+
+
+
+ 12/23
+
+ 已完成
+
+
+
+
+
+
+ 包子皮
+
+
+ 上传
+
+
+ 时间:2020.05:25 15:30 - 17:30
+
+ 作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述
+
+
-
-
- {{item.comment}}
+
+ 作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述
+
+
-
-
-
-
-
-
-
- 还没有任何提醒
+
+ 作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述
+
+
+
-
-
-
-
+
-
\ No newline at end of file
diff --git a/pages/student/index/work_details.vue b/pages/student/index/work_details.vue
new file mode 100644
index 0000000..8183fd0
--- /dev/null
+++ b/pages/student/index/work_details.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/student/login/forgot.vue b/pages/student/login/forgot.vue
index 86bbd7b..a5986cc 100644
--- a/pages/student/login/forgot.vue
+++ b/pages/student/login/forgot.vue
@@ -1,36 +1,38 @@
-
-
-
-
-
-
-
- 运动课堂
-
-
+
+ 1.验证手机号码
+ 2.设置新密码
+
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
- 登录
+ 下一步
+ 提交
-
-
- 忘记登录密码
-
-
@@ -39,66 +41,27 @@
export default {
data() {
return {
- password: true,
+ code: '',
user: '',
- password1: ''
+ tset_style: 1,
}
},
onLoad() {
- uni.hideHomeButton()
- console.log(uni.getStorageSync('um_id'))
+
},
methods: {
- input(e) {
- console.log(e)
- },
- change() {
- this.password = !this.password
- },
- login() {
- let item = {};
- item['user'] = this.user
- item['password'] = this.password1
- medication.medication_login(item).then(res => {
- if (res.status == 200) {
- uni.setStorageSync('um_id', res.data.um_id);
- uni.setStorageSync('user', res.data);
- uni.switchTab({
-
- url: '/pages/my/my'
- })
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'none'
- })
- }
- });
- },
- loginWx() {
- uni.login({
- provider: 'weixin',
- success: (res) => {
- console.log(res)
- medication.wechatminilogin({
- code: res.code
- }).then(res1 => {
- if (res1.status == 200) {
- uni.setStorageSync('um_id', res1.data.um_id);
- uni.setStorageSync('user', res1.data);
- uni.switchTab({
- url: '/pages/my/my'
- })
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'none'
- })
- }
- })
- }
- });
+ sendCode() {
+ //延时为了效果展示
+ setTimeout(() => {
+ //发送短信
+ //...
+ //success方法:短信发送成功后将组件改为倒计时状态
+ this.$refs.fui_cdv && this.$refs.fui_cdv.success()
+ }, 800)
},
+ nextStep(){
+ this.tset_style = 2
+ }
}
}
@@ -116,26 +79,18 @@
padding-right: 24rpx;
}
- .image-container {
- margin: auto;
- position: relative;
- width: 150rpx;
- /* 设置与第一张图片相同的宽度 */
- height: 150rpx;
- /* 设置与第一张图片相同的高度 */
- }
-
- .base-image {
+ .title {
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+ height: 100rpx;
width: 100%;
- height: 100%;
+ background-color: #fff;
+ font-size: 26rpx;
+ border: 4rpx #f5f5f5 solid;
}
-
- .overlay-image {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 100rpx;
- height: 100rpx;
+
+ .green-text{
+ color: #36d6b9;
}
\ No newline at end of file
diff --git a/static/images/index/dian.png b/static/images/index/dian.png
new file mode 100644
index 0000000..7bbab5e
Binary files /dev/null and b/static/images/index/dian.png differ
diff --git a/static/images/index/score.png b/static/images/index/score.png
new file mode 100644
index 0000000..ce0d1a4
Binary files /dev/null and b/static/images/index/score.png differ
diff --git a/static/images/tabbar/bai.png b/static/images/tabbar/bai.png
deleted file mode 100644
index 65c97db..0000000
Binary files a/static/images/tabbar/bai.png and /dev/null differ
diff --git a/static/images/tabbar/home.png b/static/images/tabbar/home.png
deleted file mode 100644
index 10d7bbb..0000000
Binary files a/static/images/tabbar/home.png and /dev/null differ
diff --git a/static/images/tabbar/home_selected.png b/static/images/tabbar/home_selected.png
deleted file mode 100644
index 95bc5cf..0000000
Binary files a/static/images/tabbar/home_selected.png and /dev/null differ
diff --git a/static/images/tabbar/index.png b/static/images/tabbar/index.png
index 70eb131..f236d73 100644
Binary files a/static/images/tabbar/index.png and b/static/images/tabbar/index.png differ
diff --git a/static/images/tabbar/index_selected.png b/static/images/tabbar/index_selected.png
deleted file mode 100644
index 62656aa..0000000
Binary files a/static/images/tabbar/index_selected.png and /dev/null differ
diff --git a/static/images/tabbar/indexs.png b/static/images/tabbar/indexs.png
new file mode 100644
index 0000000..10eae10
Binary files /dev/null and b/static/images/tabbar/indexs.png differ
diff --git a/static/images/tabbar/mart.png b/static/images/tabbar/mart.png
deleted file mode 100644
index 97cdf9a..0000000
Binary files a/static/images/tabbar/mart.png and /dev/null differ
diff --git a/static/images/tabbar/mart_selected.png b/static/images/tabbar/mart_selected.png
deleted file mode 100644
index 41b80b9..0000000
Binary files a/static/images/tabbar/mart_selected.png and /dev/null differ
diff --git a/static/images/tabbar/my.png b/static/images/tabbar/my.png
index 60a5ed5..8d59279 100644
Binary files a/static/images/tabbar/my.png and b/static/images/tabbar/my.png differ
diff --git a/static/images/tabbar/my_selected.png b/static/images/tabbar/my_selected.png
deleted file mode 100644
index 6ba8f21..0000000
Binary files a/static/images/tabbar/my_selected.png and /dev/null differ
diff --git a/static/images/tabbar/mys.png b/static/images/tabbar/mys.png
new file mode 100644
index 0000000..b68c932
Binary files /dev/null and b/static/images/tabbar/mys.png differ
diff --git a/static/images/tabbar/order.png b/static/images/tabbar/order.png
deleted file mode 100644
index 6b60d0b..0000000
Binary files a/static/images/tabbar/order.png and /dev/null differ
diff --git a/static/images/tabbar/order_selected.png b/static/images/tabbar/order_selected.png
deleted file mode 100644
index bdfc8bf..0000000
Binary files a/static/images/tabbar/order_selected.png and /dev/null differ
diff --git a/static/images/tabbar/timetable.png b/static/images/tabbar/timetable.png
new file mode 100644
index 0000000..732683b
Binary files /dev/null and b/static/images/tabbar/timetable.png differ
diff --git a/static/images/tabbar/timetables.png b/static/images/tabbar/timetables.png
new file mode 100644
index 0000000..9532a82
Binary files /dev/null and b/static/images/tabbar/timetables.png differ