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
67eefd53
Commit
67eefd53
authored
Aug 14, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huangyuanyuan/electricitysheep
parents
816f675c
8657d700
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
102 additions
and
85 deletions
+102
-85
choiceArea.vue
src/components/common/choiceArea.vue
+3
-3
pintuanActive.vue
src/components/pintuan/pintuanActive.vue
+15
-1
distributePrice.vue
src/components/pintuan/pintuanPlugin/distributePrice.vue
+84
-81
No files found.
src/components/common/choiceArea.vue
View file @
67eefd53
...
...
@@ -93,13 +93,13 @@
<div
class=
"pic-list"
:style=
"style"
v-if=
"picList && picList.length > 0"
>
<template
v-for=
"(item, Subindex) in picList"
>
<div
:style=
"item"
:key=
"Subindex"
>
<img
:src=
"
item.pic_url
"
style=
"width: 100%;visibility: hidden;display: block;"
>
<img
:src=
"
getIconLink(item.pic_url)
"
style=
"width: 100%;visibility: hidden;display: block;"
>
</div>
<img
:src=
"
item.pic_url
"
:key=
"Subindex+1"
style=
"width: 100%;visibility: hidden;display: block;"
>
<img
:src=
"
getIconLink(item.pic_url)
"
:key=
"Subindex+1"
style=
"width: 100%;visibility: hidden;display: block;"
>
</
template
>
</div>
<div
:style=
"style"
flex=
"dir:left main:center cross:center"
v-else
>
<img
style=
"width: auto;height: auto;max-width: 100%;max-height: 100%"
:src=
"
picUrl
"
>
<img
style=
"width: auto;height: auto;max-width: 100%;max-height: 100%"
:src=
"
getIconLink(picUrl)
"
>
</div>
</div>
</div>
...
...
src/components/pintuan/pintuanActive.vue
View file @
67eefd53
...
...
@@ -396,7 +396,7 @@
:SpecPriceList=
"TempSpecPriceList"
></groupStep>
</el-tab-pane>
<el-tab-pane
label=
"分销价设置"
>
<distributePrice
:shareGroup_list=
"TempGroupPriceList"
></distributePrice>
<distributePrice
v-if=
"TempSpecList&&TempSpecList.length>0"
:addMsg=
"addMsg"
:shareGroup_list=
"TempGroupPriceList"
></distributePrice>
</el-tab-pane>
<el-tab-pane
label=
"会员价设置"
>
<memberPrice
:SpecificationPriceList=
"TempSpecPriceList"
:SpecificationList=
"TempSpecList"
></memberPrice>
...
...
@@ -527,6 +527,9 @@
App_share_pic
:
''
,
//自定义分享图片
IsCustomSpecification
:
2
,
// 是否自定义规格 1是 2否
GroupList
:[],
//阶梯价格
SeparateDistribution
:
2
,
//是否开启单独分销 1是 2否
SeparateDistributionType
:
1
,
//单独分销类型 1普通设置 2详细设置
SeparateDistributionMoneyType
:
1
,
//分销佣金类型 2固定金额 1百分比
},
IsShowSpec
:
false
,
//是否显示规格
TempSpecList
:
[],
//规格列表
...
...
@@ -633,6 +636,17 @@
this
.
addMsg
.
GroupList
=
Mydata
.
GroupList
;
this
.
TempGroupPriceList
=
Mydata
.
GroupList
;
}
this
.
addMsg
.
SeparateDistribution
=
Mydata
.
SeparateDistribution
;
this
.
addMsg
.
SeparateDistributionType
=
Mydata
.
SeparateDistributionType
;
if
(
this
.
addMsg
.
SeparateDistributionType
==
0
)
{
this
.
addMsg
.
SeparateDistributionType
=
1
;
}
this
.
addMsg
.
SeparateDistributionMoneyType
=
Mydata
.
SeparateDistributionMoneyType
;
if
(
this
.
addMsg
.
SeparateDistributionMoneyType
==
0
)
{
this
.
addMsg
.
SeparateDistributionMoneyType
=
2
}
this
.
IsShowSpec
=
true
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
...
...
src/components/pintuan/pintuanPlugin/distributePrice.vue
View file @
67eefd53
This diff is collapsed.
Click to expand it.
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