From 96b7cc1c45352798f083d8968a0f3d9eaaf1ecdc Mon Sep 17 00:00:00 2001 From: unknown <331404948@qq.com> Date: Mon, 4 Sep 2023 19:41:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=99=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/myCheckbox/myCheckbox.vue | 45 +++ components/myRadio/myRadio.vue | 5 + components/mySelect/mySelect.vue | 34 +++ pages.json | 19 +- pages/indexEntry/settlement/settlement.vue | 6 +- .../operate/mySchedule/comp/mySchedulePopup.vue | 96 +++++++ .../recordEntry/operate/mySchedule/comp/step1.vue | 239 ---------------- .../operate/mySchedule/detail/detail.vue | 89 ++++++ .../recordEntry/operate/mySchedule/mould/mould.vue | 2 +- .../operate/mySchedule/mouldEdit/mouldEdit.vue | 190 +++++++++++++ .../recordEntry/operate/mySchedule/mySchedule.vue | 313 ++++++++++++++++++++- pages/recordEntry/operate/mySchedule/plan/plan.vue | 28 ++ pages/tabbar/statistics/index.vue | 31 +- pages/userCenter/myCar/myCar.vue | 4 +- static/images/coach/tianjia.png | Bin 0 -> 689 bytes 15 files changed, 846 insertions(+), 255 deletions(-) create mode 100644 components/myCheckbox/myCheckbox.vue create mode 100644 components/mySelect/mySelect.vue create mode 100644 pages/recordEntry/operate/mySchedule/comp/mySchedulePopup.vue delete mode 100644 pages/recordEntry/operate/mySchedule/comp/step1.vue create mode 100644 pages/recordEntry/operate/mySchedule/detail/detail.vue create mode 100644 pages/recordEntry/operate/mySchedule/mouldEdit/mouldEdit.vue create mode 100644 static/images/coach/tianjia.png 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 0000000000000000000000000000000000000000..cfef2e53b858a015fa1e93fc2dcf4b56b3c225be GIT binary patch literal 689 zcmV;i0#5yjP)Px%Ye_^wR9HvNm_29|K@`XTZ+4dxK`SNhA!1Bpz$OtzG{nZl!oupnU?Eue0S0VN z(JGbUyhc#)qYwlo!c`U)Novzj=g&t1HjlLVCvm3;@&%U>ATbRX4u?d;xd?z>E~mKK2ZIbt zz69`L0DAiX2Ivh5x>I^*6;Pm{RlJst(|PY02YefZy{(+B`JGWDi$+UX=fzrf{{-4S z#+z0)2e$w|2j-UGTChYaV-Hfx*5%J*RB5)SX`mf9cstqtb1)y!3Y64{XqJ8Z#JB6T z)VTF8peoEOFl&`)sE2U2Uxa=i&Pz;xVm&;fBK!7WBUBwwR3=}+XlLe3pTPK#6+&E_ z4)Ex`)B{phM6;=7d$6{AbwKV-{~lPL*Y^mt1r$Pw`{gV4g*fIaP;jW1e9UR-S2%^&(&@lNX2Iq%X7{?^`8oX(s}mqR1`y3Fpe2B})dDFwNN?5C(?dH6Cwn95c(x$%_N$(Blzws(nV}yF zr~+`R7HA@4;b?ahWTV#0MTwC@V|zp^MgkdEGSd#Vao66kAER;7VVt-c*?t(;pha0S zsfDfTgHcVsVlwU-q@av?D8|Ze)KfZ!GHTdR+XERhj;U+ROd41