1123
This commit is contained in:
parent
43e006d151
commit
f913f5c28d
10
App.vue
10
App.vue
@ -17,6 +17,16 @@
|
|||||||
onLaunch: function() {
|
onLaunch: function() {
|
||||||
},
|
},
|
||||||
onShow: function() {
|
onShow: function() {
|
||||||
|
uni.getNetworkType({
|
||||||
|
success:(res)=> {
|
||||||
|
if(res.networkType==='none') {
|
||||||
|
uni.redirectTo({
|
||||||
|
url: '/pages/networko/index'
|
||||||
|
})
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
uni.onNetworkStatusChange(this.networkStatusChange);
|
uni.onNetworkStatusChange(this.networkStatusChange);
|
||||||
},
|
},
|
||||||
onHide: function() {
|
onHide: function() {
|
||||||
|
@ -122,13 +122,13 @@
|
|||||||
},
|
},
|
||||||
"splashscreen" : {
|
"splashscreen" : {
|
||||||
"useOriginalMsgbox" : true,
|
"useOriginalMsgbox" : true,
|
||||||
"androidStyle" : "default",
|
"androidStyle" : "common",
|
||||||
"android" : {
|
"android" : {
|
||||||
"hdpi" : "static/image/sy.png",
|
"hdpi" : "static/image/sy.png",
|
||||||
"xhdpi" : "static/image/sy.png",
|
"xhdpi" : "static/image/sy.png",
|
||||||
"xxhdpi" : "static/image/sy.png"
|
"xxhdpi" : "static/image/sy.png"
|
||||||
},
|
},
|
||||||
"iosStyle" : "storyboard",
|
"iosStyle" : "common",
|
||||||
"ios" : {
|
"ios" : {
|
||||||
"storyboard" : "files/CustomStoryboard.zip"
|
"storyboard" : "files/CustomStoryboard.zip"
|
||||||
}
|
}
|
||||||
|
25
pages.json
25
pages.json
@ -1,21 +1,20 @@
|
|||||||
{
|
{
|
||||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||||
|
|
||||||
{
|
|
||||||
"path": "pages/index/index",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "uni-app",
|
|
||||||
"navigationStyle": "custom"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path" : "pages/networko/index",
|
"path": "pages/index/index",
|
||||||
"style" :
|
"style": {
|
||||||
|
"navigationBarTitleText": "uni-app",
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"navigationBarTitleText": "uni-app",
|
"path" : "pages/networko/index",
|
||||||
"navigationStyle": "custom"
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "uni-app",
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
|
|
||||||
<web-view class="webview" @message="webLoad" style="flex: 1;" ref="webViewRef" :src="config.h5Url"></web-view>
|
<web-view class="webview" @message="webLoad" style="flex: 1;" ref="webViewRef" :src="config.h5Url"></web-view>
|
||||||
|
<uvNoNetwork></uvNoNetwork>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import uvNoNetwork from "../../uni_modules/uv-no-network/components/uv-no-network/uv-no-network.vue";
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import config from "../../config";
|
import config from "../../config";
|
||||||
import { onShow, onHide } from "@dcloudio/uni-app";
|
import { onShow, onHide } from "@dcloudio/uni-app";
|
||||||
@ -47,9 +48,7 @@ permissionListener.onComplete((e) => {
|
|||||||
//解决ios的h5问题,获取网络权限之后,重新加载
|
//解决ios的h5问题,获取网络权限之后,重新加载
|
||||||
|
|
||||||
const webViewObj=ref(null)
|
const webViewObj=ref(null)
|
||||||
|
|
||||||
const webLoad=(e)=>{
|
const webLoad=(e)=>{
|
||||||
|
|
||||||
const h5SendString=e.detail.data?.[0]?.action
|
const h5SendString=e.detail.data?.[0]?.action
|
||||||
switch (h5SendString) {
|
switch (h5SendString) {
|
||||||
//webview初始化加载完成
|
//webview初始化加载完成
|
||||||
|
@ -31,10 +31,9 @@
|
|||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<view class="uv-no-network__retry">
|
<view class="uv-no-network__retry">
|
||||||
<uv-button
|
<uv-button
|
||||||
size="mini"
|
style="width: 220rpx"
|
||||||
text="重试"
|
text="重试"
|
||||||
type="primary"
|
type="primary"
|
||||||
plain
|
|
||||||
@click="retry"
|
@click="retry"
|
||||||
></uv-button>
|
></uv-button>
|
||||||
</view>
|
</view>
|
||||||
@ -71,7 +70,6 @@
|
|||||||
uni.onNetworkStatusChange((res) => {
|
uni.onNetworkStatusChange((res) => {
|
||||||
this.isConnected = res.isConnected
|
this.isConnected = res.isConnected
|
||||||
this.networkType = res.networkType
|
this.networkType = res.networkType
|
||||||
|
|
||||||
this.emitEvent(this.networkType)
|
this.emitEvent(this.networkType)
|
||||||
})
|
})
|
||||||
uni.getNetworkType({
|
uni.getNetworkType({
|
||||||
|
2
unpackage/cache/appleConfig.ini
vendored
2
unpackage/cache/appleConfig.ini
vendored
@ -5,7 +5,7 @@ appleAppid=com.fonchain.attendance
|
|||||||
appstore=70695af7d1a0be20d1ba633bf98ec76e
|
appstore=70695af7d1a0be20d1ba633bf98ec76e
|
||||||
|
|
||||||
[iosStyle]
|
[iosStyle]
|
||||||
iosStyle=storyboard
|
iosStyle=common
|
||||||
|
|
||||||
[universalLinks]
|
[universalLinks]
|
||||||
universalLinks=
|
universalLinks=
|
||||||
|
4
unpackage/cache/certdataios
vendored
4
unpackage/cache/certdataios
vendored
@ -1,3 +1,3 @@
|
|||||||
iosProfile=D:/WebstormProjects/oa-base/files/ios/oa_dev_20240516.mobileprovision
|
iosProfile=D:/WebstormProjects/oa-base/files/ios/oaapp20240709_dis.mobileprovision
|
||||||
ioscertFile=D:/WebstormProjects/oa-base/files/ios/20230714_dev.p12
|
ioscertFile=D:/WebstormProjects/oa-base/files/ios/20230714_dis.p12
|
||||||
ioscertPassword=uecGPNMV8s+KLcdEgW/MRg==
|
ioscertPassword=uecGPNMV8s+KLcdEgW/MRg==
|
||||||
|
@ -1 +1 @@
|
|||||||
{"dir":"/Users/seaman/srv/bdserver.dcloud.net.cn/service/storage/app/package/IOS/queue/f5909180-3dcd-11ef-bddf-c55225574c98/wgtRoot/__UNI__4796942/"}
|
{"dir":"/Users/seaman/srv/bdserver.dcloud.net.cn/service/storage/app/package/IOS/queue/6d4c72f0-3ddd-11ef-9f63-79c2a8bb44e9/wgtRoot/__UNI__4796942/"}
|
Binary file not shown.
@ -2,7 +2,7 @@
|
|||||||
;(function(){
|
;(function(){
|
||||||
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
|
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
|
||||||
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"oa考勤系统","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.15","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
|
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"oa考勤系统","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.15","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,"navigationBar":{"titleText":"uni-app","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/networko/index","meta":{"navigationBar":{"titleText":"","style":"custom","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
|
const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"uni-app","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/networko/index","meta":{"navigationBar":{"titleText":"uni-app","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.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.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()})}});
|
__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()})}});
|
||||||
|
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.
@ -2,7 +2,7 @@
|
|||||||
;(function(){
|
;(function(){
|
||||||
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
|
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
|
||||||
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"oa考勤系统","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.15","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
|
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"oa考勤系统","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.15","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,"navigationBar":{"titleText":"uni-app","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/networko/index","meta":{"navigationBar":{"titleText":"","style":"custom","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
|
const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"uni-app","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/networko/index","meta":{"navigationBar":{"titleText":"uni-app","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.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.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()})}});
|
__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()})}});
|
||||||
|
2
unpackage/dist/build/app-plus/app-service.js
vendored
2
unpackage/dist/build/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
4
unpackage/dist/build/app-plus/manifest.json
vendored
4
unpackage/dist/build/app-plus/manifest.json
vendored
@ -79,13 +79,13 @@
|
|||||||
},
|
},
|
||||||
"splashscreen": {
|
"splashscreen": {
|
||||||
"useOriginalMsgbox": true,
|
"useOriginalMsgbox": true,
|
||||||
"androidStyle": "default",
|
"androidStyle": "common",
|
||||||
"android": {
|
"android": {
|
||||||
"hdpi": "static/image/sy.png",
|
"hdpi": "static/image/sy.png",
|
||||||
"xhdpi": "static/image/sy.png",
|
"xhdpi": "static/image/sy.png",
|
||||||
"xxhdpi": "static/image/sy.png"
|
"xxhdpi": "static/image/sy.png"
|
||||||
},
|
},
|
||||||
"iosStyle": "storyboard",
|
"iosStyle": "common",
|
||||||
"ios": {
|
"ios": {
|
||||||
"storyboard": "files/CustomStoryboard.zip"
|
"storyboard": "files/CustomStoryboard.zip"
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
165
unpackage/dist/dev/app-plus/app-service.js
vendored
165
unpackage/dist/dev/app-plus/app-service.js
vendored
@ -32,26 +32,7 @@ if (uni.restoreGlobal) {
|
|||||||
(function(vue) {
|
(function(vue) {
|
||||||
"use strict";
|
"use strict";
|
||||||
var _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
var _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
||||||
const env = "prod";
|
const mpMixin = {};
|
||||||
const configs = {
|
|
||||||
LocalTest: {
|
|
||||||
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
|
|
||||||
h5Url: "http://192.168.88.53:8080/#/"
|
|
||||||
},
|
|
||||||
dev: {
|
|
||||||
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
|
|
||||||
h5Url: "http://192.168.88.50:8080/#/"
|
|
||||||
},
|
|
||||||
test: {
|
|
||||||
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
|
|
||||||
h5Url: "http://114.218.158.24:8042/#/"
|
|
||||||
},
|
|
||||||
prod: {
|
|
||||||
apiBaseUrl: "https://oa-b.szjixun.cn/api",
|
|
||||||
h5Url: "https://oa-b.szjixun.cn/#/"
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const config = configs[env];
|
|
||||||
function formatAppLog(type, filename, ...args) {
|
function formatAppLog(type, filename, ...args) {
|
||||||
if (uni.__log__) {
|
if (uni.__log__) {
|
||||||
uni.__log__(type, filename, ...args);
|
uni.__log__(type, filename, ...args);
|
||||||
@ -62,45 +43,6 @@ if (uni.restoreGlobal) {
|
|||||||
function resolveEasycom(component, easycom) {
|
function resolveEasycom(component, easycom) {
|
||||||
return typeof component === "string" ? easycom : component;
|
return typeof component === "string" ? easycom : component;
|
||||||
}
|
}
|
||||||
const _export_sfc = (sfc, props2) => {
|
|
||||||
const target = sfc.__vccOpts || sfc;
|
|
||||||
for (const [key, val] of props2) {
|
|
||||||
target[key] = val;
|
|
||||||
}
|
|
||||||
return target;
|
|
||||||
};
|
|
||||||
const _sfc_main$8 = {
|
|
||||||
__name: "index",
|
|
||||||
setup(__props) {
|
|
||||||
const webViewObj = vue.ref(null);
|
|
||||||
const webLoad = (e2) => {
|
|
||||||
var _a, _b;
|
|
||||||
const h5SendString = (_b = (_a = e2.detail.data) == null ? void 0 : _a[0]) == null ? void 0 : _b.action;
|
|
||||||
switch (h5SendString) {
|
|
||||||
case "load-complete": {
|
|
||||||
const { statusBarHeight } = uni.getSystemInfoSync();
|
|
||||||
const currentWebview = getCurrentPages().pop().$getAppWebview();
|
|
||||||
webViewObj.value = currentWebview.children()[0];
|
|
||||||
webViewObj.value.setStyle({
|
|
||||||
top: statusBarHeight,
|
|
||||||
bottom: 0
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
return (_ctx, _cache) => {
|
|
||||||
return vue.openBlock(), vue.createElementBlock("web-view", {
|
|
||||||
class: "webview",
|
|
||||||
onMessage: webLoad,
|
|
||||||
style: { "flex": "1" },
|
|
||||||
ref: "webViewRef",
|
|
||||||
src: vue.unref(config).h5Url
|
|
||||||
}, null, 40, ["src"]);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "D:/WebstormProjects/oa-base/pages/index/index.vue"]]);
|
|
||||||
const mpMixin = {};
|
|
||||||
function email(value) {
|
function email(value) {
|
||||||
return /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(value);
|
return /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(value);
|
||||||
}
|
}
|
||||||
@ -1358,7 +1300,14 @@ if (uni.restoreGlobal) {
|
|||||||
...(_f = (_e2 = uni.$uv) == null ? void 0 : _e2.props) == null ? void 0 : _f.icon
|
...(_f = (_e2 = uni.$uv) == null ? void 0 : _e2.props) == null ? void 0 : _f.icon
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const _sfc_main$7 = {
|
const _export_sfc = (sfc, props2) => {
|
||||||
|
const target = sfc.__vccOpts || sfc;
|
||||||
|
for (const [key, val] of props2) {
|
||||||
|
target[key] = val;
|
||||||
|
}
|
||||||
|
return target;
|
||||||
|
};
|
||||||
|
const _sfc_main$8 = {
|
||||||
name: "uv-icon",
|
name: "uv-icon",
|
||||||
emits: ["click"],
|
emits: ["click"],
|
||||||
mixins: [mpMixin, mixin, props$4],
|
mixins: [mpMixin, mixin, props$4],
|
||||||
@ -1463,7 +1412,7 @@ if (uni.restoreGlobal) {
|
|||||||
/* CLASS */
|
/* CLASS */
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
const __easycom_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$5], ["__scopeId", "data-v-b7a6dd5d"], ["__file", "D:/WebstormProjects/oa-base/uni_modules/uv-icon/components/uv-icon/uv-icon.vue"]]);
|
const __easycom_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$5], ["__scopeId", "data-v-b7a6dd5d"], ["__file", "D:/WebstormProjects/oa-base/uni_modules/uv-icon/components/uv-icon/uv-icon.vue"]]);
|
||||||
function colorGradient(startColor = "rgb(0, 0, 0)", endColor = "rgb(255, 255, 255)", step = 10) {
|
function colorGradient(startColor = "rgb(0, 0, 0)", endColor = "rgb(255, 255, 255)", step = 10) {
|
||||||
const startRGB = hexToRgb(startColor, false);
|
const startRGB = hexToRgb(startColor, false);
|
||||||
const startR = startRGB[0];
|
const startR = startRGB[0];
|
||||||
@ -1615,7 +1564,7 @@ if (uni.restoreGlobal) {
|
|||||||
...(_h = (_g = uni.$uv) == null ? void 0 : _g.props) == null ? void 0 : _h.loadingIcon
|
...(_h = (_g = uni.$uv) == null ? void 0 : _g.props) == null ? void 0 : _h.loadingIcon
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const _sfc_main$6 = {
|
const _sfc_main$7 = {
|
||||||
name: "uv-loading-icon",
|
name: "uv-loading-icon",
|
||||||
mixins: [mpMixin, mixin, props$3],
|
mixins: [mpMixin, mixin, props$3],
|
||||||
data() {
|
data() {
|
||||||
@ -1738,7 +1687,7 @@ if (uni.restoreGlobal) {
|
|||||||
/* CLASS, STYLE */
|
/* CLASS, STYLE */
|
||||||
)) : vue.createCommentVNode("v-if", true);
|
)) : vue.createCommentVNode("v-if", true);
|
||||||
}
|
}
|
||||||
const __easycom_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$4], ["__scopeId", "data-v-29b619ea"], ["__file", "D:/WebstormProjects/oa-base/uni_modules/uv-loading-icon/components/uv-loading-icon/uv-loading-icon.vue"]]);
|
const __easycom_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$4], ["__scopeId", "data-v-29b619ea"], ["__file", "D:/WebstormProjects/oa-base/uni_modules/uv-loading-icon/components/uv-loading-icon/uv-loading-icon.vue"]]);
|
||||||
const props$2 = {
|
const props$2 = {
|
||||||
props: {
|
props: {
|
||||||
// 是否细边框
|
// 是否细边框
|
||||||
@ -1902,7 +1851,7 @@ if (uni.restoreGlobal) {
|
|||||||
...(_j = (_i = uni.$uv) == null ? void 0 : _i.props) == null ? void 0 : _j.button
|
...(_j = (_i = uni.$uv) == null ? void 0 : _i.props) == null ? void 0 : _j.button
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const _sfc_main$5 = {
|
const _sfc_main$6 = {
|
||||||
name: "uv-button",
|
name: "uv-button",
|
||||||
mixins: [mpMixin, mixin, props$2],
|
mixins: [mpMixin, mixin, props$2],
|
||||||
emits: ["click"],
|
emits: ["click"],
|
||||||
@ -2107,7 +2056,7 @@ if (uni.restoreGlobal) {
|
|||||||
/* STYLE */
|
/* STYLE */
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
const __easycom_1 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$3], ["__scopeId", "data-v-ae8e42c7"], ["__file", "D:/WebstormProjects/oa-base/uni_modules/uv-button/components/uv-button/uv-button.vue"]]);
|
const __easycom_1 = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$3], ["__scopeId", "data-v-ae8e42c7"], ["__file", "D:/WebstormProjects/oa-base/uni_modules/uv-button/components/uv-button/uv-button.vue"]]);
|
||||||
class MPAnimation {
|
class MPAnimation {
|
||||||
constructor(options, _this) {
|
constructor(options, _this) {
|
||||||
this.options = options;
|
this.options = options;
|
||||||
@ -2220,7 +2169,7 @@ if (uni.restoreGlobal) {
|
|||||||
clearTimeout(_this.timer);
|
clearTimeout(_this.timer);
|
||||||
return new MPAnimation(option, _this);
|
return new MPAnimation(option, _this);
|
||||||
}
|
}
|
||||||
const _sfc_main$4 = {
|
const _sfc_main$5 = {
|
||||||
name: "uv-transition",
|
name: "uv-transition",
|
||||||
mixins: [mpMixin, mixin],
|
mixins: [mpMixin, mixin],
|
||||||
emits: ["click", "change"],
|
emits: ["click", "change"],
|
||||||
@ -2480,7 +2429,7 @@ if (uni.restoreGlobal) {
|
|||||||
vue.renderSlot(_ctx.$slots, "default")
|
vue.renderSlot(_ctx.$slots, "default")
|
||||||
], 14, ["animation"])) : vue.createCommentVNode("v-if", true);
|
], 14, ["animation"])) : vue.createCommentVNode("v-if", true);
|
||||||
}
|
}
|
||||||
const __easycom_0 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$2], ["__file", "D:/WebstormProjects/oa-base/uni_modules/uv-transition/components/uv-transition/uv-transition.vue"]]);
|
const __easycom_0 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$2], ["__file", "D:/WebstormProjects/oa-base/uni_modules/uv-transition/components/uv-transition/uv-transition.vue"]]);
|
||||||
const props$1 = {
|
const props$1 = {
|
||||||
props: {
|
props: {
|
||||||
// 是否显示遮罩
|
// 是否显示遮罩
|
||||||
@ -2506,7 +2455,7 @@ if (uni.restoreGlobal) {
|
|||||||
...(_l = (_k = uni.$uv) == null ? void 0 : _k.props) == null ? void 0 : _l.overlay
|
...(_l = (_k = uni.$uv) == null ? void 0 : _k.props) == null ? void 0 : _l.overlay
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const _sfc_main$3 = {
|
const _sfc_main$4 = {
|
||||||
name: "uv-overlay",
|
name: "uv-overlay",
|
||||||
emits: ["click"],
|
emits: ["click"],
|
||||||
mixins: [mpMixin, mixin, props$1],
|
mixins: [mpMixin, mixin, props$1],
|
||||||
@ -2554,7 +2503,7 @@ if (uni.restoreGlobal) {
|
|||||||
/* FORWARDED */
|
/* FORWARDED */
|
||||||
}, 8, ["show", "duration", "custom-style", "onClick", "onTouchmove"]);
|
}, 8, ["show", "duration", "custom-style", "onClick", "onTouchmove"]);
|
||||||
}
|
}
|
||||||
const __easycom_2 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-7303e1aa"], ["__file", "D:/WebstormProjects/oa-base/uni_modules/uv-overlay/components/uv-overlay/uv-overlay.vue"]]);
|
const __easycom_2 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$1], ["__scopeId", "data-v-7303e1aa"], ["__file", "D:/WebstormProjects/oa-base/uni_modules/uv-overlay/components/uv-overlay/uv-overlay.vue"]]);
|
||||||
const props = {
|
const props = {
|
||||||
props: {
|
props: {
|
||||||
// 页面文字提示
|
// 页面文字提示
|
||||||
@ -2575,7 +2524,7 @@ if (uni.restoreGlobal) {
|
|||||||
...(_n = (_m = uni.$uv) == null ? void 0 : _m.props) == null ? void 0 : _n.noNetwork
|
...(_n = (_m = uni.$uv) == null ? void 0 : _m.props) == null ? void 0 : _n.noNetwork
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const _sfc_main$2 = {
|
const _sfc_main$3 = {
|
||||||
name: "uv-no-network",
|
name: "uv-no-network",
|
||||||
mixins: [mpMixin, mixin, props],
|
mixins: [mpMixin, mixin, props],
|
||||||
data() {
|
data() {
|
||||||
@ -2736,10 +2685,9 @@ if (uni.restoreGlobal) {
|
|||||||
]),
|
]),
|
||||||
vue.createElementVNode("view", { class: "uv-no-network__retry" }, [
|
vue.createElementVNode("view", { class: "uv-no-network__retry" }, [
|
||||||
vue.createVNode(_component_uv_button, {
|
vue.createVNode(_component_uv_button, {
|
||||||
size: "mini",
|
style: { "width": "220rpx" },
|
||||||
text: "重试",
|
text: "重试",
|
||||||
type: "primary",
|
type: "primary",
|
||||||
plain: "",
|
|
||||||
onClick: $options.retry
|
onClick: $options.retry
|
||||||
}, null, 8, ["onClick"])
|
}, null, 8, ["onClick"])
|
||||||
])
|
])
|
||||||
@ -2749,7 +2697,67 @@ if (uni.restoreGlobal) {
|
|||||||
/* STABLE */
|
/* STABLE */
|
||||||
}, 8, ["show", "zIndex", "onTouchmove"]);
|
}, 8, ["show", "zIndex", "onTouchmove"]);
|
||||||
}
|
}
|
||||||
const uvNoNetwork = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render], ["__scopeId", "data-v-bffa4de5"], ["__file", "D:/WebstormProjects/oa-base/uni_modules/uv-no-network/components/uv-no-network/uv-no-network.vue"]]);
|
const uvNoNetwork = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render], ["__scopeId", "data-v-bffa4de5"], ["__file", "D:/WebstormProjects/oa-base/uni_modules/uv-no-network/components/uv-no-network/uv-no-network.vue"]]);
|
||||||
|
const env = "prod";
|
||||||
|
const configs = {
|
||||||
|
LocalTest: {
|
||||||
|
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
|
||||||
|
h5Url: "http://192.168.88.53:8080/#/"
|
||||||
|
},
|
||||||
|
dev: {
|
||||||
|
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
|
||||||
|
h5Url: "http://192.168.88.50:8080/#/"
|
||||||
|
},
|
||||||
|
test: {
|
||||||
|
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
|
||||||
|
h5Url: "http://114.218.158.24:8042/#/"
|
||||||
|
},
|
||||||
|
prod: {
|
||||||
|
apiBaseUrl: "https://oa-b.szjixun.cn/api",
|
||||||
|
h5Url: "https://oa-b.szjixun.cn/#/"
|
||||||
|
}
|
||||||
|
};
|
||||||
|
const config = configs[env];
|
||||||
|
const _sfc_main$2 = {
|
||||||
|
__name: "index",
|
||||||
|
setup(__props) {
|
||||||
|
const webViewObj = vue.ref(null);
|
||||||
|
const webLoad = (e2) => {
|
||||||
|
var _a, _b;
|
||||||
|
const h5SendString = (_b = (_a = e2.detail.data) == null ? void 0 : _a[0]) == null ? void 0 : _b.action;
|
||||||
|
switch (h5SendString) {
|
||||||
|
case "load-complete": {
|
||||||
|
const { statusBarHeight } = uni.getSystemInfoSync();
|
||||||
|
const currentWebview = getCurrentPages().pop().$getAppWebview();
|
||||||
|
webViewObj.value = currentWebview.children()[0];
|
||||||
|
webViewObj.value.setStyle({
|
||||||
|
top: statusBarHeight,
|
||||||
|
bottom: 0
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
return (_ctx, _cache) => {
|
||||||
|
return vue.openBlock(), vue.createElementBlock(
|
||||||
|
vue.Fragment,
|
||||||
|
null,
|
||||||
|
[
|
||||||
|
vue.createElementVNode("web-view", {
|
||||||
|
class: "webview",
|
||||||
|
onMessage: webLoad,
|
||||||
|
style: { "flex": "1" },
|
||||||
|
ref: "webViewRef",
|
||||||
|
src: vue.unref(config).h5Url
|
||||||
|
}, null, 40, ["src"]),
|
||||||
|
vue.createVNode(uvNoNetwork)
|
||||||
|
],
|
||||||
|
64
|
||||||
|
/* STABLE_FRAGMENT */
|
||||||
|
);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
};
|
||||||
|
const PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "D:/WebstormProjects/oa-base/pages/index/index.vue"]]);
|
||||||
const _sfc_main$1 = {
|
const _sfc_main$1 = {
|
||||||
__name: "index",
|
__name: "index",
|
||||||
setup(__props) {
|
setup(__props) {
|
||||||
@ -2815,6 +2823,15 @@ if (uni.restoreGlobal) {
|
|||||||
onLaunch: function() {
|
onLaunch: function() {
|
||||||
},
|
},
|
||||||
onShow: function() {
|
onShow: function() {
|
||||||
|
uni.getNetworkType({
|
||||||
|
success: (res) => {
|
||||||
|
if (res.networkType === "none") {
|
||||||
|
uni.redirectTo({
|
||||||
|
url: "/pages/networko/index"
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
uni.onNetworkStatusChange(this.networkStatusChange);
|
uni.onNetworkStatusChange(this.networkStatusChange);
|
||||||
},
|
},
|
||||||
onHide: function() {
|
onHide: function() {
|
||||||
@ -3139,7 +3156,7 @@ if (uni.restoreGlobal) {
|
|||||||
function I(e2) {
|
function I(e2) {
|
||||||
return e2 && "string" == typeof e2 ? JSON.parse(e2) : e2;
|
return e2 && "string" == typeof e2 ? JSON.parse(e2) : e2;
|
||||||
}
|
}
|
||||||
const S = true, b = "app", A = I(define_process_env_UNI_SECURE_NETWORK_CONFIG_default), P = b, T = I('{\n "address": [\n "127.0.0.1",\n "192.168.56.1",\n "192.168.88.50"\n ],\n "debugPort": 9001,\n "initialLaunchType": "local",\n "servePort": 7001,\n "skipFiles": [\n "<node_internals>/**",\n "C:/Users/37363/Downloads/HBuilderX.4.08.2024040127/HBuilderX/plugins/unicloud/**/*.js"\n ]\n}\n'), C = I('[{"provider":"alipay","spaceName":"oaapp","spaceId":"env-00jxgxphla18","spaceAppId":"2021004145628977","accessKey":"ZALus7EgJXdovISb","secretKey":"7qzvVrPN0mAxfcLr"}]') || [];
|
const S = true, b = "app", A = I(define_process_env_UNI_SECURE_NETWORK_CONFIG_default), P = b, T = I('{\n "address": [\n "127.0.0.1",\n "192.168.56.1",\n "192.168.88.50"\n ],\n "debugPort": 9000,\n "initialLaunchType": "local",\n "servePort": 7000,\n "skipFiles": [\n "<node_internals>/**",\n "C:/Users/37363/Downloads/HBuilderX.4.08.2024040127/HBuilderX/plugins/unicloud/**/*.js"\n ]\n}\n'), C = I('[{"provider":"alipay","spaceName":"oaapp","spaceId":"env-00jxgxphla18","spaceAppId":"2021004145628977","accessKey":"ZALus7EgJXdovISb","secretKey":"7qzvVrPN0mAxfcLr"}]') || [];
|
||||||
let O = "";
|
let O = "";
|
||||||
try {
|
try {
|
||||||
O = "__UNI__4796942";
|
O = "__UNI__4796942";
|
||||||
|
4
unpackage/dist/dev/app-plus/manifest.json
vendored
4
unpackage/dist/dev/app-plus/manifest.json
vendored
@ -79,13 +79,13 @@
|
|||||||
},
|
},
|
||||||
"splashscreen": {
|
"splashscreen": {
|
||||||
"useOriginalMsgbox": true,
|
"useOriginalMsgbox": true,
|
||||||
"androidStyle": "default",
|
"androidStyle": "common",
|
||||||
"android": {
|
"android": {
|
||||||
"hdpi": "static/image/sy.png",
|
"hdpi": "static/image/sy.png",
|
||||||
"xhdpi": "static/image/sy.png",
|
"xhdpi": "static/image/sy.png",
|
||||||
"xxhdpi": "static/image/sy.png"
|
"xxhdpi": "static/image/sy.png"
|
||||||
},
|
},
|
||||||
"iosStyle": "storyboard",
|
"iosStyle": "common",
|
||||||
"ios": {
|
"ios": {
|
||||||
"storyboard": "files/CustomStoryboard.zip"
|
"storyboard": "files/CustomStoryboard.zip"
|
||||||
}
|
}
|
||||||
|
549
unpackage/dist/dev/app-plus/pages/index/index.css
vendored
549
unpackage/dist/dev/app-plus/pages/index/index.css
vendored
@ -0,0 +1,549 @@
|
|||||||
|
/**
|
||||||
|
* 这里是uni-app内置的常用样式变量
|
||||||
|
*
|
||||||
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||||
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||||
|
*
|
||||||
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||||
|
*/
|
||||||
|
/* 颜色变量 */
|
||||||
|
/* 行为相关颜色 */
|
||||||
|
/* 文字基本颜色 */
|
||||||
|
/* 背景颜色 */
|
||||||
|
/* 边框颜色 */
|
||||||
|
/* 尺寸变量 */
|
||||||
|
/* 文字尺寸 */
|
||||||
|
/* 图片尺寸 */
|
||||||
|
/* Border Radius */
|
||||||
|
/* 水平间距 */
|
||||||
|
/* 垂直间距 */
|
||||||
|
/* 透明度 */
|
||||||
|
/* 文章场景相关 */
|
||||||
|
uni-view[data-v-b7a6dd5d], uni-scroll-view[data-v-b7a6dd5d], uni-swiper-item[data-v-b7a6dd5d] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-shrink: 0;
|
||||||
|
flex-grow: 0;
|
||||||
|
flex-basis: auto;
|
||||||
|
align-items: stretch;
|
||||||
|
align-content: flex-start;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "uvicon-iconfont";
|
||||||
|
src: url("../../assets/uvicons.04d281cc.ttf") format("truetype");
|
||||||
|
}
|
||||||
|
.uv-icon[data-v-b7a6dd5d] {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.uv-icon--left[data-v-b7a6dd5d] {
|
||||||
|
flex-direction: row-reverse;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.uv-icon--right[data-v-b7a6dd5d] {
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.uv-icon--top[data-v-b7a6dd5d] {
|
||||||
|
flex-direction: column-reverse;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.uv-icon--bottom[data-v-b7a6dd5d] {
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.uv-icon__icon[data-v-b7a6dd5d] {
|
||||||
|
font-family: uvicon-iconfont;
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.uv-icon__icon--primary[data-v-b7a6dd5d] {
|
||||||
|
color: #3c9cff;
|
||||||
|
}
|
||||||
|
.uv-icon__icon--success[data-v-b7a6dd5d] {
|
||||||
|
color: #5ac725;
|
||||||
|
}
|
||||||
|
.uv-icon__icon--error[data-v-b7a6dd5d] {
|
||||||
|
color: #f56c6c;
|
||||||
|
}
|
||||||
|
.uv-icon__icon--warning[data-v-b7a6dd5d] {
|
||||||
|
color: #f9ae3d;
|
||||||
|
}
|
||||||
|
.uv-icon__icon--info[data-v-b7a6dd5d] {
|
||||||
|
color: #909399;
|
||||||
|
}
|
||||||
|
.uv-icon__img[data-v-b7a6dd5d] {
|
||||||
|
height: auto;
|
||||||
|
will-change: transform;
|
||||||
|
}
|
||||||
|
.uv-icon__label[data-v-b7a6dd5d] {
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* 这里是uni-app内置的常用样式变量
|
||||||
|
*
|
||||||
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||||
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||||
|
*
|
||||||
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||||
|
*/
|
||||||
|
/* 颜色变量 */
|
||||||
|
/* 行为相关颜色 */
|
||||||
|
/* 文字基本颜色 */
|
||||||
|
/* 背景颜色 */
|
||||||
|
/* 边框颜色 */
|
||||||
|
/* 尺寸变量 */
|
||||||
|
/* 文字尺寸 */
|
||||||
|
/* 图片尺寸 */
|
||||||
|
/* Border Radius */
|
||||||
|
/* 水平间距 */
|
||||||
|
/* 垂直间距 */
|
||||||
|
/* 透明度 */
|
||||||
|
/* 文章场景相关 */
|
||||||
|
uni-view[data-v-29b619ea], uni-scroll-view[data-v-29b619ea], uni-swiper-item[data-v-29b619ea] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-shrink: 0;
|
||||||
|
flex-grow: 0;
|
||||||
|
flex-basis: auto;
|
||||||
|
align-items: stretch;
|
||||||
|
align-content: flex-start;
|
||||||
|
}
|
||||||
|
.uv-loading-icon[data-v-29b619ea] {
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
color: #c8c9cc;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__text[data-v-29b619ea] {
|
||||||
|
margin-left: 4px;
|
||||||
|
color: #606266;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 20px;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__spinner[data-v-29b619ea] {
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
position: relative;
|
||||||
|
box-sizing: border-box;
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
|
animation: uv-rotate-29b619ea 1s linear infinite;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__spinner--semicircle[data-v-29b619ea] {
|
||||||
|
border-width: 2px;
|
||||||
|
border-color: transparent;
|
||||||
|
border-top-right-radius: 100px;
|
||||||
|
border-top-left-radius: 100px;
|
||||||
|
border-bottom-left-radius: 100px;
|
||||||
|
border-bottom-right-radius: 100px;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__spinner--circle[data-v-29b619ea] {
|
||||||
|
border-top-right-radius: 100px;
|
||||||
|
border-top-left-radius: 100px;
|
||||||
|
border-bottom-left-radius: 100px;
|
||||||
|
border-bottom-right-radius: 100px;
|
||||||
|
border-width: 2px;
|
||||||
|
border-top-color: #e5e5e5;
|
||||||
|
border-right-color: #e5e5e5;
|
||||||
|
border-bottom-color: #e5e5e5;
|
||||||
|
border-left-color: #e5e5e5;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.uv-loading-icon--vertical[data-v-29b619ea] {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
[data-v-29b619ea]:host {
|
||||||
|
font-size: 0px;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__spinner--spinner[data-v-29b619ea] {
|
||||||
|
animation-timing-function: steps(12);
|
||||||
|
}
|
||||||
|
.uv-loading-icon__text[data-v-29b619ea]:empty {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.uv-loading-icon--vertical .uv-loading-icon__text[data-v-29b619ea] {
|
||||||
|
margin: 6px 0 0;
|
||||||
|
color: #606266;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__dot[data-v-29b619ea] {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__dot[data-v-29b619ea]:before {
|
||||||
|
display: block;
|
||||||
|
width: 2px;
|
||||||
|
height: 25%;
|
||||||
|
margin: 0 auto;
|
||||||
|
background-color: currentColor;
|
||||||
|
border-radius: 40%;
|
||||||
|
content: " ";
|
||||||
|
}
|
||||||
|
.uv-loading-icon__dot[data-v-29b619ea]:nth-of-type(1) {
|
||||||
|
transform: rotate(30deg);
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__dot[data-v-29b619ea]:nth-of-type(2) {
|
||||||
|
transform: rotate(60deg);
|
||||||
|
opacity: 0.9375;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__dot[data-v-29b619ea]:nth-of-type(3) {
|
||||||
|
transform: rotate(90deg);
|
||||||
|
opacity: 0.875;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__dot[data-v-29b619ea]:nth-of-type(4) {
|
||||||
|
transform: rotate(120deg);
|
||||||
|
opacity: 0.8125;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__dot[data-v-29b619ea]:nth-of-type(5) {
|
||||||
|
transform: rotate(150deg);
|
||||||
|
opacity: 0.75;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__dot[data-v-29b619ea]:nth-of-type(6) {
|
||||||
|
transform: rotate(180deg);
|
||||||
|
opacity: 0.6875;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__dot[data-v-29b619ea]:nth-of-type(7) {
|
||||||
|
transform: rotate(210deg);
|
||||||
|
opacity: 0.625;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__dot[data-v-29b619ea]:nth-of-type(8) {
|
||||||
|
transform: rotate(240deg);
|
||||||
|
opacity: 0.5625;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__dot[data-v-29b619ea]:nth-of-type(9) {
|
||||||
|
transform: rotate(270deg);
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__dot[data-v-29b619ea]:nth-of-type(10) {
|
||||||
|
transform: rotate(300deg);
|
||||||
|
opacity: 0.4375;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__dot[data-v-29b619ea]:nth-of-type(11) {
|
||||||
|
transform: rotate(330deg);
|
||||||
|
opacity: 0.375;
|
||||||
|
}
|
||||||
|
.uv-loading-icon__dot[data-v-29b619ea]:nth-of-type(12) {
|
||||||
|
transform: rotate(360deg);
|
||||||
|
opacity: 0.3125;
|
||||||
|
}
|
||||||
|
@keyframes uv-rotate-29b619ea {
|
||||||
|
0% {
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
transform: rotate(1turn);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* 这里是uni-app内置的常用样式变量
|
||||||
|
*
|
||||||
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||||
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||||
|
*
|
||||||
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||||
|
*/
|
||||||
|
/* 颜色变量 */
|
||||||
|
/* 行为相关颜色 */
|
||||||
|
/* 文字基本颜色 */
|
||||||
|
/* 背景颜色 */
|
||||||
|
/* 边框颜色 */
|
||||||
|
/* 尺寸变量 */
|
||||||
|
/* 文字尺寸 */
|
||||||
|
/* 图片尺寸 */
|
||||||
|
/* Border Radius */
|
||||||
|
/* 水平间距 */
|
||||||
|
/* 垂直间距 */
|
||||||
|
/* 透明度 */
|
||||||
|
/* 文章场景相关 */
|
||||||
|
.uv-reset-button[data-v-ae8e42c7] {
|
||||||
|
padding: 0;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
.uv-reset-button[data-v-ae8e42c7]::after {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
uni-view[data-v-ae8e42c7], uni-scroll-view[data-v-ae8e42c7], uni-swiper-item[data-v-ae8e42c7] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-shrink: 0;
|
||||||
|
flex-grow: 0;
|
||||||
|
flex-basis: auto;
|
||||||
|
align-items: stretch;
|
||||||
|
align-content: flex-start;
|
||||||
|
}
|
||||||
|
.uv-button-wrapper[data-v-ae8e42c7] {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.uv-button-wrapper--dis[data-v-ae8e42c7] {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 9;
|
||||||
|
}
|
||||||
|
.uv-button[data-v-ae8e42c7] {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.uv-button__text[data-v-ae8e42c7] {
|
||||||
|
white-space: nowrap;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
.uv-button[data-v-ae8e42c7]:before {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border: inherit;
|
||||||
|
border-radius: inherit;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
opacity: 0;
|
||||||
|
content: " ";
|
||||||
|
background-color: #000;
|
||||||
|
border-color: #000;
|
||||||
|
}
|
||||||
|
.uv-button--active[data-v-ae8e42c7]:before {
|
||||||
|
opacity: 0.15;
|
||||||
|
}
|
||||||
|
.uv-button__icon + .uv-button__text[data-v-ae8e42c7]:not(:empty), .uv-button__loading-text[data-v-ae8e42c7] {
|
||||||
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
.uv-button--plain.uv-button--primary[data-v-ae8e42c7] {
|
||||||
|
color: #3c9cff;
|
||||||
|
}
|
||||||
|
.uv-button--plain.uv-button--info[data-v-ae8e42c7] {
|
||||||
|
color: #909399;
|
||||||
|
}
|
||||||
|
.uv-button--plain.uv-button--success[data-v-ae8e42c7] {
|
||||||
|
color: #5ac725;
|
||||||
|
}
|
||||||
|
.uv-button--plain.uv-button--error[data-v-ae8e42c7] {
|
||||||
|
color: #f56c6c;
|
||||||
|
}
|
||||||
|
.uv-button--plain.uv-button--warning[data-v-ae8e42c7] {
|
||||||
|
color: #f9ae3d;
|
||||||
|
}
|
||||||
|
.uv-button[data-v-ae8e42c7] {
|
||||||
|
height: 40px;
|
||||||
|
position: relative;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
box-sizing: border-box;
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
.uv-button__text[data-v-ae8e42c7] {
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
.uv-button__loading-text[data-v-ae8e42c7] {
|
||||||
|
font-size: 15px;
|
||||||
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
.uv-button--large[data-v-ae8e42c7] {
|
||||||
|
width: 100%;
|
||||||
|
height: 50px;
|
||||||
|
padding: 0 15px;
|
||||||
|
}
|
||||||
|
.uv-button--normal[data-v-ae8e42c7] {
|
||||||
|
padding: 0 12px;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.uv-button--small[data-v-ae8e42c7] {
|
||||||
|
min-width: 60px;
|
||||||
|
height: 30px;
|
||||||
|
padding: 0px 8px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
.uv-button--mini[data-v-ae8e42c7] {
|
||||||
|
height: 22px;
|
||||||
|
font-size: 10px;
|
||||||
|
min-width: 50px;
|
||||||
|
padding: 0px 8px;
|
||||||
|
}
|
||||||
|
.uv-button--disabled[data-v-ae8e42c7] {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
.uv-button--info[data-v-ae8e42c7] {
|
||||||
|
color: #323233;
|
||||||
|
background-color: #fff;
|
||||||
|
border-color: #ebedf0;
|
||||||
|
border-width: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.uv-button--success[data-v-ae8e42c7] {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #5ac725;
|
||||||
|
border-color: #5ac725;
|
||||||
|
border-width: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.uv-button--primary[data-v-ae8e42c7] {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #3c9cff;
|
||||||
|
border-color: #3c9cff;
|
||||||
|
border-width: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.uv-button--error[data-v-ae8e42c7] {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #f56c6c;
|
||||||
|
border-color: #f56c6c;
|
||||||
|
border-width: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.uv-button--warning[data-v-ae8e42c7] {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #f9ae3d;
|
||||||
|
border-color: #f9ae3d;
|
||||||
|
border-width: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.uv-button--block[data-v-ae8e42c7] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.uv-button--circle[data-v-ae8e42c7] {
|
||||||
|
border-top-right-radius: 100px;
|
||||||
|
border-top-left-radius: 100px;
|
||||||
|
border-bottom-left-radius: 100px;
|
||||||
|
border-bottom-right-radius: 100px;
|
||||||
|
}
|
||||||
|
.uv-button--square[data-v-ae8e42c7] {
|
||||||
|
border-bottom-left-radius: 3px;
|
||||||
|
border-bottom-right-radius: 3px;
|
||||||
|
border-top-left-radius: 3px;
|
||||||
|
border-top-right-radius: 3px;
|
||||||
|
}
|
||||||
|
.uv-button__icon[data-v-ae8e42c7] {
|
||||||
|
min-width: 1em;
|
||||||
|
line-height: inherit !important;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.uv-button--plain[data-v-ae8e42c7] {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
.uv-button--hairline[data-v-ae8e42c7] {
|
||||||
|
border-width: 0.5px !important;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* 这里是uni-app内置的常用样式变量
|
||||||
|
*
|
||||||
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||||
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||||
|
*
|
||||||
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||||
|
*/
|
||||||
|
/* 颜色变量 */
|
||||||
|
/* 行为相关颜色 */
|
||||||
|
/* 文字基本颜色 */
|
||||||
|
/* 背景颜色 */
|
||||||
|
/* 边框颜色 */
|
||||||
|
/* 尺寸变量 */
|
||||||
|
/* 文字尺寸 */
|
||||||
|
/* 图片尺寸 */
|
||||||
|
/* Border Radius */
|
||||||
|
/* 水平间距 */
|
||||||
|
/* 垂直间距 */
|
||||||
|
/* 透明度 */
|
||||||
|
/* 文章场景相关 */
|
||||||
|
.uv-overlay[data-v-7303e1aa] {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background-color: rgba(0, 0, 0, 0.7);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* 这里是uni-app内置的常用样式变量
|
||||||
|
*
|
||||||
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||||
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||||
|
*
|
||||||
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||||
|
*/
|
||||||
|
/* 颜色变量 */
|
||||||
|
/* 行为相关颜色 */
|
||||||
|
/* 文字基本颜色 */
|
||||||
|
/* 背景颜色 */
|
||||||
|
/* 边框颜色 */
|
||||||
|
/* 尺寸变量 */
|
||||||
|
/* 文字尺寸 */
|
||||||
|
/* 图片尺寸 */
|
||||||
|
/* Border Radius */
|
||||||
|
/* 水平间距 */
|
||||||
|
/* 垂直间距 */
|
||||||
|
/* 透明度 */
|
||||||
|
/* 文章场景相关 */
|
||||||
|
uni-view[data-v-bffa4de5], uni-scroll-view[data-v-bffa4de5], uni-swiper-item[data-v-bffa4de5] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-shrink: 0;
|
||||||
|
flex-grow: 0;
|
||||||
|
flex-basis: auto;
|
||||||
|
align-items: stretch;
|
||||||
|
align-content: flex-start;
|
||||||
|
}
|
||||||
|
.uv-no-network[data-v-bffa4de5] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: -100px;
|
||||||
|
}
|
||||||
|
.uv-no-network__tips[data-v-bffa4de5] {
|
||||||
|
color: #909193;
|
||||||
|
font-size: 14px;
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
.uv-no-network__app[data-v-bffa4de5] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
margin-top: 6px;
|
||||||
|
}
|
||||||
|
.uv-no-network__app__setting[data-v-bffa4de5] {
|
||||||
|
color: #c0c4cc;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
.uv-no-network__app__to-setting[data-v-bffa4de5] {
|
||||||
|
font-size: 13px;
|
||||||
|
color: #3c9cff;
|
||||||
|
margin-left: 3px;
|
||||||
|
}
|
||||||
|
.uv-no-network__retry[data-v-bffa4de5] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: center;
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user