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
fcc5c96d
Commit
fcc5c96d
authored
Aug 11, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
5678ab8d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
16 deletions
+25
-16
pintuanActive.vue
src/components/pintuan/pintuanActive.vue
+3
-3
goodsSpecifica.vue
src/components/pintuan/pintuanPlugin/goodsSpecifica.vue
+20
-11
pluginCenter.vue
src/components/sallCenter/pluginCenter.vue
+2
-2
No files found.
src/components/pintuan/pintuanActive.vue
View file @
fcc5c96d
...
@@ -128,9 +128,7 @@
...
@@ -128,9 +128,7 @@
<i
class=
"elzk el-tooltip el-icon-info"
></i>
<i
class=
"elzk el-tooltip el-icon-info"
></i>
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
<goodsSpe
v-show=
"IsShowSpec"
:SpecList=
"SpecificationList"
>
<goodsSpe
v-show=
"IsShowSpec"
:SpecList=
"SpecificationList"
:SpecPriceList=
"SpecificationPriceList"
></goodsSpe>
</goodsSpe>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品货号"
>
<el-form-item
label=
"商品货号"
>
<el-input
v-model=
"addMsg.Goods_no"
size=
"small"
placeholder=
"请输入内容"
class=
"input-with-select"
>
<el-input
v-model=
"addMsg.Goods_no"
size=
"small"
placeholder=
"请输入内容"
class=
"input-with-select"
>
...
@@ -435,6 +433,7 @@
...
@@ -435,6 +433,7 @@
},
},
IsShowSpec
:
false
,
//是否显示规格
IsShowSpec
:
false
,
//是否显示规格
SpecificationList
:[],
//规格列表
SpecificationList
:[],
//规格列表
SpecificationPriceList
:[],
//规格价格列表
rules
:
{
rules
:
{
},
},
...
@@ -483,6 +482,7 @@
...
@@ -483,6 +482,7 @@
this
.
addMsg
.
Goods_no
=
chooseGoods
[
0
].
GoodsNumbers
;
this
.
addMsg
.
Goods_no
=
chooseGoods
[
0
].
GoodsNumbers
;
this
.
addMsg
.
Goods_weight
=
chooseGoods
[
0
].
GoodsWeight
;
this
.
addMsg
.
Goods_weight
=
chooseGoods
[
0
].
GoodsWeight
;
this
.
SpecificationList
=
chooseGoods
[
0
].
SpecificationList
;
this
.
SpecificationList
=
chooseGoods
[
0
].
SpecificationList
;
this
.
SpecificationPriceList
=
chooseGoods
[
0
].
SpecificationPriceList
;
this
.
IsShowSpec
=
true
;
this
.
IsShowSpec
=
true
;
}
}
this
.
$refs
.
choiceGood
.
toggleSelection
();
this
.
$refs
.
choiceGood
.
toggleSelection
();
...
...
src/components/pintuan/pintuanPlugin/goodsSpecifica.vue
View file @
fcc5c96d
...
@@ -125,9 +125,8 @@
...
@@ -125,9 +125,8 @@
<i
@
click=
"Deleteggz(item, index, index2)"
class=
"el-icon-error close"
></i>
<i
@
click=
"Deleteggz(item, index, index2)"
class=
"el-icon-error close"
></i>
<div
v-if=
"index == 0 && item.EnabledImage == 1"
flex=
"cross:center main:center"
class=
"img-box"
>
<div
v-if=
"index == 0 && item.EnabledImage == 1"
flex=
"cross:center main:center"
class=
"img-box"
>
<div
class=
"attr-jt"
></div>
<div
class=
"attr-jt"
></div>
<div
v-if=
"item2.Image == ''"
@
click=
"
<div
v-if=
"item2.Image == ''"
@
click=
" openggImg(item, index, item2, index2) "
openggImg(item, index, item2, index2)
class=
"app-attachment"
>
"
class=
"app-attachment"
>
<div
style=
"line-height: normal; display: inline-block;"
>
<div
style=
"line-height: normal; display: inline-block;"
>
<span>
+添加图片
</span>
<span>
+添加图片
</span>
</div>
</div>
...
@@ -135,14 +134,12 @@
...
@@ -135,14 +134,12 @@
<div
v-if=
"item2.Image != ''"
class=
"el-image"
style=
"height: 88px; width: 88px;"
>
<div
v-if=
"item2.Image != ''"
class=
"el-image"
style=
"height: 88px; width: 88px;"
>
<img
:src=
"item2.Image"
style=
"width:100%;height:100%"
/>
<img
:src=
"item2.Image"
style=
"width:100%;height:100%"
/>
</div>
</div>
<span
v-if=
"item2.Image != ''"
@
click=
"
<span
v-if=
"item2.Image != ''"
@
click=
" DeleteImageUrl(item, index, item2, index2) "
DeleteImageUrl(item, index, item2, index2)
class=
"el-icon-error close"
></span>
"
class=
"el-icon-error close"
></span>
<div
v-if=
"item2.Image != ''"
style=
"position: absolute;"
>
<div
v-if=
"item2.Image != ''"
style=
"position: absolute;"
>
<div
class=
"app-attachment"
>
<div
class=
"app-attachment"
>
<el-button
@
click=
"
<el-button
@
click=
"openggImg(item, index, item2, index2)"
type=
"primary"
openggImg(item, index, item2, index2)
size=
"small"
>
替换
</el-button>
"
type=
"primary"
size=
"small"
>
替换
</el-button>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -263,7 +260,7 @@
...
@@ -263,7 +260,7 @@
<
script
>
<
script
>
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
export
default
{
export
default
{
props
:
[
'SpecList'
],
props
:
[
'SpecList'
,
"SpecPriceList"
],
components
:
{
components
:
{
ChooseImg
ChooseImg
},
},
...
@@ -293,7 +290,19 @@
...
@@ -293,7 +290,19 @@
};
};
},
},
created
()
{
created
()
{
console
.
log
(
"SpecificationList"
,
this
.
SpecificationList
);
},
watch
:
{
'SpecList'
:
{
handler
:
function
(
val
,
oldval
)
{
this
.
SpecificationList
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
},
},
'SpecPriceList'
:
{
handler
:
function
(
val
,
oldval
)
{
this
.
SpecificationPriceList
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
},
},
},
},
methods
:
{
methods
:
{
// 添加规格模板
// 添加规格模板
...
...
src/components/sallCenter/pluginCenter.vue
View file @
fcc5c96d
...
@@ -92,10 +92,10 @@
...
@@ -92,10 +92,10 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
flex=
"cross:center"
style=
"margin-top:20px
;display:none
"
>
<div
flex=
"cross:center"
style=
"margin-top:20px
"
>
<h3
class=
"plugin_ListTitle"
>
营销工具
</h3>
<h3
class=
"plugin_ListTitle"
>
营销工具
</h3>
</div>
</div>
<div
flex=
"dir:left"
style=
"display:none"
class=
"plugin-list el-row"
>
<div
flex=
"dir:left"
class=
"plugin-list el-row"
>
<div
class=
"el-col el-col-24 el-col-xs-24 el-col-sm-12 el-col-md-8 el-col-lg-6 el-col-xl-4"
@
click=
"goDiyCenter('pintuanMain')"
>
<div
class=
"el-col el-col-24 el-col-xs-24 el-col-sm-12 el-col-md-8 el-col-lg-6 el-col-xl-4"
@
click=
"goDiyCenter('pintuanMain')"
>
<div
flex=
"dir:left box:first"
class=
"plugin-item"
>
<div
flex=
"dir:left box:first"
class=
"plugin-item"
>
<div
style=
"padding-right: 12px;"
>
<div
style=
"padding-right: 12px;"
>
...
...
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