Commit c8ce20d8 authored by Nature's avatar Nature

genx模版工程

parent 2635147b
This diff is collapsed.
......@@ -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%;
}
......
......@@ -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) {
......
......@@ -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)
},
/**
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment