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 @@
...
@@ -67,7 +67,13 @@
.choiceAreaAuth
.el-input-group__append
{
.choiceAreaAuth
.el-input-group__append
{
background-color
:
#fff
;
background-color
:
#fff
;
}
}
.choiceAreaAuth
.choiceCommon_Auth
{
display
:
inline-block
;
width
:
20px
;
}
.choiceAreaAuth
.choice_PX
{
margin-left
:
10px
;
}
</
style
>
</
style
>
<
template
id=
"choiceAreaAuth"
>
<
template
id=
"choiceAreaAuth"
>
<div
class=
"choiceAreaAuth"
>
<div
class=
"choiceAreaAuth"
>
...
@@ -96,114 +102,107 @@
...
@@ -96,114 +102,107 @@
</div>
</div>
</div>
</div>
<el-form
label-width=
"120px"
>
<el-form
label-width=
"120px"
>
<table>
<el-form-item>
<tr>
<el-checkbox
v-if=
"hotspotList&&hotspotList.length>0"
v-model=
"hotspotList[0].IsChecked"
<td>
@
change=
"changeItem(hotspotList[0],0)"
>
不登录按钮
<el-checkbox
v-if=
"hotspotList&&hotspotList.length>0"
v-model=
"hotspotList[0].IsChecked"
</el-checkbox>
@
change=
"changeItem(hotspotList[0],0)"
>
不登录按钮
</el-form-item>
</el-checkbox>
<el-form-item
label=
"热区尺寸"
>
</td>
<el-row
type=
"flex"
>
<td>
<el-col
:span=
"15"
>
<el-form-item
label=
"热区尺寸"
>
<div
flex=
"dir:left"
>
<el-row
type=
"flex"
>
<label
class=
"choiceCommon_Auth"
>
W
</label>
<el-col
:span=
"15"
>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
<div
flex=
"dir:left"
>
v-model=
"hotspotList[0].width"
:max=
"maxWidth_Cancel"
>
<label>
W
</label>
</el-input>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
<label
class=
"choice_PX"
>
px
</label>
v-model=
"hotspotList[0].width"
:max=
"maxWidth_Cancel"
>
</div>
</el-input>
</el-col>
<label>
px
</label>
<el-col
:span=
"15"
>
</div>
<div
flex=
"dir:left"
>
</el-col>
<label
class=
"choiceCommon_Auth"
>
H
</label>
<el-col
:span=
"15"
>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
<div
flex=
"dir:left"
>
v-model=
"hotspotList[0].height"
:max=
"maxHeight_Cancel"
>
<label>
H
</label>
</el-input>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
<label
class=
"choice_PX"
>
px
</label>
v-model=
"hotspotList[0].height"
:max=
"maxHeight_Cancel"
>
</div>
</el-input>
</el-col>
<label>
px
</label>
</el-row>
</div>
</el-form-item>
</el-col>
<el-form-item
label=
"热区位置"
>
</el-row>
<el-row
type=
"flex"
>
</el-form-item>
<el-col
:span=
"15"
>
<el-form-item
label=
"热区位置"
>
<div
flex=
"dir:left"
>
<el-row
type=
"flex"
>
<label
class=
"choiceCommon_Auth"
>
X
</label>
<el-col
:span=
"15"
>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
<div
flex=
"dir:left"
>
v-model
.
number=
"hotspotList[0].left"
>
<label>
X
</label>
</el-input>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
<label
class=
"choice_PX"
>
px
</label>
v-model
.
number=
"hotspotList[0].left"
>
</div>
</el-input>
</el-col>
<label>
px
</label>
<el-col
:span=
"15"
>
</div>
<div
flex=
"dir:left"
>
</el-col>
<label
class=
"choiceCommon_Auth"
>
Y
</label>
<el-col
:span=
"15"
>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
<div
flex=
"dir:left"
>
v-model
.
number=
"hotspotList[0].top"
>
<label>
Y
</label>
</el-input>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>0"
<label
class=
"choice_PX"
>
px
</label>
v-model
.
number=
"hotspotList[0].top"
>
</div>
</el-input>
</el-col>
<label>
px
</label>
</el-row>
</div>
</el-form-item>
</el-col>
<el-form-item
label-width=
"20px"
>
</el-row>
<div
style=
"width:100%;height:1px;border-bottom:1px dashed #d1d1d1"
></div>
</el-form-item>
</el-form-item>
</td>
<el-form-item>
</tr>
<el-checkbox
v-if=
"hotspotList&&hotspotList.length>1"
v-model=
"hotspotList[1].IsChecked"
<tr>
@
change=
"changeItem(hotspotList[1],1)"
>
登录按钮
<td>
</el-checkbox>
<el-checkbox
v-if=
"hotspotList&&hotspotList.length>1"
v-model=
"hotspotList[1].IsChecked"
</el-form-item>
@
change=
"changeItem(hotspotList[1],1)"
>
登录按钮
<el-form-item
label=
"热区尺寸"
>
</el-checkbox>
<el-row
type=
"flex"
>
</td>
<el-col
:span=
"15"
>
<td>
<div
flex=
"dir:left"
>
<el-form-item
label=
"热区尺寸"
>
<label
class=
"choiceCommon_Auth"
>
W
</label>
<el-row
type=
"flex"
>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
<el-col
:span=
"15"
>
v-model=
"hotspotList[1].width"
:max=
"maxWidth_Login"
>
<div
flex=
"dir:left"
>
</el-input>
<label>
W
</label>
<label
class=
"choice_PX"
>
px
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
</div>
v-model=
"hotspotList[1].width"
:max=
"maxWidth_Login"
>
</el-col>
</el-input>
<el-col
:span=
"15"
>
<label>
px
</label>
<div
flex=
"dir:left"
>
</div>
<label
class=
"choiceCommon_Auth"
>
H
</label>
</el-col>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
<el-col
:span=
"15"
>
v-model=
"hotspotList[1].height"
:max=
"maxHeight_Login"
>
<div
flex=
"dir:left"
>
</el-input>
<label>
H
</label>
<label
class=
"choice_PX"
>
px
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
</div>
v-model=
"hotspotList[1].height"
:max=
"maxHeight_Login"
>
</el-col>
</el-input>
</el-row>
<label>
px
</label>
</el-form-item>
</div>
<el-form-item
label=
"热区位置"
>
</el-col>
<el-row
type=
"flex"
>
</el-row>
<el-col
:span=
"15"
>
</el-form-item>
<div
flex=
"dir:left"
>
<el-form-item
label=
"热区位置"
>
<label
class=
"choiceCommon_Auth"
>
X
</label>
<el-row
type=
"flex"
>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
<el-col
:span=
"15"
>
v-model
.
number=
"hotspotList[1].left"
>
<div
flex=
"dir:left"
>
</el-input>
<label>
X
</label>
<label
class=
"choice_PX"
>
px
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
</div>
v-model
.
number=
"hotspotList[1].left"
>
</el-col>
</el-input>
<el-col
:span=
"15"
>
<label>
px
</label>
<div
flex=
"dir:left"
>
</div>
<label
class=
"choiceCommon_Auth"
>
Y
</label>
</el-col>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
<el-col
:span=
"15"
>
v-model
.
number=
"hotspotList[1].top"
>
<div
flex=
"dir:left"
>
</el-input>
<label>
Y
</label>
<label
class=
"choice_PX"
>
px
</label>
<el-input
size=
"small"
type=
"number"
v-if=
"hotspotList&&hotspotList.length>1"
</div>
v-model
.
number=
"hotspotList[1].top"
>
</el-col>
</el-input>
</el-row>
<label>
px
</label>
</el-form-item>
</div>
</el-col>
</el-row>
</el-form-item>
</td>
</tr>
</table>
<div
style=
"padding: 20px 40px;"
>
请先在左侧蓝框内用鼠标划出热区范围
</div>
<div
style=
"padding: 20px 40px;"
>
请先在左侧蓝框内用鼠标划出热区范围
</div>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
<el-button
style=
"margin-left: 10px"
v-if=
"hotspotList.length==2"
type=
"primary"
size=
"small"
<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 @@
...
@@ -421,7 +421,7 @@
</div>
</div>
<div
class=
"table_Inner"
>
<div
class=
"table_Inner"
>
<el-table
:data=
"saleIncomeData"
style=
"width: 100%"
>
<el-table
:data=
"saleIncomeData"
style=
"width: 100%"
>
<el-table-column
label=
"排名"
width=
"120"
>
<el-table-column
label=
"排名"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<div
class=
"rankIng"
>
<div
class=
"rankIng"
>
<template
v-if=
"scope.$index+1
<4
"
>
<template
v-if=
"scope.$index+1
<4
"
>
...
@@ -466,7 +466,7 @@
...
@@ -466,7 +466,7 @@
</div>
</div>
<div
class=
"table_Inner table2"
>
<div
class=
"table_Inner table2"
>
<el-table
:data=
"saleUserData"
style=
"width: 100%"
>
<el-table
:data=
"saleUserData"
style=
"width: 100%"
>
<el-table-column
label=
"排名"
width=
"120"
>
<el-table-column
label=
"排名"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"rankIng"
>
<div
class=
"rankIng"
>
<template
v-if=
"scope.$index+1
<4
"
>
<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