Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-home
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6adcf416
authored
May 24, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
00b53055
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
20 deletions
src/views/home/components/Marketing/GPTAnalysis.vue
src/views/home/components/Marketing/MarketingRight.vue
src/views/home/components/Marketing/PhoneView.vue
src/views/home/components/Marketing/selectEquityDialog.vue
src/views/home/components/Marketing/selectGoodsDialog.vue
src/views/home/components/Marketing/GPTAnalysis.vue
View file @
6adcf41
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-05-16 10:23:52
* @Date: 2023-05-16 10:23:52
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-05-2
3 16:38:54
* @LastEditTime: 2023-05-2
4 15:30:15
* @FilePath: \scrm-micro-home\src\views\home\components\Marketing\GPTAnalysis.vue
* @FilePath: \scrm-micro-home\src\views\home\components\Marketing\GPTAnalysis.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
...
@@ -72,20 +72,20 @@
...
@@ -72,20 +72,20 @@
</el-tabs>
</el-tabs>
<div
class=
"chose-panel"
v-loading=
"goodsLoading"
>
<div
class=
"chose-panel"
v-loading=
"goodsLoading"
>
<el-button
type=
"default"
class=
"el-icon-plus select-btn"
@
click=
"handleGoodsAdd"
>
选择福利券
</el-button>
<el-button
type=
"default"
class=
"el-icon-plus select-btn"
@
click=
"handleGoodsAdd"
>
选择福利券
</el-button>
<div
style=
"width:
852px
"
v-if=
"selectedGoodsList && selectedGoodsList.length"
>
<div
style=
"width:
40vw
"
v-if=
"selectedGoodsList && selectedGoodsList.length"
>
<div
class=
"goods-panel"
>
<div
class=
"goods-panel"
>
<el-table
:data=
"selectedGoodsList"
border
style=
"width: 100%"
>
<el-table
:data=
"selectedGoodsList"
border
style=
"width: 100%
;overflow:auto
"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"70"
></el-table-column>
<el-table-column
type=
"index"
label=
"序号"
width=
"70"
></el-table-column>
<el-table-column
prop=
"brandName"
label=
"品牌"
width=
"140"
></el-table-column>
<el-table-column
prop=
"brandName"
label=
"品牌"
></el-table-column>
<el-table-column
prop=
"goodsName"
label=
"商户名称"
width=
"170"
></el-table-column>
<el-table-column
prop=
"goodsName"
label=
"商户名称"
></el-table-column>
<el-table-column
prop=
"couponAmount"
label=
"数量"
width=
"70"
></el-table-column>
<el-table-column
prop=
"couponAmount"
label=
"数量"
></el-table-column>
<el-table-column
prop=
"denomination"
label=
"劵面额"
width=
"110"
>
<el-table-column
prop=
"denomination"
label=
"劵面额"
>
<
template
slot-scope=
"scope"
>
{{
(
scope
.
row
.
denomination
/
100
).
toFixed
(
2
)
}}
元
</
template
>
<
template
slot-scope=
"scope"
>
{{
(
scope
.
row
.
denomination
/
100
).
toFixed
(
2
)
}}
元
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"effectiveDays"
label=
"有效期"
width=
"110"
>
<el-table-column
prop=
"effectiveDays"
label=
"有效期"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
effectiveDays
}}
天
</
template
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
effectiveDays
}}
天
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"status"
label=
"状态"
width=
"80"
>
<el-table-column
prop=
"status"
label=
"状态"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
status
==
1
?
'未生效'
:
scope
.
row
.
status
==
2
?
'生效中'
:
scope
.
row
.
status
==
3
?
'已失效'
:
''
}}
</
template
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
status
==
1
?
'未生效'
:
scope
.
row
.
status
==
2
?
'生效中'
:
scope
.
row
.
status
==
3
?
'已失效'
:
''
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
width=
"100"
>
<el-table-column
label=
"操作"
width=
"100"
>
...
@@ -979,7 +979,7 @@ export default {
...
@@ -979,7 +979,7 @@ export default {
}
}
.play-panel
{
.play-panel
{
.card-panel
{
.card-panel
{
width
:
810px
;
width
:
36vw
;
.el-tabs__nav
{
.el-tabs__nav
{
border
:
none
;
border
:
none
;
}
}
...
@@ -1034,7 +1034,7 @@ export default {
...
@@ -1034,7 +1034,7 @@ export default {
margin
:
15px
auto
0
;
margin
:
15px
auto
0
;
}
}
padding
:
20px
;
padding
:
20px
;
width
:
864px
;
width
:
40vw
;
min-height
:
296px
;
min-height
:
296px
;
background
:
#ffffff
;
background
:
#ffffff
;
border
:
1px
solid
#e5e5e5
;
border
:
1px
solid
#e5e5e5
;
...
...
src/views/home/components/Marketing/MarketingRight.vue
View file @
6adcf41
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2023-05-15 15:08:32
* @Date: 2023-05-15 15:08:32
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-05-2
0 15:51:21
* @LastEditTime: 2023-05-2
4 15:46:24
* @FilePath: \scrm-micro-home\src\views\home\components\Marketing\MarketingRight.vue
* @FilePath: \scrm-micro-home\src\views\home\components\Marketing\MarketingRight.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
...
@@ -50,6 +50,9 @@ export default {
...
@@ -50,6 +50,9 @@ export default {
background
:
#fff
;
background
:
#fff
;
margin-top
:
10px
;
margin-top
:
10px
;
padding
:
8px
;
padding
:
8px
;
height
:
calc
(
100vh
-
100px
);
overflow-y
:
auto
;
overflow-x
:
hidden
;
.review-title
{
.review-title
{
padding
:
8px
;
padding
:
8px
;
font-size
:
16px
;
font-size
:
16px
;
...
...
src/views/home/components/Marketing/PhoneView.vue
View file @
6adcf41
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2023-05-15 15:08:32
* @Date: 2023-05-15 15:08:32
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-05-2
2 16:54:44
* @LastEditTime: 2023-05-2
4 15:48:19
* @FilePath: \scrm-micro-home\src\views\home\components\Marketing\MarketingRight.vue
* @FilePath: \scrm-micro-home\src\views\home\components\Marketing\MarketingRight.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
...
@@ -134,7 +134,7 @@ export default {
...
@@ -134,7 +134,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.review-body
{
.review-body
{
margin
:
10px
auto
;
margin
:
10px
auto
;
width
:
305
px
;
width
:
288
px
;
height
:
645px
;
height
:
645px
;
position
:
relative
;
position
:
relative
;
.review-phone
{
.review-phone
{
...
@@ -151,7 +151,7 @@ export default {
...
@@ -151,7 +151,7 @@ export default {
.review-footer
{
.review-footer
{
position
:
absolute
;
position
:
absolute
;
bottom
:
52px
;
bottom
:
52px
;
left
:
10
9px
;
left
:
8
9px
;
color
:
#f13c3d
;
color
:
#f13c3d
;
font-size
:
22px
;
font-size
:
22px
;
label
{
label
{
...
...
src/views/home/components/Marketing/selectEquityDialog.vue
View file @
6adcf41
...
@@ -33,10 +33,7 @@
...
@@ -33,10 +33,7 @@
<div
class=
"gift-content"
>
<div
class=
"gift-content"
>
<div
class=
"gift-item"
:key=
"subItem.id"
v-for=
"subItem in selectedList"
>
<div
class=
"gift-item"
:key=
"subItem.id"
v-for=
"subItem in selectedList"
>
<img
class=
"muti-icon"
src=
"@/assets/img/muti-selected.png"
@
click=
"deleteSelected(subItem)"
/>
<img
class=
"muti-icon"
src=
"@/assets/img/muti-selected.png"
@
click=
"deleteSelected(subItem)"
/>
<el-tooltip
effect=
"dark"
placement=
"top"
:disabled=
"couponString(subItem).length
<
= 8">
{{
subItem
.
packageName
}}
<p
:class=
"['gift-coupon-name', 'ellipsis-1']"
>
{{
couponString
(
subItem
)
>
8
?
couponString
(
subItem
).
slice
(
0
,
8
)
+
'...'
:
couponString
(
subItem
)
}}
</p>
<div
slot=
"content"
>
{{
couponString
(
subItem
)
}}
</div>
</el-tooltip>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/views/home/components/Marketing/selectGoodsDialog.vue
View file @
6adcf41
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
<div
class=
"gift-item"
:key=
"subItem.id"
v-for=
"(subItem, subIndex) in selectedList[item].list"
>
<div
class=
"gift-item"
:key=
"subItem.id"
v-for=
"(subItem, subIndex) in selectedList[item].list"
>
<img
class=
"muti-icon"
src=
"@/assets/img/muti-selected.png"
@
click=
"handleGoodsDelete(item, subIndex)"
/>
<img
class=
"muti-icon"
src=
"@/assets/img/muti-selected.png"
@
click=
"handleGoodsDelete(item, subIndex)"
/>
<el-tooltip
effect=
"dark"
placement=
"top"
:disabled=
"couponString(subItem).length
<
= 8">
<el-tooltip
effect=
"dark"
placement=
"top"
:disabled=
"couponString(subItem).length
<
= 8">
<p
:class=
"['gift-coupon-name', 'ellipsis-1']"
>
{{
couponString
(
subItem
)
>
8
?
couponString
(
subItem
).
slice
(
0
,
8
)
+
'...'
:
couponString
(
subItem
)
}}
</p>
<p
:class=
"['gift-coupon-name', 'ellipsis-1']"
>
{{
couponString
(
subItem
)
.
length
>
8
?
couponString
(
subItem
).
slice
(
0
,
8
)
+
'...'
:
couponString
(
subItem
)
}}
</p>
<div
slot=
"content"
>
{{
couponString
(
subItem
)
}}
</div>
<div
slot=
"content"
>
{{
couponString
(
subItem
)
}}
</div>
</el-tooltip>
</el-tooltip>
<div
class=
"gift-sum"
>
<div
class=
"gift-sum"
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment