index.wxml 3.97 KB
<!--
 * @Author: 前端 qianduan01@didihu.com.cn
 * @Date: 2022-12-14 16:40:39
 * @LastEditors: 前端 qianduan01@didihu.com.cn
 * @LastEditTime: 2022-12-19 16:25:18
 * @FilePath: \miniprogram\packageShopmall\packageExpandedGold\components\service\index.wxml
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!--在线客服-->
<view class="">
  <view class="big-img">
    <image src="{{detail.activityBigImg}}" mode="widthFix"></image>
  </view>
  <view class="big-img" wx:if="{{detail.detailImage}}">
    <image src="{{detail.activityBigImg}}" mode="widthFix"></image>
  </view>
  <!-- 背景音乐 开始 -->
  <view class="background_music" bindtap="musicPause" wx:if="{{detail.activityMusic && showMusic}}">
    <glsx-image src="{{musicState?'crowdfunding/music_pause.webp':'crowdfunding/music_play.webp'}}" custom-class="img {{musicState?'':'music_play'}}"></glsx-image>
  </view>
  <!-- 背景音乐 end -->

  <view class="page-btn">
    <!-- 订单 开始 -->
    <!-- <view class="customer_service customer_order order-move" wx:if="{{showOrderBtn}}" bindtap="lookOrderList">
      <glsx-image src="crowdfunding/icon_order.png" class="img"></glsx-image>
      <view class="name">
        订单
      </view>
    </view> -->
    <!-- 订单 end -->
    <!-- 在线客服 开始 -->
    <!-- <view class="customer_service" bindtap="goService" wx:if="{{detail.customerServiceName || detail.customerServicePhone || detail.customerServiceQrImg || detail.customerServerUrl}}">
      <glsx-image src="crowdfunding/icon_service.png" class="img"></glsx-image>
      <view class="name">
        客服
      </view>
    </view> -->
    <!-- 在线客服 开始 -->
  </view>

  <!-- 置顶 开始 -->
  <view class="customer_top" bindtap="goTop" wx:if="{{showTopButton}}">
    <glsx-image src="crowdfunding/icon_top.png" class="img"></glsx-image>
  </view>
  <!-- 置顶 end -->

  <!-- 客服 开始 -->
  <!-- <view class="service_wrap" wx:if="{{showOnlineService}}">
    <view class="blk"></view>
    <view class="service_info">
      <view class="box">
        <view class="kf_logo">
          <glsx-image src="crowdfunding/kf-logo.png" custom-class="img"></glsx-image>
        </view>

        <view class="kf_close" bindtap="closeService">
          <glsx-image src="crowdfunding/close.png" custom-class="img"></glsx-image>
        </view>
        <block wx:if="{{detail.customerServiceName || detail.customerServicePhone || detail.customerServiceQrImg}}">
          <view class="kf_content">
            <block wx:if="{{detail.customerServiceName}}">
              <view class="name">
                {{ detail.customerServiceName }}
              </view>
            </block>
            <block wx:if="{{detail.customerServicePhone}}">
              <view class="phone" bindtap="makePhone">
                <glsx-image src="crowdfunding/kf_03.webp" custom-class="img"></glsx-image>
                <text>{{detail.customerServicePhone}}</text>
              </view>
            </block>
            <view class="qrcode" wx:if="{{detail.customerServiceQrImg}}">
              <glsx-image src="{{detail.customerServiceQrImg}}" custom-class="qr_img" show-menu-by-longpress></glsx-image>
            </view>
          </view>
        </block>
        <view class="kf_footer" wx:if="{{detail.customerServiceQrImg}}">
          <view class="cell">
            <glsx-image src="crowdfunding/kf_01.webp" class="img"></glsx-image>
            <view class="txt">
              <text>保存图片</text>
              <text>到相册</text>
            </view>
          </view>
          <view class="cell">
            <glsx-image src="crowdfunding/kf_02.webp" class="img"></glsx-image>
            <view class="txt">
              <text>打开微信扫一扫</text>
              <text>添加客服企微</text>
            </view>
          </view>
        </view>

      </view>
    </view>
  </view> -->
  <!-- 客服 end -->

</view>