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
881fcc3d
Commit
881fcc3d
authored
Aug 10, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
0da2f428
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
29 deletions
+27
-29
Index.vue
src/components/Index.vue
+10
-7
pintuanSet.vue
src/components/pintuan/pintuanSet.vue
+17
-22
No files found.
src/components/Index.vue
View file @
881fcc3d
...
...
@@ -736,13 +736,16 @@
TestMiniApp
()
{
var
cmdStr
=
""
;
//cmdStr = "/api/test/get";
cmdStr
=
"/api/Mall/GetHome"
;
//cmdStr = "/api/Mall/GetMessageTemplate";
// cmdStr = "/api/Mall/GetWeChatOpenId";
var
postData
=
{};
// this.apipost(cmdStr, postData, res => {
// console.log("Test", res.data);
// })
//cmdStr="/api/Mall/GetHome";
var
postData
=
{
// "AddressId":154
};
if
(
cmdStr
!=
""
)
{
this
.
apipost
(
cmdStr
,
postData
,
res
=>
{
console
.
log
(
"TestMiniApp"
,
res
.
data
);
})
}
},
},
mounted
()
{
...
...
src/components/pintuan/pintuanSet.vue
View file @
881fcc3d
...
...
@@ -326,8 +326,8 @@
</el-switch>
</el-form-item>
<el-form-item
label=
"样式选择"
size=
"mini"
>
<div
class=
"block-box"
v-for=
"(item,index) in styleList"
:key=
"index"
:class=
"i
sActive==item.Id
?'active':''"
@
click=
"getStyleType(item
.Id,item.Style
)"
>
<div
class=
"block-box"
v-for=
"(item,index) in styleList"
:key=
"index"
:class=
"i
tem.Style==msg.Style
?'active':''"
@
click=
"getStyleType(item)"
>
<img
src=
"../../assets/img/storeDesign/select.png"
class=
"Cubeselect"
alt=
""
/>
<div
class=
"opacity"
></div>
<el-button
class=
"imgCube_chooseBtn"
type=
"primary"
>
启用该样式
</el-button>
...
...
@@ -434,7 +434,6 @@
initialFrameWidth
:
null
,
initialFrameHeight
:
350
,
},
isActive
:
-
1
,
msg
:
{
GroupByConfigId
:
0
,
//配置编号
Is_Share
:
0
,
//是否开启分销
...
...
@@ -454,44 +453,44 @@
},
//样式选择枚举
styleList
:
[{
Id
:
0
,
Id
:
1
,
size
:
[
'750*360'
],
Style
:
1
,
ImgUrl
:
this
.
domainManager
().
ImageUrl
+
'/Static/cube1-1.png'
},
{
Id
:
1
,
Id
:
2
,
size
:
[
'300*360'
,
'450*360'
],
Style
:
2
,
ImgUrl
:
this
.
domainManager
().
ImageUrl
+
'/Static/cube1-2.png'
},
{
Id
:
2
,
Id
:
3
,
size
:
[
'300*360'
,
'450*180'
,
'450*180'
],
Style
:
3
,
ImgUrl
:
this
.
domainManager
().
ImageUrl
+
'/Static/cube1-3.png'
},
{
Id
:
3
,
Id
:
4
,
size
:
[
'300*360'
,
'450*180'
,
'225*180'
,
'225*180'
],
Style
:
4
,
ImgUrl
:
this
.
domainManager
().
ImageUrl
+
'/Static/cube1-4.png'
},
{
Id
:
4
,
Id
:
5
,
size
:
[
'375*240'
,
'375*240'
],
Style
:
2
,
Style
:
5
,
ImgUrl
:
this
.
domainManager
().
ImageUrl
+
'/Static/cube2-1.png'
},
{
Id
:
5
,
Id
:
6
,
size
:
[
'250*240'
,
'250*240'
,
'250*240'
],
Style
:
3
,
Style
:
6
,
ImgUrl
:
this
.
domainManager
().
ImageUrl
+
'/Static/cube2-2.png'
},
{
Id
:
6
,
Id
:
7
,
size
:
[
'188*188'
,
'188*188'
,
'188*188'
,
'188*188'
],
Style
:
4
,
Style
:
7
,
ImgUrl
:
this
.
domainManager
().
ImageUrl
+
'/Static/cube2-3.png'
},
{
Id
:
7
,
Id
:
8
,
size
:
[
'375*186'
,
'375*186'
,
'375*186'
,
'375*186'
],
Style
:
4
,
Style
:
8
,
ImgUrl
:
this
.
domainManager
().
ImageUrl
+
'/Static/cube3-1.png'
}],
defaultMsg
:
[{
...
...
@@ -539,16 +538,12 @@
this
.
checkIndex
=
tab
.
name
;
},
//点击选择广告
getStyleType
(
Id
,
Style
)
{
this
.
isActive
=
Id
;
this
.
msg
.
Style
=
Id
;
getStyleType
(
item
)
{
this
.
msg
.
Style
=
item
.
Style
;
this
.
msg
.
MagicDataList
=
[];
for
(
var
i
=
0
;
i
<
Style
;
i
++
)
{
for
(
var
i
=
0
;
i
<
item
.
size
.
length
;
i
++
)
{
this
.
msg
.
MagicDataList
.
push
(
this
.
defaultMsg
[
i
]);
}
this
.
msg
.
MagicDataList
.
forEach
((
x
,
index
)
=>
{
x
.
size
=
this
.
styleList
[
Id
].
size
[
index
]
})
},
//保存拼团配置
saveGroupBuyConfig
()
{
...
...
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