Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
community_vote
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanfeng zhang
community_vote
Commits
cc781e91
Commit
cc781e91
authored
Jun 21, 2021
by
xhx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面高度
parent
eab992d2
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
29 additions
and
15 deletions
+29
-15
childView.vue
src/layouts/childView.vue
+1
-1
main.ts
src/main.ts
+3
-3
style.css
src/style.css
+1
-1
MyAttend.vue
src/views/browser/MyAttend.vue
+1
-1
PersonVote.vue
src/views/browser/PersonVote.vue
+1
-1
ProjectDetails.vue
src/views/browser/ProjectDetails.vue
+1
-1
VoteHash.vue
src/views/browser/VoteHash.vue
+1
-1
index.vue
src/views/browser/index.vue
+1
-1
MenberPage.vue
src/views/initiate_comp/MenberPage.vue
+1
-1
user_initiate.vue
src/views/initiate_comp/user_initiate.vue
+1
-2
Transfer.vue
src/views/mine/Transfer.vue
+2
-2
SquareVote.vue
src/views/square/SquareVote.vue
+15
-0
No files found.
src/layouts/childView.vue
View file @
cc781e91
...
@@ -44,7 +44,7 @@ export default Vue.extend({
...
@@ -44,7 +44,7 @@ export default Vue.extend({
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.Layout
{
.Layout
{
height
:
100
%
;
height
:
100
vh
;
width
:
100%
;
width
:
100%
;
position
:
relative
;
position
:
relative
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
...
...
src/main.ts
View file @
cc781e91
...
@@ -4,11 +4,11 @@ import router from './router'
...
@@ -4,11 +4,11 @@ import router from './router'
import
store
from
'./store'
import
store
from
'./store'
import
{
Toast
}
from
'vant'
;
import
{
Toast
}
from
'vant'
;
import
'./style.css'
import
'./style.css'
//
import VConsole from 'vconsole';
import
VConsole
from
'vconsole'
;
Vue
.
use
(
Toast
);
Vue
.
use
(
Toast
);
//
const vconsole = new VConsole()
const
vconsole
=
new
VConsole
()
//
console.log(vconsole);
console
.
log
(
vconsole
);
Vue
.
prototype
.
$toast
=
Toast
;
Vue
.
prototype
.
$toast
=
Toast
;
Vue
.
config
.
productionTip
=
false
Vue
.
config
.
productionTip
=
false
...
...
src/style.css
View file @
cc781e91
...
@@ -60,7 +60,7 @@ body{
...
@@ -60,7 +60,7 @@ body{
}
}
.sub-page
{
.sub-page
{
height
:
calc
(
100vh
-
5
0px
);
height
:
calc
(
100vh
-
20
0px
);
overflow-y
:
scroll
;
overflow-y
:
scroll
;
}
}
...
...
src/views/browser/MyAttend.vue
View file @
cc781e91
...
@@ -72,7 +72,7 @@ export default Vue.extend({
...
@@ -72,7 +72,7 @@ export default Vue.extend({
components
:
{
childView
,
AppIcon
,
XPagination
},
components
:
{
childView
,
AppIcon
,
XPagination
},
data
()
{
data
()
{
return
{
return
{
lists
:
[
1
,
2
],
lists
:
[
1
,
2
,
5
,
6
,
4
,
6
,
7
,
7
,
8
,
8
,
8
,
8
],
currentPage
:
1
,
currentPage
:
1
,
totalPage
:
10
totalPage
:
10
}
}
...
...
src/views/browser/PersonVote.vue
View file @
cc781e91
...
@@ -60,7 +60,7 @@ export default Vue.extend({
...
@@ -60,7 +60,7 @@ export default Vue.extend({
data
()
{
data
()
{
return
{
return
{
currentPage
:
1
,
currentPage
:
1
,
lists
:
[
1
,
2
,
3
,
4
],
lists
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
4
,
78
,
9
,
4
,
0
],
totalPage
:
5
totalPage
:
5
}
}
},
},
...
...
src/views/browser/ProjectDetails.vue
View file @
cc781e91
...
@@ -64,7 +64,7 @@ export default Vue.extend({
...
@@ -64,7 +64,7 @@ export default Vue.extend({
data
()
{
data
()
{
return
{
return
{
currentPage
:
1
,
currentPage
:
1
,
lists
:
[
1
,
2
,
3
,
4
],
lists
:
[
1
,
2
,
3
,
4
,
4
,
4
,
5
,
6
,
7
,
8
,
9
],
totalPage
:
5
totalPage
:
5
}
}
},
},
...
...
src/views/browser/VoteHash.vue
View file @
cc781e91
...
@@ -72,7 +72,7 @@ export default Vue.extend({
...
@@ -72,7 +72,7 @@ export default Vue.extend({
components
:
{
childView
,
AppIcon
,
XPagination
},
components
:
{
childView
,
AppIcon
,
XPagination
},
data
()
{
data
()
{
return
{
return
{
lists
:
[
1
],
lists
:
[
1
,
4
,
5
,
6
,
7
,
8
,
9
,
0
],
currentPage
:
1
,
currentPage
:
1
,
totalPage
:
10
totalPage
:
10
}
}
...
...
src/views/browser/index.vue
View file @
cc781e91
...
@@ -77,7 +77,7 @@ export default Vue.extend({
...
@@ -77,7 +77,7 @@ export default Vue.extend({
data
()
{
data
()
{
return
{
return
{
currentPage
:
5
,
currentPage
:
5
,
lists
:
[
1
,
2
,
3
,
4
],
lists
:
[
1
,
2
,
3
,
4
,
6
,
7
,
8
,
9
,
0
],
totalPage
:
10
totalPage
:
10
}
}
},
},
...
...
src/views/initiate_comp/MenberPage.vue
View file @
cc781e91
<
template
>
<
template
>
<ChildView>
<ChildView>
<div>
<div
class=
"sub-page"
>
<div
class=
"tab flex items-center justify-center text-sm mt-3"
>
<div
class=
"tab flex items-center justify-center text-sm mt-3"
>
<div
class=
"w-20 h-10 leading-10 text-center bg-app-blue-2 rounded-t-md mr-4"
@
click=
"tab = 1"
>
手动录入
</div>
<div
class=
"w-20 h-10 leading-10 text-center bg-app-blue-2 rounded-t-md mr-4"
@
click=
"tab = 1"
>
手动录入
</div>
<div
class=
"w-20 h-10 leading-10 text-center bg-app-blue-2 rounded-t-md"
@
click=
"tab = 2"
>
批量导入
</div>
<div
class=
"w-20 h-10 leading-10 text-center bg-app-blue-2 rounded-t-md"
@
click=
"tab = 2"
>
批量导入
</div>
...
...
src/views/initiate_comp/user_initiate.vue
View file @
cc781e91
...
@@ -163,8 +163,7 @@ export default Vue.extend({
...
@@ -163,8 +163,7 @@ export default Vue.extend({
this
.
show
=
true
this
.
show
=
true
},
},
onSelect
(
v
:
object
)
{
onSelect
(
v
:
object
)
{
const
{
name
}
=
(
v
as
any
).
name
this
.
times
=
(
v
as
any
).
name
this
.
times
=
name
this
.
show
=
false
this
.
show
=
false
}
}
},
},
...
...
src/views/mine/Transfer.vue
View file @
cc781e91
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
<div
class=
"text-line flex justify-between items-center mb-5"
>
<div
class=
"text-line flex justify-between items-center mb-5"
>
<p
class=
"text-sm mb-0"
>
新管理员地址
</p>
<p
class=
"text-sm mb-0"
>
新管理员地址
</p>
<span
class=
"inline-block flex"
>
<span
class=
"inline-block flex"
>
<img
class=
"w-4 mr-7"
src=
"@/assets/home/scan.png"
alt=
""
>
<img
class=
"w-4
h-4
mr-7"
src=
"@/assets/home/scan.png"
alt=
""
>
<img
class=
"w-4"
src=
"@/assets/home/person.png"
alt=
""
>
<img
class=
"w-4
h-4
"
src=
"@/assets/home/person.png"
alt=
""
>
</span>
</span>
</div>
</div>
<div>
<div>
...
...
src/views/square/SquareVote.vue
View file @
cc781e91
...
@@ -87,6 +87,18 @@ export default Vue.extend({
...
@@ -87,6 +87,18 @@ export default Vue.extend({
selected
:
false
,
selected
:
false
,
content
:
'选项卡-选修课-选修课-'
content
:
'选项卡-选修课-选修课-'
},
},
{
selected
:
false
,
content
:
'选项卡-选修课-选修课-'
},
{
selected
:
false
,
content
:
'选项卡-选修课-选修课-'
},
{
selected
:
false
,
content
:
'选项卡-选修课-选修课-'
},
],
],
type1
:
true
,
type1
:
true
,
voteNum
:
''
,
voteNum
:
''
,
...
@@ -133,7 +145,10 @@ export default Vue.extend({
...
@@ -133,7 +145,10 @@ export default Vue.extend({
}
}
}
}
// 计算底部样式
// 计算底部样式
// const height = document.body.clientHeight || document.documentElement.clientHeight
const
height
=
window
.
innerHeight
const
height
=
window
.
innerHeight
console
.
log
(
height
)
console
.
log
(
box
.
scrollHeight
)
if
(
height
<
box
.
scrollHeight
)
{
if
(
height
<
box
.
scrollHeight
)
{
this
.
hide
=
true
this
.
hide
=
true
}
else
{
}
else
{
...
...
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