89 lines
3.5 KiB
Plaintext
89 lines
3.5 KiB
Plaintext
<!--packageI/components/footer/footer.wxml-->
|
|
|
|
|
|
<view class="footer">
|
|
<view class="addfav" bindtap="gotoIndex">
|
|
<i class="iconfont icon-info_store"></i>
|
|
<text>首页</text>
|
|
</view>
|
|
<view class="addfav" bindtap="openService">
|
|
<i class="iconfont icon-goods_kefu"></i>
|
|
<text>客服</text>
|
|
</view>
|
|
<view class="addfav {{isRanking ? 'active' : ''}}" bindtap="gotoRanking">
|
|
<i class="iconfont icon-gongnengpaihangbang"></i>
|
|
<text>排行榜</text>
|
|
</view>
|
|
<view class="buy" bindtap="setPosterFlag">分享海报邀请好友</view>
|
|
</view>
|
|
|
|
<van-popup show="{{ posterFlag }}" position="bottom" safe-area-inset-bottom="{{false}}"
|
|
custom-style="background:transparent;">
|
|
|
|
<view class="posterWrapper">
|
|
<view class="imageWrapper" bindtap="setPosterFlag">
|
|
<view class="poster-main" wx:if="{{posterSrc}}">
|
|
<image src="{{posterSrc}}" mode="widthFix" catchlongtap='watchImg'></image>
|
|
<icon class="close iconfont icon-adsystem_icon_cancle"></icon>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="memberWrapper" wx:if="{{!posterSrc && auto_poster!=1 && isset_poster!=1}}">
|
|
<view class="member-text">*选择企业成员生成企业海报</view>
|
|
<view class="member-list">
|
|
<view class="member-item {{item.id==staff_id ? 'active' : ''}}" wx:for="{{staff_data}}" wx:key="id"
|
|
data-id="{{item.id}}" bindtap="setStaffId">
|
|
<image class="face" src="{{item.avatar}}"></image>
|
|
<view class="current-member" wx:if="{{item.id==staff_id}}">当前会员</view>
|
|
</view>
|
|
</view>
|
|
<view class="send-btn" bindtap="getPoster">确定</view>
|
|
</view>
|
|
</view>
|
|
|
|
</van-popup>
|
|
|
|
|
|
|
|
<!-- 客服 -->
|
|
<van-popup custom-style="border-radius: 38rpx;" show="{{serviceFlag}}" overlay="{{true}}">
|
|
<view class="pop-content">
|
|
<view class="pop-top">
|
|
<view class="left" wx:if="{{chat_data.show_mini=='1'}}">
|
|
<view class="wrap">
|
|
<view>
|
|
<view class="image" style="position:relative">
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/kf_online_contect@2x.png"></image>
|
|
</view>
|
|
<view>在线联系</view>
|
|
<button wx:if="{{!chat_data.url || chat_data.url == ''}}" open-type="contact" bindcontact="handleContact"
|
|
style="position:absolute;width:33%;height:140rpx;opacity:0;top:0rpx;"></button>
|
|
<button wx:if="{{chat_data.url && chat_data.url !=''}}" data-cservice="{{chat_data.url}}" bindtap="gotoChat"
|
|
style="position:absolute;width:33%;height:140rpx;opacity:0;top:0rpx;"></button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view style="display:flex;" wx:if="{{chat_data.show_mini=='1' && !chat_data.mobile==''}}">
|
|
<view class="line"></view>
|
|
</view>
|
|
<view class="right" wx:if="{{!chat_data.mobile==''}}">
|
|
<view class="wrap" bindtap="callPhone">
|
|
<view>
|
|
<view class="image">
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/kf_tel_contect@2x.png"></image>
|
|
</view>
|
|
<view>联系电话</view>
|
|
<view style="margin-top:16rpx">{{chat_data.mobile}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="pop-bottom" wx:if="{{!chat_data.qrcode==''}}">
|
|
<view class="image">
|
|
<image src="{{chat_data.qrcode}}" show-menu-by-longpress></image>
|
|
</view>
|
|
</view>
|
|
<icon class="iconfont icon-close11" catchtap="openService"></icon>
|
|
</view>
|
|
</van-popup>
|
|
<!-- 客服end --> |