Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
4acfc98a
提交
4acfc98a
编写于
9月 18, 2021
作者:
shuang.zhou
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复复制问题
上级
dd257175
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
6 行增加
和
6 行删除
+6
-6
order-detail.vue
src/views/goods/order-detail.vue
+6
-6
未找到文件。
src/views/goods/order-detail.vue
浏览文件 @
4acfc98a
...
@@ -132,8 +132,8 @@
...
@@ -132,8 +132,8 @@
>
>
<div>
物流公司:{{ item.expressCompany }}
</div>
<div>
物流公司:{{ item.expressCompany }}
</div>
<div>
快递单号:{{item.expressNo }}
<div>
快递单号:{{item.expressNo }}
<el-button
type=
"text"
@
click=
"copyTxt"
>
复制单号
</el-button>
<el-button
type=
"text"
@
click=
"copyTxt
(item.expressNo,index)
"
>
复制单号
</el-button>
<input
type=
"text"
id=
"copyInput
"
class=
"hidden-input"
/>
<input
type=
"text"
:id=
"`copyInput_${index}`
"
class=
"hidden-input"
/>
</div>
</div>
<div>
备注:{{ item.remark }}
</div>
<div>
备注:{{ item.remark }}
</div>
</div>
</div>
...
@@ -476,9 +476,9 @@
...
@@ -476,9 +476,9 @@
}
}
});
});
},
},
copyTxt
()
{
copyTxt
(
expressNo
,
index
)
{
let
txt
=
document
.
getElementById
(
"copyInput"
);
let
txt
=
document
.
getElementById
(
`copyInput_
${
index
}
`
);
txt
.
value
=
this
.
orderDetailData
.
expressNo
;
txt
.
value
=
expressNo
;
// if (navigator.userAgent.match(/(iPhone|iPod|iPad|Mac);?/i)) {
// if (navigator.userAgent.match(/(iPhone|iPod|iPad|Mac);?/i)) {
if
(
navigator
.
userAgent
.
indexOf
(
"Safari"
)
>
-
1
&&
navigator
.
userAgent
.
indexOf
(
"Chrome"
)
<
1
)
{
if
(
navigator
.
userAgent
.
indexOf
(
"Safari"
)
>
-
1
&&
navigator
.
userAgent
.
indexOf
(
"Chrome"
)
<
1
)
{
var
el
=
document
.
createElement
(
'input'
);
var
el
=
document
.
createElement
(
'input'
);
...
@@ -672,7 +672,7 @@
...
@@ -672,7 +672,7 @@
.img-box
{
.img-box
{
width
:
88px
;
width
:
88px
;
height
:
88px
;
height
:
88px
;
background-color
:
rgb
(
224
,
109
,
109
)
;
background-color
:
#ccc
;
position
:
relative
;
position
:
relative
;
margin-right
:
10px
;
margin-right
:
10px
;
img
{
img
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录