本次修改ui完成

This commit is contained in:
lym
2026-03-18 20:11:05 +08:00
parent c076cf32b0
commit 31fda700cf
19 changed files with 128 additions and 46 deletions

View File

@@ -24,7 +24,8 @@ Page( {
longitude:"",
distance:"",
address:"",
fwbody:""
fwbody:"",
phone:""
},
onLoad: function(options) {
@@ -101,6 +102,7 @@ Page( {
longitude:res.data.lon,
latitude:res.data.lat,
fwbody:res.data.fwbody,
phone:res.data.phone
})
if(res.data.productlist.length==0){
that.setData({
@@ -130,14 +132,25 @@ Page( {
url: "../map/index?lat=" + lon + "&lon=" + lat + "&address=" + address
})
},oncopy0:function(e) {
var address = that.data.address
wx.setClipboardData({
data: address,
success: function (res) {
wx.showToast({
title: "复制成功"
})
}
})
}
var address = that.data.address
wx.setClipboardData({
data: address,
success: function (res) {
wx.showToast({
title: "复制成功"
})
}
})
},
oncopy1:function(e) {
var phone = that.data.phone
wx.setClipboardData({
data: phone,
success: function (res) {
wx.showToast({
title: "复制成功"
})
}
})
}
})