Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-easyUI-template
Project
Project
Details
Activity
Releases
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
easyUI
hls-easyUI-template
Commits
c8ce20d8
Commit
c8ce20d8
authored
May 08, 2019
by
Nature
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
genx模版工程
parent
2635147b
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
779 deletions
+17
-779
hlsPopup.vue
src/pages/hlsPopup.vue
+0
-766
home.vue
src/pages/home.vue
+10
-1
index.js
src/router/index.js
+0
-5
vuePlatform.js
src/scripts/vuePlatform.js
+5
-5
yarn.lock
yarn.lock
+2
-2
No files found.
src/pages/hlsPopup.vue
deleted
100755 → 0
View file @
2635147b
This diff is collapsed.
Click to expand it.
src/pages/home.vue
View file @
c8ce20d8
...
...
@@ -16,7 +16,7 @@
<tab-item>
按钮
</tab-item>
</s-tab>
-->
<h-content
class=
"has-
header has-
footer"
>
class=
"has-footer"
>
<h-button
class=
"button-class"
type=
"primary"
@
click
.
native=
"showLoading"
>
showLoading
</h-button>
<h-button
class=
"button-class"
type=
"primary"
@
click
.
native=
"hideLoading"
>
hideLoading
</h-button>
<h-button
class=
"button-class"
type=
"primary"
@
click
.
native=
"showLongTop"
>
showLongTop
</h-button>
...
...
@@ -218,6 +218,9 @@
<tab-item>
你好
</tab-item>
<tab-item>
再见
</tab-item>
<tab-item>
按钮
</tab-item>
<tab-item>
按钮1
</tab-item>
<tab-item>
按钮2
</tab-item>
<tab-item>
按钮3
</tab-item>
</s-tab>
<s-tab
:default-active=
"2"
position=
"bottom"
cusClass=
"class"
@
tabClick=
"stabClick"
>
...
...
@@ -660,6 +663,12 @@ export default {
.home {
height: 100%;
width: 100%;
.hls-switch-tab {
.tab-content .h-tab-item .h-item{
width: 80px;
}
}
.vue-better-scroll__wrapper {
width: 100%;
}
...
...
src/router/index.js
View file @
c8ce20d8
...
...
@@ -3,9 +3,6 @@ import Router from 'vue-router'
import
Home
from
'@/pages/home'
// test工具类
import
HlsPopup
from
'@/pages/hlsPopup'
Vue
.
use
(
Router
)
export
default
new
Router
({
...
...
@@ -15,8 +12,6 @@ export default new Router({
redirect
:
'/home'
,
},
{
path
:
'/home'
,
component
:
Home
,
name
:
'Home'
,
meta
:
{
keepAlive
:
true
}},
// test工具类
{
path
:
'/hls-popup'
,
component
:
HlsPopup
,
name
:
'HlsPopup'
,
meta
:
{
keepAlive
:
false
}},
],
scrollBehavior
(
to
,
from
,
savedPosition
)
{
if
(
to
.
hash
)
{
...
...
src/scripts/vuePlatform.js
View file @
c8ce20d8
...
...
@@ -215,7 +215,7 @@
self
.
platforms
=
[]
var
grade
=
'a'
if
(
self
.
isWebView
())
{
/*
if (self.isWebView()) {
self.platforms.push('webview')
if (!(!window.cordova && !window.PhoneGap && !window.phonegap)) {
self.platforms.push('cordova')
...
...
@@ -225,13 +225,13 @@
} else {
self.platforms.push('browser')
}
if
(
self
.
isIPad
())
self
.
platforms
.
push
(
'ipad'
)
if (self.isIPad()) self.platforms.push('ipad')
*/
var
platform
=
self
.
platform
()
if
(
platform
)
{
self
.
platforms
.
push
(
platform
)
var
version
=
self
.
version
()
/*
var version = self.version()
if (version) {
var v = version.toString()
if (v.indexOf('.') > 0) {
...
...
@@ -247,10 +247,10 @@
} else if (self.isWindowsPhone()) {
grade = 'b'
}
}
}
*/
}
self
.
setGrade
(
grade
)
//
self.setGrade(grade)
},
/**
...
...
yarn.lock
View file @
c8ce20d8
...
...
@@ -3814,8 +3814,8 @@ he@1.2.x, he@^1.1.0:
integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==
"hls-easy-ui@https://hel.hand-china.com/easyUI/hls-easy-ui.git":
version "0.0.
1
"
resolved "https://hel.hand-china.com/easyUI/hls-easy-ui.git#
1d9bc73a5851fb1e5c7da9a44d0abb864d1230b0
"
version "0.0.
2
"
resolved "https://hel.hand-china.com/easyUI/hls-easy-ui.git#
97c1d4977c4ba45219fe242c2bfeece022946de8
"
dependencies:
autosize "^3.0.20"
better-scroll "^1.10.3"
...
...
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