Commit 471e4555 authored by AU-Pro-mac's avatar AU-Pro-mac

Merge branch 'yd11_20200922' of

parents dc03e799 b9e95f9b
...@@ -529,6 +529,18 @@ Page({ ...@@ -529,6 +529,18 @@ Page({
} }
}, },
/**
* 显示通用弹层
* @param {object} options content: 通用弹层内容 btnText:按钮文案 confirmCallback: 按钮确认回调
*/
showCommonModal({ content, btnText, confirmCallback }) {
this.setData({
commonModalConfirm: confirmCallback || null,
commonModalVisible: true,
commonModalData: { content, btnText }
});
},
changeURLArg(url, arg, arg_val) { changeURLArg(url, arg, arg_val) {
var pattern = arg + '=([^&]*)'; var pattern = arg + '=([^&]*)';
var replaceText = arg + '=' + arg_val; var replaceText = arg + '=' + arg_val;
......
...@@ -151,7 +151,7 @@ Page({ ...@@ -151,7 +151,7 @@ Page({
const params = { const params = {
activityId, activityId,
area:countyName, area:countyName,
addressdetail:detailInfo, addressDetail:detailInfo,
name, name,
phone: telNumber, phone: telNumber,
detailInfo, detailInfo,
...@@ -162,6 +162,7 @@ Page({ ...@@ -162,6 +162,7 @@ Page({
provinceName, provinceName,
countyName, countyName,
streetName, streetName,
id:item._id,
_id: item._id _id: item._id
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment