diff --git a/packageA/pages/my_service/appment_main.js b/packageA/pages/my_service/appment_main.js index 1f03a2c..7e97e07 100644 --- a/packageA/pages/my_service/appment_main.js +++ b/packageA/pages/my_service/appment_main.js @@ -854,7 +854,8 @@ Page({ } } - } + } + th.setData({copy_btn:0}) }, @@ -873,6 +874,15 @@ Page({ th.data.f_width=res[0].width; }) + }, + + getcopy:function(e){ + var that=this; + var position = [e.detail.x - that.data.writesize[0] / 2, e.detail.y - that.data.writesize[1] / 2 - this.data.scrolltop]; + that.setData({ + write: position,copy_btn:1 + }); + } diff --git a/packageA/pages/my_service/appment_main.wxml b/packageA/pages/my_service/appment_main.wxml index bde2fb1..70e3aa4 100644 --- a/packageA/pages/my_service/appment_main.wxml +++ b/packageA/pages/my_service/appment_main.wxml @@ -29,7 +29,7 @@ 张三 - {{v[0][0]}} + {{v[0][0]}} {{v[0][1]}} @@ -70,10 +70,15 @@ - + 项目1 + + + + + 项目1 @@ -215,4 +220,4 @@ -我可以移动 \ No newline at end of file +项目1 \ No newline at end of file