提交 037141ea 编写于 作者: shuang.zhou's avatar shuang.zhou

Merge branch 'feature/shuang' into 'develop-3.18.0'

Feature/shuang

See merge request com.pica.cloud.education.frontend/pica.cloud.web-education-admin!324
...@@ -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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册