店铺客服电话可直接拨打

This commit is contained in:
Devil 2021-07-08 10:54:02 +08:00
parent e24d57eb35
commit d979068838
15 changed files with 55 additions and 5 deletions

View File

@ -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);

View File

@ -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);

View File

@ -39,7 +39,7 @@
</view>
<view a:if="{{(shop.service_tel || null) != null}}" class="item br-t single-text">
<text>电话:</text>
<text onTap="text_copy_event" data-value="{{shop.service_tel}}">{{shop.service_tel}}</text>
<text onTap="tel_event" data-value="{{shop.service_tel}}">{{shop.service_tel}}</text>
</view>
<view a:if="{{(shop.open_week_name || null) != null && (shop.close_week_name || null) != null}}" class="item br-t single-text">
<text>时间:</text>

View File

@ -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);

View File

@ -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);

View File

@ -39,7 +39,7 @@
</view>
<view s-if="(shop.service_tel || null) != null" class="item br-t single-text">
<text>电话:</text>
<text bindtap="text_copy_event" data-value="{{shop.service_tel}}">{{shop.service_tel}}</text>
<text bindtap="tel_event" data-value="{{shop.service_tel}}">{{shop.service_tel}}</text>
</view>
<view s-if="(shop.open_week_name || null) != null && (shop.close_week_name || null) != null" class="item br-t single-text">
<text>时间:</text>

View File

@ -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);

View File

@ -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);

View File

@ -39,7 +39,7 @@
</view>
<view qq:if="{{(shop.service_tel || null) != null}}" class="item br-t single-text">
<text></text>
<text bindtap="text_copy_event" data-value="{{shop.service_tel}}">{{shop.service_tel}}</text>
<text bindtap="tel_event" data-value="{{shop.service_tel}}">{{shop.service_tel}}</text>
</view>
<view qq:if="{{(shop.open_week_name || null) != null && (shop.close_week_name || null) != null}}" class="item br-t single-text">
<text></text>

View File

@ -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);

View File

@ -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);

View File

@ -39,7 +39,7 @@
</view>
<view tt:if="{{(shop.service_tel || null) != null}}" class="item br-t single-text">
<text>电话:</text>
<text bindtap="text_copy_event" data-value="{{shop.service_tel}}">{{shop.service_tel}}</text>
<text bindtap="tel_event" data-value="{{shop.service_tel}}">{{shop.service_tel}}</text>
</view>
<view tt:if="{{(shop.open_week_name || null) != null && (shop.close_week_name || null) != null}}" class="item br-t single-text">
<text>时间:</text>

View File

@ -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);

View File

@ -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);

View File

@ -39,7 +39,7 @@
</view>
<view wx:if="{{(shop.service_tel || null) != null}}" class="item br-t single-text">
<text>电话:</text>
<text bindtap="text_copy_event" data-value="{{shop.service_tel}}">{{shop.service_tel}}</text>
<text bindtap="tel_event" data-value="{{shop.service_tel}}">{{shop.service_tel}}</text>
</view>
<view wx:if="{{(shop.open_week_name || null) != null && (shop.close_week_name || null) != null}}" class="item br-t single-text">
<text>时间:</text>