2025-TengHaoda-首次提交

This commit is contained in:
Teng 2025-02-18 17:11:31 +08:00
commit 2b0f99009a
147 changed files with 11593 additions and 0 deletions

17
App.vue Normal file
View File

@ -0,0 +1,17 @@
<script>
export default {
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style>
/*每个页面公共css */
</style>

20
index.html Normal file
View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<script>
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title></title>
<!--preload-links-->
<!--app-context-->
</head>
<body>
<div id="app"><!--app-html--></div>
<script type="module" src="/main.js"></script>
</body>
</html>

22
main.js Normal file
View File

@ -0,0 +1,22 @@
import App from './App'
// #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)
return {
app
}
}
// #endif

77
manifest.json Normal file
View File

@ -0,0 +1,77 @@
{
"name" : "hil",
"appid" : "",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
"transformPx" : false,
/* 5+App */
"app-plus" : {
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"screenOrientation": [
// "portrait-primary", //
// "landscape-primary", // home
"landscape-secondary" // home
],
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
/* */
"modules" : {},
/* */
"distribute" : {
/* android */
"android" : {
"permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
/* ios */
"ios" : {},
/* SDK */
"sdkConfigs" : {}
}
},
/* */
"quickapp" : {},
/* */
"mp-weixin" : {
"appid" : "",
"setting" : {
"urlCheck" : false
},
"usingComponents" : true
},
"mp-alipay" : {
"usingComponents" : true
},
"mp-baidu" : {
"usingComponents" : true
},
"mp-toutiao" : {
"usingComponents" : true
},
"uniStatistics" : {
"enable" : false
},
"vueVersion" : "3"
}

35
pages.json Normal file
View File

@ -0,0 +1,35 @@
{
"pages": [
//pageshttps://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationStyle": "custom",
"orientation": "landscape" //
}
},
{
"path": "pages/index/indexDark",
"style": {
"navigationStyle": "custom",
"orientation": "landscape" //
}
}
// {
// "path": "pages/login/login",
// "style": {
// "navigationBarTitleText": "注册页"
// }
// }
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app x",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {}
}

1210
pages/index/index.vue Normal file

File diff suppressed because it is too large Load Diff

1168
pages/index/indexDark.vue Normal file

File diff suppressed because it is too large Load Diff

19
request/api.js Normal file
View File

@ -0,0 +1,19 @@
// 引入 request 文件
import request from './index.js'
// 分页查询学习列表
// export const pageStudyInfo = (params) => {
// return request({
// url: '/study/studyInfo/page',
// method: 'get',
// data: params,
// header: {} // 自定义
// })
// }
// // 获取学习列表详细信息
// export const studyInfoById = (id) => {
// return request({
// url: `/study/studyInfo/${id}`,
// method: 'get',
// })
// }

93
request/index.js Normal file
View File

@ -0,0 +1,93 @@
// 全局请求封装
const base_url = 'http://localhost:996'
// 请求超出时间
const timeout = 5000
// 需要修改token和根据实际修改请求头
export default (params) => {
let url = params.url;
let method = params.method || "get";
let data = params.data || {};
let header = {
'Blade-Auth': uni.getStorageSync('token') || '',
'Content-Type': 'application/json;charset=UTF-8',
'Authorization': 'Basic c2FiZXI6c2FiZXJfc2VjcmV0',
'Tenant-Id': uni.getStorageSync('tenantId') || 'xxx', // avue配置相关
...params.header
}
if (method == "post") {
header = {
'Content-Type': 'multipart/form-data' // 自定义,跟后台约定好传什么格式的
};
}
return new Promise((resolve, reject) => {
uni.request({
url: base_url + url,
method: method,
header: header,
data: data,
timeout,
success(response) {
const res = response
// 根据返回的状态码做出对应的操作
//获取成功
// console.log(res.statusCode);
if (res.statusCode == 200) {
resolve(res.data);
} else {
uni.clearStorageSync()
switch (res.statusCode) {
case 401:
uni.showModal({
title: "提示",
content: "请登录",
showCancel: false,
success() {
setTimeout(() => {
uni.navigateTo({
url: "/pages/login/login",
})
}, 1000);
},
});
break;
case 404:
uni.showToast({
title: '请求地址不存在...',
duration: 2000,
})
break;
default:
uni.showToast({
title: '请重试...',
duration: 2000,
})
break;
}
}
},
fail(err) {
console.log(err)
if (err.errMsg.indexOf('request:fail') !== -1) {
uni.showToast({
title: '网络异常',
icon: "error",
duration: 2000
})
} else {
uni.showToast({
title: '未知异常',
duration: 2000
})
}
reject(err);
},
complete() {
// 不管成功还是失败都会执行
uni.hideLoading();
uni.hideToast();
}
});
}).catch(() => {});
};

BIN
static/index/arrow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
static/index/arrow2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
static/index/background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

BIN
static/index/daizhixing.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
static/index/hulilei.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
static/index/laba.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

BIN
static/index/lefticon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
static/index/lightbgc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
static/index/oldman.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
static/index/project.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 KiB

BIN
static/index/project3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

BIN
static/index/ray.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
static/index/rightbgi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 671 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
static/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

17
store/index.js Normal file
View File

@ -0,0 +1,17 @@
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
export default new Vuex.Store({
state: {
isDarkMode: false // 默认白天模式
},
mutations: {
toggleTheme(state) {
state.isDarkMode = !state.isDarkMode
// 保存到本地存储
uni.setStorageSync('THEME_MODE', state.isDarkMode)
}
}
})

13
uni.promisify.adaptor.js Normal file
View File

@ -0,0 +1,13 @@
uni.addInterceptor({
returnValue (res) {
if (!(!!res && (typeof res === "object" || typeof res === "function") && typeof res.then === "function")) {
return res;
}
return new Promise((resolve, reject) => {
res.then((res) => {
if (!res) return resolve(res)
return res[0] ? reject(res[0]) : resolve(res[1])
});
});
},
});

76
uni.scss Normal file
View File

@ -0,0 +1,76 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
$uni-color-primary: #007aff;
$uni-color-success: #4cd964;
$uni-color-warning: #f0ad4e;
$uni-color-error: #dd524d;
/* 文字基本颜色 */
$uni-text-color:#333;//基本色
$uni-text-color-inverse:#fff;//反色
$uni-text-color-grey:#999;//辅助灰色如加载更多的提示信息
$uni-text-color-placeholder: #808080;
$uni-text-color-disable:#c0c0c0;
/* 背景颜色 */
$uni-bg-color:#ffffff;
$uni-bg-color-grey:#f8f8f8;
$uni-bg-color-hover:#f1f1f1;//点击状态颜色
$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色
/* 边框颜色 */
$uni-border-color:#c8c7cc;
/* 尺寸变量 */
/* 文字尺寸 */
$uni-font-size-sm:12px;
$uni-font-size-base:14px;
$uni-font-size-lg:16px;
/* 图片尺寸 */
$uni-img-size-sm:20px;
$uni-img-size-base:26px;
$uni-img-size-lg:40px;
/* Border Radius */
$uni-border-radius-sm: 2px;
$uni-border-radius-base: 3px;
$uni-border-radius-lg: 6px;
$uni-border-radius-circle: 50%;
/* 水平间距 */
$uni-spacing-row-sm: 5px;
$uni-spacing-row-base: 10px;
$uni-spacing-row-lg: 15px;
/* 垂直间距 */
$uni-spacing-col-sm: 4px;
$uni-spacing-col-base: 8px;
$uni-spacing-col-lg: 12px;
/* 透明度 */
$uni-opacity-disabled: 0.3; // 组件禁用态的透明度
/* 文章场景相关 */
$uni-color-title: #2C405A; // 文章标题颜色
$uni-font-size-title:20px;
$uni-color-subtitle: #555555; // 二级标题颜色
$uni-font-size-subtitle:26px;
$uni-color-paragraph: #3F536E; // 文章段落颜色
$uni-font-size-paragraph:15px;

View File

@ -0,0 +1,8 @@
{
"hash": "8b32d2fb",
"configHash": "e24a12a6",
"lockfileHash": "e3b0c442",
"browserHash": "6cbe70c8",
"optimized": {},
"chunks": {}
}

View File

@ -0,0 +1,3 @@
{
"type": "module"
}

11
unpackage/dist/dev/.nvue/app.css.js vendored Normal file
View File

@ -0,0 +1,11 @@
var __getOwnPropNames = Object.getOwnPropertyNames;
var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
var require_app_css = __commonJS({
"app.css.js"(exports) {
const _style_0 = {};
exports.styles = [_style_0];
}
});
export default require_app_css();

2
unpackage/dist/dev/.nvue/app.js vendored Normal file
View File

@ -0,0 +1,2 @@
Promise.resolve("./app.css.js").then(() => {
});

View File

@ -0,0 +1 @@
{"version":3,"file":"app.js","sources":["App.vue"],"sourcesContent":["<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t/*每个页面公共css */\r\n</style>\n"],"names":["uni"],"mappings":";;;;;;AACC,MAAK,YAAU;AAAA,EACd,UAAU,WAAW;AACpBA,kBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;;;;;;;;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"assets.js","sources":["static/index/oldman.png"],"sourcesContent":["export default \"__VITE_ASSET__71faa3fc__\""],"names":[],"mappings":";AAAA,MAAe,aAAA;;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>View</title>
<link rel="icon" href="data:,">
<link rel="stylesheet" href="app.css" />
<script>var __uniConfig = {"globalStyle":{},"darkmode":false}</script>
<script>
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
</head>
<body>
<div id="app"></div>
<script src="uni-app-view.umd.js"></script>
</body>
</html>

View File

@ -0,0 +1,11 @@
;(function(){
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app x","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"hil","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.45","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"orientation":"landscape","navigationBar":{"style":"custom","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
__uniConfig.styles=[];//styles
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:16})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:u,window:u,document:u,frames:u,self:u,location:u,navigator:u,localStorage:u,history:u,Caches:u,screen:u,alert:u,confirm:u,prompt:u,fetch:u,XMLHttpRequest:u,WebSocket:u,webkit:u,print:u}}}});
})();

View File

@ -0,0 +1 @@
(function(){})();

View File

@ -0,0 +1,207 @@
if (typeof Promise !== "undefined" && !Promise.prototype.finally) {
Promise.prototype.finally = function(callback) {
const promise = this.constructor;
return this.then(
(value) => promise.resolve(callback()).then(() => value),
(reason) => promise.resolve(callback()).then(() => {
throw reason;
})
);
};
}
;
if (typeof uni !== "undefined" && uni && uni.requireGlobal) {
const global = uni.requireGlobal();
ArrayBuffer = global.ArrayBuffer;
Int8Array = global.Int8Array;
Uint8Array = global.Uint8Array;
Uint8ClampedArray = global.Uint8ClampedArray;
Int16Array = global.Int16Array;
Uint16Array = global.Uint16Array;
Int32Array = global.Int32Array;
Uint32Array = global.Uint32Array;
Float32Array = global.Float32Array;
Float64Array = global.Float64Array;
BigInt64Array = global.BigInt64Array;
BigUint64Array = global.BigUint64Array;
}
;
if (uni.restoreGlobal) {
uni.restoreGlobal(Vue, weex, plus, setTimeout, clearTimeout, setInterval, clearInterval);
}
(function(vue) {
"use strict";
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
__name: "index",
setup(__props, { expose: __expose }) {
__expose();
const iconList = vue.ref([
{ url: "/static/index/lefticon/index.png", targetUrl: "/static/index/lefticontarget/blueindex.png" },
{ url: "/static/index/lefticon/nurse.png", targetUrl: "/static/index/lefticontarget/bluenurse.png" },
{ url: "/static/index/lefticon/doctor.png", targetUrl: "/static/index/lefticontarget/bluedoctor.png" },
{ url: "/static/index/lefticon/wifi.png", targetUrl: "/static/index/lefticontarget/bluewifi.png" },
{ url: "/static/index/lefticon/back.png", targetUrl: "/static/index/lefticontarget/blueback.png" }
]);
const menuIndex = vue.ref(0);
const changeMenu = (index) => {
menuIndex.value = index;
};
vue.onMounted(() => {
});
const __returned__ = { iconList, menuIndex, changeMenu };
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
return __returned__;
}
});
const _imports_0 = "/static/index/oldman.png";
const _export_sfc = (sfc, props) => {
const target = sfc.__vccOpts || sfc;
for (const [key, val] of props) {
target[key] = val;
}
return target;
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_font = vue.resolveComponent("font");
return vue.openBlock(), vue.createElementBlock("view", { class: "background-container" }, [
vue.createElementVNode("view", { class: "left-container" }, [
vue.createElementVNode("view", { class: "left-head" }, [
vue.createElementVNode("image", {
class: "left-head-img",
src: _imports_0
}),
vue.createElementVNode("text", { class: "left-head-font" }, " 王金凤 ")
]),
vue.createElementVNode("view", { class: "left-img-container" }, [
(vue.openBlock(true), vue.createElementBlock(
vue.Fragment,
null,
vue.renderList($setup.iconList, (item, index) => {
return vue.openBlock(), vue.createElementBlock("view", {
key: index,
onClick: ($event) => $setup.changeMenu(index),
class: "blue-circle-pos"
}, [
vue.createCommentVNode(" uniapp x 不支持这种写法,只能用笨方法写 "),
vue.withDirectives(vue.createElementVNode(
"view",
{ class: "blue-circle" },
[
vue.createElementVNode("image", {
class: "blue-circle-size",
src: `/static/index/ray.png`
}, null, 8, ["src"])
],
512
/* NEED_PATCH */
), [
[vue.vShow, index === $setup.menuIndex]
]),
vue.createElementVNode("image", {
class: "left-img",
src: index === $setup.menuIndex ? item.targetUrl : item.url
}, null, 8, ["src"])
], 8, ["onClick"]);
}),
128
/* KEYED_FRAGMENT */
))
])
]),
vue.createElementVNode("view", { class: "right-container" }, [
vue.createElementVNode("view", { class: "right-container-title" }, [
vue.createElementVNode("text", { class: "right-container-title-no" }, " N00123456 "),
vue.createElementVNode("text", { class: "right-container-title-class" }, " 护理单元01 ")
]),
vue.createElementVNode("view", { class: "right-container-fir" }, [
vue.createElementVNode("view", { class: "right-container-fir-left" }, [
vue.createElementVNode("view", { class: "right-container-fir-left-card" }, [
vue.createElementVNode("image", {
class: "right-container-fir-left-card-hulilei",
src: `/static/index/hulilei.png`
}, null, 8, ["src"]),
vue.createVNode(_component_font, { class: "right-container-fir-left-card-hulilei-font" }, {
default: vue.withCtx(() => [
vue.createTextVNode("护理类")
]),
_: 1
/* STABLE */
}),
vue.createElementVNode("view", { class: "right-container-fir-left-card-main" }, [
vue.createElementVNode("image", {
class: "right-container-fir-left-card-main-left",
src: `/static/index/lefticon.png`
}, null, 8, ["src"]),
vue.createElementVNode("view", { class: "right-container-fir-left-card-card" }, [
vue.createCommentVNode(' <view class="right-container-fir-left-card-zhixing">\r\n <image class="right-container-fir-left-card-zhixing-img" :src="`/static/index/daizhixing.png`" />\r\n \r\n </view> '),
vue.createElementVNode("view", { class: "right-container-fir-left-card-zhixing" }, [
vue.createElementVNode("image", {
class: "right-container-fir-left-card-zhixing-img",
src: `/static/index/daizhixing.png`
}, null, 8, ["src"]),
vue.createVNode(_component_font, { class: "right-container-fir-left-card-zhixing-font" }, {
default: vue.withCtx(() => [
vue.createTextVNode("待执行")
]),
_: 1
/* STABLE */
})
]),
vue.createElementVNode("image", {
class: "right-container-fir-left-card-img",
src: `/static/index/project.png`
}, null, 8, ["src"]),
vue.createElementVNode("view", { class: "" }, [
vue.createElementVNode("image", {
class: "right-container-fir-left-card-main-laba",
src: `/static/index/laba.png`
}, null, 8, ["src"]),
vue.createElementVNode("text", { class: "right-container-fir-left-card-main-font" }, " 准备洁具(口腔) ")
])
]),
vue.createElementVNode("view", { class: "split-line" }),
vue.createElementVNode("view", { class: "time-font" }, " 10:00 - 10:10 ")
])
])
]),
vue.createElementVNode("view", { class: "right-container-fir-right" })
])
])
]);
}
const PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__scopeId", "data-v-1cf27b2a"], ["__file", "D:/hldy_app/pages/index/index.vue"]]);
__definePage("pages/index/index", PagesIndexIndex);
function formatAppLog(type, filename, ...args) {
if (uni.__log__) {
uni.__log__(type, filename, ...args);
} else {
console[type].apply(console, [...args, filename]);
}
}
const _sfc_main = {
onLaunch: function() {
formatAppLog("log", "at App.vue:4", "App Launch");
},
onShow: function() {
formatAppLog("log", "at App.vue:7", "App Show");
},
onHide: function() {
formatAppLog("log", "at App.vue:10", "App Hide");
}
};
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "D:/hldy_app/App.vue"]]);
function createApp() {
const app = vue.createVueApp(App);
return {
app
};
}
const { app: __app__, Vuex: __Vuex__, Pinia: __Pinia__ } = createApp();
uni.Vuex = __Vuex__;
uni.Pinia = __Pinia__;
__app__.provide("__globalStyles", __uniConfig.styles);
__app__._component.mpType = "app";
__app__._component.render = () => {
};
__app__.mount("#app");
})(Vue);

4
unpackage/dist/dev/app-plus/app.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,110 @@
{
"@platforms": [
"android",
"iPhone",
"iPad"
],
"id": "",
"name": "hil",
"version": {
"name": "1.0.0",
"code": "100"
},
"description": "",
"developer": {
"name": "",
"email": "",
"url": ""
},
"permissions": {
"UniNView": {
"description": "UniNView原生渲染"
}
},
"plus": {
"useragent": {
"value": "uni-app",
"concatenate": true
},
"splashscreen": {
"target": "id:1",
"autoclose": true,
"waiting": true,
"delay": 0
},
"popGesture": "close",
"launchwebview": {
"render": "always",
"id": "1",
"kernel": "WKWebview"
},
"usingComponents": true,
"nvueStyleCompiler": "uni-app",
"compilerVersion": 3,
"distribute": {
"google": {
"permissions": [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
"apple": {},
"plugins": {
"audio": {
"mp3": {
"description": "Android平台录音支持MP3格式文件"
}
}
}
},
"statusbar": {
"immersed": "supportedDevice",
"style": "dark",
"background": "#F8F8F8"
},
"uniStatistics": {
"enable": false
},
"allowsInlineMediaPlayback": true,
"uni-app": {
"control": "uni-v3",
"vueVersion": "3",
"compilerVersion": "4.45",
"nvueCompiler": "uni-app",
"renderer": "auto",
"nvue": {
"flex-direction": "column"
},
"nvueLaunchMode": "normal",
"webView": {
"minUserAgentVersion": "49.0"
}
}
},
"app-harmony": {
"useragent": {
"value": "uni-app",
"concatenate": true
},
"uniStatistics": {
"enable": false
}
},
"screenOrientation": [
"landscape-secondary"
],
"launch_path": "__uniappview.html"
}

View File

@ -0,0 +1,193 @@
.background-container[data-v-1cf27b2a] {
display: flex;
position: relative;
width: 100%;
height: 100vh;
background-image: url('../../static/index/lightbgc.png');
background-size: cover;
background-position: center center;
overflow: hidden;
}
.right-container[data-v-1cf27b2a] {
width: 100%;
height: 100vh;
}
.right-container .right-container-fir[data-v-1cf27b2a] {
width: 100%;
height: 28.125rem;
display: flex;
}
.right-container .right-container-fir .right-container-fir-left[data-v-1cf27b2a] {
width: 60%;
height: 28.125rem;
border-radius: 2.5rem;
/* 圆角 */
position: relative;
/* 使用背景来模拟边框 */
background-image: linear-gradient(45deg, #A496E8, #777CCC, #FAFDFF, #8BC5ED, #B8C5DD, #BBC8DD);
background-origin: border-box;
/* 背景从边框开始 */
background-clip: content-box;
/* 使背景只填充在边框内,而不覆盖内容区域 */
padding: 0.15625rem;
/* 留出足够的空间来呈现渐变边框 */
/* 增加背景色确保视觉效果 */
background-color: rgba(255, 255, 255, 0.1);
/* 内部背景色 */
box-sizing: border-box;
/* 包括边框在内计算宽高 */
}
.right-container .right-container-fir .right-container-fir-left .right-container-fir-left-card[data-v-1cf27b2a] {
position: absolute;
top: 1%;
left: 0.5%;
width: 99%;
height: 98%;
border-radius: 2.5rem;
background-color: #c3d3e9;
}
.right-container .right-container-fir .right-container-fir-left .right-container-fir-left-card .right-container-fir-left-card-main[data-v-1cf27b2a] {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
margin-top: 1.875rem;
}
.right-container .right-container-fir .right-container-fir-left .right-container-fir-left-card .right-container-fir-left-card-main .time-font[data-v-1cf27b2a] {
font-size: 4.40625rem;
}
.right-container .right-container-fir .right-container-fir-left .right-container-fir-left-card .right-container-fir-left-card-main .right-container-fir-left-card-card[data-v-1cf27b2a] {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
position: relative;
}
.right-container .right-container-fir .right-container-fir-left .right-container-fir-left-card .right-container-fir-left-card-main .right-container-fir-left-card-card .right-container-fir-left-card-zhixing[data-v-1cf27b2a] {
position: absolute;
top: -0.15625rem;
left: 17.1875rem;
}
.right-container .right-container-fir .right-container-fir-left .right-container-fir-left-card .right-container-fir-left-card-main .right-container-fir-left-card-card .right-container-fir-left-card-zhixing-font[data-v-1cf27b2a] {
position: absolute;
top: 0.3125rem;
left: 1.40625rem;
width: 6.25rem;
font-size: 1.15625rem;
color: #fff;
z-index: 10;
}
.right-container .right-container-fir .right-container-fir-left .right-container-fir-left-card .right-container-fir-left-card-main .right-container-fir-left-card-card .right-container-fir-left-card-zhixing-img[data-v-1cf27b2a] {
width: 5.90625rem;
height: 2.40625rem;
z-index: 9;
}
.right-container .right-container-fir .right-container-fir-left .right-container-fir-left-card .right-container-fir-left-card-main .right-container-fir-left-card-card .right-container-fir-left-card-main-font[data-v-1cf27b2a] {
font-size: 2.0625rem;
font-weight: 200;
}
.right-container .right-container-fir .right-container-fir-left .right-container-fir-left-card .right-container-fir-left-card-main .right-container-fir-left-card-card .right-container-fir-left-card-main-laba[data-v-1cf27b2a] {
width: 3.125rem;
height: 3.125rem;
position: absolute;
top: 16.875rem;
left: 0;
}
.right-container .right-container-fir .right-container-fir-left .right-container-fir-left-card .right-container-fir-left-card-main .right-container-fir-left-card-card .right-container-fir-left-card-img[data-v-1cf27b2a] {
width: 23.0625rem;
height: 17.0625rem;
}
.right-container .right-container-fir .right-container-fir-left .right-container-fir-left-card .right-container-fir-left-card-main .right-container-fir-left-card-main-left[data-v-1cf27b2a] {
height: 6.25rem;
width: 3.125rem;
margin-right: 0.9375rem;
}
.right-container .right-container-fir .right-container-fir-left .right-container-fir-left-card .right-container-fir-left-card-hulilei[data-v-1cf27b2a] {
position: absolute;
top: 2.5rem;
left: -0.46875rem;
width: 9.84375rem;
height: 3.25rem;
}
.right-container .right-container-fir .right-container-fir-left .right-container-fir-left-card .right-container-fir-left-card-hulilei-font[data-v-1cf27b2a] {
position: absolute;
top: 2.8125rem;
left: 1.71875rem;
font-size: 1.5625rem;
color: #fff;
}
.right-container .right-container-fir .right-container-fir-right[data-v-1cf27b2a] {
margin-top: 0.1875rem;
margin-left: 2%;
margin-right: 3%;
width: 35%;
height: 28.125rem;
border-radius: 2.5rem;
border: 0.03125rem solid #fff;
}
.right-container .right-container-title[data-v-1cf27b2a] {
margin-top: 3.96875rem;
margin-bottom: 2.28125rem;
}
.right-container .right-container-title .right-container-title-no[data-v-1cf27b2a] {
font-size: 1.8125rem;
}
.right-container .right-container-title .right-container-title-class[data-v-1cf27b2a] {
font-size: 1.8125rem;
font-weight: 800;
margin-left: 0.625rem;
}
.left-container[data-v-1cf27b2a] {
width: 17.5625rem;
height: 100%;
}
.left-container .blue-circle-pos[data-v-1cf27b2a] {
position: relative;
}
.left-container .blue-circle-pos .blue-circle[data-v-1cf27b2a] {
position: absolute;
top: -3.125rem;
left: -6.25rem;
}
.left-container .blue-circle-pos .blue-circle .blue-circle-size[data-v-1cf27b2a] {
width: 10.9375rem;
height: 18.75rem;
}
.left-container .left-head[data-v-1cf27b2a] {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.left-container .left-head .left-head-img[data-v-1cf27b2a] {
width: 8.3125rem;
height: 8.3125rem;
margin-top: 3.9375rem;
}
.left-container .left-head .left-head-font[data-v-1cf27b2a] {
font-weight: 700;
font-size: 2.28125rem;
}
.left-container .left-img-container[data-v-1cf27b2a] {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.left-container .left-img-container .left-img[data-v-1cf27b2a] {
width: 5.625rem;
height: 5.625rem;
margin-top: 4.6875rem;
}
.split-line[data-v-1cf27b2a] {
width: 1px;
/* 线条的宽度 */
height: 9.375rem;
/* 高度占满父容器 */
background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, gray 50%, rgba(0, 0, 0, 0) 100%);
margin-left: 0.9375rem;
/* 上面到下面的渐变效果
- 从透明到黑色再从黑色到透明
- 渐变的范围50%处为渐变的中心顶部和底部是透明的 */
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Some files were not shown because too many files have changed in this diff Show More