Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
ufo-app-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
TaoHuang
6 years ago
Commit
c8388dbbf5a26005ebb2f250409e33a3ab7703c1
1 parent
593361c2
fix
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
8 deletions
apps/pages/single/components/layout/header-ufo.vue
apps/pages/single/components/layout/layout-app.vue
apps/pages/single/gain/components/banner.vue
apps/pages/single/gain/components/list.vue
apps/pages/single/gain/show.vue
package.json
apps/pages/single/components/layout/header-ufo.vue
View file @
c8388db
<template>
<div class="header">
<div class="back-wrapper flex" @touchend="onBack">
<div class="back"></div>
<div class="back"
v-if="showBack"
></div>
</div>
<div class="title flex" :style="{opacity}">
<slot>
...
...
@@ -24,6 +24,10 @@ export default {
opacity: {
type: Number,
default: 1
},
showBack: {
type: Boolean,
default: true
}
},
computed: {
...
...
apps/pages/single/components/layout/layout-app.vue
View file @
c8388db
<template>
<div class="layout">
<LayoutHeader class="layout-header" :title="title" :opacity="opacity"></LayoutHeader>
<LayoutHeader class="layout-header" :title="title" :opacity="opacity"
:show-back="showBack"
></LayoutHeader>
<div class="layout-context" :class="{fixscroll: this.fixscroll}">
<slot></slot>
</div>
...
...
@@ -21,6 +21,10 @@ export default {
fixscroll: {
type: Boolean,
default: false
},
showBack: {
type: Boolean,
default: true
}
},
components: {
...
...
apps/pages/single/gain/components/banner.vue
View file @
c8388db
...
...
@@ -26,6 +26,10 @@ export default {
<style lang="scss" scoped>
.banner {
font-size: 0;
padding-bottom: 20px;
background-color: #f0f0f0;
img {
position: relative;
width: 100%;
...
...
apps/pages/single/gain/components/list.vue
View file @
c8388db
...
...
@@ -71,12 +71,12 @@ export default {
font-size: 34px;
color: #222;
text-align: center;
font-weight:
600
;
font-weight:
bold
;
margin-bottom: 20px;
}
.header-wrapper {
position:
relative
;
position:
sticky
;
height: 100px;
}
...
...
@@ -118,10 +118,9 @@ export default {
font-size: 28px;
color: #444;
display: flex;
border-bottom: 0.5PX solid #
b0b0b
0;
border-bottom: 0.5PX solid #
e0e0e
0;
line-height: 100px;
position: relative;
display: flex;
justify-content: space-between;
}
...
...
apps/pages/single/gain/show.vue
View file @
c8388db
<template>
<LayoutApp title="邀新返佣">
<LayoutApp title="邀新返佣"
:show-back="false"
>
<div class="body">
<Banner></Banner>
<List></List>
...
...
package.json
View file @
c8388db
{
"name"
:
"ufo-app-web"
,
"version"
:
"1.0.
8
"
,
"version"
:
"1.0.
9
"
,
"private"
:
true
,
"description"
:
"A New Yohobuy Project With Express"
,
"repository"
:
{
...
...
Please
register
or
login
to post a comment