commit 29038849228d71e187e40df95adfd8da83c04fc1 Author: zoujiandong <10130823232@qq.com> Date: Thu Aug 14 17:02:24 2025 +0800 first commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fcf83a6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,34 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +yarn.lock + +node_modules +uni_modules +unpackage +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? + +# node_modules +node_modules +package-lock.json +package-lock.json +components.d.ts diff --git a/App.vue b/App.vue new file mode 100644 index 0000000..6f1caaf --- /dev/null +++ b/App.vue @@ -0,0 +1,53 @@ + + + diff --git a/api/api.js b/api/api.js new file mode 100644 index 0000000..0d558ce --- /dev/null +++ b/api/api.js @@ -0,0 +1,27 @@ +import {request} from '@/utils/request.js' +const api = { + wxLogin(data) { + return request('/login/wechat/mobile', data, 'post', true); + }, + mobileLogin(data) { + return request('/login/mobile', data, 'post', true); + }, + getCode(data) { + return request('/code/phone', data, 'post', true); + }, + + // 视频相关API + getVideoList(data) { + return request('/video/list', data, 'get', true); + }, + getVideoDetail(data) { + return request('/video/detail', data, 'get', true); + }, + getBannerVideo(data) { + return request('/video/banner', data, 'get', true); + }, + +} + + +export default api \ No newline at end of file diff --git a/compoents/tabBar/tabBar.vue b/compoents/tabBar/tabBar.vue new file mode 100644 index 0000000..b027f00 --- /dev/null +++ b/compoents/tabBar/tabBar.vue @@ -0,0 +1,367 @@ + + + + + diff --git a/echart.html b/echart.html new file mode 100644 index 0000000..03a4b70 --- /dev/null +++ b/echart.html @@ -0,0 +1,246 @@ + + + + + + 地图下钻 + + + + + +
+
+
+
+ +
+
+
+ + + + diff --git a/index.html b/index.html new file mode 100644 index 0000000..c3ff205 --- /dev/null +++ b/index.html @@ -0,0 +1,20 @@ + + + + + + + + + + +
+ + + diff --git a/main.js b/main.js new file mode 100644 index 0000000..5ada26f --- /dev/null +++ b/main.js @@ -0,0 +1,34 @@ +import App from './App' +import uviewPlus, { setConfig } from 'uview-plus' +// #ifndef VUE3 +import Vue from 'vue' +import './uni.promisify.adaptor' +Vue.config.productionTip = false +App.mpType = 'app' +const app = new Vue({ + ...App +}) +app.$mount() +// #endif +// #ifdef VUE3 +import { createSSRApp } from 'vue' +export function createApp() { + const app = createSSRApp(App) + + app.use(uviewPlus, async() => { + return { + options: { + // 修改$u.config对象的属性 + config: { + // 修改默认单位为rpx,相当于执行 uni.$u.config.unit = 'rpx' + unit: 'rpx' + } + } + } + }) + + return { + app + } +} +// #endif diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..41063a0 --- /dev/null +++ b/manifest.json @@ -0,0 +1,66 @@ +{ + "name" : "uniapp", + "appid" : "__UNI__34144D0", + "description" : "", + "versionName" : "1.0.0", + "versionCode" : "100", + "transformPx" : false, + "app-plus" : { + /* 5+App特有相关 */ + "usingComponents" : true, + "nvueCompiler" : "uni-app", + "nvueStyleCompiler" : "uni-app", + "splashscreen" : { + "alwaysShowBeforeRender" : true, + "waiting" : true, + "autoclose" : true, + "delay" : 0 + }, + "modules" : { + "OAuth" : {} + }, + /* 模块配置 */ + "distribute" : { + /* 应用发布信息 */ + "android" : { + /* android打包配置 */ + "permissions" : [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + "ios" : {}, + /* ios打包配置 */ + "sdkConfigs" : { + "oauth" : { + "univerify" : {} + } + } + } + }, + /* SDK配置 */ + "quickapp" : {}, + /* 快应用特有相关 */ + "mp-weixin" : { + /* 小程序特有相关 */ + "appid" : "wx061c1f4e16a5f20f", + "setting" : { + "urlCheck" : false + }, + "usingComponents" : true + }, + "vueVersion" : "3" +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..5a9e5f5 --- /dev/null +++ b/package.json @@ -0,0 +1,17 @@ +{ + "name": "uniapp", + "version": "1.0.0", + "main": "main.js", + "scripts": { + "dev": "cross-env NODE_ENV=development uniapp-cli build --watch", + "test": "cross-env NODE_ENV=test uniapp-cli build", + "prod": "cross-env NODE_ENV=production uniapp-cli build" + }, + "keywords": [], + "author": "", + "license": "ISC", + "description": "", + "dependencies": { + "uview-plus": "^3.4.73" + } +} diff --git a/pages.json b/pages.json new file mode 100644 index 0000000..4c982f7 --- /dev/null +++ b/pages.json @@ -0,0 +1,158 @@ +{ + "easycom": { + "autoscan": true, + // 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175 + "custom": { + "^u--(.*)": "@/node_modules/uview-plus/components/u-$1/u-$1.vue", + "^up-(.*)": "@/node_modules/uview-plus/components/u-$1/u-$1.vue", + "^u-([^-].*)": "@/node_modules/uview-plus/components/u-$1/u-$1.vue" + + } + }, + "pages": [{ + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "app": { + "bounce": "none" + } + } + }, + { + "path": "pages/patientClass/patientClass", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, + { + "path": "pages/live/live", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, + { + "path": "pages/education/education", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, + { + "path": "pages/my/my", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + } + ], + "subPackages": [{ + "root": "pages_app", + "pages": [ + { + "path": "search/search", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, + { + "path": "login/login", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, + { + "path": "video/video", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, + { + "path": "zhinan/zhinan", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, + { + "path": "qikan/qikan", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, + { + "path": "smsLogin/smsLogin", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, + { + "path": "pwdLogin/pwdLogin", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + } + + ] + }], + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "uni-app", + "navigationBarBackgroundColor": "#F8F8F8", + "backgroundColor": "#F8F8F8", + "app-plus": { + "background": "#efeff4" + } + }, + "condition" : { //模式配置,仅开发期间生效 + "current": 0, //当前激活的模式(list 的索引项) + "list": [ + { + "name": "", //模式名称 + "path": "pages_app/login/login", //启动页面,必选 + "query": "" //启动参数,在页面的onLoad函数里面得到 + } + ] + } +} diff --git a/pages/education/education.vue b/pages/education/education.vue new file mode 100644 index 0000000..c36f4bf --- /dev/null +++ b/pages/education/education.vue @@ -0,0 +1,287 @@ + + + + + diff --git a/pages/index/index.vue b/pages/index/index.vue new file mode 100644 index 0000000..d21f897 --- /dev/null +++ b/pages/index/index.vue @@ -0,0 +1,1461 @@ + + + + + diff --git a/pages/live/live.vue b/pages/live/live.vue new file mode 100644 index 0000000..1a2595f --- /dev/null +++ b/pages/live/live.vue @@ -0,0 +1,807 @@ + + + + + diff --git a/pages/my/my.vue b/pages/my/my.vue new file mode 100644 index 0000000..5c404eb --- /dev/null +++ b/pages/my/my.vue @@ -0,0 +1,632 @@ + + + + + diff --git a/pages/patientClass/patientClass.vue b/pages/patientClass/patientClass.vue new file mode 100644 index 0000000..6cf2213 --- /dev/null +++ b/pages/patientClass/patientClass.vue @@ -0,0 +1,561 @@ + + + + + diff --git a/pages_app/login/login.vue b/pages_app/login/login.vue new file mode 100644 index 0000000..b988f2c --- /dev/null +++ b/pages_app/login/login.vue @@ -0,0 +1,607 @@ + + + + + + diff --git a/pages_app/news/news.vue b/pages_app/news/news.vue new file mode 100644 index 0000000..3989597 --- /dev/null +++ b/pages_app/news/news.vue @@ -0,0 +1,37 @@ + + + + + diff --git a/pages_app/pwdLogin/pwdLogin.vue b/pages_app/pwdLogin/pwdLogin.vue new file mode 100644 index 0000000..967287f --- /dev/null +++ b/pages_app/pwdLogin/pwdLogin.vue @@ -0,0 +1,487 @@ + + + + + \ No newline at end of file diff --git a/pages_app/qikan/qikan.vue b/pages_app/qikan/qikan.vue new file mode 100644 index 0000000..db087c1 --- /dev/null +++ b/pages_app/qikan/qikan.vue @@ -0,0 +1,694 @@ +