diff --git a/sourcecode/alipay/default/pages/plugins/shop/design/design.js b/sourcecode/alipay/default/pages/plugins/shop/design/design.js index 5190e301a..444b043c7 100644 --- a/sourcecode/alipay/default/pages/plugins/shop/design/design.js +++ b/sourcecode/alipay/default/pages/plugins/shop/design/design.js @@ -184,6 +184,11 @@ Page({ app.text_copy_event(e); }, + // 电话 + tel_event(e) { + app.call_tel(e.currentTarget.dataset.value || null); + }, + // 图片预览 image_show_event(e) { app.image_show_event(e); diff --git a/sourcecode/alipay/default/pages/plugins/shop/detail/detail.js b/sourcecode/alipay/default/pages/plugins/shop/detail/detail.js index 1315b0992..098da31bc 100644 --- a/sourcecode/alipay/default/pages/plugins/shop/detail/detail.js +++ b/sourcecode/alipay/default/pages/plugins/shop/detail/detail.js @@ -205,6 +205,11 @@ Page({ app.text_copy_event(e); }, + // 电话 + tel_event(e) { + app.call_tel(e.currentTarget.dataset.value || null); + }, + // 图片预览 image_show_event(e) { app.image_show_event(e); diff --git a/sourcecode/alipay/default/pages/plugins/shop/public/header.axml b/sourcecode/alipay/default/pages/plugins/shop/public/header.axml index 6087f51e4..dd9b9be72 100644 --- a/sourcecode/alipay/default/pages/plugins/shop/public/header.axml +++ b/sourcecode/alipay/default/pages/plugins/shop/public/header.axml @@ -39,7 +39,7 @@ 电话: - {{shop.service_tel}} + {{shop.service_tel}} 时间: diff --git a/sourcecode/baidu/default/pages/plugins/shop/design/design.js b/sourcecode/baidu/default/pages/plugins/shop/design/design.js index 831f535f5..f7ebeb7ed 100644 --- a/sourcecode/baidu/default/pages/plugins/shop/design/design.js +++ b/sourcecode/baidu/default/pages/plugins/shop/design/design.js @@ -202,6 +202,11 @@ Page({ app.text_copy_event(e); }, + // 电话 + tel_event(e) { + app.call_tel(e.currentTarget.dataset.value || null); + }, + // 图片预览 image_show_event(e) { app.image_show_event(e); diff --git a/sourcecode/baidu/default/pages/plugins/shop/detail/detail.js b/sourcecode/baidu/default/pages/plugins/shop/detail/detail.js index 3083b9e7c..93aaa4fe9 100644 --- a/sourcecode/baidu/default/pages/plugins/shop/detail/detail.js +++ b/sourcecode/baidu/default/pages/plugins/shop/detail/detail.js @@ -222,6 +222,11 @@ Page({ app.text_copy_event(e); }, + // 电话 + tel_event(e) { + app.call_tel(e.currentTarget.dataset.value || null); + }, + // 图片预览 image_show_event(e) { app.image_show_event(e); diff --git a/sourcecode/baidu/default/pages/plugins/shop/public/header.swan b/sourcecode/baidu/default/pages/plugins/shop/public/header.swan index 3e347a8e4..494a1c784 100644 --- a/sourcecode/baidu/default/pages/plugins/shop/public/header.swan +++ b/sourcecode/baidu/default/pages/plugins/shop/public/header.swan @@ -39,7 +39,7 @@ 电话: - {{shop.service_tel}} + {{shop.service_tel}} 时间: diff --git a/sourcecode/qq/default/pages/plugins/shop/design/design.js b/sourcecode/qq/default/pages/plugins/shop/design/design.js index 801104333..c839057ae 100644 --- a/sourcecode/qq/default/pages/plugins/shop/design/design.js +++ b/sourcecode/qq/default/pages/plugins/shop/design/design.js @@ -184,6 +184,11 @@ Page({ app.text_copy_event(e); }, + // 电话 + tel_event(e) { + app.call_tel(e.currentTarget.dataset.value || null); + }, + // 图片预览 image_show_event(e) { app.image_show_event(e); diff --git a/sourcecode/qq/default/pages/plugins/shop/detail/detail.js b/sourcecode/qq/default/pages/plugins/shop/detail/detail.js index de4aa61b9..05083b5c5 100644 --- a/sourcecode/qq/default/pages/plugins/shop/detail/detail.js +++ b/sourcecode/qq/default/pages/plugins/shop/detail/detail.js @@ -205,6 +205,11 @@ Page({ app.text_copy_event(e); }, + // 电话 + tel_event(e) { + app.call_tel(e.currentTarget.dataset.value || null); + }, + // 图片预览 image_show_event(e) { app.image_show_event(e); diff --git a/sourcecode/qq/default/pages/plugins/shop/public/header.qml b/sourcecode/qq/default/pages/plugins/shop/public/header.qml index 68486ce75..04c3764c6 100644 --- a/sourcecode/qq/default/pages/plugins/shop/public/header.qml +++ b/sourcecode/qq/default/pages/plugins/shop/public/header.qml @@ -39,7 +39,7 @@ 电话: - {{shop.service_tel}} + {{shop.service_tel}} 时间: diff --git a/sourcecode/toutiao/default/pages/plugins/shop/design/design.js b/sourcecode/toutiao/default/pages/plugins/shop/design/design.js index df3ba7543..b29ffb637 100644 --- a/sourcecode/toutiao/default/pages/plugins/shop/design/design.js +++ b/sourcecode/toutiao/default/pages/plugins/shop/design/design.js @@ -184,6 +184,11 @@ Page({ app.text_copy_event(e); }, + // 电话 + tel_event(e) { + app.call_tel(e.currentTarget.dataset.value || null); + }, + // 图片预览 image_show_event(e) { app.image_show_event(e); diff --git a/sourcecode/toutiao/default/pages/plugins/shop/detail/detail.js b/sourcecode/toutiao/default/pages/plugins/shop/detail/detail.js index bd85a8a98..51acc6f22 100644 --- a/sourcecode/toutiao/default/pages/plugins/shop/detail/detail.js +++ b/sourcecode/toutiao/default/pages/plugins/shop/detail/detail.js @@ -205,6 +205,11 @@ Page({ app.text_copy_event(e); }, + // 电话 + tel_event(e) { + app.call_tel(e.currentTarget.dataset.value || null); + }, + // 图片预览 image_show_event(e) { app.image_show_event(e); diff --git a/sourcecode/toutiao/default/pages/plugins/shop/public/header.ttml b/sourcecode/toutiao/default/pages/plugins/shop/public/header.ttml index ec93f88e0..897c38283 100644 --- a/sourcecode/toutiao/default/pages/plugins/shop/public/header.ttml +++ b/sourcecode/toutiao/default/pages/plugins/shop/public/header.ttml @@ -39,7 +39,7 @@ 电话: - {{shop.service_tel}} + {{shop.service_tel}} 时间: diff --git a/sourcecode/weixin/default/pages/plugins/shop/design/design.js b/sourcecode/weixin/default/pages/plugins/shop/design/design.js index 1342cbaeb..e4c6d2636 100644 --- a/sourcecode/weixin/default/pages/plugins/shop/design/design.js +++ b/sourcecode/weixin/default/pages/plugins/shop/design/design.js @@ -187,6 +187,11 @@ Page({ app.text_copy_event(e); }, + // 电话 + tel_event(e) { + app.call_tel(e.currentTarget.dataset.value || null); + }, + // 图片预览 image_show_event(e) { app.image_show_event(e); diff --git a/sourcecode/weixin/default/pages/plugins/shop/detail/detail.js b/sourcecode/weixin/default/pages/plugins/shop/detail/detail.js index 0665cf0f9..c94cb6d25 100644 --- a/sourcecode/weixin/default/pages/plugins/shop/detail/detail.js +++ b/sourcecode/weixin/default/pages/plugins/shop/detail/detail.js @@ -208,6 +208,11 @@ Page({ app.text_copy_event(e); }, + // 电话 + tel_event(e) { + app.call_tel(e.currentTarget.dataset.value || null); + }, + // 图片预览 image_show_event(e) { app.image_show_event(e); diff --git a/sourcecode/weixin/default/pages/plugins/shop/public/header.wxml b/sourcecode/weixin/default/pages/plugins/shop/public/header.wxml index 9c543a962..ff187f45a 100644 --- a/sourcecode/weixin/default/pages/plugins/shop/public/header.wxml +++ b/sourcecode/weixin/default/pages/plugins/shop/public/header.wxml @@ -39,7 +39,7 @@ 电话: - {{shop.service_tel}} + {{shop.service_tel}} 时间: