mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-30 10:59:47 +08:00
头条小程序新增在线客服
This commit is contained in:
parent
d86d50d971
commit
04a2f8c896
@ -146,7 +146,7 @@ Page({
|
||||
show_field_price_text: (data.goods.show_field_price_text == '销售价') ? null : (data.goods.show_field_price_text.replace(/<[^>]+>/g, "") || null),
|
||||
common_app_is_use_mobile_detail: data.common_app_is_use_mobile_detail || 0,
|
||||
common_is_goods_detail_show_photo: data.common_is_goods_detail_show_photo || 0,
|
||||
//common_app_is_online_service: data.common_app_is_online_service || 0,
|
||||
common_app_is_online_service: data.common_app_is_online_service || 0,
|
||||
|
||||
common_app_is_limitedtimediscount: data.common_app_is_limitedtimediscount || 0,
|
||||
plugins_limitedtimediscount_data: data.plugins_limitedtimediscount_data || null,
|
||||
|
@ -211,6 +211,12 @@
|
||||
<template is="nodata" data="{{status: data_list_loding_status, msg: data_list_loding_msg}}"></template>
|
||||
</view>
|
||||
|
||||
<!-- 在线客服 -->
|
||||
<view tt:if="{{common_app_is_online_service == 1}}">
|
||||
<import src="/pages/lib/online-service/content.ttml" />
|
||||
<template is="online_service"></template>
|
||||
</view>
|
||||
|
||||
<!-- 购物车 -->
|
||||
<navigator url="/pages/cart/cart" open-type="switchTab" hover-class="none">
|
||||
<view class="common-quick-nav quick-nav-cart">
|
||||
|
@ -78,6 +78,12 @@
|
||||
<import src="/pages/common/bottom_line.ttml" />
|
||||
<template is="bottom_line" data="{{status: data_bottom_line_status}}"></template>
|
||||
|
||||
<!-- 在线客服 -->
|
||||
<view tt:if="{{common_app_is_online_service == 1}}">
|
||||
<import src="/pages/lib/online-service/content.ttml" />
|
||||
<template is="online_service"></template>
|
||||
</view>
|
||||
|
||||
<view tt:if="{{load_status == 1}}">
|
||||
<import src="/pages/common/copyright.ttml" />
|
||||
<template is="copyright"></template>
|
||||
|
@ -0,0 +1,5 @@
|
||||
<template name="online_service">
|
||||
<button open-type="contact" class="common-quick-nav common-online-service">
|
||||
<image src="/pages/lib/online-service/icon.png" class="dis-block"></image>
|
||||
</button>
|
||||
</template>
|
BIN
public/appmini/old/toutiao/pages/lib/online-service/icon.png
Normal file
BIN
public/appmini/old/toutiao/pages/lib/online-service/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
@ -23,6 +23,7 @@ Page({
|
||||
// 远程自定义导航
|
||||
navigation: [],
|
||||
|
||||
common_app_is_online_service: 0,
|
||||
common_app_is_head_vice_nav: 0,
|
||||
},
|
||||
|
||||
@ -108,6 +109,7 @@ Page({
|
||||
message_total: ((data.common_message_total || 0) == 0) ? 0 : data.common_message_total,
|
||||
head_nav_list: temp_head_nav_list,
|
||||
navigation: data.navigation || [],
|
||||
common_app_is_online_service: data.common_app_is_online_service || 0,
|
||||
common_app_is_head_vice_nav: data.common_app_is_head_vice_nav || 0,
|
||||
});
|
||||
|
||||
|
@ -75,5 +75,11 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 在线客服 -->
|
||||
<view tt:if="{{common_app_is_online_service == 1}}">
|
||||
<import src="/pages/lib/online-service/content.ttml" />
|
||||
<template is="online_service"></template>
|
||||
</view>
|
||||
|
||||
<import src="/pages/common/copyright.ttml" />
|
||||
<template is="copyright"></template>
|
||||
|
Loading…
Reference in New Issue
Block a user