李双庆 1 year ago
parent
commit
e276cebcf8
  1. 8
      pages.json
  2. 17
      pages/student/index/index.vue
  3. 5
      pages/student/my/my.vue
  4. 2
      pages/student/timetable/index.vue

8
pages.json

@ -4,7 +4,7 @@
"path": "pages/student/index/index", "path": "pages/student/index/index",
"style": { "style": {
"navigationBarTitleText": "首页", "navigationBarTitleText": "首页",
"navigationStyle": "default", "navigationStyle": "custom",
"navigationBarBackgroundColor": "#29d3b4", "navigationBarBackgroundColor": "#29d3b4",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
} }
@ -12,10 +12,8 @@
{ {
"path": "pages/student/timetable/index", "path": "pages/student/timetable/index",
"style": { "style": {
"navigationBarTitleText": "课表", "navigationBarTitleText": "课表",
"navigationStyle": "default", "navigationStyle": "custom",
"navigationBarBackgroundColor": "#292929", "navigationBarBackgroundColor": "#292929",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
} }
@ -24,7 +22,7 @@
"path": "pages/student/my/my", "path": "pages/student/my/my",
"style": { "style": {
"navigationBarTitleText": "我的", "navigationBarTitleText": "我的",
"navigationStyle": "default", "navigationStyle": "custom",
"navigationBarBackgroundColor": "#29d3b4", "navigationBarBackgroundColor": "#29d3b4",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
} }

17
pages/student/index/index.vue

@ -1,5 +1,8 @@
<template> <template>
<view class="content"> <view class="content">
<view class="navbar_section">
<view class="title">首页</view>
</view>
<view class="head"> <view class="head">
<view class="head-img"> <view class="head-img">
<fui-avatar width="136" <fui-avatar width="136"
@ -157,6 +160,20 @@
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
//
.navbar_section{
display: flex;
justify-content: center;
align-items: center;
background: #29d3b4;
.title{
padding: 110rpx 0 20rpx;
font-size: 30rpx;
color: #fff;
}
}
page { page {
font-weight: normal; font-weight: normal;
} }

5
pages/student/my/my.vue

@ -1,6 +1,9 @@
<!--我的-首页--> <!--我的-首页-->
<template> <template>
<view class="main_box"> <view class="main_box">
<view class="navbar_section">
<view class="title">我的</view>
</view>
<view style="background:#29D3B4;"> <view style="background:#29D3B4;">
<!--用户信息--> <!--用户信息-->
<view class="user_section"> <view class="user_section">
@ -143,7 +146,7 @@
background: #29D3B4; background: #29D3B4;
.title { .title {
padding: 20rpx 0; padding: 110rpx 0 20rpx;
font-size: 30rpx; font-size: 30rpx;
color: #fff; color: #fff;
} }

2
pages/student/timetable/index.vue

@ -258,7 +258,7 @@ export default {
align-items: center; align-items: center;
background: #292929; background: #292929;
.title{ .title{
padding: 20rpx 0; padding: 110rpx 0 20rpx;
font-size: 30rpx; font-size: 30rpx;
color: #fff; color: #fff;
} }

Loading…
Cancel
Save