提交 5473dd75 编写于 作者: G gongfuxiang

订单详情基础数据增加复制

上级 f790b170
......@@ -82,7 +82,7 @@
<view class="panel-content oh">
<view v-for="(item, index) in detail_list" :key="index" class="item br-b-dashed oh padding-vertical-main">
<view class="title fl padding-right-main cr-grey">{{ item.name }}</view>
<view class="content fl br-l padding-left-main">{{ item.value }}</view>
<view class="content fl br-l padding-left-main" :data-value="item.value" @tap="text_copy_event">{{ item.value }}</view>
</view>
</view>
</view>
......@@ -263,6 +263,13 @@
// url事件
url_event(e) {
app.globalData.url_event(e);
},
// 文本复制
text_copy_event(e) {
if((e.currentTarget.dataset.value || null) != null) {
app.globalData.text_copy_event(e);
}
}
},
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册