Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
349b5cc8
提交
349b5cc8
authored
3月 31, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(mobile_views): 恢复重置功能
同上
上级
09416988
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
28 行增加
和
21 行删除
+28
-21
index.vue
src/mobile_views/promotion/detail/index.vue
+6
-0
index.vue
src/mobile_views/promotion/index.vue
+22
-21
没有找到文件。
src/mobile_views/promotion/detail/index.vue
浏览文件 @
349b5cc8
...
...
@@ -230,12 +230,18 @@ p {
white
-
space
:
nowrap
;
flex
:
1
;
overflow
:
scroll
;
overflow
-
y
:
hidden
;
&
::
-
webkit
-
scrollbar
-
track
{
background
-
color
:
transparent
;
}
.
van
-
image
{
display
:
inline
-
block
;
margin
:
0
10
px
;
}
}
}
}
...
...
src/mobile_views/promotion/index.vue
浏览文件 @
349b5cc8
<
template
>
<div
class=
"mobile-container"
>
<van-nav-bar
left-text=
"新增"
<van-nav-bar
right-text=
"搜索"
@
click-right=
"showSearch = true"
placeholder
...
...
@@ -40,7 +40,8 @@
<!--
快捷时间
-->
<
van
-
field
readonly
label
=
"快捷时间"
placeholder
=
"选择时间"
>
placeholder
=
"选择时间"
>
<
template
#
input
>
<
van
-
button
size
=
"small"
type
=
"primary"
...
...
@@ -152,18 +153,18 @@ import { getChargeListAPI, getPlanListAPI } from '@/api'
const
{
recentPickerOptions
:
pickerOptions
,
thisYearDate
}
=
useDatePickerOptions
(
0
)
const
router
=
useRouter
()
const
url
=
ref
(
''
)
url
.
value
=
window
.
location
.
href
//
const url = ref('')
//
url.value = window.location.href
// 点击复制按钮复制字符串到剪切板
const
copy
=
()
=>
{
const
input
=
document
.
createElement
(
'input'
);
input
.
value
=
url
.
value
;
document
.
body
.
appendChild
(
input
);
input
.
select
();
document
.
execCommand
(
'Copy'
);
document
.
body
.
removeChild
(
input
);
alert
(
'复制成功'
);
}
//
const copy = () =>
{
//
const input = document.createElement('input');
//
input.value = url.value;
//
document.body.appendChild(input);
//
input.select();
//
document.execCommand('Copy');
//
document.body.removeChild(input);
//
alert('复制成功');
//
}
// 搜索弹窗
const
showSearch
=
ref
(
false
)
...
...
@@ -322,14 +323,14 @@ const onRefresh = () => {
// 重置
const
resetFn
=
()
=>
{
//
query.activityStartDate = ''
//
query.activityEndDate = ''
//
query.planStatus = ''
//
query.employeeId = ''
//
query.storeNameLike = ''
//
planList.value = []
//
planQueryParams.pageNum = 1
//
getPlanList()
query
.
activityStartDate
=
''
query
.
activityEndDate
=
''
query
.
planStatus
=
''
query
.
employeeId
=
''
query
.
storeNameLike
=
''
planList
.
value
=
[]
planQueryParams
.
pageNum
=
1
getPlanList
()
}
<
/script
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论