Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
company_app
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
毛细亚
company_app
Commits
c699a911
提交
c699a911
authored
7月 04, 2025
作者:
毛细亚
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新代码
上级
c6cdba8c
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
63 行增加
和
75 行删除
+63
-75
wxGift.vue
src/views/components/giftRecord/wxGift.vue
+63
-75
没有找到文件。
src/views/components/giftRecord/wxGift.vue
浏览文件 @
c699a911
...
...
@@ -3,19 +3,16 @@
<div
ref=
"giftList"
class=
"gift-list"
@
scroll=
"handleScroll"
>
<div
v-for=
"item in giftList"
:key=
"item._id"
class=
"gift-item"
>
<div
class=
"gift-info"
>
<div
class=
"rowFlex spaceBetween columnCenter"
>
<div
class=
"gift-name hidden"
>
{{
item
.
gift_package_name
}}
</div>
<div
class=
"gift-time"
>
{{
item
.
send_time
}}
</div>
</div>
<div
class=
"gift-code"
>
<span
class=
"giftCodeText"
>
{{
item
.
code
}}
</span>
</div>
<div
class=
"rowFlex spaceBetween columnCenter gift-sender"
>
<div>
发送客服:
{{
item
.
cser_name
}}
</div>
<i
class=
"el-icon-document-copy"
style=
"cursor: pointer;"
@
click=
"handleCopy(item.code)"
></i>
</div>
<div
v-if=
"item.gift_package_group_name "
>
分组:
{{
item
.
gift_package_group_name
}}
</div>
<div>
礼包名称:
{{
item
.
gift_package_name
}}
</div>
<div>
发送时间:
{{
item
.
send_time
}}
</div>
<div>
礼包码:
{{
item
.
code
}}
</div>
<div
class=
"rowFlex spaceBetween columnCenter gift-sender"
>
<div>
发送客服:
{{
item
.
cser_name
}}
</div>
<i
class=
"el-icon-document-copy"
style=
"cursor: pointer;"
@
click=
"handleCopy(item.code)"
></i>
</div>
</div>
</div>
<div
v-if=
"loading"
class=
"loading-more"
>
加载中...
</div>
<div
v-if=
"!hasMore && giftList.length > 0"
class=
"no-more"
>
没有更多数据了
</div>
<div
v-if=
"giftList.length == 0"
class=
"noContent rowFlex allCenter"
>
...
...
@@ -111,71 +108,62 @@ import Clipboard from 'clipboard'
border
:
1px
solid
#E5E6EB
;
margin-bottom
:
12px
;
.gift-info
{
.gift-name
{
font-weight
:
400
;
font-size
:
14px
;
color
:
#4E5969
;
text-align
:
left
;
font-style
:
normal
;
width
:
calc
(
100%
-
180px
);
}
.gift-time
{
font-family
:
PingFangSC
,
PingFang
SC
;
font-weight
:
400
;
font-size
:
14px
;
color
:
#4E5969
;
text-align
:
left
;
font-style
:
normal
;
width
:
150px
;
}
.gift-code
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
border-radius
:
4px
;
font-family
:
PingFangSC
,
PingFang
SC
;
font-weight
:
500
;
font-size
:
14px
;
color
:
#323335
;
text-align
:
justify
;
font-style
:
normal
;
margin
:
10px
0
;
span
{
color
:
#323335
;
font-size
:
14px
;
font-family
:
PingFangSC-Medium
;
}
.el-button
{
padding
:
5px
12px
;
border
:
1px
solid
#dcdfe6
;
border-radius
:
4px
;
font-size
:
13px
;
color
:
#606266
;
&:hover
{
color
:
#409eff
;
border-color
:
#c6e2ff
;
background-color
:
#ecf5ff
;
}
}
}
.gift-sender
{
font-family
:
PingFangSC
,
PingFang
SC
;
font-weight
:
400
;
font-size
:
12px
;
color
:
#4E5969
;
line-height
:
18px
;
text-align
:
justify
;
font-style
:
normal
;
i{
color
:
#409EFF
;
font-size
:
14px
;
}
}
div{
line-height
:
26px
;
}
.gift-name
{
font-weight
:
400
;
font-size
:
14px
;
color
:
#4E5969
;
text-align
:
left
;
font-style
:
normal
;
}
.gift-code
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
border-radius
:
4px
;
font-family
:
PingFangSC
,
PingFang
SC
;
font-weight
:
500
;
font-size
:
14px
;
color
:
#323335
;
text-align
:
justify
;
font-style
:
normal
;
span
{
color
:
#323335
;
font-size
:
14px
;
font-family
:
PingFangSC-Medium
;
}
.el-button
{
padding
:
5px
12px
;
border
:
1px
solid
#dcdfe6
;
border-radius
:
4px
;
font-size
:
13px
;
color
:
#606266
;
&:hover
{
color
:
#409eff
;
border-color
:
#c6e2ff
;
background-color
:
#ecf5ff
;
}
}
}
.gift-sender
{
font-family
:
PingFangSC
,
PingFang
SC
;
font-weight
:
400
;
font-size
:
12px
;
color
:
#4E5969
;
line-height
:
18px
;
text-align
:
justify
;
font-style
:
normal
;
i{
color
:
#00BF8A
;
font-size
:
14px
;
}
}
}
}
.loading-more
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论