diff --git a/components/myCheckbox/myCheckbox.vue b/components/myCheckbox/myCheckbox.vue new file mode 100644 index 0000000..fbb3dee --- /dev/null +++ b/components/myCheckbox/myCheckbox.vue @@ -0,0 +1,45 @@ + + + + + \ No newline at end of file diff --git a/components/myRadio/myRadio.vue b/components/myRadio/myRadio.vue index 286519e..9a5d599 100644 --- a/components/myRadio/myRadio.vue +++ b/components/myRadio/myRadio.vue @@ -32,6 +32,11 @@ value: '' } }, + mounted() { + this.$on('upDateRadio',(val)=>{ + this.value = val + }) + }, methods: { changeRadio(val) { // console.log(this.value) diff --git a/components/mySelect/mySelect.vue b/components/mySelect/mySelect.vue new file mode 100644 index 0000000..9ba4c5e --- /dev/null +++ b/components/mySelect/mySelect.vue @@ -0,0 +1,34 @@ + + + + + \ No newline at end of file diff --git a/pages.json b/pages.json index 4f5937e..386116a 100644 --- a/pages.json +++ b/pages.json @@ -150,7 +150,24 @@ "backgroundTextStyle": "dark" } }, - + { + "path": "operate/mySchedule/mouldEdit/mouldEdit", + "style": { + "navigationBarTitleText": "添加编辑模版", + "navigationStyle": "custom", + "enablePullDownRefresh": false, + "backgroundTextStyle": "dark" + } + }, + { + "path": "operate/mySchedule/detail/detail", + "style": { + "navigationBarTitleText": "我的排课详情", + "navigationStyle": "custom", + "enablePullDownRefresh": false, + "backgroundTextStyle": "dark" + } + }, { "path": "student/studentDetail/studentDetail", "style": { diff --git a/pages/indexEntry/settlement/settlement.vue b/pages/indexEntry/settlement/settlement.vue index 492abb4..338ebe5 100644 --- a/pages/indexEntry/settlement/settlement.vue +++ b/pages/indexEntry/settlement/settlement.vue @@ -35,7 +35,7 @@ - {{ date1 }} + {{ date1 }} - {{ date2 }} + {{ date2 }} - {{ date3 }} + {{ date3 }} 确定 diff --git a/pages/recordEntry/operate/mySchedule/comp/mySchedulePopup.vue b/pages/recordEntry/operate/mySchedule/comp/mySchedulePopup.vue new file mode 100644 index 0000000..96e0e6f --- /dev/null +++ b/pages/recordEntry/operate/mySchedule/comp/mySchedulePopup.vue @@ -0,0 +1,96 @@ + + + + + \ No newline at end of file diff --git a/pages/recordEntry/operate/mySchedule/comp/step1.vue b/pages/recordEntry/operate/mySchedule/comp/step1.vue deleted file mode 100644 index 3bed10b..0000000 --- a/pages/recordEntry/operate/mySchedule/comp/step1.vue +++ /dev/null @@ -1,239 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/recordEntry/operate/mySchedule/detail/detail.vue b/pages/recordEntry/operate/mySchedule/detail/detail.vue new file mode 100644 index 0000000..6f149b9 --- /dev/null +++ b/pages/recordEntry/operate/mySchedule/detail/detail.vue @@ -0,0 +1,89 @@ + + + + + \ No newline at end of file diff --git a/pages/recordEntry/operate/mySchedule/mould/mould.vue b/pages/recordEntry/operate/mySchedule/mould/mould.vue index 41b9882..44f3f52 100644 --- a/pages/recordEntry/operate/mySchedule/mould/mould.vue +++ b/pages/recordEntry/operate/mySchedule/mould/mould.vue @@ -5,7 +5,7 @@ 模板标题 - 管理 + 管理 diff --git a/pages/recordEntry/operate/mySchedule/mouldEdit/mouldEdit.vue b/pages/recordEntry/operate/mySchedule/mouldEdit/mouldEdit.vue new file mode 100644 index 0000000..f9c9ccd --- /dev/null +++ b/pages/recordEntry/operate/mySchedule/mouldEdit/mouldEdit.vue @@ -0,0 +1,190 @@ + + + + + \ No newline at end of file diff --git a/pages/recordEntry/operate/mySchedule/mySchedule.vue b/pages/recordEntry/operate/mySchedule/mySchedule.vue index 71f2c08..9d22bce 100644 --- a/pages/recordEntry/operate/mySchedule/mySchedule.vue +++ b/pages/recordEntry/operate/mySchedule/mySchedule.vue @@ -2,17 +2,322 @@ - + + + + + 2032.08 + + + + + + + + + + + {{ item.week }} + {{ item.num }} + + + + + + + + + + + + 上午 + + + 未排课 + 已约满 + 已过期 + + 4/4 + + + + + {{ item.time }} + + + 下午 + + + 未排课 + 已约满 + 已过期 + + 4/4 + + + + + {{ item.time }} + + + + + + + 管理排课计划 + 编辑排课信息 + + + + + + + 确认发布 + + + + + + + - \ No newline at end of file diff --git a/pages/recordEntry/operate/mySchedule/plan/plan.vue b/pages/recordEntry/operate/mySchedule/plan/plan.vue index b0e7ce3..96db323 100644 --- a/pages/recordEntry/operate/mySchedule/plan/plan.vue +++ b/pages/recordEntry/operate/mySchedule/plan/plan.vue @@ -25,6 +25,17 @@ + + + 时间段 最多人数 + + + 7:00-8:00 4人 + + + 8:00-9:00 4人 + + 训练科目 @@ -136,4 +147,21 @@ } } } + .blueBg { + background-color: #E8F3FE; + padding: 12rpx 32rpx; + border-radius: 16rpx; + text-align: center; + .time_row { + display: flex; + justify-content: space-between; + padding: 12rpx 0; + &.hui { + color: #ADADAD; + } + text { + width: 170rpx; + } + } + } \ No newline at end of file diff --git a/pages/tabbar/statistics/index.vue b/pages/tabbar/statistics/index.vue index d1ed9be..30f26ba 100644 --- a/pages/tabbar/statistics/index.vue +++ b/pages/tabbar/statistics/index.vue @@ -26,10 +26,10 @@ 结算统计 - 按日 - 按月 - 按年 - 自定义日期 + 按日 + 按月 + 按年 + 自定义日期 @@ -47,6 +47,14 @@ 查看更多 + @@ -56,6 +64,8 @@ components: { stage }, data() { return { + currentTab: 1, + showDatePicker: false } }, onLoad() { @@ -65,7 +75,18 @@ // uni.hideTabBar(); }, methods: { - goPage() {} + tabClick(num) { + this.currentTab = num + if(num==4) { + this.showDatePicker = true + } + }, + // 2选择时间选择器里的时间 + confirmDatePicker(val) { + this.showDatePicker = false + let date = uni.$u.date(val.value, 'yyyy-mm-dd') + console.log(date) + }, } } diff --git a/pages/userCenter/myCar/myCar.vue b/pages/userCenter/myCar/myCar.vue index a50a149..ff5e268 100644 --- a/pages/userCenter/myCar/myCar.vue +++ b/pages/userCenter/myCar/myCar.vue @@ -5,12 +5,12 @@ - + diff --git a/static/images/coach/tianjia.png b/static/images/coach/tianjia.png new file mode 100644 index 0000000..cfef2e5 Binary files /dev/null and b/static/images/coach/tianjia.png differ