min-project/component/indexSidebar/indexSidebar.wxml
2024-12-12 12:14:09 +08:00

83 lines
4.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--template/indexSidebar/indexSidebar.wxml-->
<view class="sidebar-box {{ !isSidebarShowState ? 'sidebar-hide-box' : '' }}">
<view class="sidebar-item toTop flexcenter" wx:if="{{ sidebarState == 3 }}" bind:tap="sidebarShowHide" data-type="top">
<image class="toTop-icon" src="https://app.gter.net/image/miniApp/offer/toTop-icon.png" mode="widthFix"></image>
</view>
<view class="sidebar-item offerBtn flexcenter" wx:if="{{ sidebarState >= 2 && btnText[sidebarType] }}" bind:tap="sidebarShowHide" data-type="issue">
<view class="offerBtn-icon flexcenter">
<image class="offerBtn-img" src="https://app.gter.net/image/miniApp/project/u1434.png" mode="widthFix"></image>
</view>
<view class="offerBtn-text">{{ btnText[sidebarType] }}</view>
</view>
<view wx:if="{{ sidebarType != 'find' && sidebarType != 'note' && sidebarType != 'xg' }}" class="sidebar-item applyFor flexcenter" data-type="top" bind:tap="sidebarShowHide" data-type="apply">
<image class="applyFor-icon" src="https://app.gter.net/image/miniApp/offer/applyFor-icon.svg" mode="widthFix"></image>
<view class="applyFor-text">
<text class="applyFor-text-text">申请</text>
<text class="applyFor-text-text">小助手</text>
</view>
</view>
<view class="sidebar-item offerBtn flexcenter" wx:if="{{ sidebarType == 'xg' }}" bind:tap="sidebarShowHide" data-type="xg">
<view class="offerBtn-icon flexcenter">
<image class="offerBtn-img" src="https://app.gter.net/image/miniApp/offer/opinion-icon.png" mode="widthFix"></image>
</view>
<view class="offerBtn-text">意见</view>
<view class="offerBtn-text">反馈</view>
</view>
<view wx:if="{{ sidebarType == 'xg' }}" class="sidebar-item offerBtn flexcenter" bind:tap="sidebarShowHide" data-type="group">
<view class="offerBtn-icon flexcenter">
<image class="wx-img" src="https://app.gter.net/image/miniApp/offer/wx-icon.svg" mode="widthFix"></image>
</view>
<view class="offerBtn-text">进群</view>
<view class="offerBtn-text">抱团</view>
</view>
<!-- 不在 找飞友 笔记出现 -->
<view class="sidebar-item offerBtn flexcenter" wx:if="{{ sidebarType != 'find' && sidebarType != 'note' && ishongkongoffer }}" bind:tap="sidebarShowHide" data-type="gx">
<view class="offerBtn-icon flexcenter">
<image class="zufang-img" src="https://app.gter.net/image/miniApp/offer/renting-icon.png" mode="widthFix"></image>
</view>
<view class="offerBtn-text">港校</view>
<view class="offerBtn-text">租房</view>
</view>
</view>
<helper-pop wx:if="{{ helperPopState }}" bindclose="closeHelperPopState"></helper-pop>
<view wx:if="{{ opinionState }}" class="opinion-box" bindtap="closeOpinion" catch:touchmove="return">
<view class="box" catch:tap="return">
<image class="sun" src="https://app.gter.net/image/miniApp/offer/sun-icon.png"></image>
<view class="title">意见反馈</view>
<view class="hint">项目库正在火热公测中!发现有错误的地方\n告诉我呀有建议也欢迎来聊聊~</view>
<view class="case flexcenter">
<view class="QRcode flexcenter">
<image class="img" src="https://app.gter.net/image/miniApp/offer/brother-onion.png" mode="widthFix" show-menu-by-longpress></image>
</view>
<view class="prompt">长按识别二维码</view>
</view>
</view>
</view>
<view class="huddle-box" wx:if="{{ groupState }}" bindtap="closeGroup" catch:touchmove="return">
<view class="box flexflex" catch:tap="return">
<!-- <image class="code" src="https://app.gter.net/image/miniApp/offer/group-code.jpg" mode="widthFix"></image> -->
<image class="bj" src="https://app.gter.net/image/miniApp/offer/group-bj.svg"></image>
<image class="bj-bottom" src="https://app.gter.net/image/miniApp/offer/group-bottom.png"></image>
<image class="top" src="https://app.gter.net/image/miniApp/offer/group-top.png" mode="widthFix"></image>
<image class="title" src="https://app.gter.net/image/miniApp/offer/group-title.png" mode="widthFix"></image>
<view class="text">抱团 / 信息共享 / 互助申学</view>
<view class="case flexflex">
<view class="QRcode flexcenter">
<image class="img" src="{{ gtergreenonionqrcode }}" mode="widthFix" show-menu-by-longpress></image>
</view>
<view class="hint flexcenter">
<image class="img img-left" src="https://app.gter.net/image/miniApp/offer/group-arrows.png" mode="widthFix"></image>
<text class="hint-text">添加寄托葱哥进群</text>
<image class="img" src="https://app.gter.net/image/miniApp/offer/group-arrows.png" mode="widthFix"></image>
</view>
</view>
</view>
</view>