shish %!s(int64=2) %!d(string=hai) anos
pai
achega
252eeb56ee
Modificáronse 1 ficheiros con 10 adicións e 1 borrados
  1. 10 1
      ghsApp/src/pagesOrder/detail.vue

+ 10 - 1
ghsApp/src/pagesOrder/detail.vue

@@ -219,7 +219,7 @@
 				</view>
 				</view>
 			</view>
 			</view>
 			<view v-if="detailInfo.remark!=''" class="content-box price-detail">
 			<view v-if="detailInfo.remark!=''" class="content-box price-detail">
-				<div class="module-com input-line-wrap">
+				<div class="module-com input-line-wrap" @click="copyRemark(detailInfo.remark)">
 					<tui-list-cell class="line-cell" :hover="false">
 					<tui-list-cell class="line-cell" :hover="false">
 						<div class="tui-title">备注</div>
 						<div class="tui-title">备注</div>
 						<div>{{ detailInfo.remark }}</div>
 						<div>{{ detailInfo.remark }}</div>
@@ -437,6 +437,15 @@ export default {
 				}
 				}
 			});
 			});
 		},
 		},
+		copyRemark(val){
+			const self = this
+			uni.setClipboardData({
+				data: val,
+				success: function() {
+					self.$msg("复制成功")
+				}
+			});
+		},
 		giveItemFn(item){
 		giveItemFn(item){
 			this.givePopShow = true
 			this.givePopShow = true
 			this.giveNum = 1
 			this.giveNum = 1