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
b7996252
Commit
b7996252
authored
Sep 16, 2019
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
content
parent
9d4b0361
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
18 deletions
+61
-18
platform-ios.less
packages/common/styles/platform-ios.less
+2
-1
index.vue
packages/components/HContent/index.vue
+10
-2
index.vue
packages/components/HHeader/index.vue
+3
-0
home.vue
src/pages/home.vue
+46
-15
No files found.
packages/common/styles/platform-ios.less
View file @
b7996252
...
@@ -11,7 +11,8 @@
...
@@ -11,7 +11,8 @@
}
}
.has-header {
.has-header {
padding-bottom: 1.28rem;
top: 1.28rem;
//padding-bottom: 1.28rem;
}
}
.header-top {
.header-top {
margin-top: 1.26rem;
margin-top: 1.26rem;
...
...
packages/components/HContent/index.vue
View file @
b7996252
...
@@ -4,9 +4,11 @@
...
@@ -4,9 +4,11 @@
*/
*/
<
template
>
<
template
>
<section
:class=
"cusClass"
class=
"content"
>
<div
:class=
"cusClass"
class=
"content"
@
touchstart=
"start"
@
touchend=
"end"
>
<slot/>
<slot/>
</
section
>
</
div
>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -90,6 +92,12 @@ export default {
...
@@ -90,6 +92,12 @@ export default {
let
content
=
vm
.
$el
let
content
=
vm
.
$el
content
.
style
.
height
=
(
window
.
innerHeight
-
nextHeight
-
headerHeight
)
+
'px'
content
.
style
.
height
=
(
window
.
innerHeight
-
nextHeight
-
headerHeight
)
+
'px'
},
},
start
(
event
)
{
},
end
(
event
)
{
debugger
},
},
},
}
}
</
script
>
</
script
>
...
...
packages/components/HHeader/index.vue
View file @
b7996252
...
@@ -57,6 +57,9 @@ export default {
...
@@ -57,6 +57,9 @@ export default {
color: #4A4A4A;
color: #4A4A4A;
box-sizing: content-box;
box-sizing: content-box;
overflow: hidden;
overflow: hidden;
position: relative;
z-index: 20;
width: 100%;
.h-header-center {
.h-header-center {
flex: 1;
flex: 1;
...
...
src/pages/home.vue
View file @
b7996252
...
@@ -10,22 +10,53 @@
...
@@ -10,22 +10,53 @@
<tab-item>
Vue
</tab-item>
<tab-item>
Vue
</tab-item>
<tab-item>
APP
</tab-item>
<tab-item>
APP
</tab-item>
</s-tab>
</s-tab>
<div
style=
"height: 60px"
/>
<s-tab>
<tab-item>
Vue
</tab-item>
<tab-item>
APP
</tab-item>
</s-tab>
<h-content
id=
"home-content"
>
<h-content
id=
"home-content"
>
<div
v-for=
"item in message"
class=
"message"
>
<list-item>
<p
v-show=
"false"
class=
"message-time"
v-text=
"item.time"
/>
<item>
<div
v-show=
"!item.isFromeMe"
class=
"message-wrap"
>
<section
slot=
"name"
>
姓名
</section>
<img
src=
"../assets/image/robot/robot.png"
class=
"head-pic"
>
<input
slot=
"content"
type=
"text"
>
<span
class=
"triangle-left"
/>
</item>
<p
class=
"message"
@
click=
"showImg($event)"
v-html=
"item.content"
/>
<item>
</div>
<section
slot=
"name"
>
年龄
</section>
<div
v-show=
"item.isFromeMe"
class=
"message-wrap"
>
<input
slot=
"content"
type=
"text"
>
<img
v-show=
"userImg"
:src=
"userImg"
class=
"head-pic-right"
>
</item>
<img
v-show=
"!userImg"
src=
"@/assets/image/robot/user7.png"
class=
"head-pic-right"
>
<item>
<span
class=
"triangle-right"
/>
<section
slot=
"name"
>
性别
</section>
<p
class=
"message-right"
v-text=
"item.content"
/>
<input
slot=
"content"
type=
"text"
>
</div>
</item>
</div>
<item>
<section
slot=
"name"
>
出生日前
</section>
<input
slot=
"content"
type=
"text"
>
</item>
<item>
<section
slot=
"name"
>
体重
</section>
<input
slot=
"content"
type=
"text"
>
</item>
<item>
<section
slot=
"name"
>
身高
</section>
<input
slot=
"content"
type=
"text"
>
</item>
<item>
<section
slot=
"name"
>
血型
</section>
<input
slot=
"content"
type=
"text"
>
</item>
<item>
<section
slot=
"name"
>
胸围
</section>
<input
slot=
"content"
type=
"text"
>
</item>
<item>
<section
slot=
"name"
>
腰围
</section>
<input
slot=
"content"
type=
"text"
>
</item>
<item>
<section
slot=
"name"
>
tun
</section>
<input
slot=
"content"
type=
"text"
>
</item>
</list-item>
</h-content>
</h-content>
<s-tab>
<s-tab>
<tab-item>
Vue
</tab-item>
<tab-item>
Vue
</tab-item>
...
...
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