From 2a29617017aba208514fe7d138ec7191100e098b Mon Sep 17 00:00:00 2001 From: sunlizhou <296190577@qq.com> Date: Fri, 22 Sep 2023 17:58:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=A8=A1=E5=9D=97=E8=B0=83?= =?UTF-8?q?=E6=95=B4=EF=BC=8C=E9=AA=8C=E8=AF=81=E6=A8=A1=E5=9D=97=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 3 +- project.config.json | 4 +- src/api/brand.ts | 1 + src/api/home.ts | 2 + src/api/illness.ts | 3 + src/api/meeting.ts | 10 +- src/api/public.ts | 11 +- src/app.config.ts | 11 +- src/app.scss | 21 ++ src/components/IconFont/icon.css | 128 +++++++ src/components/IconFont/index.tsx | 88 +++++ src/components/collect/collect.module.scss | 8 +- src/components/collect/collect.tsx | 19 +- src/components/empty/empty.module.scss | 7 +- src/components/empty/empty.tsx | 16 +- src/components/image/image.tsx | 10 +- .../learningRecord/learningRecord.tsx | 15 +- .../lineChart/lineChart.module.scss | 5 +- src/components/lineChart/lineChart.tsx | 5 +- src/components/login-view/index.module.scss | 38 ++ src/components/login-view/index.tsx | 28 ++ src/components/loginView/index.tsx | 31 +- .../navigationBar/navigationBar.module.scss | 1 - src/hooks/pubsub.ts | 39 ++ src/pages/business/curHistory/curHistory.tsx | 4 +- src/pages/business/userInfo/userInfo.tsx | 13 +- .../videoInfo/components/catalogue.tsx | 45 +-- .../business/videoInfo/components/hours.tsx | 19 +- src/pages/business/videoInfo/videoInfo.scss | 11 +- src/pages/business/videoInfo/videoInfo.tsx | 18 +- src/pages/check/check.config.ts | 2 +- src/pages/check/check.module.scss | 4 +- src/pages/check/check.tsx | 26 +- src/pages/home/components/curRecommended.tsx | 17 +- src/pages/home/components/feature.tsx | 2 +- .../home/components/feature_recommended.tsx | 80 +++-- src/pages/home/home.tsx | 7 +- src/pages/index/components/videoList.tsx | 8 +- src/pages/index/index.module.scss | 24 +- src/pages/index/index.tsx | 9 +- src/pages/login/login.module.scss | 6 +- src/pages/login/login.tsx | 79 ++++- src/pages/manage/addStudent/addStudent.scss | 5 +- .../manage/courseAdmin/components/search.tsx | 27 +- .../courseAdmin/courseAdmin.module.scss | 5 + src/pages/manage/courseAdmin/courseAdmin.tsx | 4 +- .../manage/meetings/form/form.conrfig.ts | 4 + .../manage/meetings/form/form.module.scss | 39 ++ src/pages/manage/meetings/form/form.tsx | 198 +++++++++++ src/pages/manage/meetings/list.config.ts | 4 + src/pages/manage/meetings/list.module.scss | 11 + .../manage/meetings/meetings.module.scss | 52 +-- src/pages/manage/meetings/meetings.tsx | 69 ++-- .../spotMeeting/spotMeeting.module.scss | 18 +- src/pages/manage/spotMeeting/spotMeeting.tsx | 335 ++++++------------ src/pages/my/components/header/header.tsx | 7 +- src/pages/my/components/header/service.tsx | 2 +- src/pages/my/my.tsx | 12 +- src/pages/preview/brand/article/article.tsx | 85 +++-- src/pages/preview/brand/list/list.tsx | 2 +- src/pages/preview/collect/collect.tsx | 17 +- src/pages/preview/health/health.tsx | 4 +- src/pages/preview/illness/sort/sort.tsx | 2 +- src/pages/preview/profession/profession.tsx | 5 + src/pages/preview/search/search/index.tsx | 10 +- .../preview/videoFull/videoFull.module.scss | 6 +- src/pages/preview/videoFull/videoFull.tsx | 1 + src/pages/preview/webView/webView.config.ts | 2 +- src/pages/preview/webView/webView.tsx | 55 ++- src/pages/search/components/list.module.scss | 58 +++ src/pages/search/components/list.tsx | 167 +++++++++ src/pages/search/index.config.ts | 3 + src/pages/search/index.module.scss | 66 ++++ src/pages/search/index.tsx | 154 ++++++++ src/static/css/module.scss | 128 +++++++ src/static/img/arrow-right.png | Bin 2871 -> 0 bytes src/static/img/beforeMeeting.png | Bin 0 -> 4746 bytes src/static/img/cyanSearch.png | Bin 0 -> 828 bytes src/static/img/graySearch.png | Bin 0 -> 803 bytes src/static/img/meeting.png | Bin 0 -> 4654 bytes src/static/img/meetingEnd.png | Bin 0 -> 4844 bytes src/utils/marked/components/Tablink.tsx | 2 +- types/home.d.ts | 2 + 83 files changed, 1908 insertions(+), 531 deletions(-) create mode 100644 src/components/IconFont/icon.css create mode 100644 src/components/IconFont/index.tsx create mode 100644 src/components/login-view/index.module.scss create mode 100644 src/components/login-view/index.tsx create mode 100644 src/hooks/pubsub.ts create mode 100644 src/pages/manage/meetings/form/form.conrfig.ts create mode 100644 src/pages/manage/meetings/form/form.module.scss create mode 100644 src/pages/manage/meetings/form/form.tsx create mode 100644 src/pages/manage/meetings/list.config.ts create mode 100644 src/pages/manage/meetings/list.module.scss create mode 100644 src/pages/search/components/list.module.scss create mode 100644 src/pages/search/components/list.tsx create mode 100644 src/pages/search/index.config.ts create mode 100644 src/pages/search/index.module.scss create mode 100644 src/pages/search/index.tsx delete mode 100644 src/static/img/arrow-right.png create mode 100644 src/static/img/beforeMeeting.png create mode 100644 src/static/img/cyanSearch.png create mode 100644 src/static/img/graySearch.png create mode 100644 src/static/img/meeting.png create mode 100644 src/static/img/meetingEnd.png diff --git a/.env b/.env index 86e2b46..a9c9848 100644 --- a/.env +++ b/.env @@ -1,5 +1,6 @@ #TARO_APP_API=https://yjx.dev.yaojiankang.top -TARO_APP_API=https://mooc.yaojiankang.top +#TARO_APP_API=https://mooc.yaojiankang.top +TARO_APP_API=https://xingui.yaojiankang.top #TARO_APP_API=https://shopfix.yaojiankang.top #TARO_APP_API=https://playedu.yaojiankang.top TARO_APP_LGOIN=true diff --git a/project.config.json b/project.config.json index d27e980..3d90977 100644 --- a/project.config.json +++ b/project.config.json @@ -1,8 +1,8 @@ { "miniprogramRoot": "./dist", - "projectname": "video", + "projectname": "信桂", "description": "", - "appid": "wx703940a70f0f1be7", + "appid": "wx7ef5cf2d16bdaea2", "setting": { "urlCheck": true, "es6": false, diff --git a/src/api/brand.ts b/src/api/brand.ts index a1187f7..9e83973 100644 --- a/src/api/brand.ts +++ b/src/api/brand.ts @@ -14,6 +14,7 @@ export type BrandRecord = { created_at: string page_view: number collect: boolean + last_publish_time: string } export type ArticleRecord = { id: number; diff --git a/src/api/home.ts b/src/api/home.ts index 60c85d8..838bfa9 100644 --- a/src/api/home.ts +++ b/src/api/home.ts @@ -39,6 +39,8 @@ export interface HomeData { illness: { list: Illness[] } + articles: Articles[] + courses: {data:any,total:number} } interface Course { diff --git a/src/api/illness.ts b/src/api/illness.ts index 2fc86bd..f99edb8 100644 --- a/src/api/illness.ts +++ b/src/api/illness.ts @@ -1,6 +1,7 @@ import {request} from "@/api/request"; export interface Illness { + name?: any; illness: { name: string; description: string; @@ -14,6 +15,8 @@ export interface Illness { } } + + export const illnessApi = { /** 疾病列表 */ list(id: number, page: number, page_size: number) { diff --git a/src/api/meeting.ts b/src/api/meeting.ts index 5c22f50..8bffd08 100644 --- a/src/api/meeting.ts +++ b/src/api/meeting.ts @@ -27,21 +27,29 @@ interface MeetingInfo { } export const meetingAPi = { - setMeetings(data: Meeting) { + addMeetings(data: Meeting) { return request<{ id: number }>('/api/v1/meetings/meeting', "POST", data) }, + setMeetings(data: Meeting) { + return request<{ id: number }>(`/api/v1/meetings/meeting/${data.id}`, "PUT", data) + }, putMeeting(id: number, data: Partial) { return request(`/api/v1/meetings/meeting/${id}`, "PUT", data) }, setMeeting(id: string) { return request(`/api/v1/meetings/meeting/${id}`, "GET") }, + unstopsList() { + return request(`/api/v1/meetings/unstops`, "GET") + }, setList(page: number, page_size: number) { return request<{ data: Meeting[], total: number }>(`/api/v1/meetings/meeting?page=${page}&page_size=${page_size}`, "GET") }, + + exists() { return request('/api/v1/meetings/exists', "GET") }, diff --git a/src/api/public.ts b/src/api/public.ts index 482dce1..cbdb91c 100644 --- a/src/api/public.ts +++ b/src/api/public.ts @@ -14,6 +14,12 @@ export interface CoursesMode { audit_mode: boolean course: Courses } +export interface NewCoursesMode { + articles: any[] + audit_mode: boolean + platform_courses: Curriculum[] + company_courses: Curriculum[] +} export interface Courses { /** 选秀 */ @@ -34,5 +40,8 @@ export const publicApi = { }, articlesPush(page: number, page_size: number) { return request<{ list: Articles[], total: number }>('/home/v1/article/list', "GET", {page, page_size}) - } + }, + newCourse(data: { page: number, page_size: number }) { + return request('/home/v1/home/courses', "GET", data) + }, } diff --git a/src/app.config.ts b/src/app.config.ts index 596dcce..c8a074f 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -6,11 +6,12 @@ export default defineAppConfig({ 'pages/login/login', 'pages/check/check', 'pages/my/my', + 'pages/search/index' ], window: { backgroundTextStyle: 'light', navigationBarBackgroundColor: '#fff', - navigationBarTitleText: '课程', + navigationBarTitleText: '信桂', navigationBarTextStyle: 'black' }, tabBar: { @@ -29,6 +30,12 @@ export default defineAppConfig({ iconPath: "static/tabs/study.png", selectedIconPath: "static/tabs/study-selected.png", }, + { + text: '搜索', + pagePath: 'pages/search/index', + iconPath: "static/img/graySearch.png", + selectedIconPath: "static/img/cyanSearch.png", + }, { text: "我的", pagePath: 'pages/my/my', @@ -76,6 +83,8 @@ export default defineAppConfig({ 'spotMeeting/spotMeeting', 'selectDep/selectDep', 'meetings/meetings', + 'meetings/list', + 'meetings/form/form', 'userInfo/userInfo', 'courseAdmin/courseAdmin', ] diff --git a/src/app.scss b/src/app.scss index 260f4e9..98c98e3 100644 --- a/src/app.scss +++ b/src/app.scss @@ -1,6 +1,8 @@ @import "static/css/module"; //@import 'taro-ui/dist/style/index.scss'; +.inlineblock { display: inline-block } + .flex {display: flex !important;flex-direction:row} .flex-row{ flex-direction:row!important} .flex-column{ flex-direction:column!important} @@ -20,6 +22,7 @@ .align-center{ align-items: center} .align-stretch{ align-items: stretch} .align-start{ align-items: flex-start} +.align-baseline{align-items: baseline} .align-end{ align-items: flex-end} .content-start {align-content: flex-start} @@ -37,6 +40,8 @@ .flex-shrink{flex-shrink: 0} .gap20rpx{gap: 20rpx} +.gap30rpx{gap: 30rpx} +.gap60rpx{gap: 60rpx} .w-1 {width: 10%;min-width: 75rpx} .w-2 {width: 20%;min-width: 150rpx} @@ -376,6 +381,7 @@ .relative {position: relative} .absolute {position: absolute} +.absolute-impt{position: absolute !important;} .fixed {position: fixed} .sticky {position: sticky} @@ -396,3 +402,18 @@ background: #000; opacity: 0.05; } + +.z1{ + z-index: 1; +} +.z2{ + z-index: 2; +} +.z3{ + z-index: 3; +} + +.word-break{ + word-break: break-all; +} + diff --git a/src/components/IconFont/icon.css b/src/components/IconFont/icon.css new file mode 100644 index 0000000..a70840c --- /dev/null +++ b/src/components/IconFont/icon.css @@ -0,0 +1,128 @@ +@font-face { + font-family: 'xgicon'; + src: url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAF2cAAsAAAAAXVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIGjWNtYXAAAAFoAAAAVAAAAFQXVtLvZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAVyQAAFckHpJT1mhlYWQAAFjoAAAANgAAADYlgUbnaGhlYQAAWSAAAAAkAAAAJAfCBC5obXR4AABZRAAAAbQAAAG0qgAjx2xvY2EAAFr4AAAA3AAAANwzUEgEbWF4cAAAW9QAAAAgAAAAIAB0ARBuYW1lAABb9AAAAYYAAAGGmUoJ+3Bvc3QAAF18AAAAIAAAACAAAwAAAAMD+wGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6WgDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOlo//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAgCAAEADgAOuAD0AUQAAASIHDgEHBhUUFx4BFxYzMjc+ATc2NTQmJxc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B0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA') format('woff'); + font-weight: normal; + font-style: normal; + font-display: block; +} + +.xg-icon { + /* use !important to prevent issues with browser extensions that change fonts */ + font-family: 'xgicon' !important; + speak: never; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + + /* Better Font Rendering =========== */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.xg-icon-arrow-clockwise:before {content: "\e900"} +.xg-icon-arrow-counterclockwise:before {content: "\e901"} +.xg-icon-backspace:before {content: "\e902"} +.xg-icon-backspace-fill:before {content: "\e903"} +.xg-icon-bar-chart:before {content: "\e904"} +.xg-icon-bar-chart-fill:before {content: "\e905"} +.xg-icon-bar-chart-line:before {content: "\e906"} +.xg-icon-bar-chart-line-fill:before {content: "\e907"} +.xg-icon-caret-down:before {content: "\e908"} +.xg-icon-caret-down-fill:before {content: "\e909"} +.xg-icon-caret-left:before {content: "\e90a"} +.xg-icon-caret-left-fill:before {content: "\e90b"} +.xg-icon-caret-right:before {content: "\e90c"} +.xg-icon-caret-right-fill:before {content: "\e90d"} +.xg-icon-caret-up:before {content: "\e90e"} +.xg-icon-caret-up-fill:before {content: "\e90f"} +.xg-icon-check:before {content: "\e910"} +.xg-icon-check-all:before {content: "\e911"} +.xg-icon-check-circle:before {content: "\e912"} +.xg-icon-check-circle-fill:before {content: "\e913"} +.xg-icon-check-square:before {content: "\e914"} +.xg-icon-check-square-fill:before {content: "\e915"} +.xg-icon-chevron-double-down:before {content: "\e916"} +.xg-icon-chevron-double-left:before {content: "\e917"} +.xg-icon-chevron-double-right:before {content: "\e918"} +.xg-icon-chevron-double-up:before {content: "\e919"} +.xg-icon-chevron-down:before {content: "\e91a"} +.xg-icon-chevron-left:before {content: "\e91b"} +.xg-icon-chevron-right:before {content: "\e91c"} +.xg-icon-chevron-up:before {content: "\e91d"} +.xg-icon-circle:before {content: "\e91e"} +.xg-icon-circle-fill:before {content: "\e91f"} +.xg-icon-exclamation:before {content: "\e920"} +.xg-icon-exclamation-circle:before {content: "\e921"} +.xg-icon-exclamation-circle-fill:before {content: "\e922"} +.xg-icon-exclamation-diamond:before {content: "\e923"} +.xg-icon-exclamation-diamond-fill:before {content: "\e924"} +.xg-icon-exclamation-octagon:before {content: "\e925"} +.xg-icon-exclamation-octagon-fill:before {content: "\e926"} +.xg-icon-exclamation-square:before {content: "\e927"} +.xg-icon-exclamation-square-fill:before {content: "\e928"} +.xg-icon-exclamation-triangle:before {content: "\e929"} +.xg-icon-exclamation-triangle-fill:before {content: "\e92a"} +.xg-icon-gear:before {content: "\e92b"} +.xg-icon-gear-fill:before {content: "\e92c"} +.xg-icon-gender-female:before {content: "\e92d"} +.xg-icon-gender-male:before {content: "\e92e"} +.xg-icon-hand-index:before {content: "\e92f"} +.xg-icon-hand-index-fill:before {content: "\e930"} +.xg-icon-hand-index-thumb:before {content: "\e931"} +.xg-icon-hand-index-thumb-fill:before {content: "\e932"} +.xg-icon-hand-thumbs-down:before {content: "\e933"} +.xg-icon-hand-thumbs-down-fill:before {content: "\e934"} +.xg-icon-hand-thumbs-up:before {content: "\e935"} +.xg-icon-hand-thumbs-up-fill:before {content: "\e936"} +.xg-icon-heart:before {content: "\e937"} +.xg-icon-heart-fill:before {content: "\e938"} +.xg-icon-info:before {content: "\e939"} +.xg-icon-info-circle:before {content: "\e93a"} +.xg-icon-info-circle-fill:before {content: "\e93b"} +.xg-icon-info-square:before {content: "\e93c"} +.xg-icon-info-square-fill:before {content: "\e93d"} +.xg-icon-list:before {content: "\e93e"} +.xg-icon-lock:before {content: "\e93f"} +.xg-icon-lock-fill:before {content: "\e940"} +.xg-icon-play:before {content: "\e941"} +.xg-icon-play-btn:before {content: "\e942"} +.xg-icon-play-btn-fill:before {content: "\e943"} +.xg-icon-play-circle:before {content: "\e944"} +.xg-icon-play-circle-fill:before {content: "\e945"} +.xg-icon-play-fill:before {content: "\e946"} +.xg-icon-question:before {content: "\e947"} +.xg-icon-question-circle:before {content: "\e948"} +.xg-icon-question-circle-fill:before {content: "\e949"} +.xg-icon-question-diamond:before {content: "\e94a"} +.xg-icon-question-diamond-fill:before {content: "\e94b"} +.xg-icon-question-octagon:before {content: "\e94c"} +.xg-icon-question-octagon-fill:before {content: "\e94d"} +.xg-icon-question-square:before {content: "\e94e"} +.xg-icon-question-square-fill:before {content: "\e94f"} +.xg-icon-shield:before {content: "\e950"} +.xg-icon-shield-check:before {content: "\e951"} +.xg-icon-shield-check-fill:before {content: "\e952"} +.xg-icon-shield-exclamation:before {content: "\e953"} +.xg-icon-shield-exclamation-fill:before {content: "\e954"} +.xg-icon-shield-fill:before {content: "\e955"} +.xg-icon-shield-lock:before {content: "\e956"} +.xg-icon-shield-lock-fill:before {content: "\e957"} +.xg-icon-square:before {content: "\e958"} +.xg-icon-square-fill:before {content: "\e959"} +.xg-icon-star:before {content: "\e95a"} +.xg-icon-star-fill:before {content: "\e95b"} +.xg-icon-three-dots:before {content: "\e95c"} +.xg-icon-three-dots-vertical:before {content: "\e95d"} +.xg-icon-trash:before {content: "\e95e"} +.xg-icon-trash-fill:before {content: "\e95f"} +.xg-icon-unlock:before {content: "\e960"} +.xg-icon-unlock-fill:before {content: "\e961"} +.xg-icon-x:before {content: "\e962"} +.xg-icon-x-circle:before {content: "\e963"} +.xg-icon-x-circle-fill:before {content: "\e964"} +.xg-icon-x-octagon:before {content: "\e965"} +.xg-icon-x-octagon-fill:before {content: "\e966"} +.xg-icon-x-square:before {content: "\e967"} +.xg-icon-x-square-fill:before {content:"\e968"} diff --git a/src/components/IconFont/index.tsx b/src/components/IconFont/index.tsx new file mode 100644 index 0000000..4be6369 --- /dev/null +++ b/src/components/IconFont/index.tsx @@ -0,0 +1,88 @@ +import { CSSProperties, FC } from "react" +import { Text, ITouchEvent } from "@tarojs/components" +import './icon.css' + +export type IconName = + | 'arrow-clockwise' + | 'arrow-counterclockwise' + | 'backspace' + | 'bar-chart' + | 'bar-chart-line' + | 'caret-down' + | 'caret-up' + | 'caret-left' + | 'caret-right' + | 'check' + | 'check-all' + | 'chevron-double-down' + | 'chevron-double-up' + | 'chevron-double-left' + | 'chevron-double-right' + | 'chevron-down' + | 'chevron-up' + | 'chevron-left' + | 'chevron-right' + | 'circle' + | 'exclamation' + | 'gear' + | 'gender-female' + | 'gender-male' + | 'heart' + | 'info' + | 'list' + | 'lock' + | 'unlock' + | 'play-btn' + | 'play' + | 'question' + | 'shield' + | 'square' + | 'star' + | 'three-dots-vertical' + | 'three-dots' + | 'trash' + | 'x' + +export type IconShape = + | 'circle' + | 'square' + | 'diamond' + | 'octagon' + | 'triangle' + +export interface IconProps { + name: IconName + shape?: IconShape + color?: string + size?: string | number + fill?: boolean + className?: string + style?: CSSProperties + onClick?: (event: ITouchEvent) => void +} + +const XgIcon: FC = (props) => { + const name = [ + props.name, + props.shape, + props.fill ? 'fill' : undefined + ].filter(Boolean).join('-') + + const color = props.color ?? 'currentColor' + const size = typeof props.size === 'string' ? props.size : `${props.size ?? 16}px` + const fontStyle: CSSProperties = { + ...(props.style ?? {}), + fontSize: size, + color, + } + + return ( + + ) +} + +export default XgIcon diff --git a/src/components/collect/collect.module.scss b/src/components/collect/collect.module.scss index 37eab1a..f811a84 100644 --- a/src/components/collect/collect.module.scss +++ b/src/components/collect/collect.module.scss @@ -13,10 +13,10 @@ height: 32rpx; margin-right: 10rpx; - Image { - width: 100%; - height: 100%; - } + //Image { + // width: 100%; + // height: 100%; + //} } .zoom { diff --git a/src/components/collect/collect.tsx b/src/components/collect/collect.tsx index 974cf0e..2202713 100644 --- a/src/components/collect/collect.tsx +++ b/src/components/collect/collect.tsx @@ -1,11 +1,12 @@ import {CSSProperties, FC, useCallback, useEffect, useState} from "react"; -import star from '@/static/img/star.png' -import starLine from '@/static/img/starLine.png' -import {Image, View} from "@tarojs/components"; +// import star from '@/static/img/star.png' +// import starLine from '@/static/img/starLine.png' +import {View} from "@tarojs/components"; import styles from './collect.module.scss' import {Profile} from "@/store" import Taro from "@tarojs/taro"; import {userApi} from "@/api"; +import IconFont from "@/components/IconFont"; interface Props { onClick?: () => void @@ -62,12 +63,14 @@ const Collect: FC = (props) => { return ( - - + {/**/} + + + + {/**/} - {!props.textHidden && (select ? '已收藏' : '收藏')} + {/*{!props.textHidden && (select ? '已收藏' : '收藏')}*/} + {!props.textHidden && '收藏'} ) } diff --git a/src/components/empty/empty.module.scss b/src/components/empty/empty.module.scss index 10efb9e..82016bd 100644 --- a/src/components/empty/empty.module.scss +++ b/src/components/empty/empty.module.scss @@ -3,6 +3,9 @@ text-align: center; color: #6c757d; position: relative; + display: flex; + flex-direction: column; + align-items: center; } .image { @@ -14,9 +17,5 @@ .name { font-size: 30rpx; - position: absolute; - left: 0; - right: 0; - bottom: 50rpx; margin: auto; } diff --git a/src/components/empty/empty.tsx b/src/components/empty/empty.tsx index 1702395..86c4b85 100644 --- a/src/components/empty/empty.tsx +++ b/src/components/empty/empty.tsx @@ -1,17 +1,29 @@ import {FC} from "react"; -import {Image, View} from "@tarojs/components"; +import {Button, Image, View} from "@tarojs/components"; import emptyImg from '@/static/img/empty.png' import styles from './empty.module.scss' +import MyButton from "@/components/button/MyButton"; +import Taro from "@tarojs/taro"; interface Props { name: string + showBack?: boolean + onRefresh?:() => void } -const Empty: FC = ({name}) => { +const Empty: FC = ({name, showBack, onRefresh}) => { + const hasBack = showBack && Taro.getCurrentPages().length > 1 + const hasRefresh = onRefresh != null return ( {name} + {(hasBack || hasRefresh) && ( + + {hasBack && } + {hasRefresh && 刷新} + + )} ) } diff --git a/src/components/image/image.tsx b/src/components/image/image.tsx index 82fb967..5c563a8 100644 --- a/src/components/image/image.tsx +++ b/src/components/image/image.tsx @@ -13,6 +13,8 @@ interface Props extends ImageProps { height?: number | string fallback?: string errorType?: ImgErrType + loadingImage?: string + errorImage?: string fit?: boolean // 当网络图片加载完成后高度自动 } @@ -38,6 +40,10 @@ const Img: FC = ({src, mode = 'aspectFill', width, fallback = shard, ...p }, [src]) useEffect(() => { + if (props.errorImage) { + setErrorUrl(props.errorImage) + return + } switch (props.errorType) { case undefined: case "acquiesce": @@ -78,8 +84,8 @@ const Img: FC = ({src, mode = 'aspectFill', width, fallback = shard, ...p {!isError && diff --git a/src/components/learningRecord/learningRecord.tsx b/src/components/learningRecord/learningRecord.tsx index 38944e0..777dab2 100644 --- a/src/components/learningRecord/learningRecord.tsx +++ b/src/components/learningRecord/learningRecord.tsx @@ -12,10 +12,9 @@ import debounce from "@/utils/debounce"; const tabList: TabList[] = [ { - title: '日', - value: { - start_time: new Date().setHours(0, 0, 0, 0), - end_time: new Date().setHours(24, 0, 0, 0) + title: '月', value: { + start_time: monthFirst(), + end_time: monthEnd() } }, { @@ -25,9 +24,10 @@ const tabList: TabList[] = [ } }, { - title: '月', value: { - start_time: monthFirst(), - end_time: monthEnd() + title: '日', + value: { + start_time: new Date().setHours(0, 0, 0, 0), + end_time: new Date().setHours(24, 0, 0, 0) } }, ] @@ -59,6 +59,7 @@ const LearningRecord: FC = ({userId, style, className}) => { } } + // @ts-ignore function tabChange({tab}: OnChangOpt) { if (!token) { Taro.navigateTo({url: '/pages/login/login'}) diff --git a/src/components/lineChart/lineChart.module.scss b/src/components/lineChart/lineChart.module.scss index 39e2808..982ad12 100644 --- a/src/components/lineChart/lineChart.module.scss +++ b/src/components/lineChart/lineChart.module.scss @@ -60,11 +60,11 @@ width: 30rpx; background: linear-gradient(180deg, #03D9B3 0%, #05BF88 100%); border-radius: 30rpx; - margin-bottom: 20rpx; + margin-bottom: 6rpx; overflow: hidden; animation: rise 300ms ease-in-out forwards; max-height: 0; - margin-top: 10rpx; + margin-top: 6rpx; } .value { @@ -73,6 +73,7 @@ font-family: PingFang SC-Bold, PingFang SC; font-weight: bold; color: #606563; + line-height: 20rpx; } .time { diff --git a/src/components/lineChart/lineChart.tsx b/src/components/lineChart/lineChart.tsx index 5262578..03b2174 100644 --- a/src/components/lineChart/lineChart.tsx +++ b/src/components/lineChart/lineChart.tsx @@ -17,6 +17,7 @@ const height = 150 const LineChart: FC = ({data}) => { const [maxHeight, setMaxHeight] = useState({time: '', value: 0}) const [lineChartList, setLineChartList] = useState(data) + console.log(maxHeight,lineChartList,'maxHeight') useEffect(() => { setLineChartList(data) @@ -31,7 +32,9 @@ const LineChart: FC = ({data}) => { return ( - {formatDateTime(new Date(maxHeight.time), 'MM月dd日')} + {/*{maxHeight.time}*/} + + {maxHeight.time.split('/').join('月')} {maxHeight.value > 0 ? `日最努力` : `期间没有学习记录`},学习了{formatTime(maxHeight.value, 0)} diff --git a/src/components/login-view/index.module.scss b/src/components/login-view/index.module.scss new file mode 100644 index 0000000..0a388a3 --- /dev/null +++ b/src/components/login-view/index.module.scss @@ -0,0 +1,38 @@ +.fixedBox { + position: relative; + width: 100vw; + height: 100vw; + background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1), rgba(255, 255, 255, 1)); + //border: 1px solid #f40; + + &-inner { + position: absolute; + width: 100vw; + bottom: 24rpx; + display: flex; + flex-direction: column; + align-items: center; + + &-icon { + image { + width: 32rpx; + height: 32rpx; + } + } + + &-box { + margin-top: 24rpx; + width: 680rpx; + left: 35rpx; + height: 76rpx; + background-color: #45D4A8; + color: #fff; + line-height: 76rpx; + text-align: center; + font-size: 32rpx; + font-weight: 500; + border-radius: 8rpx 8rpx 8rpx 8rpx; + } + + } +} diff --git a/src/components/login-view/index.tsx b/src/components/login-view/index.tsx new file mode 100644 index 0000000..e93e848 --- /dev/null +++ b/src/components/login-view/index.tsx @@ -0,0 +1,28 @@ +import styles from "./index.module.scss"; +import { Text, View} from "@tarojs/components"; +import Taro from "@tarojs/taro"; +import {CSSProperties, FC} from "react"; +import IconFont from "@/components/IconFont"; + +type Props = { + className?: string + style?: CSSProperties +} + +const LoginView3: FC = ({className,style}) => { + return ( + + + + + + + Taro.navigateTo({url: '/pages/login/login'})}> + 登录查看更多内容1 + + + + ) +} +export default LoginView3 diff --git a/src/components/loginView/index.tsx b/src/components/loginView/index.tsx index 2475592..5508d0f 100644 --- a/src/components/loginView/index.tsx +++ b/src/components/loginView/index.tsx @@ -15,7 +15,7 @@ interface Props { onSuccess?: VoidFunction } -const LoginView: FC = (props) => { +export const LoginView: FC = (props) => { const [isLoading, setLoading] = useState(false) const {setUser, setToken, setCompany} = Profile.useContainer() const sizeStyle: CSSProperties = { @@ -72,4 +72,31 @@ const LoginView: FC = (props) => { ) } -export default LoginView +const LoginView2: FC = (props) => { + + const sizeStyle: CSSProperties = { + height: `${props.height || 1000}rpx`, + paddingTop: `${props.paddingTop || 0}rpx`, + ...props.style, + } + + + + return ( + + { + !props.offImage && <> + + {/*暂未登录*/} + + } + { + Taro.navigateTo({ + url:'/pages/login/login' + }) + }} className={styles.button}>去登录 + + ) +} + +export default LoginView2 diff --git a/src/components/navigationBar/navigationBar.module.scss b/src/components/navigationBar/navigationBar.module.scss index dd4ece0..dd7d9f3 100644 --- a/src/components/navigationBar/navigationBar.module.scss +++ b/src/components/navigationBar/navigationBar.module.scss @@ -3,7 +3,6 @@ top: 0; left: 0; width: 100%; - padding-left: 20rpx; z-index: 100; overflow: hidden; background: #fff; diff --git a/src/hooks/pubsub.ts b/src/hooks/pubsub.ts new file mode 100644 index 0000000..bae18e7 --- /dev/null +++ b/src/hooks/pubsub.ts @@ -0,0 +1,39 @@ +import Taro from "@tarojs/taro"; + +type Topic = string | symbol +type Subscriber = (...args: any[]) => void + +export default function usePubsub() { + const events = new Map() + const registers = new Map() + + const pub = (topic: Topic, data: any) => { + Taro.eventCenter.trigger(topic, data) + }; + + const sub = (topic: Topic, callback: Subscriber) => { + const cbs = events.get(topic) ?? [] + events.set(topic, cbs.concat(callback)) + if (!registers.has(topic)) { + console.log({topic}) + const listener = (...args: any[]): void => { + events.get(topic)?.forEach((cb) => cb(...args)) + } + registers.set(topic, listener) + Taro.eventCenter.on(topic, listener) + } + }; + + Taro.useUnload(() => { + registers.forEach((listener, topic) => { + Taro.eventCenter.off(topic, listener) + }) + registers.clear() + events.clear() + }) + + return { + pub, + sub + } +} diff --git a/src/pages/business/curHistory/curHistory.tsx b/src/pages/business/curHistory/curHistory.tsx index 77f2ef0..a934c8a 100644 --- a/src/pages/business/curHistory/curHistory.tsx +++ b/src/pages/business/curHistory/curHistory.tsx @@ -1,4 +1,4 @@ -import {Image, Progress, View} from "@tarojs/components"; +import {Image, Progress, ScrollView, View} from "@tarojs/components"; import Taro from "@tarojs/taro"; import styles from './curHistory.module.scss' import {useState} from "react"; @@ -118,6 +118,7 @@ const CurHistory = () => { round position='bottom' onClickOverlay={() => setShow(false)}> + {hours?.length ? hours?.map(d => @@ -138,6 +139,7 @@ const CurHistory = () => { ) : } + ) diff --git a/src/pages/business/userInfo/userInfo.tsx b/src/pages/business/userInfo/userInfo.tsx index 77f38a5..cc7f553 100644 --- a/src/pages/business/userInfo/userInfo.tsx +++ b/src/pages/business/userInfo/userInfo.tsx @@ -61,9 +61,14 @@ const List = () => { success(res) { Taro.hideLoading() if (res.statusCode === 200) { - const data: User = JSON.parse(res.data).data - setUser(data) - Taro.showToast({title: "图片上传成功"}) + const resp:{msg:string,code:number,data:User} =JSON.parse(res.data) + if(resp.code === 0){ + const data: User = resp.data + setUser(data) + Taro.showToast({title: "图片上传成功"}) + }else{ + Taro.showToast({title: resp.msg, icon: 'none',mask: true}) + } } else { Taro.showToast({title: "图片上传失败", icon: 'error'}) } @@ -102,7 +107,7 @@ const List = () => { return ( <> - + diff --git a/src/pages/business/videoInfo/components/catalogue.tsx b/src/pages/business/videoInfo/components/catalogue.tsx index 72521c6..29312bf 100644 --- a/src/pages/business/videoInfo/components/catalogue.tsx +++ b/src/pages/business/videoInfo/components/catalogue.tsx @@ -11,9 +11,10 @@ import curRecord from '@/static/img/curRecord.png' import hourRecord from "@/static/img/hourRecord.png" import CustomPageContainer from "@/components/custom-page-container/custom-page-container"; import {Profile} from "@/store"; -import LoginView from "@/components/loginView"; +import LoginView from "@/components/login-view"; import Collect from "@/components/collect/collect"; -import omit from '@/static/img/omit.png' +// import omit from '@/static/img/omit.png' +import IconFont from "@/components/IconFont"; interface Props { data: CourseDepData | null @@ -21,6 +22,7 @@ interface Props { id: number //课程 playId: number | null refresh: () => void + collectUpdate?: (v: boolean) => void } const tabList = [ @@ -30,13 +32,12 @@ const tabList = [ ] -const Catalogue: FC = ({data, setHors, id, playId, refresh}) => { +const Catalogue: FC = ({data, setHors, id, playId, collectUpdate}) => { const [current, setCurrent] = useState(1) const [show, setShow] = useState(false) const [playing, setPlaying] = useState(false) const {token} = Profile.useContainer() - videoEvents.onVideoState(({name}) => { switch (name) { case "pause": @@ -50,7 +51,9 @@ const Catalogue: FC = ({data, setHors, id, playId, refresh}) => { function jumCurHistory() { if (playId) { - Taro.navigateTo({url: `/pages/business/hourHistory/hourHistory?courseId=${id}&hourId=${playId}`}) + Taro.navigateTo({ + url: `/pages/business/hourHistory/hourHistory?courseId=${id}&hourId=${playId}` + }) } } @@ -144,7 +147,6 @@ const Catalogue: FC = ({data, setHors, id, playId, refresh}) => { } } - return ( <> @@ -154,22 +156,7 @@ const Catalogue: FC = ({data, setHors, id, playId, refresh}) => { {current === 1 && 课程目录 { - !token && + !token && } {data?.chapters.length ? Object.values(data?.chapters || {}).map((d, index) => @@ -203,9 +190,12 @@ const Catalogue: FC = ({data, setHors, id, playId, refresh}) => { owner_type={3} select={data?.course.collect} styles={{flexDirection: 'column', justifyContent: 'center'}} - stylesImage={{margin: '0 0 8rpx 0'}}/> + stylesImage={{margin: '0 0 8rpx 0'}} + onUpdate={collectUpdate} + /> setShow(true)}> - + {/**/} + 更多 @@ -214,17 +204,18 @@ const Catalogue: FC = ({data, setHors, id, playId, refresh}) => { setShow(false)}> + onClickOverlay={() => setShow(false)} + > 更多操作 Taro.navigateTo({url: '/pages/business/curHistory/curHistory?course_id=' + id})}> - 课程记录 + 课程记录 - 当前课时学习记录 + 当前课时学习记录 setShow(false)} type='default' fillet>取消 diff --git a/src/pages/business/videoInfo/components/hours.tsx b/src/pages/business/videoInfo/components/hours.tsx index 9110829..0ad9740 100644 --- a/src/pages/business/videoInfo/components/hours.tsx +++ b/src/pages/business/videoInfo/components/hours.tsx @@ -1,13 +1,14 @@ import {FC} from "react"; -import '../videoInfo.scss' import {Image, Text, View} from "@tarojs/components"; -import playOk from "@/static/img/play-ok.png"; -import play from "@/static/img/play.png"; +// import playOk from "@/static/img/play-ok.png"; +// import play from "@/static/img/play.png"; import {formatMinute} from "@/utils/time"; import Taro from "@tarojs/taro"; import {curriculum} from "@/api"; import lock from '@/static/img/lock.png' import {Profile} from "@/store"; +import IconFont from "@/components/IconFont"; +import '../videoInfo.scss' interface Props { playId: number | null @@ -71,10 +72,13 @@ const Hours: FC = ({data, click, learn_hour_records, playId}) => { <> {data?.map((d, index) => - onClick(d.id, complete(d.id), d, data?.[index - 1]?.id)}> - + onClick(d.id, complete(d.id), d, data?.[index - 1]?.id)} + > + {/**/} + {playId === d.id && @@ -90,7 +94,6 @@ const Hours: FC = ({data, click, learn_hour_records, playId}) => { )} - ) } diff --git a/src/pages/business/videoInfo/videoInfo.scss b/src/pages/business/videoInfo/videoInfo.scss index ce38d75..51661f3 100644 --- a/src/pages/business/videoInfo/videoInfo.scss +++ b/src/pages/business/videoInfo/videoInfo.scss @@ -7,7 +7,6 @@ height: 500rpx; } - .header { margin-bottom: 10px; border-radius: 0 0 40rpx 40rpx; @@ -20,24 +19,28 @@ .catalogue { background: #fff; border-radius: 40rpx; - padding: 0 24rpx 24rpx; + padding: 0; margin-top: 30rpx; .short_desc { + padding: 0 24rpx 24rpx; color: #606563; line-height: 1.75; word-break: break-word; } .hours { + padding: 0 24rpx 24rpx; position: relative; - min-height: 440rpx; + min-height: 100vw; } } .hor { padding: 20rpx 0; display: flex; + justify-content: flex-start; + align-items: baseline; color: #323635; .image { @@ -46,7 +49,6 @@ margin-top: 8rpx; } - .title { flex: 1; width: 710rpx; @@ -67,7 +69,6 @@ margin-left: 10rpx; margin-top: 10rpx; } - } } diff --git a/src/pages/business/videoInfo/videoInfo.tsx b/src/pages/business/videoInfo/videoInfo.tsx index ffac5b1..dd85ffe 100644 --- a/src/pages/business/videoInfo/videoInfo.tsx +++ b/src/pages/business/videoInfo/videoInfo.tsx @@ -17,7 +17,6 @@ const VideoInfo: FC = () => { const [preview, setPreview] = useState(false) // 预览 const [playing, setPlaying] = useState(false) // 学习中 - const getData = useCallback(async (playing: boolean) => { try { const res = await curriculum.courseDep(id, depId) @@ -27,6 +26,12 @@ const VideoInfo: FC = () => { } }, [playing, playId]) + function changeCollect(v: boolean){ + let temp = data + temp!.course.collect = v + setData(temp) + } + const curEnd = (test?: boolean) => { setPlaying(false) if (!test) { // 没有考题才会请求 @@ -103,11 +108,9 @@ const VideoInfo: FC = () => { return ( - { - playId - ? - : - } + {playId + ? + : } @@ -121,10 +124,9 @@ const VideoInfo: FC = () => { 学习进度{((data?.learn_hour_records.length || 0) / (data?.course.class_hour || 1) * 100).toFixed(0)}% - getData(false)}/> + getData(false)}/> ) } - export default VideoInfo diff --git a/src/pages/check/check.config.ts b/src/pages/check/check.config.ts index bdff298..188ea47 100644 --- a/src/pages/check/check.config.ts +++ b/src/pages/check/check.config.ts @@ -1,3 +1,3 @@ export default definePageConfig({ - navigationBarTitleText: '绑定手机号' + navigationBarTitleText: '员工验证', }) diff --git a/src/pages/check/check.module.scss b/src/pages/check/check.module.scss index 47ccdb6..b760b60 100644 --- a/src/pages/check/check.module.scss +++ b/src/pages/check/check.module.scss @@ -5,7 +5,6 @@ bottom: 0; top: 0; background: #fff; - padding: 0 20rpx; } .submit { @@ -13,7 +12,7 @@ justify-content: center; align-items: center; gap: 12px; - margin: 0 auto; + margin: 50px 24px; a { color: #fff; @@ -24,6 +23,7 @@ display: flex; border-bottom: 1px solid #ededed; padding: 30px 0; + margin: 0 24px; } .image { diff --git a/src/pages/check/check.tsx b/src/pages/check/check.tsx index da26136..dcd2ddb 100644 --- a/src/pages/check/check.tsx +++ b/src/pages/check/check.tsx @@ -1,5 +1,5 @@ import {FC, useCallback, useEffect, useRef, useState} from "react"; -import {Form, Image, Input, View} from "@tarojs/components"; +import {Form, Image, Input, Text, View} from "@tarojs/components"; import {Profile} from "@/store"; import {userApi} from "@/api"; import Taro from "@tarojs/taro"; @@ -8,6 +8,7 @@ import styles from './check.module.scss' import code from '@/static/img/vCode.png' import tel from '@/static/img/tel.png' import MyButton from "@/components/button/MyButton"; +import IconFont from "@/components/IconFont"; const Bing: FC = () => { const form = useRef(null) @@ -76,6 +77,23 @@ const Bing: FC = () => { return ( + + + + + 检测到您第一次登录,需要通过手机号码验证是否为 + 我司战略合作的客户员工 + ,如果无法完成验证请点击 + { + Taro.navigateTo({ + url:`/pages/preview/webView/webView?url=${encodeURIComponent(`${process.env.TARO_APP_API}/QA/yuangongyanzheng.html`)}` + }) + }} className="text-success mx-1" style={{textDecoration:'underline'}}>相关问题解答 + ! + + + +
@@ -85,7 +103,7 @@ const Bing: FC = () => { setPhone_number(Number(e.detail.value))}/> @@ -96,16 +114,16 @@ const Bing: FC = () => { - + {codeTime > 0 ? `${codeTime}` : '获取验证码'} + diff --git a/src/pages/home/components/curRecommended.tsx b/src/pages/home/components/curRecommended.tsx index bee851e..c10f24c 100644 --- a/src/pages/home/components/curRecommended.tsx +++ b/src/pages/home/components/curRecommended.tsx @@ -6,8 +6,8 @@ import styles from "../home.module.scss"; import VideoCover from "@/components/videoCover/videoCover"; import courseTag from '@/static/img/courseTag.png' import ArticlesBox from "@/components/articlesBox/articlesBox"; -import arrowRight from '@/static/img/arrow-right.png' import PageScript from "@/components/pageScript/pageScript"; +import IconFont from "@/components/IconFont"; const CurRecommended: FC = () => { const [page, setPage] = useState(1) @@ -16,10 +16,11 @@ const CurRecommended: FC = () => { const [articles, setArticles] = useState([]) async function getData() { - const res = await HomeApi.course(page, 4) + + const res = await HomeApi.home() setArticles(res.articles) - setTotal(res.course.total) - const newData = res.course.data?.reduce((pre, cut) => { + setTotal(res.courses.total) + const newData = res.courses.data?.reduce((pre, cut) => { const index = pre.findIndex(d => d.id === cut.id) if (index === -1) { pre.push(cut) @@ -47,14 +48,14 @@ const CurRecommended: FC = () => { if (articles.length > 0) { examines = ( - + 推荐文章 - + 查看更多 - + - {articles.map(d => )} + {articles.map(d => )} ) } diff --git a/src/pages/home/components/feature.tsx b/src/pages/home/components/feature.tsx index 9f09acb..3881eb7 100644 --- a/src/pages/home/components/feature.tsx +++ b/src/pages/home/components/feature.tsx @@ -22,7 +22,7 @@ const Feature: FC = () => { return ( { - list.map(d => jump(d.url)}> + list.map(d => jump(d.url)}> {d.text} ) diff --git a/src/pages/home/components/feature_recommended.tsx b/src/pages/home/components/feature_recommended.tsx index b7218f1..32d2110 100644 --- a/src/pages/home/components/feature_recommended.tsx +++ b/src/pages/home/components/feature_recommended.tsx @@ -73,7 +73,7 @@ const FeatureRecommended: FC = (props) => { return props.brand.map(d => ({ id: d.id, title: d.name, - imageUrl: d.brand_album, + imageUrl: d.brand_album?.split(',')[0] ?? d.logo, description: d.graphic_introduction, path: `?id=${d.id}`, })) @@ -117,7 +117,7 @@ const FeatureRecommended: FC = (props) => { try { return props.illness.map(d => ({ id: d.id, - imageUrl: '', + imageUrl: d.album?.split(',')[0] ?? '', description: d.description || '暂无简介', title: d.name, path: `?id=${d.id}` @@ -143,36 +143,56 @@ const FeatureRecommended: FC = (props) => { Taro.navigateTo({url}) } - return ( - - + + + const keys: string[] = [] + const items = data.filter(d => d.data.length === 3).map(d => { + keys.push(d.url) + return ( + <> + jump(d.url, d)} src={d.titleUrl}/> { - data.filter(d => d.data.length === 3).map(d => - jump(d.url, d)} src={d.titleUrl}/> - { - d.data.length > 0 && d.data.map((c, index) => jump(d.detailsUrl + c.path, d)}> - - - - - - - - {c.title} - {c.description} - - ) - } - ) + d.data.length > 0 && d.data.map((c, index) => jump(d.detailsUrl + c.path, d)}> + + + + + + + + {c.title} + {c.description} + + ) } - + + ) + }) + // 没有top3 + if (keys.length === 0) { + return null + } + // 至少2个top3 + if (keys.length > 1) { + return ( + + + {items.map((d, i) => ({d}))} + + + ) + } + // 只有一个top3 + return ( + + {items[0]} ) } diff --git a/src/pages/home/home.tsx b/src/pages/home/home.tsx index 9134c27..dc00b96 100644 --- a/src/pages/home/home.tsx +++ b/src/pages/home/home.tsx @@ -12,7 +12,6 @@ import {HomeApi, HomeData} from "@/api"; import logo from '@/static/img/logo.svg' import Spin from "@/components/spinner"; import NavigationBar from "@/components/navigationBar/navigationBar"; -import {Search} from "@/pages/home/components/search"; const Home: FC = () => { const globalData = Taro.getApp().globalData @@ -51,8 +50,8 @@ const Home: FC = () => { cancelBack leftNode={ <> - - 信桂 + + 信桂 } > @@ -61,7 +60,7 @@ const Home: FC = () => { - + {/**/} = ({categoryKey, setCategoryKey}) => { async function getData() { try { - const res = await publicApi.course({page: page, pageSize: 10}) + const res = await publicApi.newCourse({page: page, page_size: 10}) const old: Courses = JSON.parse(JSON.stringify(data)) setData({ - is_required: screen(old.is_required, res.course.is_required || []), - is_not_required: screen(old.is_not_required, res.course.is_not_required || []), + is_required: screen(old.is_required, res.company_courses || []), + is_not_required: screen(old.is_not_required, res.platform_courses || []), }) } catch (e) { } @@ -114,7 +114,7 @@ export const VideoList: FC = ({categoryKey, setCategoryKey}) => { !token && key === 'is_required' ? : value?.length ? <> - + { value?.map(c => { } - backgroundColor={'transparent'} /> { } const AuditMode: FC = () => { - const [auditMode, setAuditMode] = useState(false) + const [auditMode, setAuditMode] = useState(true) const [articles, setArticles] = useState([]) const [enable, setEnable] = useState(true) useEffect(() => { @@ -54,10 +53,10 @@ const AuditMode: FC = () => { { auditMode ? <> - + 文章列表} /> { - articles.map(d => ) + articles.map(d => ) } diff --git a/src/pages/login/login.module.scss b/src/pages/login/login.module.scss index b568542..097a82d 100644 --- a/src/pages/login/login.module.scss +++ b/src/pages/login/login.module.scss @@ -25,7 +25,7 @@ .brand { width: 140px; - margin: 250px auto 145px; + margin: 70px auto 100px; image { overflow: hidden; @@ -44,7 +44,7 @@ .errorTips { position: fixed; - top: 10%; + top: 0; left: 24px; right: 24px; background: red; @@ -52,7 +52,7 @@ padding: 24px; border-radius: 20px; display: flex; - align-items: center; + align-items: baseline; } .bing { diff --git a/src/pages/login/login.tsx b/src/pages/login/login.tsx index c626eba..f3a25a1 100644 --- a/src/pages/login/login.tsx +++ b/src/pages/login/login.tsx @@ -1,19 +1,20 @@ import {FC, useEffect, useState} from "react"; import {Profile} from "@/store"; -import {Image, Text, View} from "@tarojs/components"; +import {Image, Radio, Text, View} from "@tarojs/components"; import Taro from "@tarojs/taro"; import styles from './login.module.scss' -import Icon from "@/components/icon"; import {userApi} from "@/api"; import {loginApi, LoginParams} from "@/api/login"; import MyButton from "@/components/button/MyButton"; +import logo from '@/static/img/logo.svg' +import IconFont from "@/components/IconFont"; const Login: FC = () => { const [isLoading, setLoading] = useState(false) - const [error, setError] = useState(null) const {setUser, setToken, setCompany, empty} = Profile.useContainer() const [h5params, setH5Params] = useState(null) + const [check, setCheck] = useState(false) useEffect(() => { empty(false) @@ -30,9 +31,21 @@ const Login: FC = () => { } }, []) + function setError(msg: any){ + if(msg) { + Taro.showToast({ + title:msg, + icon:'none' + }) + } + } function login() { if (isLoading) return; + if (!check) { + setError('请阅读并同意《用户协议》及《隐私政策》!') + return; + } if (h5params == null && process.env.TARO_ENV === 'h5') { setError('页面参数错误,请刷新页面!') return; @@ -62,7 +75,7 @@ const Login: FC = () => { }) } else { Taro.setStorageSync('openid', catch_key) - Taro.reLaunch({url: '/pages/check/check'}) + Taro.navigateTo({url: '/pages/check/check'}) } } catch (e) { } @@ -85,20 +98,60 @@ const Login: FC = () => { return ( - - 医学道 + + 信桂 - - 请完成微信授权以继续使用! + + + + 只有与我司签署了 + 战略合作 + 的客户才能够完成登录。 + { + Taro.navigateTo({ + url:`/pages/preview/webView/webView?url=${process.env.TARO_APP_API}/QA/zhanluehezuo.html` + }) + }} className="text-success" style={{textDecoration:'underline'}}>了解战略合作 + + - 微信授权登录 - {error ? - {error} - setError(null)}/> - : null} + {/**/} + {/* 请完成微信授权以继续使用!*/} + {/**/} + 授权登录 + + {/*{error ? */} + {/* */} + {/* */} + {/* {error}*/} + {/**/} + {/* setError(null)}>*/} + {/* */} + {/* */} + {/* : null}*/} + + setCheck(!check) }> + 阅读并同意 + { + Taro.navigateTo({ + url:`/pages/preview/webView/webView?url=${process.env.TARO_APP_API}/yonghuxieyi.html` + }) + }}>《用户协议》 + + { + Taro.navigateTo({ + url:`/pages/preview/webView/webView?url=${process.env.TARO_APP_API}/yinsizhengce.html` + }) + }}>《隐私政策》 + {/*{process.env.TARO_APP_LGOIN === 'true' && 线下登录}*/} + + 蜀ICP备20015955号-4X ) } diff --git a/src/pages/manage/addStudent/addStudent.scss b/src/pages/manage/addStudent/addStudent.scss index 880b002..01ffd9a 100644 --- a/src/pages/manage/addStudent/addStudent.scss +++ b/src/pages/manage/addStudent/addStudent.scss @@ -10,7 +10,8 @@ } .add { - position: fixed; + //position: fixed; width: 710rpx; - margin-top: 10px; + margin-top: 30px; + border: none !important; } diff --git a/src/pages/manage/courseAdmin/components/search.tsx b/src/pages/manage/courseAdmin/components/search.tsx index eaed0c0..7dbaf38 100644 --- a/src/pages/manage/courseAdmin/components/search.tsx +++ b/src/pages/manage/courseAdmin/components/search.tsx @@ -1,5 +1,5 @@ import {FC, useCallback, useEffect, useState} from "react"; -import {Image, Input, Radio, View} from "@tarojs/components"; +import {Image, Input, Radio, Text, View} from "@tarojs/components"; import styles from "../courseAdmin.module.scss"; import Icon from "@/components/icon"; import {CourseAllParam, curriculum} from "@/api"; @@ -94,18 +94,25 @@ export const Search: FC = ({param, setParam, total, setBatch}) => { setShow(true)} className={styles.select}> - 选择部门 + { + param.dep_id > 0 ? + + {deps.find(d => d.id === param.dep_id)?.name} + + : + 选择部门 + } - { - param.dep_id > 0 - && - {deps.find(d => d.id === param.dep_id)?.name} - - - } + {/*{*/} + {/* param.dep_id > 0*/} + {/* && */} + {/* {deps.find(d => d.id === param.dep_id)?.name}*/} + {/* */} + {/* */} + {/*}*/} diff --git a/src/pages/manage/courseAdmin/courseAdmin.module.scss b/src/pages/manage/courseAdmin/courseAdmin.module.scss index 2caca7c..2120a18 100644 --- a/src/pages/manage/courseAdmin/courseAdmin.module.scss +++ b/src/pages/manage/courseAdmin/courseAdmin.module.scss @@ -8,6 +8,8 @@ page { position: sticky; top: 0; border-bottom: 1px solid #F5F8F7; + z-index: 2; + background-color: #fff; } .searchInput { @@ -58,12 +60,15 @@ page { display: flex; justify-content: space-between; align-items: center; + z-index: 1; } .curTitle { padding: 30rpx; display: flex; border-bottom: 1px solid #F5F8F7; + flex:1; + box-sizing: border-box; } .curImage { diff --git a/src/pages/manage/courseAdmin/courseAdmin.tsx b/src/pages/manage/courseAdmin/courseAdmin.tsx index 44e308a..d81175c 100644 --- a/src/pages/manage/courseAdmin/courseAdmin.tsx +++ b/src/pages/manage/courseAdmin/courseAdmin.tsx @@ -190,9 +190,9 @@ const CourseAdmin: FC = () => { 共{d.class_hour}节 - + {d.title} - {d.short_desc} + {d.short_desc} { + const params = Taro.getCurrentInstance().router?.params as { id: string | undefined } + const [manages, setManages] = useState([]) + const [start, setStart] = useState(formatDate(new Date(new Date().getTime() + 24 * 60 * 60 * 1000), "YY-MM-dd 08:00")) + const [end, setEnd] = useState(formatDate(new Date(new Date().getTime() + 24 * 60 * 60 * 1000), "YY-MM-dd 18:00")) + const [depid, setDepid] = useState(null) + const [imgUrl, setImgUrl] = useState('') + const [name, setName] = useState('') + const [loading, setLoading] = useState(false) + const [status, setStatus] = useState(0) // 状态 + const [id, setId] = useState(params.id ? Number(params.id) : undefined) + const {company} = Profile.useContainer() + + function setData(res: Meeting | null) { + /** + * params.id 查看详情请求 + * 当onShow的时候 id === res.id 数据相同不进行以下流程 + */ + if (params.id || id !== res?.id) { + setImgUrl('') + setDepid(res?.dep_id || null) + setName(res?.name || '') + setStatus(res?.status || 0) + setId(res?.id || 0) + + if (res) { + setEnd(formatDate(new Date(res.estimate_end_time), "YY-MM-dd hh:mm")) + setStart(formatDate(new Date(res.estimate_start_time), "YY-MM-dd hh:mm")) + } + } + setLoading(false) + } + + useEffect(() => { + curriculum.department().then(res => { + setManages(res.data) + }) + }, []) + + Taro.useDidShow(() => { + if (params.id != undefined) { + meetingAPi.setMeeting(params.id).then(setData) + } + }) + + const depChange = useCallback((e) => { + setDepid(manages[Number(e.detail.value)]?.id) + }, [manages]) + + const change_start = useCallback((time: string) => { + const mil = new Date(time).getTime() + const endMil = new Date(end).getTime() + if (mil > endMil) { + Taro.showToast({title: '大于结束时间', icon: 'error'}) + } else { + setStart(time) + } + }, [end]) + + const change_end = useCallback((time: string) => { + const mil = new Date(time).getTime() + const startMil = new Date(start).getTime() + if (mil < startMil) { + Taro.showToast({title: '小于开始时间', icon: 'error'}) + } else { + setEnd(time) + } + }, [start]) + + + + + + const submit = useCallback(async (e) => { + if (loading && status === 2) return; + + + + const values: Meeting = e.detail.value + if (!values.name) { + Taro.showToast({title: '请填写会议名称', icon: 'error'}) + return + } + + setLoading(true) + try { + let req = meetingAPi.setMeetings + if(!params.id){ + req = meetingAPi.addMeetings + } + await req({ + ...values, + estimate_end_time: new Date(end).getTime(), + estimate_start_time: new Date(start).getTime(), + dep_id: depid, + company_id: company?.id!, + id: parseInt(params.id!), + }) + setLoading(false) + Taro.eventCenter.trigger('updateMeetingList') + Taro.showToast({title: '操作成功', icon: 'success',mask:true}) + Taro.navigateBack() + } catch (e) { + setLoading(false) + } + }, [imgUrl, depid, end, start]) + + + + + + + + + + return ( + + + + + + + + + + 0} + maxlength={11} + placeholder='请输入会议标题' + onInput={(e) => setName(e.detail.value)} + />} + /> + + change_start(time)} + > + + + + + change_end(time)} + > + + + + + x.id == depid)?.name}/> + + + + {params.id ? '保存':'新建'} + + + + + + + + ) +} + +export default MeetingForm diff --git a/src/pages/manage/meetings/list.config.ts b/src/pages/manage/meetings/list.config.ts new file mode 100644 index 0000000..9e9c957 --- /dev/null +++ b/src/pages/manage/meetings/list.config.ts @@ -0,0 +1,4 @@ +export default definePageConfig({ + navigationBarTitleText: '现场会', + onReachBottomDistance: 30 +}) diff --git a/src/pages/manage/meetings/list.module.scss b/src/pages/manage/meetings/list.module.scss new file mode 100644 index 0000000..08eada3 --- /dev/null +++ b/src/pages/manage/meetings/list.module.scss @@ -0,0 +1,11 @@ +.meeting { + margin-bottom: 20rpx; + border-radius: 16rpx; + padding: 30rpx 24rpx; + box-sizing: border-box; + background-color: #fff; + position: relative; + height: 138rpx; +} + + diff --git a/src/pages/manage/meetings/meetings.module.scss b/src/pages/manage/meetings/meetings.module.scss index 075fb8b..672594b 100644 --- a/src/pages/manage/meetings/meetings.module.scss +++ b/src/pages/manage/meetings/meetings.module.scss @@ -1,43 +1,23 @@ +page{ + width: 100%; +} .meeting { - display: flex; - justify-content: space-between; - margin-bottom: 20rpx; + padding: 30rpx 24rpx; + background: #FFFFFF; + width: 710rpx; + box-sizing: border-box; + position: relative; } .title { - position: relative; - flex: 1; - width: 70%; - background: #fff; - padding: 20rpx; - border-radius: 10rpx; - overflow: hidden; - box-sizing: border-box; + font-size: 32rpx; + font-weight: bold; + color: #606563; + margin-bottom: 20rpx; } - - -.overdue { - position: absolute; - top: 0; - bottom: 0; - right: 0; - left: 0; - text-align: center; - color: #fff; - display: flex; - justify-content: center; - align-items: center; - background: rgba(#000, .8); +.time{ + font-size: 24rpx; + font-weight: 500; + color: #606563; } - -.del { - border-radius: 10rpx; - background: #FF3A2F; - display: flex; - align-items: center; - color: #fff; - width: 100rpx; - justify-content: center; - margin-left: 20rpx; -} diff --git a/src/pages/manage/meetings/meetings.tsx b/src/pages/manage/meetings/meetings.tsx index bbd5b0d..2c2e2ab 100644 --- a/src/pages/manage/meetings/meetings.tsx +++ b/src/pages/manage/meetings/meetings.tsx @@ -1,19 +1,24 @@ import {FC, useCallback, useEffect, useState} from "react"; -import {View} from "@tarojs/components"; +import {Image, Text, View} from "@tarojs/components"; import {Meeting, meetingAPi} from "@/api"; import styles from './meetings.module.scss' import Taro, {useReachBottom} from "@tarojs/taro"; import Empty from "@/components/empty/empty"; import {formatDate} from "@/utils/time"; +import {AtList, AtSwipeAction} from "taro-ui"; +import meetingEnd from "@/static/img/meetingEnd.png" +import Spin from "@/components/spinner"; const MeetingsConfig: FC = () => { const [page, setPage] = useState(1) const [meeting, setMeeting] = useState([]) const [total, setTotal] = useState(0) + const [curIndex, setCurIndex] = useState() + const [enable, setEnable] = useState(true) const getData = useCallback(async () => { try { - const res = await meetingAPi.setList(1, 10) + const res = await meetingAPi.setList(page, 10) setTotal(res.total) setMeeting([ ...(meeting || []), @@ -21,12 +26,14 @@ const MeetingsConfig: FC = () => { ]) } catch (e) { } + + setTimeout(()=>{setEnable(false)},500) }, [page]) function del(id: number, index: number) { try { Taro.showModal({ - title: '确定删除', + title: `确定删除 ${meeting[index].name}`, async success({confirm}) { if (confirm) { await meetingAPi.del(id) @@ -34,6 +41,9 @@ const MeetingsConfig: FC = () => { const oldMeeting: Meeting[] = JSON.parse(JSON.stringify(meeting)) oldMeeting.splice(index, 1) setMeeting(oldMeeting) + setCurIndex(undefined) + }else{ + setCurIndex(undefined) } } }) @@ -41,13 +51,6 @@ const MeetingsConfig: FC = () => { } } - function jumpInfo(item: Meeting) { - if (Date.now() > item.estimate_end_time || item.status > 0) { - return - } - Taro.navigateTo({url: `/pages/manage/spotMeeting/spotMeeting?id=${item.id}`}) - } - useReachBottom(useCallback(() => { if (meeting?.length < total) { setPage(page + 1) @@ -58,26 +61,48 @@ const MeetingsConfig: FC = () => { getData() }, [page]) + async function handleClick(id : number,index: number){ + await del(id,index) + } + + function onOpened(index: number){ + setCurIndex(index) + } + return ( - + <> + + { meeting.length ? - meeting.map((d, index) => - jumpInfo(d)}> - {d.name} - {formatDate(new Date(d.estimate_start_time), "MM-dd")} 至 {formatDate(new Date(d.estimate_start_time), "MM-dd")} - { - (Date.now() > d.estimate_end_time || d.status > 1) && - {d.status > 1 ? '已结束' : "已过期"} + + {meeting.map((d,index) => ( + {handleClick(d.id,index)}} + isOpened={curIndex === index} + onOpened={() => {onOpened(index)}} + options={[{text: '删除',style: {backgroundColor: '#FF4949'},}]} + > + + + + + + {d.name} + {formatDate(new Date(d.estimate_start_time), "MM-dd")} 至 {formatDate(new Date(d.estimate_start_time), "MM-dd")} + - } - - del(d.id, index)}>删除 - ) + + ))} + + : } + ) } diff --git a/src/pages/manage/spotMeeting/spotMeeting.module.scss b/src/pages/manage/spotMeeting/spotMeeting.module.scss index 08f015a..7fb5d41 100644 --- a/src/pages/manage/spotMeeting/spotMeeting.module.scss +++ b/src/pages/manage/spotMeeting/spotMeeting.module.scss @@ -83,11 +83,25 @@ .button { margin: 30rpx auto; + color: #fff; box-shadow: 0 0 10rpx rgba(#00d6ac, .5); } - .buttonDel { + background-color: rgba(255,255,255,0.1) !important; + margin: 30rpx auto; +} + +.buttonEnd{ color: #fff; margin: 30rpx auto; - box-shadow: 0 0 10rpx rgba(#c94f4f, .5); + box-shadow: 0 0 10rpx rgba(#00d6ac, .5); +} +.tips{ + background-color: rgba(#00d6ac, 0.1); + margin: 0 -20rpx; + line-height: 2.5; + font-size: 26rpx; + display: flex; + justify-content: center; + align-items: center; } diff --git a/src/pages/manage/spotMeeting/spotMeeting.tsx b/src/pages/manage/spotMeeting/spotMeeting.tsx index 788ab85..bba47a9 100644 --- a/src/pages/manage/spotMeeting/spotMeeting.tsx +++ b/src/pages/manage/spotMeeting/spotMeeting.tsx @@ -1,32 +1,25 @@ -import {FC, useCallback, useEffect, useState} from "react"; -import {Form, Image, Input, Picker, View} from "@tarojs/components"; +import {FC, useCallback, useState} from "react"; +import {Image, View, Text} from "@tarojs/components"; import Taro, {getSetting, authorize} from "@tarojs/taro"; -import {curriculum, Meeting, meetingAPi} from "@/api"; +import { Meeting, meetingAPi} from "@/api"; import {formatDate} from "@/utils/time"; -import PopPut from "@/components/popPut/popPut"; import MyButton from "@/components/button/MyButton"; import styles from './spotMeeting.module.scss' -import code from '@/static/img/code.png' import Icon from "@/components/icon"; -import failure from "@/static/img/failure.png" -import {Profile} from "@/store"; -import DateTimePicker from "@/components/dateTimePicker/dateTimePicker"; - +import IconFont from "@/components/IconFont"; +import CodeImg from "@/static/img/code.png" +import Spin from "@/components/spinner"; const SpotMeeting: FC = () => { const path = encodeURIComponent("/pages/meeting/meeting") const params = Taro.getCurrentInstance().router?.params as { id: string | undefined } - const [manages, setManages] = useState([]) - const [start, setStart] = useState(formatDate(new Date(new Date().getTime() + 24 * 60 * 60 * 1000), "YY-MM-dd 08:00")) - const [end, setEnd] = useState(formatDate(new Date(new Date().getTime() + 24 * 60 * 60 * 1000), "YY-MM-dd 18:00")) - const [depid, setDepid] = useState(null) - const [imgUrl, setImgUrl] = useState('') + const [start, setStart] = useState(formatDate(new Date(new Date().getTime() + 24 * 60 * 60 * 1000), "MM-dd 08:00")) + const [end, setEnd] = useState(formatDate(new Date(new Date().getTime() + 24 * 60 * 60 * 1000), "MM-dd 18:00")) + const [imgUrl, setImgUrl] = useState(CodeImg) const [name, setName] = useState('') - const [description, setDescription] = useState('') - const [loading, setLoading] = useState(false) const [status, setStatus] = useState(0) // 状态 const [id, setId] = useState(params.id ? Number(params.id) : undefined) const pathUrl = process.env.TARO_ENV === 'h5' ? '/official/qrcode' : '/wechat/link' - const {company} = Profile.useContainer() + const [downStatus, setDownStatus] = useState<1|2|3>(1) function setData(res: Meeting | null) { /** @@ -35,63 +28,35 @@ const SpotMeeting: FC = () => { */ if (params.id || id !== res?.id) { setImgUrl('') - setDepid(res?.dep_id || null) setName(res?.name || '') - setDescription(res?.description || '') setStatus(res?.status || 0) setId(res?.id || 0) if (res) { - downUrl(res.id, false) - setEnd(formatDate(new Date(res.estimate_end_time), "YY-MM-dd 18:00")) - setStart(formatDate(new Date(res.estimate_start_time), "YY-MM-dd 08:00")) + downUrl(res.id) + setEnd(formatDate(new Date(res.estimate_end_time), "MM-dd hh:mm")) + setStart(formatDate(new Date(res.estimate_start_time), "MM-dd hh:mm")) } - } else { - setLoading(false) } } - useEffect(() => { - curriculum.department().then(res => { - setManages(res.data) - }) - }, []) - - Taro.useDidShow(() => { - setLoading(true) + Taro.useLoad(() => { if (params.id != undefined) { meetingAPi.setMeeting(params.id).then(setData) - } else { - meetingAPi.exists().then(setData) } - }) - const depChange = useCallback((e) => { - setDepid(manages[Number(e.detail.value)]?.id) - }, [manages]) - - const change_start = useCallback((time: string) => { - const mil = new Date(time).getTime() - const endMil = new Date(end).getTime() - if (mil > endMil) { - Taro.showToast({title: '大于结束时间', icon: 'error'}) - } else { - setStart(time) - } - }, [end]) + Taro.eventCenter.on('UPDATE', () => { + meetingAPi.setMeeting(params.id!).then(setData) + }) + }) - const change_end = useCallback((time: string) => { - const mil = new Date(time).getTime() - const startMil = new Date(start).getTime() - if (mil < startMil) { - Taro.showToast({title: '小于开始时间', icon: 'error'}) - } else { - setEnd(time) - } - }, [start]) + Taro.useUnload(() => { + Taro.eventCenter.off('UPDATE') + }) /** 下载二维码 */ const handleWriteFile = useCallback(() => { + console.log({imgUrl},'imgUrl') if (imgUrl == null) { Taro.showToast({title: '下载失败', icon: 'error'}) return @@ -101,7 +66,8 @@ const SpotMeeting: FC = () => { success() { Taro.showModal({title: '下载成功'}) }, - fail() { + fail(err) { + console.log(err,'err') Taro.showToast({title: '下载失败', icon: 'error'}) } }) @@ -109,6 +75,10 @@ const SpotMeeting: FC = () => { /** 查看保存权限 */ const handleSaveCode = useCallback(() => { + if( status === 2) { + Taro.showToast({title: '会议已结束,无法下载', icon: 'none'}) + return + } if (process.env.TARO_ENV !== 'h5') { getSetting({ success: function ({authSetting}) { @@ -135,70 +105,46 @@ const SpotMeeting: FC = () => { }, [imgUrl]); /** 获取二维码地址 */ - const downUrl = (id: number, down = true) => { - Taro.showLoading({title: '加载二维码'}) + const downUrl = (id: number,) => { + if(status === 2){ + setDownStatus(2) + return + } + // Taro.showLoading({title: '加载二维码'}) const url = process.env.TARO_APP_API + pathUrl + '?meeting_id=' + id + '&path=' + path + let fileName = new Date().valueOf(); + let filePath = Taro.env.USER_DATA_PATH + '/' + fileName + '.jpg' + console.log(filePath,'filePath') + + if (process.env.TARO_ENV !== 'h5') { Taro.downloadFile({ url, + filePath:filePath, success(res) { - setImgUrl(res.tempFilePath) - if (down) { - handleSaveCode() - } + console.log(res,'res') + setImgUrl(res.filePath) + setDownStatus(3) + }, fail() { - Taro.hideLoading() - Taro.showModal({title: '二维码生成失败'}) - setLoading(false) + setDownStatus(2) + // Taro.hideLoading() + // Taro.showModal({title: '二维码生成失败'}) } }) } else { setTimeout(() => { setImgUrl(url) }) - if (down) { - handleSaveCode() - } + } } - const submit = useCallback(async (e) => { - if (loading && status === 2) return; - if (imgUrl) { // 已有 - handleSaveCode() - return - } - const values: Meeting = e.detail.value - if (!values.name) { - Taro.showToast({title: '请填写会议名称', icon: 'error'}) - return - } - - setLoading(true) - try { - const res = await meetingAPi.setMeetings({ - ...values, - estimate_end_time: new Date(end).getTime(), - estimate_start_time: new Date(start).getTime(), - dep_id: depid, - company_id: company?.id! - }) - downUrl(res.id) - setStatus(0) - setId(res.id) - } catch (e) { - setLoading(false) - } - }, [imgUrl, depid, end, start]) - function imagLoad() { - Taro.hideLoading() - setLoading(false) - } /** 开始 */ async function onStart() { @@ -222,143 +168,98 @@ const SpotMeeting: FC = () => { } } - async function putMeeting() { - Taro.showLoading() - await meetingAPi.putMeeting(id!, { - name, - dep_id: depid, - company_id: company?.id!, - description, - estimate_end_time: new Date(end).getTime(), - estimate_start_time: new Date(start).getTime(), + async function onDel(){ + Taro.showModal({ + title:'友情提示', + content:'是否确认删除', + success: async (res) => { + if(res.confirm){ + try { + Taro.showLoading() + await meetingAPi.del(id!) + Taro.showToast({title: '删除成功', icon: 'none',mask: true}) + Taro.eventCenter.trigger('deleteMeeting', id) + Taro.navigateBack() + }catch (err){ + Taro.showToast({title: '删除失败,稍后重试', icon: 'none',mask: true}) + } finally { + Taro.hideLoading() + } + } + } }) - Taro.hideLoading() - Taro.showToast({title: '修改成功'}) - } + } return ( - 现场会 + + {name} + { + status === 0 && + { + Taro.navigateTo({ + url:`/pages/manage/meetings/form/form?id=${id}` + }) + }} /> + } + {process.env.TARO_ENV === 'h5' && 微信公众号,浏览器中请截图保存} + - { - imgUrl - ? */} + - : <> - 填完写完整信息 - - + { + downStatus < 3 && + + {downStatus === 1 && } + {downStatus === 2 && } + } - {status === 2 && } + {/*:*/} + {/**/} + {/* */} + {/**/} + {/*}*/} - - -
- 0} - placeholder='请输入会议标题' - onInput={(e) => setName(e.detail.value)} - />} - /> - - change_start(time)} - > - - - - - change_end(time)} - > - - - - - x.id == depid)?.name}/> - - - - { - id !== undefined && <> - { - status === 0 && - 开始 - - } - { - status === 1 && - 结束 - } - - } - - { - imgUrl && - 修改 - - } - - - - + {start} + + {end} + + + {/**/} + + 长按保存二维码到相册 + + + { + status === 0 && - {imgUrl ? "保存二维码" : "新建现场会"} + onClick={onStart}> + 开始 - + } + {status === 1 && 结束} - { - !params.id - && Taro.navigateTo({url: '/pages/manage/meetings/meetings'})}> - 历史列表 - - }
+ {status === 0 && 删除}
) } diff --git a/src/pages/my/components/header/header.tsx b/src/pages/my/components/header/header.tsx index a06e480..d3bbc03 100644 --- a/src/pages/my/components/header/header.tsx +++ b/src/pages/my/components/header/header.tsx @@ -5,6 +5,7 @@ import avatar from "@/static/img/avatar.png" import blacktriang from "@/static/img/blacktriangle.png" import {FC, useMemo} from "react"; import Img from "@/components/image/image"; +import Taro from "@tarojs/taro"; interface Props { companyList: Company[] @@ -20,8 +21,12 @@ const Header: FC = ({companyList, showCompany}) => { return ( + { + token && Taro.navigateTo({url:'/pages/business/userInfo/userInfo'}) + }}> - + + {token ? user?.name ?? '匿名' : '请登录'} {token ? company?.name : '登录解锁更多功能哦'} diff --git a/src/pages/my/components/header/service.tsx b/src/pages/my/components/header/service.tsx index 4909f95..115d53d 100644 --- a/src/pages/my/components/header/service.tsx +++ b/src/pages/my/components/header/service.tsx @@ -36,7 +36,7 @@ const Service = () => { if ([1, 2].includes(user?.role_type || 0)) { setList([ {title: '部门管理', src: dep, router: '/pages/manage/depAdmin/depAdmin'}, - {title: '现场会', src: spotMeeting, router: '/pages/manage/spotMeeting/spotMeeting'}, + {title: '现场会', src: spotMeeting, router: '/pages/manage/meetings/list'}, {title: '课程管理', src: course, router: '/pages/manage/courseAdmin/courseAdmin'}, {title: '个人中心', src: userInfo, router: '/pages/business/userInfo/userInfo'}, {title: '历史记录', src: cur, router: '/pages/business/history/history'}, diff --git a/src/pages/my/my.tsx b/src/pages/my/my.tsx index 0767148..283418a 100644 --- a/src/pages/my/my.tsx +++ b/src/pages/my/my.tsx @@ -81,10 +81,9 @@ const My: FC = () => { backgroundColor={`rgba(255,255,255,${Number(navbarOpacity) * .9})`} cancelBack leftNode={ - .5 ? "0%" : '-350%'})`}}> - + .5 ? "0%" : '-350%'})`}}> + {token ? user?.name : '请登录'} }/> @@ -137,7 +136,7 @@ const My: FC = () => { { companyList.length >= 1 && companyList.map((d, idx) => - { if (company?.id === d.id) return; Taro.showLoading({ @@ -170,6 +169,9 @@ const My: FC = () => { + + 蜀ICP备20015955号-4X + ) diff --git a/src/pages/preview/brand/article/article.tsx b/src/pages/preview/brand/article/article.tsx index aa07995..1d1831c 100644 --- a/src/pages/preview/brand/article/article.tsx +++ b/src/pages/preview/brand/article/article.tsx @@ -1,5 +1,5 @@ -import {FC, useCallback, useEffect, useMemo, useState} from "react"; -import {Image, PageContainer, Text, View} from "@tarojs/components"; +import {FC, useCallback, useEffect, useMemo, useRef, useState} from "react"; +import {Image, PageContainer, ScrollView, Text, View} from "@tarojs/components"; import Taro, {useRouter} from "@tarojs/taro"; import {ArticleRecord, brandApi, HomeApi} from "@/api"; import styles from "./article.module.scss"; @@ -27,6 +27,24 @@ const article: FC = () => { const query = Taro.createSelectorQuery() const [maoId, setMaoId] = useState('') const [timing, setTiming] = useState(undefined) + const headingTop = useRef<{ id: string; top: number }[]>([]) + + + + useEffect(() => { + if(headings.length){ + if(headingTop.current?.[0]?.top){ + return + } + headings.forEach(item => { + query.select(`#${item.id}`).boundingClientRect().exec((res) => { + if(res.length === headings.length && res?.[0]?.top){ + headingTop.current = res + } + }) + }) + } + },[headings]) useEffect(() => { @@ -50,18 +68,20 @@ const article: FC = () => { function mao(id: string) { setMaoId(id) setShow(false) - Taro.nextTick(() => { - query.select(`#${id}`).boundingClientRect() - query.exec((res) => { - if (res.length) { - Taro.pageScrollTo({ - scrollTop: res[res.length - 1].top, - duration: 300 - } - ) - } + Taro.nextTick(() => { + console.log(headingTop.current,'headingTop.cur') + + query.select(`#${id}`).boundingClientRect() + query.exec((res) => { + if (res.length) { + Taro.pageScrollTo({ + scrollTop: headingTop.current.find(d => d.id === id)?.top ?? 0, + duration: 300 + } + ) + } + }) }) - }) } const onCollect = (v: boolean | undefined) => { @@ -88,7 +108,7 @@ const article: FC = () => { }) articlesEvent.recordsAdd({id: Number(id), view: (data?.page_view || 0) + 1}) }) - }, 3000)) + }, 2000)) Taro.setNavigationBarTitle({title: data.title}) if (data.content.length < 200) { @@ -167,7 +187,7 @@ const article: FC = () => { - {d?.name} + {d.name} {beforeTime(articleInfo?.created_at)} . 阅读 {articleInfo.page_view || 0} @@ -226,22 +246,25 @@ const article: FC = () => { 目录 - - { - headings.length > 0 && headings.map((d) => mao(d.id)}> - {d.text} - - ) - } - + + + { + headings.length > 0 && headings.map((d) => mao(d.id)}> + {d.text} + + ) + } + + diff --git a/src/pages/preview/brand/list/list.tsx b/src/pages/preview/brand/list/list.tsx index 457982d..5d2ea4b 100644 --- a/src/pages/preview/brand/list/list.tsx +++ b/src/pages/preview/brand/list/list.tsx @@ -48,7 +48,7 @@ const BrandItem: FC<{ data: BrandRecord; onClick: VoidFunction }> = ({data, onCl {data.name} - {beforeTime(data.created_at)} + {beforeTime(data.last_publish_time)} 文章 {data.article_count || 0} diff --git a/src/pages/preview/collect/collect.tsx b/src/pages/preview/collect/collect.tsx index fe96750..98f6667 100644 --- a/src/pages/preview/collect/collect.tsx +++ b/src/pages/preview/collect/collect.tsx @@ -28,6 +28,7 @@ const Profession = () => { */ async function getData(more = false) { if (!categoryId) return; + if (!more && data.get(categoryId)) return; const oldData = new Map(data) const categoryData = oldData.get(categoryId) const page = more ? (categoryData?.page || 0) + 1 : categoryData?.page || 1 @@ -38,7 +39,9 @@ const Profession = () => { } try { + setEnable(true) const data = await userApi.collectList(categoryId!, page, 10) + setEnable(false) // const dataList = data.list.reduce((pre, cur) => { // const index = pre.findIndex(d => d.id === cur.id) // if (index === -1) { @@ -73,18 +76,18 @@ const Profession = () => { }, [data])) useEffect(() => { + console.log(categoryId,'categoryId') categoryId && getData() }, [categoryId]) async function getCategory() { - try { + const res = [{name: '视频', id: 2}, {name: '文章', id: 1}, {name: '课程', id: 3}, {name: '其他', id: 4}] const newTabs = res.map(d => ({title: d.name, value: d.id})) setTabs(newTabs) setCategoryId(newTabs[0].value as number) - } catch (e) { - } - setEnable(false) + // setEnable(false) + } function tabsChange(tab: OnChangOpt) { @@ -112,6 +115,9 @@ const Profession = () => { Taro.useLoad(getCategory) function KillList(data: KillData): JSX.Element { + if(enable){ + return + } if (!data?.data?.length) { return } @@ -130,6 +136,7 @@ const Profession = () => { {d.brand.name} {d.brand.graphic_introduction || '暂无品牌简介'} + {/*{beforeTime(d.created_at)}*/} } @@ -177,7 +184,7 @@ const Profession = () => { return ( <> - + {/**/} diff --git a/src/pages/preview/health/health.tsx b/src/pages/preview/health/health.tsx index 7d0ee4f..de4417f 100644 --- a/src/pages/preview/health/health.tsx +++ b/src/pages/preview/health/health.tsx @@ -43,11 +43,11 @@ const Health: FC = () => { { data.length > 0 ? <> - {data.map(d => )} + {data.map(d => )} - : + : getData(1)} name='暂无数据'/> } diff --git a/src/pages/preview/illness/sort/sort.tsx b/src/pages/preview/illness/sort/sort.tsx index 7ed3168..96dd257 100644 --- a/src/pages/preview/illness/sort/sort.tsx +++ b/src/pages/preview/illness/sort/sort.tsx @@ -100,7 +100,7 @@ const Sort: FC = () => { ) } - : + : } ) diff --git a/src/pages/preview/profession/profession.tsx b/src/pages/preview/profession/profession.tsx index 06558cc..d7ea21f 100644 --- a/src/pages/preview/profession/profession.tsx +++ b/src/pages/preview/profession/profession.tsx @@ -108,6 +108,11 @@ const Profession = () => { ) } + if(!tabs.length){ + return ( + + ) + } return ( <> diff --git a/src/pages/preview/search/search/index.tsx b/src/pages/preview/search/search/index.tsx index a2138c6..b6e87bd 100644 --- a/src/pages/preview/search/search/index.tsx +++ b/src/pages/preview/search/search/index.tsx @@ -55,14 +55,15 @@ const Search: FC = () => { setValue('') setShow(false) setFocus(false) + Taro.navigateBack() } const searchStyles = useMemo((): React.CSSProperties | undefined => { if (focus || show) { return { - transform: "translateY(-43px)", - width: "70%", + // transform: "translateY(-43px)", + // width: "100%", } } }, [focus, show]) @@ -70,7 +71,7 @@ const Search: FC = () => { return ( - + @@ -86,7 +87,8 @@ const Search: FC = () => { onConfirm={searchInput}/> - {focus || show ? 取消 : null} + 取消 + {/*{focus || show ? 取消 : null}*/} diff --git a/src/pages/preview/videoFull/videoFull.module.scss b/src/pages/preview/videoFull/videoFull.module.scss index 35bf238..1d37ee6 100644 --- a/src/pages/preview/videoFull/videoFull.module.scss +++ b/src/pages/preview/videoFull/videoFull.module.scss @@ -19,12 +19,12 @@ page { position: fixed; z-index: 20; width: 100%; - color: #fff; - bottom: calc(env(safe-area-inset-bottom)); + color: #ffffff; + bottom: calc(200rpx + env(safe-area-inset-bottom)); padding: 0 30rpx; box-sizing: border-box; color: #FFFFFF; - transform: translateY(-200%); + //transform: translateY(-200%); } .title { diff --git a/src/pages/preview/videoFull/videoFull.tsx b/src/pages/preview/videoFull/videoFull.tsx index bf46878..62917e7 100644 --- a/src/pages/preview/videoFull/videoFull.tsx +++ b/src/pages/preview/videoFull/videoFull.tsx @@ -96,6 +96,7 @@ const VideoFull: FC = () => { onClick={click} controls autoplay + showBottomProgress='false' className={styles.video} src={data?.resource?.url} showCenterPlayBtn diff --git a/src/pages/preview/webView/webView.config.ts b/src/pages/preview/webView/webView.config.ts index 808161a..2a0a86b 100644 --- a/src/pages/preview/webView/webView.config.ts +++ b/src/pages/preview/webView/webView.config.ts @@ -1,4 +1,4 @@ export default definePageConfig({ - navigationBarTitleText: '链接', + navigationBarTitleText: '', onReachBottomDistance: 30 }) diff --git a/src/pages/preview/webView/webView.tsx b/src/pages/preview/webView/webView.tsx index 4c459ef..b43d0a0 100644 --- a/src/pages/preview/webView/webView.tsx +++ b/src/pages/preview/webView/webView.tsx @@ -1,9 +1,54 @@ -import {FC} from "react"; -import {WebView} from "@tarojs/components"; -import {useRouter} from "@tarojs/taro"; +import {FC, useState} from "react"; +import {Button, Text, View, WebView} from "@tarojs/components"; +import Taro, {useRouter} from "@tarojs/taro"; +import IconFont from "@/components/IconFont"; -const Web:FC = () => { +const Web: FC = () => { + const [hasError, showError] = useState(false) const {url} = useRouter().params as unknown as { url: string } - return + + const onError = () => { + showError(true) + Taro.hideNavigationBarLoading() + } + + const onRefresh = () => { + showError(false) + Taro.showNavigationBarLoading() + } + + Taro.useDidShow(() => { + Taro.showNavigationBarLoading() + }) + + if (hasError) { + return ( + + + 加载失败 + + + + + + + ) + } + + return ( + Taro.hideNavigationBarLoading()} + onError={onError} + /> + ) } + export default Web diff --git a/src/pages/search/components/list.module.scss b/src/pages/search/components/list.module.scss new file mode 100644 index 0000000..e435256 --- /dev/null +++ b/src/pages/search/components/list.module.scss @@ -0,0 +1,58 @@ +.box { + margin-left:30rpx; + margin-bottom: 24rpx; + width:690rpx; + display: flex; + margin-bottom: 20rpx; + background-color: #fff; + border-radius: 16rpx; + padding: 24rpx; + box-sizing: border-box; + position: relative; +} +.image{ + background-color: #ededed; + border-radius: 8rpx; +} +.play { + position: absolute; + z-index: 9999; + width: 50rpx !important; + height: 50rpx !important; + top: 99rpx; + left: 99rpx; + background: transparent !important; +} +.rightBox{ + padding-left: 24rpx; + box-sizing: border-box; + flex: 1; +} +.articleLeftBox{ + padding-right: 24rpx; + box-sizing: border-box; + flex: 1; +} +.videoRightBox{ + padding-left: 24rpx; + box-sizing: border-box; + flex: 1; +} +.courseRightBox{ + padding-left: 24rpx; + box-sizing: border-box; + flex: 1; +} +.desc{ + font-size: 24rpx; + font-weight: 500; + color: #909795; + line-height: 34rpx; + display: -webkit-box; + word-break: break-all; + text-overflow: ellipsis; + overflow: hidden; + -webkit-box-orient:vertical; + -webkit-line-clamp:2; +} + diff --git a/src/pages/search/components/list.tsx b/src/pages/search/components/list.tsx new file mode 100644 index 0000000..cfbb2c5 --- /dev/null +++ b/src/pages/search/components/list.tsx @@ -0,0 +1,167 @@ +import {FC, useCallback, useEffect, useState} from "react"; +import {Image, ScrollView, View} from "@tarojs/components"; +import styles from './list.module.scss' +import Taro from "@tarojs/taro"; +import Empty from "@/components/empty/empty"; +import Img from "@/components/image/image"; +import {SearchApi} from "@/api/search"; +import {rfc33392time} from "@/utils/day"; +import play from "@/static/img/play-back.png"; +import Spin from "@/components/spinner"; + +type Props = { + name: string + clear: boolean +} +const SearchList: FC = ({name, clear}) => { + console.log(name, 'name') + const globalData = Taro.getApp().globalData + const [page, setPage] = useState(1) + const [brands, setBrands] = useState([]) + const [total, setTotal] = useState(0) + const [text, setText] = useState('') + const [loading, setLoading] = useState(true) + + useEffect(() => { + if (!clear) { + setBrands([]) + setLoading(true) + } + }, [clear]) + useEffect(() => { + if (name && clear) { + getData() + } + }, [page, name, clear]) + + const getData = useCallback(async () => { + try { + const data = await SearchApi.list(page, 10, name) + if (page === 1) { + if (data.data.length < 10) { + setText('没有更多了~') + } else { + setText('上拉加载更多~') + } + setBrands([ + ...data.data + ]) + } else { + setBrands([ + ...brands, + ...data.data + ]) + } + setTotal(data.total) + + } catch (e) { + } + setLoading(false) + }, [page, name]) + + + function jumpInfo(id: number, type: string) { + console.log(type, 'type') + let url = '' + switch (type) { + case 'brand': + url = '/pages/preview/brand/info/info'; + break; + case 'article': + url = '/pages/preview/brand/article/article' + break + case 'video_records': + url = '/pages/preview/videoFull/videoFull' + break + case 'courses': + url = '/pages/business/videoInfo/videoInfo' + break + } + Taro.navigateTo({url: `${url}?id=${id}`}) + + } + + function onScrollToLower() { + if (brands?.length < total) { + setPage(page + 1) + getData().then() + } else { + setText('没有更多了~') + } + } + + return ( + + + { + brands.length >= 1 && !loading && + <> + {brands.map((d) => + jumpInfo(d.data.id, d.data.table)} className={styles.box} key={d.data.id}> + { + d.data.table === 'brand' && + <> + + + {d.data.title} + {d.data.content || '暂无品牌简介'} + + + } + { + d.data.table === 'article' && + <> + + {d.data['@data'].title} + {rfc33392time(d.data['@data'].created_at)} {d.data['@data'].page_view}阅读 + + + + } + { + d.data.table === 'video_records' && + <> + + + + {d.data['@data'].title} + {d.data['@data'].introduction} + 播放量: {d.data['@data'].video_view} + + + } + { + d.data.table === 'courses' && + <> + + + {d.data['@data'].title} + 课时:{d.data['@data'].class_hour}节 + 销量:{d.data['@data'].charge} + + + } + + ) + } + {text} + + } + {!loading && brands.length === 0 && } + + ) +} + +export default SearchList + diff --git a/src/pages/search/index.config.ts b/src/pages/search/index.config.ts new file mode 100644 index 0000000..23c20dd --- /dev/null +++ b/src/pages/search/index.config.ts @@ -0,0 +1,3 @@ +export default definePageConfig({ + navigationStyle: 'custom' +}) diff --git a/src/pages/search/index.module.scss b/src/pages/search/index.module.scss new file mode 100644 index 0000000..3ead51e --- /dev/null +++ b/src/pages/search/index.module.scss @@ -0,0 +1,66 @@ +page { + background-color: #F2F8F6; + + .searchHeader { + margin-top: 10px; + padding: 0 20rpx; + display: flex; + align-items: center; + justify-content: space-between; + transition: all 200ms; + position: sticky; + z-index: 200 ; + overflow: hidden; + } + + .searchBox { + flex: 1; + height: 68rpx; + background: #FFFFFF; + border-radius: 32rpx; + box-sizing: border-box; + display: flex; + align-items: center; + padding: 0 24rpx; + + .input { + font-size: 28rpx; + margin-left: 20rpx; + flex: 1; + } + } + + .titleBox { + margin-top: 40rpx; + width: 100%; + display: flex; + box-sizing: border-box; + padding-right: 30rpx; + justify-content: space-between; + + .title { + font-size: 30rpx; + font-weight: bold; + color: #323635; + } + } + + .contentBox { + display: flex; + flex-wrap: wrap; + + .items { + display: inline-block; + background: #FFFFFF; + border-radius: 32rpx; + padding: 10rpx 24rpx; + font-size: 24rpx; + font-weight: 500; + color: #323635; + line-height: 24rpx; + margin-top: 24rpx; + margin-right: 24rpx; + } + } +} + diff --git a/src/pages/search/index.tsx b/src/pages/search/index.tsx new file mode 100644 index 0000000..60330d3 --- /dev/null +++ b/src/pages/search/index.tsx @@ -0,0 +1,154 @@ +import {Input, View, Text, PageContainer, Image} from "@tarojs/components"; +import {FC, useEffect, useMemo, useState} from "react"; +import styles from './index.module.scss' +import Taro from "@tarojs/taro"; +import {useDidShow} from '@tarojs/taro' +import SearchList from './components/list' +import NavigationBar from "@/components/navigationBar/navigationBar"; +import search from '@/static/img/search.png' +import del from '@/static/img/del.png' + + +const Search: FC = () => { + const [value, setValue] = useState('') + const [recentSearch, setRecentSearch] = useState([]) + const [hotSearch] = useState([]) + const [show, setShow] = useState(false) + const [focus, setFocus] = useState(false) + + + useDidShow(getRecentSearch) + + useEffect(() => { + !show && getRecentSearch() + }, [show]) + + function inpFn(e) { + setValue(e.detail.value) + } + + function clearSearch() { + Taro.removeStorageSync('recentSearch') + getRecentSearch() + Taro.showToast({title: '删除成功'}) + } + + function getRecentSearch() { + setRecentSearch(Taro.getStorageSync('recentSearch')) + } + + function getSearchItem(value) { + setValue(value) + setShow(true) + } + + function searchInput() { + if (value === "") return; + getSearchItem(value) + //记录最近搜索 + let recentSearch = Taro.getStorageSync('recentSearch') || []; + recentSearch.unshift(value); + Taro.setStorageSync('recentSearch', [...new Set(recentSearch)]) + } + + function cancelSearch(){ + setValue('') + setShow(false) + setFocus(false) + // Taro.navigateBack() + } + + + const searchStyles = useMemo((): React.CSSProperties | undefined => { + if (focus || show) { + return { + // transform: "translateY(-43px)", + // width: "100%", + } + } + }, [focus, show]) + + + return ( + + 搜索
+ } /> + + + + setFocus(true)} + onBlur={() => setFocus(false)} + className={styles.input} + placeholder={(focus || show) ? '' : "输入关键字搜索"} + type='text' + value={value} + confirmType='search' + onInput={inpFn} + onConfirm={searchInput}/> + + + 清空 + {/*{focus || show ? 取消 : null}*/} + + + + { + recentSearch.length >= 1 && !show && + + + 最近搜索 + + + + { + recentSearch.length > 0 && + recentSearch?.map(d => + + getSearchItem(d)} className="font-28">{d} + ) + } + + + } + { + hotSearch.length >= 1 && !show && + <> + + + 热门搜索 + + + + { + hotSearch.length && + hotSearch.map(d => + + { + getSearchItem(d) + }} className="font-28">{d} + ) + } + + + + } + + + {show && } + + + ) +} +export default Search diff --git a/src/static/css/module.scss b/src/static/css/module.scss index 38e89eb..11ea45d 100644 --- a/src/static/css/module.scss +++ b/src/static/css/module.scss @@ -101,3 +101,131 @@ taro-button-core::after { display: -webkit-box; -webkit-box-orient: vertical; } + +@-webkit-keyframes loading { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@keyframes loading { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +.at-loading { + display: inline-block; + position: relative; + width: 36rpx; + height: 36rpx; +} +.at-loading__ring { + -webkit-box-sizing: border-box; + box-sizing: border-box; + display: block; + position: absolute; + width: 36rpx; + height: 36rpx; + margin: 1PX; + border-width: 1PX; + border-style: solid; + border-color: #00d6ac transparent transparent transparent; + border-radius: 50%; + -webkit-animation: loading 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; + animation: loading 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; +} +.at-loading__ring:nth-child(1) { + -webkit-animation-delay: -0.45s; + animation-delay: -0.45s; +} +.at-loading__ring:nth-child(2) { + -webkit-animation-delay: -0.3s; + animation-delay: -0.3s; +} +.at-loading__ring:nth-child(3) { + -webkit-animation-delay: -0.15s; + animation-delay: -0.15s; +} +.at-activity-indicator__content{ + font-size: 28rpx; + color: #6c757d; +} + +//滑动组件样式 +.at-list { + background-color: rgba(0,0,0,0) !important; + position: relative; + width: 710rpx !important; +} +.at-swipe-action { + position: relative; + overflow: hidden; + width: 710rpx !important; + border-radius: 16rpx 16rpx 16rpx 16rpx; + overflow: hidden; + margin-bottom: 20rpx; +} +.at-swipe-action__area { + height: auto; +} +.at-swipe-action__content { + position: relative; + font-size: 32rpx; + background-color: #FFF; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 100%; + z-index: 2; +} +.at-swipe-action__content.animtion { + -webkit-transition: -webkit-transform 300ms cubic-bezier(0.36, 0.66, 0.04, 1); + transition: -webkit-transform 300ms cubic-bezier(0.36, 0.66, 0.04, 1); + transition: transform 300ms cubic-bezier(0.36, 0.66, 0.04, 1); + transition: transform 300ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 300ms cubic-bezier(0.36, 0.66, 0.04, 1); +} +.at-swipe-action__option { + -webkit-transition: background-color 0.3s; + transition: background-color 0.3s; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-align: center; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + padding: 0 32rpx; + height: 100%; + color: #FFF; + font-size: 28rpx; + width: 120rpx; + text-align: center; + background-color: #999; +} +.at-swipe-action__option:active { + background-color: #F0F0F0; +} +.at-swipe-action__options { + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-align: center; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: absolute; + top: 0; + right: 0; + height: 100%; + z-index: 1; + opacity: 0; +} diff --git a/src/static/img/arrow-right.png b/src/static/img/arrow-right.png deleted file mode 100644 index e2d4acc1cf8d0e44c1105be3443ba01775867ba8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2871 zcmW+&c_7qV8$Q1oV=~r6q)CGrvg9(Pkz_=fF-#fj$jz30Y3xSQ5Hq@2CN%c!qAa;3 zioWcURJhY9%Qc@iWGkwhTfXuAanAF{InR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GD3IaU!}4cA z$)4I1cTTyXWG1ymAwh&^8*i%4xevep$*cN3uef6U{no<$wQ{k)_4yy)^E~&mzrVWt zOa8-m`sZrbvhKQdtmX7R+Y6#+6uB>7OS7D^bNl6!4K@C8X$(E(PIEPnE_cwLFk6x# zcX4-^9drKEGL9>$ocEa5KiR~1CG<+$nl+0GcycXSj(_lUEtQboIieElA>`h-D%&g%{h@U1n<>_aUU7Jz_PAuoDjby02+rCf7^2BN& z+iio^eBT$RE;X0_d~>)_$I#@daZ72WmI3dRGVV>2a*|h^T+8ULwc@a+#`LQ^tF#P+ zGfpW=IK=bacJOueJ@Nk3QszqEZEPQ+{L(l~oMKBBAFsJL)xCtLXB*R8&hm5v_1-6m zeGxzYK0E2_xqZ9cnTQ{pnJV+28|z8insF|fSmX6^O7Y9n0Y*Ufo~EtG3fO#p6}r~X uWVz(wZNOQ>zm;Y3fv#zZQl+uchvX;!N^LI}k5dLlID@CFpUXO@geCx;H;n=S literal 0 HcmV?d00001 diff --git a/src/static/img/graySearch.png b/src/static/img/graySearch.png new file mode 100644 index 0000000000000000000000000000000000000000..41a86bcf72aec47c7f2faed306ade1df15328bba GIT binary patch literal 803 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA3?vioaBc-sjKx9jP7LeL$-D$|z6JP%xB_Vh z2Zw}&gwW7XAQ>4MnUazMWJIS#1IhTb_?YCFnB-&-J2gHQ%t%O0NK8wNPmYgGN=i&k zOaLlRPKXCe0m-DKxRk`il*EMOWDp}cF##w7BvX^(Q<4%=lR+pYDITN?NJ7{k6086y zn-rf6Vgr>y)PqP6N{$B#!bpg0d6!H* zMPW6Wwioxep6t+8KkKkPdVay>m)v&`eTkS+X8tJP+0AeFECaSZNi9m)Bl{{y*Oqx# z;~gKqFFos`Em`bNtz}o)#IpN<_0BcSovW%0`a?zg7OJ;Dkl+iQdf>(hRlSE(wc0i) zZ;!n(c`e`NfIP!9y*ipDPe03srM^5ot>)H+X{j6=YqllCPqRF+nvpq@q0+X!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&iHOD;f2wH(F&KFjqa&QxhBI-HFxXFl2v-57I{`L(973UJIJvLR zQ00Wa31$s{n@q|%lYOkPpXD>bM@>}=@kY!Wpfn@^BKwH+PCnMF!6ZEpUBfu>L?20* z2eDSd6fi{KFq5^}!)voK?Zv}GWZ)*tD_r5z^JdmMM;#}eVox-1?A2Ij!L58WF;{XV z3y?42;gIn-sHxU{U=W34%(MsfDh#tcpe3C4UY6ezCr@dcUzT`Ko8iDA&^S5)J1DU& z0d->|{b_!ED8Yp_zon_Xg{G)=_&FJfU}=N%Rbxvlzg>lAEnJ$bcu@(spDq1aU zMcWmAFU)oRDF6Tf07*qoM6N<$f?r?Ipa1{> literal 0 HcmV?d00001 diff --git a/src/static/img/meetingEnd.png b/src/static/img/meetingEnd.png new file mode 100644 index 0000000000000000000000000000000000000000..7e7863dea599cbb635e095d839968c799eb28fc5 GIT binary patch literal 4844 zcmVPx{rb$FWRCwC$T?v>RMHOBW55Nlrl}kYhpd25UAP6W3a>f7xa)>|x0S$LY6>CNaFvhtGcUu`^XW&dl59b9viZf^!Yd z4Z)MWso9L-nkVxPyBojznP!?N=AJjd*!2ISscHWF`5(~i;vpoMJhPs{&z1d!SlOxB z*2|i0&c@$%44t2a(S1;=_(W7hnF!|u}@c6~cDFNCI^ ztDXgBUXgd~DY$+P?pMIizL@*1gTPyGURCHSe0rl4ENKzfRL6QLLIBHg{vprIF*&9m zY}@unD}7GhwnxCsoDB0a0h9171pi*>S*z(;?RIhZjY6<(ZEYWSUpA;+(55AtZQRsu zSzoK|#FnxkddWJhAq5ME1^a4UiWhk;q(Oht9qU^|F(%8hK8wk| zj_h+_Ow4L6+V(yTBiy`Yjl|OI^t6?kYhh3Sgx`O;PMqte(B4Y~I&p>USnombx6U7c zd8+wgn&u~AM;}$RV|~G9GZz`g7wU1mnx=ga4)jMD=c~$?|DCgjW`!l&I@3Ie2B&Ck zDaY8sjj-Y%=uf~*+#WJzzatn~9|I(~Bm)5~wHyZ5)z$UkD%$g5ge(l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_V$tzE=aS&uPD0y_C5|9sdKjGfZ#v S2CXpw0000 = (props:TabLinkProps) => { let webExp= new RegExp(/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=]*)?/) if(webExp.test(props.url)){ //跳转webview - Taro.navigateTo({url:`/pages/preview/webView/webView?url=${props.url}`}) + Taro.navigateTo({url:`/pages/preview/webView/webView?url=${encodeURIComponent(props.url)}`}) }else{ //跳转小程序页面 } diff --git a/types/home.d.ts b/types/home.d.ts index 05ddf06..13f8de8 100644 --- a/types/home.d.ts +++ b/types/home.d.ts @@ -15,6 +15,7 @@ interface VideList { interface Brand { id: number brand_album: string + logo: string graphic_introduction: string name: string resource: Resource @@ -39,4 +40,5 @@ interface Illness { description: string name: string thumb:string + album: string }