Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-web
Overview
Overview
Details
Activity
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
memberTag
memberTag-web
Commits
d974c5fc
Commit
d974c5fc
authored
May 27, 2019
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整样式
parent
b7f8bf4c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
13 deletions
+16
-13
card.vue
src/components/card/card.vue
+8
-9
manualTagEdit.vue
src/view/manualTag/manualTagEdit.vue
+1
-1
edit-tag.vue
src/view/memberGroup/edit-tag.vue
+7
-3
No files found.
src/components/card/card.vue
View file @
d974c5fc
...
...
@@ -65,25 +65,25 @@
<!--
<template
slot-scope=
"scope"
>
-->
<!--
<el-radio
class=
"radio-style"
:label=
"scope.row.coupCardId"
v-model=
"radio"
:disabled=
"scope.row.disabled"
></el-radio>
-->
<!--
</
template
>
-->
<el-table-column
:show-overflow-tooltip=
"true"
:
min-width=
"100"
align=
"left"
prop=
"cardName"
label=
"卡券名称"
></el-table-column>
<el-table-column
:show-overflow-tooltip=
"true"
:
min-width=
"100"
align=
"left"
prop=
"subName"
label=
"备注名"
></el-table-column>
<el-table-column
prop=
""
label=
"有效期"
:min-width=
"10
0"
:show-overflow-tooltip=
"false"
>
<el-table-column
:show-overflow-tooltip=
"true"
min-width=
"100"
align=
"left"
prop=
"cardName"
label=
"卡券名称"
></el-table-column>
<el-table-column
:show-overflow-tooltip=
"true"
min-width=
"100"
align=
"left"
prop=
"subName"
label=
"备注名"
></el-table-column>
<el-table-column
prop=
""
label=
"有效期"
min-width=
"13
0"
:show-overflow-tooltip=
"false"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.cardEffectiveMode == 0"
>
固定日期:
{{
formateDateTimeByType
(
scope
.
row
.
beginDate
,
'yyyy-MM-dd'
)
+
'至'
+
formateDateTimeByType
(
scope
.
row
.
endDate
,
'yyyy-MM-dd'
)
}}
</div>
<div
v-if=
"scope.row.cardEffectiveMode == 0"
>
固定日期:
<br>
{{
formateDateTimeByType
(
scope
.
row
.
beginDate
,
'yyyy-MM-dd'
)
+
'至'
+
formateDateTimeByType
(
scope
.
row
.
endDate
,
'yyyy-MM-dd'
)
}}
</div>
<div
v-if=
"scope.row.cardEffectiveMode == 1"
>
领取后
{{
(
scope
.
row
.
startDay
===
0
?
'当'
:
scope
.
row
.
startDay
)
+
'天,有效天数'
+
scope
.
row
.
limitDay
}}
天
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"cardLimit"
:show-overflow-tooltip=
"false"
label=
"领取限制"
width=
"9
0"
>
<el-table-column
prop=
"cardLimit"
:show-overflow-tooltip=
"false"
label=
"领取限制"
min-width=
"10
0"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
cardLimit
}}
张/人
</
template
>
</el-table-column>
<el-table-column
:show-overflow-tooltip=
"false"
:width=
"9
0"
align=
"left"
prop=
"storeMode"
label=
"适用门店"
>
<el-table-column
:show-overflow-tooltip=
"false"
min-width=
"10
0"
align=
"left"
prop=
"storeMode"
label=
"适用门店"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
storeMode
===
0
?
'所有门店'
:
scope
.
row
.
storeMode
===
1
?
'部分分组'
:
'部分门店'
}}
</
template
>
</el-table-column>
<el-table-column
:show-overflow-tooltip=
"false"
:width=
"10
0"
align=
"left"
prop=
"couponStock"
label=
"库存"
></el-table-column>
<el-table-column
:show-overflow-tooltip=
"false"
width=
"9
0"
align=
"left"
prop=
"couponStock"
label=
"库存"
></el-table-column>
</el-table>
<div
class=
"pagination"
v-if=
"total > 0"
>
...
...
@@ -480,10 +480,9 @@ export default {
}
.attention-textAndImg-wrap
{
.text-img-search
{
padding
:
1
0px
;
padding
:
1
6px
10px
0
;
font-size
:
14px
;
color
:
#292929
;
padding-bottom
:
22px
;
display
:
block
;
overflow
:
hidden
;
background-color
:
#f7faff
;
...
...
src/view/manualTag/manualTagEdit.vue
View file @
d974c5fc
...
...
@@ -106,7 +106,7 @@
</div>
<!-- 无标签值 -->
<div
class=
"no-tag-value"
v-else
>
<p
class=
"font-14 color-909399"
>
你还没有
标签值
,
</p>
<p
class=
"font-14 color-909399"
>
你还没有
创建标签
,
</p>
<p
class=
"m-t-10 font-14 color-909399"
>
请先完善标签基本信息再添加标签值
</p>
<el-button
class=
"m-t-18"
:disabled=
"!canAddTagVal"
type=
"primary"
@
click=
"addTagValPop.isShow = true"
>
添加标签值
</el-button>
</div>
...
...
src/view/memberGroup/edit-tag.vue
View file @
d974c5fc
...
...
@@ -12,7 +12,9 @@
</div>
<p
v-if=
"tagId"
class=
"m-t-20 m-b-20 tag-config"
>
标签值设置
</p>
<!-- 所有标签的配置项 -->
<tag-config-options
v-if=
"isAddFlag"
:tagId=
"tagDataAssgin.tagId"
ref=
"tagConfig"
:templateDataList=
"templateObj"
@
returnTagData=
"returnTagData"
></tag-config-options>
<div
class=
"tag-config-options"
>
<tag-config-options
v-if=
"isAddFlag"
:tagId=
"tagDataAssgin.tagId"
ref=
"tagConfig"
:templateDataList=
"templateObj"
@
returnTagData=
"returnTagData"
></tag-config-options>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"handleClose"
>
取 消
</el-button>
...
...
@@ -96,8 +98,6 @@ export default {
<
style
lang=
"less"
scoped
>
.dialog-box
{
max-height
:
70vh
;
overflow-y
:
scroll
;
.tag-info
{
padding-bottom
:
10px
;
border-bottom
:
1px
solid
#dcdfe6
;
...
...
@@ -132,6 +132,10 @@ export default {
font-size
:
14px
;
color
:
#606266
;
}
.tag-config-options
{
max-height
:
50vh
;
overflow-y
:
scroll
;
}
.tag-value
{
margin-top
:
10px
;
padding-top
:
10px
;
...
...
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