Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
e576bd2a
Commit
e576bd2a
authored
Dec 30, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9fbf40a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
71 additions
and
3 deletions
+71
-3
Voting.vue
src/components/administrative/model/Voting.vue
+70
-2
index.js
src/plug/index.js
+1
-1
No files found.
src/components/administrative/model/Voting.vue
View file @
e576bd2a
...
...
@@ -2,7 +2,36 @@
<div
class=
"Voting"
>
<div
class=
"Voting-box"
>
<div
class=
"tit"
>
<p>
占位占位投票(单选)
</p>
</div>
<div
class=
"list"
>
<div
class=
"item"
:class=
"
{'active': radio === '1'}">
<el-radio
text-color=
"#ffffff"
fill=
"#ffffff"
v-model=
"radio"
label=
"1"
>
这里是A选项的答案,如果你觉得投票该选这里,那就点击前面圆框
</el-radio>
</div>
<div
class=
"item"
:class=
"
{'active': radio === '2'}">
<el-radio
text-color=
"#ffffff"
fill=
"#ffffff"
v-model=
"radio"
label=
"2"
>
这里是B选项的答案,如果你觉得投票该选这里,那就点击前面圆框
</el-radio>
</div>
<div
class=
"item"
:class=
"
{'active': radio === '3'}">
<el-radio
text-color=
"#ffffff"
fill=
"#ffffff"
v-model=
"radio"
label=
"3"
>
这里是C选项的答案,如果你觉得投票该选这里,那就点击前面圆框
</el-radio>
</div>
<div
class=
"item"
:class=
"
{'active': radio === '4'}">
<el-radio
text-color=
"#ffffff"
fill=
"#ffffff"
v-model=
"radio"
label=
"4"
>
这里是D选项的答案,如果你觉得投票该选这里,那就点击前面圆框
</el-radio>
</div>
<div
class=
"item"
:class=
"
{'active': radio === '1'}">
<el-radio
text-color=
"#ffffff"
fill=
"#ffffff"
v-model=
"radio"
label=
"1"
>
这里是A选项的答案,如果你觉得投票该选这里,那就点击前面圆框
</el-radio>
</div>
<div
class=
"item"
:class=
"
{'active': radio === '2'}">
<el-radio
text-color=
"#ffffff"
fill=
"#ffffff"
v-model=
"radio"
label=
"2"
>
这里是B选项的答案,如果你觉得投票该选这里,那就点击前面圆框
</el-radio>
</div>
<div
class=
"item"
:class=
"
{'active': radio === '3'}">
<el-radio
text-color=
"#ffffff"
fill=
"#ffffff"
v-model=
"radio"
label=
"3"
>
这里是C选项的答案,如果你觉得投票该选这里,那就点击前面圆框
</el-radio>
</div>
<div
class=
"item"
:class=
"
{'active': radio === '4'}">
<el-radio
text-color=
"#ffffff"
fill=
"#ffffff"
v-model=
"radio"
label=
"4"
>
这里是D选项的答案,如果你觉得投票该选这里,那就点击前面圆框
</el-radio>
</div>
</div>
<div
class=
"btn"
>
<div>
确认提交
</div>
</div>
</div>
</div>
...
...
@@ -13,7 +42,7 @@ export default {
name
:
'Voting'
,
data
()
{
return
{
radio
:
1
}
},
activated
()
{},
...
...
@@ -46,5 +75,44 @@ export default {
background
:
url('../../../assets/img/voting/titi-bg.png')
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
color
:
rgba
(
255
,
255
,
255
,
1
);
padding
:
20px
60px
0
60px
;
font-size
:
20px
;
font-weight
:
bold
;
}
.Voting
div
.Voting-box
.list
{
padding
:
0
60px
20px
60px
;
height
:
253px
;
overflow
:
auto
;
}
.Voting
div
.Voting-box
.list
.item
{
margin-top
:
20px
;
padding
:
10px
20px
;
border-radius
:
5px
;
border
:
1px
solid
rgba
(
228
,
228
,
228
,
1
);
}
.Voting
div
.Voting-box
.list
.item.active
{
background
:
rgba
(
233
,
82
,
82
,
1
);
border
:
1px
solid
rgba
(
233
,
82
,
82
,
1
);
}
.Voting
.el-radio__input.is-checked
+
.el-radio__label
{
color
:
white
;
}
.Voting
.btn
{
position
:
relative
;
bottom
:
-20px
;
left
:
0
;
width
:
100%
;
text-align
:
center
}
.Voting
.btn
div
{
width
:
120px
;
height
:
30px
;
text-align
:
center
;
line-height
:
30px
;
margin
:
0
auto
;
color
:
white
;
background
:
rgba
(
233
,
82
,
82
,
1
);
border-radius
:
5px
;
}
</
style
>
src/plug/index.js
View file @
e576bd2a
...
...
@@ -111,7 +111,7 @@ export default {
//域名管理对象
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
''
;
domainUrl
=
"http://192.168.2.6
5
:8025"
;
domainUrl
=
"http://192.168.2.6
6
:8025"
;
let
locationName
=
window
.
location
.
hostname
;
let
javaUrldo
=
""
;
...
...
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