mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-30 02:49:03 +08:00
店铺客服电话可直接拨打
This commit is contained in:
parent
e24d57eb35
commit
d979068838
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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>
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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>
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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>
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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>
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user