Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-easy-ui
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-easy-ui
Commits
b433d1b6
Commit
b433d1b6
authored
Jun 24, 2019
by
Nature
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除多余的组建
parent
caf44d72
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
496 additions
and
475 deletions
+496
-475
package.json
package.json
+0
-2
hlsUtil.js
packages/common/scripts/hlsUtil.js
+1
-1
platform-iosx.less
packages/common/styles/platform-iosx.less
+2
-2
select.vue
packages/components/Select/select.vue
+23
-7
main.js
src/main.js
+0
-22
hlsUtil.js
src/scripts/hlsUtil.js
+1
-1
yarn.lock
yarn.lock
+469
-440
No files found.
package.json
View file @
b433d1b6
...
...
@@ -23,8 +23,6 @@
"
fastclick
"
:
"
https://hel.hand-china.com/easyUI/fastclick.git
"
,
"
vue
"
:
"
^2.5.2
"
,
"
vue-router
"
:
"
^3.0.1
"
,
"
vuex
"
:
"
^2.1.1
"
,
"
vuex-i18n
"
:
"
^1.3.1
"
,
"
vux
"
:
"
^2.9.2
"
},
"devDependencies"
:
{
...
...
packages/common/scripts/hlsUtil.js
View file @
b433d1b6
...
...
@@ -92,7 +92,7 @@ export default {
// 校验日期
verifyBirthday
:
function
(
year
,
month
,
day
,
birthday
)
{
// 年月日是否合理
return
(
birthday
.
getFullYear
().
toString
()
===
year
&&
((
birthday
.
getMonth
()
+
1
)
<
10
?
'0'
+
(
birthday
.
getMonth
()
+
1
)
:
(
birthday
.
getMonth
()
+
1
))
===
month
&&
return
(
birthday
.
getFullYear
().
toString
()
===
year
&&
((
birthday
.
getMonth
()
+
1
)
<
10
?
'0'
+
(
birthday
.
getMonth
()
+
1
)
:
(
birthday
.
getMonth
()
+
1
)
.
toString
()
)
===
month
&&
birthday
.
getDate
().
toString
()
===
day
)
},
...
...
packages/common/styles/platform-iosx.less
View file @
b433d1b6
...
...
@@ -8,7 +8,7 @@
bottom: 1.68rem;
}
.has-footer {
// padding-bottom: 2.84
rem;
padding-bottom: 1.56
rem;
.scrollContent{
padding-bottom: 2.84rem;
}
...
...
@@ -34,7 +34,7 @@
bottom: 1.68rem;
}
.has-footer {
// padding-bottom: 2.84
rem;
padding-bottom: 1.56
rem;
.scrollContent{
padding-bottom: 2.84rem;
}
...
...
packages/components/Select/select.vue
View file @
b433d1b6
...
...
@@ -3,12 +3,21 @@
<h-content
:class=
"
{'show-select-up': state == 1}"
class="show-select-wrapper">
<popup-header
<
!--
<
popup-header
:left-text=
"cancelText"
:right-text=
"confirmText"
:title=
"popupTitle"
@
on-click-left=
"returnItem(-1)"
@
on-click-right=
"returnItem(1)"
/>
@
on-click-right=
"returnItem(1)"
/>
-->
<h-header
style=
"padding-top: 0"
>
<div
slot=
"left"
class=
"h-header-btn"
@
click=
"returnItem(-1)"
>
{{
cancelText
}}
</div>
<div
slot=
"center"
>
{{
popupTitle
}}
</div>
<div
slot=
"right"
class=
"h-header-btn"
@
click=
"returnItem(1)"
>
{{
confirmText
}}
</div>
</h-header>
<picker
:data=
"list"
v-model=
"tempValue"
...
...
@@ -30,9 +39,11 @@
width: 100%;
height: 100%;
background-color: transparent;
&.active {
background-color: rgba(0, 0, 0, 0.2);
}
.show-select-wrapper {
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
...
...
@@ -46,10 +57,15 @@
top: auto;
padding-top: 0px;
background-color: #fff;
.vux-popup-header {
// border-bottom: 1px solid rgba(0,0,0,.1) !important; /*no*/
}
.h-header {
.h-header-left .h-header-btn {
color: #828282;
}
.h-header-right .h-header-btn {
color: #5D98F6;
}
}
}
.show-select-up {
...
...
src/main.js
View file @
b433d1b6
...
...
@@ -3,8 +3,6 @@
import
Vue
from
'vue'
import
FastClick
from
'fastclick'
import
App
from
'./App'
import
Vuex
from
'vuex'
import
vuexI18n
from
'vuex-i18n'
import
router
from
'./router/index'
import
flexible
from
'./common/ydui.flexible'
...
...
@@ -22,12 +20,7 @@ import filter from './scripts/filter'
*/
import
{
ViewBox
,
Tabbar
,
TabbarItem
,
XHeader
,
Picker
,
PopupHeader
,
}
from
'vux'
import
'./scripts/prototype'
...
...
@@ -61,23 +54,8 @@ Vue.use(directives)
Vue
.
use
(
filter
)
Vue
.
use
(
Vuex
)
// Vue.directive('transfer-dom', TransferDom);
Vue
.
component
(
'x-header'
,
XHeader
)
Vue
.
component
(
'view-box'
,
ViewBox
)
Vue
.
component
(
'tabbar'
,
Tabbar
)
Vue
.
component
(
'tabbar-item'
,
TabbarItem
)
Vue
.
component
(
'PopupHeader'
,
PopupHeader
)
Vue
.
component
(
'picker'
,
Picker
)
/** i18n **/
let
store
=
new
Vuex
.
Store
({
modules
:
{
i18n
:
vuexI18n
.
store
,
},
})
Vue
.
use
(
vuexI18n
.
plugin
,
store
)
Vue
.
prototype
.
hlsPopup
=
window
.
hlsPopup
=
hlsPopup
Vue
.
prototype
.
$devicePixelRatio
=
2
...
...
src/scripts/hlsUtil.js
View file @
b433d1b6
...
...
@@ -92,7 +92,7 @@ export default {
// 校验日期
verifyBirthday
:
function
(
year
,
month
,
day
,
birthday
)
{
// 年月日是否合理
return
(
birthday
.
getFullYear
().
toString
()
===
year
&&
((
birthday
.
getMonth
()
+
1
)
<
10
?
'0'
+
(
birthday
.
getMonth
()
+
1
)
:
(
birthday
.
getMonth
()
+
1
))
===
month
&&
return
(
birthday
.
getFullYear
().
toString
()
===
year
&&
((
birthday
.
getMonth
()
+
1
)
<
10
?
'0'
+
(
birthday
.
getMonth
()
+
1
)
:
(
birthday
.
getMonth
()
+
1
)
.
toString
()
)
===
month
&&
((
birthday
.
getDate
())
<
10
?
'0'
+
(
birthday
.
getDate
()).
toString
()
:
birthday
.
getDate
().
toString
())
===
day
)
},
...
...
yarn.lock
View file @
b433d1b6
This diff is collapsed.
Click to expand it.
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