Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
party-build-cloud
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqinghua
party-build-cloud
Commits
c55883b2
Commit
c55883b2
authored
Dec 27, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
值班换班移到一键通
parent
5acd98cb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
113 deletions
+4
-113
index.html
app/index.html
+0
-64
manifest.json
app/manifest.json
+0
-14
service-worker.js
app/service-worker.js
+0
-31
http.service.ts
src/service/http.service.ts
+4
-4
No files found.
app/index.html
deleted
100644 → 0
View file @
5acd98cb
<!DOCTYPE html>
<html
lang=
"zh"
dir=
"ltr"
>
<head>
<script
data-ionic=
"inject"
>
(
function
(
w
)
{
var
i
=
w
.
Ionic
=
w
.
Ionic
||
{};
i
.
version
=
'3.9.2'
;
i
.
angular
=
'5.0.3'
;
i
.
staticDir
=
'build/'
;
})(
window
);
</script>
<meta
charset=
"UTF-8"
>
<title>
部机关党建云平台
</title>
<meta
name=
"viewport"
content=
"initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"
>
<!-- <meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> -->
<meta
name=
"format-detection"
content=
"telephone=no"
>
<meta
name=
"msapplication-tap-highlight"
content=
"no"
>
<link
rel=
"icon"
type=
"image/x-icon"
href=
"assets/icon/favicon.ico"
>
<link
rel=
"stylesheet"
href=
"assets/swiper/swiper-4.1.6.min.css?v=3.39"
>
<link
rel=
"manifest"
href=
"manifest.json"
>
<meta
name=
"theme-color"
content=
"#4e8ef7"
>
<!-- add to homescreen for ios -->
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black"
>
<!-- cordova.js required for cordova apps (remove if not needed) -->
<script
src=
"assets/cordova/cordova.js?v=3.39"
></script>
<!-- un-comment this code to enable service worker
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('service-worker.js')
.then(() => console.log('service worker installed'))
.catch(err => console.error('Error', err));
}
</script>-->
<link
href=
"build/main.css?v=3.39"
rel=
"stylesheet"
>
</head>
<body>
<!-- Ionic's root component and where the app will load -->
<ion-app></ion-app>
<!-- The polyfills js is generated during the build process -->
<script
src=
"build/polyfills.js?v=3.39"
></script>
<!-- The vendor js is generated during the build process
It contains all of the dependencies in node_modules -->
<script
src=
"build/vendor.js?v=3.39"
></script>
<!-- The main bundle js is generated during the build process -->
<script
src=
"build/main.js?v=3.39"
></script>
<script>
</script>
</body>
<script
src=
"assets/swiper/swiper-4.1.6.min.js?v=3.39"
></script>
</html>
app/manifest.json
deleted
100644 → 0
View file @
5acd98cb
{
"name"
:
"Ionic"
,
"short_name"
:
"Ionic"
,
"start_url"
:
"index.html"
,
"display"
:
"standalone"
,
"icons"
:
[{
"src"
:
"assets/imgs/logo.png"
,
"sizes"
:
"512x512"
,
"type"
:
"image/png"
}],
"background_color"
:
"#4e8ef7"
,
"theme_color"
:
"#4e8ef7"
}
\ No newline at end of file
app/service-worker.js
deleted
100644 → 0
View file @
5acd98cb
/**
* Check out https://googlechromelabs.github.io/sw-toolbox/ for
* more info on how to use sw-toolbox to custom configure your service worker.
*/
'use strict'
;
importScripts
(
'./build/sw-toolbox.js'
);
self
.
toolbox
.
options
.
cache
=
{
name
:
'ionic-cache'
};
// pre-cache our key assets
self
.
toolbox
.
precache
(
[
'./build/main.js'
,
'./build/vendor.js'
,
'./build/main.css'
,
'./build/polyfills.js'
,
'index.html'
,
'manifest.json'
]
);
// dynamically cache any other local assets
self
.
toolbox
.
router
.
any
(
'/*'
,
self
.
toolbox
.
fastest
);
// for any other requests go to the network, cache,
// and then only use that cached resource if your user goes offline
self
.
toolbox
.
router
.
default
=
self
.
toolbox
.
networkFirst
;
src/service/http.service.ts
View file @
c55883b2
...
...
@@ -14,12 +14,12 @@ export class AppGlobal {
//接口基地址
// static domain = "http://192.168.2.106:8080"; //正式环境
//
static domain = "https://bjgdjy.shjcdj.cn"; //政务云
static
domain
=
"https://bjgdjy.shjcdj.cn"
;
//政务云
// static domain = "http://47.103.33.196:8080"; //阿里云正式地址
// static domain = "http://47.103.35.216:8080"; //阿里云测试地址
// static domain = "http://218.78.19.169:8081"; //天翼云地址
// static domain = "http://218.78.19.169:8082/"; //天翼测试云地址
static
domain
=
""
;
//本地环境
//
static domain = ""; //本地环境
//图片地址
static
picture
=
AppGlobal
.
domain
+
"/wisdomgroup/manager/getIcon/"
;
...
...
@@ -28,8 +28,8 @@ export class AppGlobal {
static
pictureNotice
=
AppGlobal
.
domain
;
//默认版本
static
defaultVersion
=
"4.7.0"
;
//dev
//
static defaultVersion; //prod
//
static defaultVersion = "4.7.0"; //dev
static
defaultVersion
;
//prod
//接口地址
static
API
:
any
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment