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
8b7106a1
Commit
8b7106a1
authored
May 21, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
1fdea663
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
11 deletions
+15
-11
HomePageLayout.vue
src/components/StoreDesign/HomePageLayout.vue
+0
-1
choiceModule.vue
src/components/common/choiceModule.vue
+9
-7
CustomPage.vue
src/components/sallCenter/CustomPage.vue
+6
-3
No files found.
src/components/StoreDesign/HomePageLayout.vue
View file @
8b7106a1
...
...
@@ -551,7 +551,6 @@
MallBaseId
:
this
.
getLocalStorage
().
MallBaseId
,
HomeDataList
:
this
.
dataList
};
console
.
log
(
"msg"
,
msg
);
this
.
apipost
(
"/api/Tenant/SetMiniProgramMallHome"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
...
...
src/components/common/choiceModule.vue
View file @
8b7106a1
...
...
@@ -7,12 +7,12 @@
</el-table-column>
<el-table-column
prop=
"address"
label=
"操作"
width=
"100"
>
<template
slot-scope=
"scope"
>
<el-button
@
click=
"getModel(scope.row)"
size=
"mini"
>
选择
</el-button>
<el-button
@
click=
"getModel(scope.row)"
size=
"mini"
>
选择
</el-button>
</
template
>
</el-table-column>
</el-table>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:page-size=
"qMsg.pageSize"
layout=
"prev, pager, next"
:total=
"total"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:page-size=
"qMsg.pageSize"
layout=
"prev, pager, next"
:total=
"total"
>
</el-pagination>
</div>
</template>
...
...
@@ -45,10 +45,12 @@
})
},
//选择
getModel
(
item
){
let
str
=
''
;
str
=
'#'
+
item
.
Id
+
':'
+
item
.
TemplateName
;
this
.
$emit
(
'getCustom'
,
str
)
getModel
(
item
)
{
var
obj
=
{
Id
:
item
.
Id
,
TemplateName
:
item
.
TemplateName
}
this
.
$emit
(
'getCustom'
,
obj
)
},
},
mounted
()
{
...
...
src/components/sallCenter/CustomPage.vue
View file @
8b7106a1
...
...
@@ -82,7 +82,7 @@
<el-input
type=
"text"
v-model=
"item.NavName"
size=
"small"
></el-input>
</el-form-item>
<el-form-item
label=
"对应模板"
>
<el-input
type=
"text"
size=
"small"
v-model=
"item.Template
Id
"
>
<el-input
type=
"text"
size=
"small"
v-model=
"item.Template
ShowName"
:disabled=
"true
"
>
<el-button
slot=
"append"
@
click=
"isShowModule=true,commonIndex=index"
>
选择模板
</el-button>
</el-input>
</el-form-item>
...
...
@@ -151,9 +151,12 @@
},
methods
:
{
//选择模板
getCustom
(
e
){
getCustom
(
obj
){
console
.
log
(
obj
)
if
(
this
.
commonIndex
>
-
1
)
{
this
.
addMsg
.
DetailsList
[
this
.
commonIndex
].
TemplateId
=
e
;
this
.
addMsg
.
DetailsList
[
this
.
commonIndex
].
TemplateId
=
obj
.
Id
;
this
.
addMsg
.
DetailsList
[
this
.
commonIndex
].
TemplateShowName
=
'#'
+
obj
.
Id
+
':'
+
obj
.
TemplateName
;
}
this
.
isShowModule
=
false
;
},
...
...
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