min-project/component/indexSidebar/indexSidebar.wxml

86 lines
5.0 KiB
Plaintext
Raw Normal View History

2024-12-12 04:14:09 +00:00
<!--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>
2024-12-30 10:19:57 +00:00
<!-- <view class="sidebar-item offerBtn flexcenter" wx:if="{{ sidebarType == 'xg' }}" bind:tap="sidebarShowHide" data-type="xg">
2024-12-12 04:14:09 +00:00
<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>
2024-12-30 10:19:57 +00:00
</view> -->
2024-12-12 04:14:09 +00:00
<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' }}" bind:tap="sidebarShowHide" data-type="offer">
<!-- <view class="offerBtn-icon flexcenter"> -->
<image class="offerBtn-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/project/offer-icon.png" mode="widthFix"></image>
<!-- </view> -->
<view class="offerBtn-text">Offer</view>
<view class="offerBtn-text">榜</view>
2024-12-12 04:14:09 +00:00
</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>
2024-12-12 10:53:37 +00:00
<view class="hint">
<view>项目库正在火热公测中!发现有错误的地方</view>
<view>告诉我呀!有建议也欢迎来聊聊~</view>
</view>
2024-12-12 04:14:09 +00:00
<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>