Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
9f1c4aba
Commit
9f1c4aba
authored
Jun 04, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改页面
parent
93708096
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
110 additions
and
111 deletions
+110
-111
choiceAreaAuth.vue
src/components/common/choiceAreaAuth.vue
+108
-109
mallIndex.vue
src/components/mallIndex.vue
+2
-2
No files found.
src/components/common/choiceAreaAuth.vue
View file @
9f1c4aba
...
...
@@ -67,7 +67,13 @@
.choiceAreaAuth
.el-input-group__append
{
background-color
:
#fff
;
}
.choiceAreaAuth
.choiceCommon_Auth
{
display
:
inline-block
;
width
:
20px
;
}
.choiceAreaAuth
.choice_PX
{
margin-left
:
10px
;
}
</
style
>
<
template
id=
"choiceAreaAuth"
>
<div
class=
"choiceAreaAuth"
>
...
...
@@ -96,114 +102,107 @@
</div>
</div>
<el-form
label-width=
"120px"
>
<table>
<tr>
<td>
<el-checkbox
v-if=
"hotspotList&&hotspotList.length>0"
v-model=
"hotspotList[0].IsChecked"
@
change=
"changeItem(hotspotList[0],0)"
>
不登录按钮
</el-checkbox>
</td>
<td>
<el-form-item
label=
"热区尺寸"
>
<el-row
type=
"flex"
>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label>
W
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
v-model=
"hotspotList[0].width"
:max=
"maxWidth_Cancel"
>
</el-input>
<label>
px
</label>
</div>
</el-col>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label>
H
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
v-model=
"hotspotList[0].height"
:max=
"maxHeight_Cancel"
>
</el-input>
<label>
px
</label>
</div>
</el-col>
</el-row>
</el-form-item>
<el-form-item
label=
"热区位置"
>
<el-row
type=
"flex"
>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label>
X
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
v-model
.
number=
"hotspotList[0].left"
>
</el-input>
<label>
px
</label>
</div>
</el-col>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label>
Y
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
v-model
.
number=
"hotspotList[0].top"
>
</el-input>
<label>
px
</label>
</div>
</el-col>
</el-row>
</el-form-item>
</td>
</tr>
<tr>
<td>
<el-checkbox
v-if=
"hotspotList&&hotspotList.length>1"
v-model=
"hotspotList[1].IsChecked"
@
change=
"changeItem(hotspotList[1],1)"
>
登录按钮
</el-checkbox>
</td>
<td>
<el-form-item
label=
"热区尺寸"
>
<el-row
type=
"flex"
>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label>
W
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
v-model=
"hotspotList[1].width"
:max=
"maxWidth_Login"
>
</el-input>
<label>
px
</label>
</div>
</el-col>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label>
H
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
v-model=
"hotspotList[1].height"
:max=
"maxHeight_Login"
>
</el-input>
<label>
px
</label>
</div>
</el-col>
</el-row>
</el-form-item>
<el-form-item
label=
"热区位置"
>
<el-row
type=
"flex"
>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label>
X
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
v-model
.
number=
"hotspotList[1].left"
>
</el-input>
<label>
px
</label>
</div>
</el-col>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label>
Y
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
v-model
.
number=
"hotspotList[1].top"
>
</el-input>
<label>
px
</label>
</div>
</el-col>
</el-row>
</el-form-item>
</td>
</tr>
</table>
<el-form-item>
<el-checkbox
v-if=
"hotspotList&&hotspotList.length>0"
v-model=
"hotspotList[0].IsChecked"
@
change=
"changeItem(hotspotList[0],0)"
>
不登录按钮
</el-checkbox>
</el-form-item>
<el-form-item
label=
"热区尺寸"
>
<el-row
type=
"flex"
>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label
class=
"choiceCommon_Auth"
>
W
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
v-model=
"hotspotList[0].width"
:max=
"maxWidth_Cancel"
>
</el-input>
<label
class=
"choice_PX"
>
px
</label>
</div>
</el-col>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label
class=
"choiceCommon_Auth"
>
H
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
v-model=
"hotspotList[0].height"
:max=
"maxHeight_Cancel"
>
</el-input>
<label
class=
"choice_PX"
>
px
</label>
</div>
</el-col>
</el-row>
</el-form-item>
<el-form-item
label=
"热区位置"
>
<el-row
type=
"flex"
>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label
class=
"choiceCommon_Auth"
>
X
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
v-model
.
number=
"hotspotList[0].left"
>
</el-input>
<label
class=
"choice_PX"
>
px
</label>
</div>
</el-col>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label
class=
"choiceCommon_Auth"
>
Y
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
v-model
.
number=
"hotspotList[0].top"
>
</el-input>
<label
class=
"choice_PX"
>
px
</label>
</div>
</el-col>
</el-row>
</el-form-item>
<el-form-item
label-width=
"20px"
>
<div
style=
"width:100%;height:1px;border-bottom:1px dashed #d1d1d1"
></div>
</el-form-item>
<el-form-item>
<el-checkbox
v-if=
"hotspotList&&hotspotList.length>1"
v-model=
"hotspotList[1].IsChecked"
@
change=
"changeItem(hotspotList[1],1)"
>
登录按钮
</el-checkbox>
</el-form-item>
<el-form-item
label=
"热区尺寸"
>
<el-row
type=
"flex"
>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label
class=
"choiceCommon_Auth"
>
W
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
v-model=
"hotspotList[1].width"
:max=
"maxWidth_Login"
>
</el-input>
<label
class=
"choice_PX"
>
px
</label>
</div>
</el-col>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label
class=
"choiceCommon_Auth"
>
H
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
v-model=
"hotspotList[1].height"
:max=
"maxHeight_Login"
>
</el-input>
<label
class=
"choice_PX"
>
px
</label>
</div>
</el-col>
</el-row>
</el-form-item>
<el-form-item
label=
"热区位置"
>
<el-row
type=
"flex"
>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label
class=
"choiceCommon_Auth"
>
X
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
v-model
.
number=
"hotspotList[1].left"
>
</el-input>
<label
class=
"choice_PX"
>
px
</label>
</div>
</el-col>
<el-col
:span=
"15"
>
<div
flex=
"dir:left"
>
<label
class=
"choiceCommon_Auth"
>
Y
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
v-model
.
number=
"hotspotList[1].top"
>
</el-input>
<label
class=
"choice_PX"
>
px
</label>
</div>
</el-col>
</el-row>
</el-form-item>
<div
style=
"padding: 20px 40px;"
>
请先在左侧蓝框内用鼠标划出热区范围
</div>
<el-form-item
label=
""
>
<el-button
style=
"margin-left: 10px"
v-if=
"hotspotList.length==2"
type=
"primary"
size=
"small"
...
...
src/components/mallIndex.vue
View file @
9f1c4aba
...
...
@@ -421,7 +421,7 @@
</div>
<div
class=
"table_Inner"
>
<el-table
:data=
"saleIncomeData"
style=
"width: 100%"
>
<el-table-column
label=
"排名"
width=
"120"
>
<el-table-column
label=
"排名"
>
<template
slot-scope=
"scope"
>
<div
class=
"rankIng"
>
<template
v-if=
"scope.$index+1
<4
"
>
...
...
@@ -466,7 +466,7 @@
</div>
<div
class=
"table_Inner table2"
>
<el-table
:data=
"saleUserData"
style=
"width: 100%"
>
<el-table-column
label=
"排名"
width=
"120"
>
<el-table-column
label=
"排名"
>
<
template
slot-scope=
"scope"
>
<div
class=
"rankIng"
>
<template
v-if=
"scope.$index+1
<4
"
>
...
...
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