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
84f8d798
Commit
84f8d798
authored
Jun 04, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
e085853c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
12 deletions
+38
-12
AppletPublishing.vue
src/components/StoreDesign/AppletPublishing.vue
+1
-1
customSet.vue
src/components/UserMan/customSet.vue
+2
-2
choiceArea.vue
src/components/common/choiceArea.vue
+2
-2
authorization.vue
src/components/sallCenter/authorization.vue
+33
-7
No files found.
src/components/StoreDesign/AppletPublishing.vue
View file @
84f8d798
...
...
@@ -74,7 +74,7 @@
<!--
<div>
版本号:
{{
Version
}}
</div>
<div>
描述:
</div>
-->
</div>
<div>
<img
src=
"http://wx.weibaoge.cn/plugins/wxapp/assets/upload-tip.png
"
style=
"max-width: 100%; height: auto; border: 1px dashed rgb(53, 182, 53);"
>
<img
:src=
"getIconLink('/Static/icon-close.png')
"
style=
"max-width: 100%; height: auto; border: 1px dashed rgb(53, 182, 53);"
>
</div>
</div>
</div>
...
...
src/components/UserMan/customSet.vue
View file @
84f8d798
...
...
@@ -381,8 +381,8 @@
<div
flex=
"dir:left cross:center"
style=
"margin: 10px 0px; padding: 0px 12px; height: 48px; background: rgb(255, 255, 255);"
>
<div>
{{
addMsg
.
UserNotesName
}}
</div>
<div
class=
"app-image"
style=
"background-image: url(http://wx.weibaoge.cn/web/statics/img/mall/customize_jp.png;); background-size: cover; background-position: center center; width: 8px; height: 13px; border-radius: 0%; margin-left: auto;"
>
<div
class=
"app-image"
style=
"background-size: cover; background-position: center center; width: 8px; height: 13px; border-radius: 0%; margin-left: auto;"
:style=
"
{backgroundImage: 'url('+getIconLink('/Static/customize_jp.png')+')'}"
>
</div>
</div>
<div
flex=
"main:center"
style=
"margin: 20px auto; color: rgb(255, 255, 255);"
>
...
...
src/components/common/choiceArea.vue
View file @
84f8d798
...
...
@@ -87,7 +87,7 @@
maxHeight:'calc('+height+' - '+item.top+'px)', backgroundColor: index == key ? 'rgba(92, 179, 253, 0.2)' : ''}"
@click="select(key)" v-for="(item, key) in hotspotList" :key="key" :data-index="key">
<div
class=
"close"
@
click
.
stop=
"del(key)"
v-if=
"item.is_close"
>
<img
style=
"width: 32px;height: 32px"
src=
"http://wx.weibaoge.cn/web/statics/img/mall/icon-close.png
"
>
<img
style=
"width: 32px;height: 32px"
:src=
"getIconLink('/Static/icon-close.png')
"
>
</div>
</div>
<div
class=
"pic-list"
:style=
"style"
v-if=
"picList && picList.length > 0"
>
...
...
@@ -95,7 +95,7 @@
<div
:style=
"item"
:key=
"index"
>
<img
:src=
"item.pic_url"
style=
"width: 100%;visibility: hidden;display: block;"
>
</div>
<img
:src=
"item.pic_url"
style=
"width: 100%;visibility: hidden;display: block;"
>
<img
:src=
"item.pic_url"
:key=
"index"
style=
"width: 100%;visibility: hidden;display: block;"
>
</
template
>
</div>
<div
:style=
"style"
flex=
"dir:left main:center cross:center"
v-else
>
...
...
src/components/sallCenter/authorization.vue
View file @
84f8d798
...
...
@@ -30,11 +30,11 @@
</div>
</el-form-item>
<el-form-item
label=
"热区"
>
<choiceArea
ref=
"choiceArea
"
:multiple=
"true"
:max=
"2"
:pic-url=
"getIconLink(addMsg.AuthUrl)"
<choiceArea
Auth
ref=
"choiceAreaAuth
"
:multiple=
"true"
:max=
"2"
:pic-url=
"getIconLink(addMsg.AuthUrl)"
mode=
'auth'
:hotspotArray=
"addMsg.AuthDataList"
width=
"650px"
height=
"700px"
@
confirm=
"selectHotspot"
:is-link=
"false"
>
<el-button
size=
"mini"
>
划分热区
</el-button>
</choiceArea>
</choiceArea
Auth
>
<div>
注:需要划分两个热区:一个是登录按钮热区,一个是暂不登录按钮热区
</div>
</el-form-item>
</el-form>
...
...
@@ -53,7 +53,7 @@
</template>
<
script
>
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
import
choiceArea
from
"../common/choiceArea
.vue"
;
import
choiceArea
Auth
from
"../common/choiceAreaAuth
.vue"
;
export
default
{
data
()
{
return
{
...
...
@@ -68,7 +68,7 @@
MallBaseId
:
0
,
IsOpenAuth
:
0
,
//是否开启
AuthUrl
:
this
.
domainManager
().
ImageUrl
+
'/Static/auth-default.png'
,
//图片
AuthDataList
:
[]
//热区
AuthDataList
:
[
]
//热区
},
};
},
...
...
@@ -77,7 +77,7 @@
},
components
:
{
ChooseImg
,
choiceArea
choiceArea
Auth
},
methods
:
{
GetData
()
{
...
...
@@ -90,15 +90,41 @@
if
(
res
.
data
.
data
.
AuthUrl
)
{
this
.
addMsg
.
AuthUrl
=
res
.
data
.
data
.
AuthUrl
;
}
if
(
res
.
data
.
data
.
AuthDataList
&&
res
.
data
.
data
.
AuthDataList
.
length
>
0
)
{
this
.
addMsg
.
AuthDataList
=
res
.
data
.
data
.
AuthDataList
;
}
else
{
this
.
GetDefaultSpot
();
}
}
else
{
this
.
Info
(
res
.
data
.
message
);
}
})
},
//热区设置默认值
GetDefaultSpot
()
{
var
objLogin
=
{
width
:
224
,
height
:
80
,
left
:
340
,
top
:
566
,
defaultX
:
340
,
defaultY
:
566
,
link
:
""
,
open_type
:
"login"
};
this
.
addMsg
.
AuthDataList
.
push
(
objLogin
);
var
objCancel
=
{
width
:
224
,
height
:
80
,
left
:
84
,
top
:
566
,
defaultX
:
84
,
defaultY
:
566
,
link
:
""
,
open_type
:
"cancel"
};
this
.
addMsg
.
AuthDataList
.
push
(
objCancel
);
},
//保存
saveMsg
()
{
this
.
apipost
(
"/api/Tenant/SetMiniProgramMallAuth"
,
this
.
addMsg
,
res
=>
{
...
...
@@ -118,7 +144,7 @@
// 热区选择(edit)
selectHotspot
(
list
)
{
this
.
addMsg
.
AuthDataList
=
list
;
this
.
$refs
.
choiceArea
.
clearAll
();
this
.
$refs
.
choiceArea
Auth
.
clearAll
();
},
},
mounted
()
{
...
...
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