min-project/common/common.wxml

692 lines
40 KiB
Plaintext
Raw Normal View History

2024-12-12 04:14:09 +00:00
<wxs module="filter" src="/utils/time.wxs"></wxs>
<!--内容列表 -->
<template name="project_hot_list">
<view>
<view class='hot-list' wx:for="{{ list }}" wx:key="index">
<view class='l'>
<view class='name'>{{ item.name }}</view>
<view class='num'>{{ item.offer_num }}个Offer</view>
</view>
<view class='r'>
<form class='submit-form' report-submit='true' data-index="{{ index }}" data-types="project" data-obj="{{ item }}" bindsubmit="follow_project">
<view class='focus' wx:if="{{ item.isfollow }}">已关注</view>
<view class='notfocus' wx:if="{{ !item.isfollow }}">
<image src="../../../img/plus.png"></image> 关注
</view>
<button form-type="submit" hover-class="none" type="default" size="mini"></button>
</form>
</view>
</view>
</view>
</template>
<template name="school_hot_list">
<view>
<view class='hot-list' wx:for="{{ list }}" wx:key="index">
<view class='l'>
<view class='name'>{{ item.name }}</view>
<view class='num'>{{ item.offer_num }}个Offer</view>
</view>
<view class='r'>
<form class='submit-form' report-submit='true' data-index="{{ index }}" data-types="school" data-obj="{{ item }}" bindsubmit="follow_project">
<view class='focus' wx:if="{{ item.isfollow }}">已关注</view>
<view class='notfocus' wx:if="{{ !item.isfollow }}">
<image src="../../../img/plus.png"></image> 关注
</view>
<button form-type="submit" hover-class="none" type="default" size="mini"></button>
</form>
</view>
</view>
</view>
</template>
2024-12-12 10:53:37 +00:00
2024-12-12 04:14:09 +00:00
<template name="offer_list">
<navigator class='item' url='../../index/offer_details/index?id={{ item.id }}'>
<view class='school'>{{ item.schoolname }}</view>
<view class='project'>{{ item.professional }}</view>
<view class='footer'>
<view class='l'>
<text>{{ item.year }}</text>
<view class='divide'>|</view>
<text>{{ item.semester }}</text>
<view class='divide'>|</view>
<text>{{ item.apply_results }}</text>
<view class='divide' wx:if="{{ item.gpa }}">|</view>
<text>{{ item.gpa }}</text>
<view class='divide' wx:if="{{ item.schoolgrade }}">|</view>
<text>{{ item.schoolgrade }}</text>
</view>
</view>
<view class='bottom'>
<image src='{{item.avatar}}' class='avatar'></image> {{ item.username }}
</view>
</navigator>
</template>
<template name="message_alert">
<view class='alert-comfirm-box' bindtap="close_show_message">
<view class='reminder_box'>
<view class="tips">{{ message }}</view>
</view>
</view>
</template>
<template name="NavBar-holder">
<view>
<view class="NavBar-holder" style="height:{{screen_data.totalTopHeight}}px"></view>
<view class="NavBar">
<view class="NavBar-statusBar" style="height:{{screen_data.statusBarHeight}}px"></view>
<view class="NavBar-titlebar" style="height:{{screen_data.titleBarHeight}}px">
<view class="NavBar-content">
<view class="NavBar-left NavBar-left-more" wx:if="{{ !screen_data.index }}">
<view bindtap="navigategoBack" class='Btn'>
<image class="NavBar-BackIcon" src="../../../img/Back.svg"></image>
</view>
<view bindtap="backHome" class='Btn'>
<image class="NavBar-HomeIcon backToHome" src="../../../img/Home.svg"></image>
</view>
</view>
<view class="NavBar-left NavBar-left-more" wx:else>
</view>
<view class="NavBar-content-title">{{ screen_data.title }}</view>
</view>
<view class="capsule-holder"></view>
</view>
</view>
</view>
</template>
<!-- 页面 右下角的绿色 发布及提问按钮 -->
<template name="topublishArticle">
<view class="topublishArticle">
<view class="bj" wx:if="{{ topublishArticleState }}" bindtap="triggerState"></view>
<view hover-class="hover" id="topublish" class="topublish-btn">
<view class="buttonEject" wx:if="{{ topublishArticleState }}">
<view class="buttonEject-item" bindtap="topublishArticle" data-type="{{'ask'}}">
<i class="buttonEjectIcon"></i>
<text>我要提问</text>
</view>
<view class="buttonEject-item" bindtap="topublishArticle" data-type="{{'article'}}">
<i class="buttonEjectIcon"></i>
<text>发布文章</text>
</view>
</view>
<image lazy-load="true" src="https://app.gter.net/image/miniApp/offer/add-green.png" class="img {{topublishArticleState ? 'rotate': ''}}" bindtap="triggerState"></image>
</view>
</view>
</template>
<!-- 鸭头空 -->
<template name="duckHeadEmpty">
<view class="empty flexcolumn flexcenter shadow" style="height: calc(100vh - {{ 775 + bottomLift }}rpx);">
<view class="dot-box flexacenter">
<image class="dot" wx:for="{{ 3 }}" wx:key="index" mode="widthFix" src="/img/u1829.svg"></image>
<image class="dot" wx:for="{{ 3 }}" wx:key="index" mode="widthFix" src="/img/u1832.svg"></image>
</view>
<image class="empty-icom" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/u1828.svg"></image>
<view class="summary-list-no-hint">{{ hintText }}</view>
</view>
</template>
<!-- 投票 item 的 HTML 首页 个人主页 -->
<template name="vote-item">
<navigator class="vote-item-box" url="/pages/voteDetails/voteDetails?uniqid={{ item.uniqid }}&islist={{ islist || false }}" hover-class="none">
<!-- <navigator class="vote-item-box" url="/pages/vote/voteDetails/voteDetails?id={{ item.id }}&islist={{ islist || false }}" hover-class="none"> -->
<view wx:if="{{ isShowLabel }}" class="item-label flexcenter">投票</view>
<view class="vote-item-title flexacenter9">
<view wx:if="{{ item.status == 0 }}" class="vote-item-title-state">已结束</view>
<view wx:else class="vote-item-title-state vote-item-title-state-underway">进行中</view>
<view class="vote-item-title-text flex1">{{ item.title }}</view>
</view>
<view class="vote-item-message one-line-display" wx:if="{{ item.message }}">{{ item.message }}</view>
<view class="vote-item-list {{ (item.isvote == 1 || item.status == 0) ? 'vote-item-list-already' : '' }} ">
<block wx:for="{{ item.option }}" wx:for-item="s" wx:key="index">
<view wx:if="{{ index <= 2}}" class="vote-item-list-item flexflex">
<view class="vote-item-list-top flexacenter">
<image wx:if="{{ s.selected == 1 }}" class="vote-tick" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/vote-tick.svg"></image>
<view wx:else class="vote-item-list-index">{{ index + 1 }}</view>
<view class="vote-item-list-value flex1 one-line-display">{{ s.value }}</view>
</view>
<view class="vote-item-list-bottom flexacenter">
<view class="length" style="width:{{ pages =='myvote' || item.isvote || item.status==0 ? s.percentage + '%' : '0%'}}"></view>
{{ s.count }}
</view>
</view>
</block>
</view>
<view class="vote-item-bottom flexacenter">
<view class="vote-item-bottom-left flexacenter">
<image class="vote-item-bottom-avatar" src="{{ item.avatar }}"></image>
<view class="vote-item-bottom-time">{{ item.status == 0 ? '投票已结束' : '还有 ' + (item.time || ' ') +'结束' }}</view>
<view style="color: #D7D7D7; margin: 0 15rpx;">|</view>
<view class="vote-item-bottom-number">{{ item.votes }}人参与</view>
</view>
<view wx:if="{{ isShowEmoji }}" class="vote-item-bottom-right" style="display: flex;margin-left: 15rpx;">
<view class="emoji-item" wx:for="{{ items }}" wx:key="index">
<rich-text class="emoji-item-icon" nodes="&#x{{ item }};" />
</view>
</view>
<view wx:else class="vote-item-bottom-right flexacenter">
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/eye-icon.svg"></image>
{{ item.views || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" style="width: 20rpx;" src="https://app.gter.net/image/miniApp/offer/expression-icon.png"></image>
{{ item.ripostes || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="/img/discuss-icon.png"></image>
{{ item.comments || 0 }}
</view>
</view>
</view>
</navigator>
</template>
<!-- 面经 item 的 HTML 首页 个人主页 -->
<template name="mj-item">
<navigator class="mj-item-box" url="/pages/mjDetails/mjDetails?id={{ item.id }}&uniqid={{ item.uniqid }}" hover-class="none">
<!-- <navigator class="mj-item-box" url="/pages/mj/mj_details/index?id={{ item.id }}&uniqid={{ item.uniqid }}" hover-class="none"> -->
<view wx:if="{{ isShowLabel }}" class="item-label flexcenter">面经</view>
<view class="mj-item-school flexacenter">
<image class="mj-item-school-icon" src="{{ item.schoolimage }}"></image>
<view class="mj-item-school-name flex1">{{ item.school}}</view>
</view>
<view class="mj-item-info">
<view class="mj-item-info-item flexacenter" wx:if="{{ item.profession || item.professional }}">
<view class="mj-item-info-key">专业</view>
<view class="mj-item-info-value">{{ item.profession || item.professional }}</view>
</view>
<view class="mj-item-info-item flexacenter" wx:if="{{ item.project }}">
<view class="mj-item-info-key">项目</view>
<view class="mj-item-info-value">{{ item.project }}</view>
</view>
<view class="mj-item-info-item flexacenter" wx:if="{{ item.timestamp || item.interviewtime }}">
<view class="mj-item-info-key">面试</view>
<view class="mj-item-info-value mj-item-info-timestamp-value">{{ filter.getDateTime(item.timestamp || item.interviewtime) }}</view>
</view>
</view>
<view class="mj-item-course" wx:if="{{ item.message }}">{{ item.message }}</view>
<view class="mj-item-bottom flexacenter">
<view class="mj-item-bottom-left flexacenter">
<image catch:tap="goPersonalHomepage" data-uid="{{ item.uid }}" data-uin="{{ item.uin }}" class="mj-item-bottom-avatar" mode="widthFix" src="{{ item.avatar }}"></image>
{{ item.releasetimeText || item.timeFormat }}
</view>
<view wx:if="{{ isShowEmoji }}" class="mj-item-bottom-right" style="display: flex;margin-left: 15rpx;">
<view class="emoji-item" wx:for="{{ items }}" wx:key="index">
<rich-text class="emoji-item-icon" nodes="&#x{{ item }};" />
</view>
</view>
<view wx:else class="mj-item-bottom-right flexacenter">
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/eye-icon.svg"></image>
{{ item.views || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" style="width: 20rpx;" src="https://app.gter.net/image/miniApp/offer/expression-icon.png"></image>
{{ item.ripostes || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="/img/discuss-icon.png"></image>
{{ item.commentnum || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/bi-icon.png"></image>
{{ item.reward || 0 }}
</view>
</view>
</view>
</navigator>
</template>
<!-- 总结 item 的 HTML 首页 个人主页 -->
<template name="summary-item">
<navigator class="summary-item flexflex" url="/pages/summaryDetails/summaryDetails?id={{ item.id }}" hover-class="none">
<view wx:if="{{ isShowLabel }}" class="item-label flexcenter">申请总结</view>
<view class="summary-item-right flexcolumn">
<view class="summary-item-box">
<view class="summary-item-title">{{ item.subject }}</view>
<view class="summary-item-text one-line-display" wx:if="{{ item.content }}">{{ item.content }}</view>
<view class="summary-offer-box flexcolumn {{ item.offer.length > 2 && 'summary-offer-box-three' }}">
<view class="summary-item-total flexflex">共 <view style="font-weight: 700;font-size: 24rpx;margin: 0 8rpx;color: #000;">{{ item.offer.length }}</view> 个Offer</view>
<block wx:for="{{ item.offer }}" wx:for-item="it" wx:for-index="i" wx:key="i">
<block wx:if="{{ item.offer.length > 3 && item.state }}">
<view class="summary-offer-item flexacenter">
<image class="summary-offer-avatar" mode="widthFix" src="{{ it.schoolimage }}"></image>
<view class="summary-offer-content">
<view class="summary-offer-content-name" style="max-width: 558rpx;overflow: hidden;">{{ it.schoolname }}</view>
<view class="summary-offer-content-brief flexacenter">
<view style="overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: break-all; overflow-wrap: break-word; max-width: 346rpx;">
<block wx:if="{{ it.professionalzhong }}">
<text>{{ it.professionaltou }}</text>
<text style="color: #509CE3;">{{ it.professionalzhong }}</text>
<text>{{ it.professionalend }}</text>
</block>
<block wx:else>{{ it.professional }}</block>
</view>
<view class="line-between"></view>
{{ it.degree }}
<view class="line-between"></view>
{{ it.semester }}
</view>
</view>
</view>
</block>
<block wx:else>
<view class="summary-offer-item flexacenter" wx:if="{{ i < 3 }}">
<image class="summary-offer-avatar" mode="widthFix" src="{{ it.schoolimage }}"></image>
<view class="summary-offer-content">
<view class="summary-offer-content-name" style="max-width: 558rpx;overflow: hidden;">{{ it.schoolname }}</view>
<view class="summary-offer-content-brief flexacenter">
<view style="overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: break-all; overflow-wrap: break-word; max-width: 346rpx;">
<block wx:if="{{ it.professionalzhong }}">
<text>{{ it.professionaltou }}</text>
<text style="color: #509CE3;">{{ it.professionalzhong }}</text>
<text>{{ it.professionalend }}</text>
</block>
<block wx:else>{{ it.professional }}</block>
</view>
<view class="line-between"></view>
{{ it.degree }}
<view class="line-between"></view>
{{ it.semester }}
</view>
</view>
</view>
</block>
</block>
</view>
<view class="summary-offer-bottom flexacenter">
<view class="summary-offer-bottom-left flexacenter">
<image class="summary-offer-bottom-avatar" src="{{ item.avatar }}"></image>
{{ item.timestampText }}
</view>
<view wx:if="{{ isShowEmoji }}" class="summary-offer-bottom-rigth" style="display: flex;margin-left: 15rpx;">
<view class="emoji-item" wx:for="{{ items }}" wx:key="index">
<rich-text class="emoji-item-icon" nodes="&#x{{ item }};" />
</view>
</view>
<view wx:else class="summary-offer-bottom-rigth flexacenter">
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/eye-icon.svg"></image>
{{ item.viewnum || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" style="width: 20rpx;" src="https://app.gter.net/image/miniApp/offer/expression-icon.png"></image>
{{ item.ripostes || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="/img/discuss-icon.png"></image>
{{ item.commentnum || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/bi-icon.png"></image>
{{ item.reward || 0 }}
</view>
</view>
</view>
</view>
</view>
</navigator>
</template>
<!-- offer item 的 HTML 首页 个人主页 -->
<template name="victory-offer-item">
<navigator class="victory-offer-item flexflex" url="/pages/victoryDetails/victoryDetails?id={{ item.id || item.uniqid }}" hover-class="none">
<view wx:if="{{ isShowLabel }}" class="item-label flexcenter">Offer捷报</view>
<view class="victory-offer-right">
<view class="victory-offer-box flexflex">
<view class="victory-offer-info-box flexcolumn">
<view class="victory-offer-info-header flexacenter">
<image class="victory-offer-info-avatar" src="{{ item.schoolimage }}"></image>
<view class="victory-offer-info-name">{{ item.schoolname }}</view>
</view>
<view class="victory-offer-info-item flexflex" wx:if="{{item.professional}}">
<view class="victory-offer-info-major">专业</view>
<view class="victory-offer-info-value flex1" wx:if="{{item.professionalzhong}}">
<text>{{ item.professionaltou }}</text>
<text style="color: #509CE3;">{{ item.professionalzhong }}</text>
<text>{{ item.professionalend }}</text>
</view>
<view class="victory-offer-info-value flex1 " wx:else>{{ item.professional }}</view>
</view>
<view class="victory-offer-info-item flexflex" wx:if="{{item.project}}">
<view class="victory-offer-info-major">项目</view>
<view class="victory-offer-info-value flex1" wx:if="{{item.projecttzhong}}">
<text>{{ item.projecttou }}</text>
<text style="color: #509CE3;">{{ item.projecttzhong }}</text>
<text>{{ item.projecttend }}</text>
</view>
<view class="victory-offer-info-value flex1" wx:else>{{ item.project }}</view>
</view>
<view class="victory-offer-info-item flexacenter" style="align-items: center;font-size: 27rpx;">
{{ item.semester }}
<view class="line-between"></view>
{{ item.degree }}
<view class="line-between"></view>
<view class="victory-offer-info-item-results flexacenter results{{ item.apply_resultstatus }}">{{ item.apply_results }}</view>
</view>
<view class="victory-offer-info-xiaobox " wx:if="{{ item.message }}">
<view class="victory-offer-info-content one-line-display" wx:if="{{ item.message }}">{{ item.message }}</view>
</view>
<view class="victory-offer-bottom flexacenter">
<view class="victory-offer-bottom-left flexacenter">
<image class="victory-offer-bottom-avatar" src="{{ item.avatar }}"></image>
{{ item.timestamp }}
</view>
<view wx:if="{{ isShowEmoji }}" class="numerical-box" style="display: flex;margin-left: 15rpx;">
<view class="emoji-item" wx:for="{{ items }}" wx:key="index">
<rich-text class="emoji-item-icon" nodes="&#x{{ item }};" />
</view>
</view>
<!-- 数值 -->
<view wx:else class="numerical-box flexacenter">
<view class="item-bottom-item flexcenter">
<image class="item-bottom-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/u884.png"></image>
{{ item.view || 0 }}
</view>
<view class="item-bottom-item flexcenter">
<image class="item-bottom-icon" mode="widthFix" style="width: 20rpx;" src="https://app.gter.net/image/miniApp/offer/expression-icon.png"></image>
{{ item.ripostes || 0 }}
</view>
<view class="item-bottom-item flexcenter">
<image class="item-bottom-icon" mode="widthFix" src="/img/discuss-icon.png"></image>
{{ item.comments || 0 }}
</view>
<view class="item-bottom-item flexcenter">
<image class="item-bottom-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/bi-icon.png"></image>
{{ item.reward || 0 }}
</view>
</view>
</view>
</view>
</view>
</view>
</navigator>
</template>
<!-- 问答 item 的 HTML 个人主页 足迹 -->
<template name="questions-answers-item">
<navigator url="/pages/questionsDetails/questionsDetails?uniqid={{ item.uniqid }}" class="questions-answers-item">
<view class="item-label flexcenter">问答</view>
<view class="questions-answers-title">
<view class="flexcenter questions-answers-icon">
<image class="questions-answers-img" src="https://app.gter.net/image/miniApp/offer/u3370.svg" mode="widthFix"></image>
</view>
{{ item.title }}
</view>
<view wx:if="{{ item.content }}" class="questions-answers-text one-line-display">{{ item.content }}</view>
<view class="questions-answers-bottom flexacenter">
<view class="questions-answers-bottom-left flexacenter">
<image class="questions-answers-bottom-avatar" src="{{ item.avatar }}"></image>
共{{ item.answers }}个回答
</view>
<view class="questions-answers-bottom-right flexacenter">
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/eye-icon.svg"></image>
{{ item.viewnum || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="/img/discuss-icon.png"></image>
{{ item.commentnum || 0 }}
</view>
</view>
</view>
</navigator>
</template>
<!-- 问答 item 的 HTML 首页 -->
<template name="questions-and-answers">
<navigator class="questions-and-answers" url="/pages/questionsDetails/questionsDetails?uniqid={{ item.uniqid }}&answerid={{ item.answerid }}">
<view wx:if="{{ isShowLabel }}" class="item-label flexcenter">问答</view>
<view class="title">{{ item.title }}</view>
<view class="answers-box flexflex" wx:if="{{ item.content }}">
<view class="icon flexcenter">答</view>
<view class="text">{{ item.content || '' }}</view>
</view>
<view class="bottom flexacenter">
<view class="left flexacenter">
<image class="avatar" src="{{ item.avatar }}"></image>
{{ item.publicationdate || '' }}
</view>
<view class="right flexacenter">
<!-- <view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/eye-icon.svg"></image>
{{ item.viewnum || 0 }}
</view> -->
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" style="width: 20rpx;" src="https://app.gter.net/image/miniApp/offer/expression-icon.png"></image>
{{ item.ripostes || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="/img/discuss-icon.png"></image>
{{ item.commentnum || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/bi-icon.png"></image>
{{ item.reward || 0 }}
</view>
</view>
</view>
</navigator>
</template>
<!-- 回答 item 的 HTML 首页 个人主页 足迹 -->
<template name="answers-item">
<!-- <navigator url="/pagesSquare/pages/answerDetails/answerDetails?answerid={{ item.answerid }}" class="answers-item"> -->
<navigator url="/pages/questionsDetails/questionsDetails?uniqid={{ item.uniqid }}&answerid={{ item.answerid }}" class="answers-item">
<view class="item-label flexcenter">回答</view>
<view class="answers-title">{{ item.title }}</view>
<view class="answers-content flexacenter">
<view class="answers-label flexcenter">答</view>
<view wx:if="{{ item.content }}" class="answers-text one-line-display flex1">{{ item.content }}</view>
</view>
<view class="answers-bottom flexacenter">
<view class="answers-bottom-left flexacenter">
<image class="answers-bottom-avatar" src="{{ item.avatar }}"></image>
共{{ item.answers }}个回答
</view>
<view class="answers-bottom-right flexacenter">
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/eye-icon.svg"></image>
{{ item.viewnum || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" style="width: 20rpx;" src="https://app.gter.net/image/miniApp/offer/expression-icon.png"></image>
{{ item.riposte || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="/img/discuss-icon.png"></image>
{{ item.commentnum || 0 }}
</view>
</view>
</view>
</navigator>
</template>
<!-- 招生官 item 的 HTML 足迹 -->
<template name="admission-officer-item">
<navigator class="admission-officer-item">
<view class="item-label flexcenter">招生官</view>
<view class="admission-officer-title">{{ item.title }}</view>
<view class="admission-officer-text one-line-display">{{ item.description }}</view>
<view class="admission-officer-bottom flexacenter">
<view class="admission-officer-bottom-left flexacenter">
<image class="admission-officer-bottom-avatar" src="{{ item.avatar }}"></image>
{{ item.pubdate }}
</view>
</view>
</navigator>
</template>
<!-- 找飞友 item 的 HTML 首页 个人主页 足迹 -->
<template name="find-flyer-item">
<navigator class="find-flyer-item" url="/pagesSquare/pages/lookingforfeiyou/lookingforfeiyou?id={{ item.id }}">
<view class="item-label flexcenter">找飞友</view>
<view class="find-flyer-header flexacenter">
{{ item.departurecityname }}
<image class="find-flyer-header-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/u2147.svg"></image>{{ item.destinationcityname }}
</view>
<view class="find-flyer-message flexacenter">
<image class="find-flyer-message-icon" mode="widthFix" src="/img/rili.svg"></image>
<block wx:if="{{ item.istickets == 1 }}">{{ item.flightdeparturetimeString }}</block>
<block wx:else>{{item.startscheduleString}} ~ {{ item.latestscheduleString }}</block>
<view class="line"></view>
{{ item.istickets == 1 ? '已' : '未' }}购机票
<view class="line"></view>
{{ sex[item.sex] }}
</view>
<view class="find-flyer-text flexacenter" wx:if="{{ item.message }}">
<text class="one-line-display flex1"> {{ item.message }}</text>
</view>
<view class="find-flyer-bottom flexacenter">
<view class="find-flyer-bottom-left flexacenter">
<image class="find-flyer-bottom-avatar" src="{{ item.avatar }}"></image>
{{ item.relativedate }}
</view>
<view wx:if="{{ isShowEmoji }}" class="find-flyer-bottom-right" style="display: flex;margin-left: 15rpx;">
<view class="emoji-item" wx:for="{{ items }}" wx:key="index">
<rich-text class="emoji-item-icon" nodes="&#x{{ item }};" />
</view>
</view>
<view wx:else class="find-flyer-bottom-right flexacenter">
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/eye-icon.svg"></image>
{{ item.views || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" style="width: 20rpx;" src="https://app.gter.net/image/miniApp/offer/expression-icon.png"></image>
{{ item.ripostes || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="/img/discuss-icon.png"></image>
{{ item.comments || 0 }}
</view>
</view>
</view>
</navigator>
</template>
<!-- 租房 item 的 HTML 足迹 -->
<template name="renting-item">
<navigator path="/pages/show/show?uniqid={{ item.uniqid }}" target="miniProgram" class="renting-item" app-id="wxcf0a799771cf2ae6">
<view class="item-label flexcenter">香港租房</view>
<view class="renting-item-title">{{ item.subject }}</view>
<view class="renting-item-content flexflex">
<view class="renting-item-content-left flex1 flexflex">
<view class="renting-item-type flexflex">
<view class="renting-item-type-item flexcenter" wx:for="{{ item.tabList }}" wx:key="index">{{ item }}</view>
</view>
<view class="renting-item-site flexacenter">
<block wx:if="{{ item.intermediary == 6 }}">
<view class="renting-item-site-item flexacenter" wx:for="{{ item.location }}" wx:key="index">
<image class="renting-item-site-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/orientation.png"></image>
{{ item }}
</view>
</block>
<view wx:else class="renting-item-site-item flexacenter">
<image class="renting-item-site-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/orientation.png"></image>
{{ item.location }}
</view>
</view>
<view class="renting-item-price-section flexacenter">
<view class="renting-item-unit">HK$</view>
<view class="renting-item-price">{{ item.rent }}</view>
<text class="renting-item-text">/月</text>
<view class="renting-item-rentalduration">[ 租期{{ item.rentalduration }} ]</view>
</view>
</view>
<view class="renting-item-content-right flexacenter">
<view wx:if="{{ item.isvideo == 1 }}" class="renting-item-video flexflex">
<view class="renting-item-mask"></view>
<image class="renting-item-image" mode="widthFix" lazy-load src="{{ item.imageurl }}"></image>
<image class="renting-item-video-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/videoplay.png"></image>
</view>
<image wx:else class="renting-item-image" mode="widthFix" lazy-load src="{{ item.imageurl }}"></image>
</view>
</view>
<view class="renting-item-bottom flexacenter">
<image class="renting-item-avatar flexacenter" mode="widthFix" src="{{ item.avatar }}"></image>
{{ item.timeFormat }} <text class="line">|</text> {{ item.intermediary_text }}
</view>
</navigator>
</template>
<!-- 论坛帖子 item 的 HTML 足迹 -->
<template name="thread-item">
<navigator class="thread-item" url="/pages/webview/webview?url=https://bbs.gter.net/thread-{{ item.tid }}-1-1.html">
<view class="item-label flexcenter">论坛帖子</view>
<view class="thread-title">{{ item.subject }}</view>
<view class="thread-text one-line-display" wx:if="{{ item.message }}">{{ item.message }}</view>
<view class="thread-bottom flexacenter">
<view class="thread-bottom-left flexacenter">
<image class="thread-bottom-avatar" src="{{ item.avatar }}"></image>
{{ item.timeFormat }}
</view>
<view wx:if="{{ isShowEmoji }}" class="thread-bottom-right" style="display: flex;margin-left: 15rpx;">
<view class="emoji-item" wx:for="{{ items }}" wx:key="index">
<rich-text class="emoji-item-icon" nodes="&#x{{ item }};" />
</view>
</view>
<view wx:else class="thread-bottom-right flexacenter">
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/eye-icon.svg"></image>
{{ item.views || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" style="width: 20rpx;" src="https://app.gter.net/image/miniApp/offer/expression-icon.png"></image>
{{ item.ripostes || 0 }}
</view>
<view class="item-bottom-item flexacenter">
<image class="item-bottom-icon" mode="widthFix" src="/img/discuss-icon.png"></image>
{{ item.replies || 0 }}
</view>
</view>
</view>
</navigator>
</template>
<!-- 专题帖子 item 的 HTML 足迹 -->
<template name="appmsgalbum-item">
<navigator class="thread-item" url="/pages/webview/webview?url={{ item.url }}">
<view class="item-label flexcenter">{{ item.album }}</view>
<view class="thread-title">{{ item.title }}</view>
<view class="thread-text one-line-display" wx:if="{{ item.description }}">{{ item.description }}</view>
<view class="thread-bottom flexacenter">
<view class="thread-bottom-left flexacenter">
<image class="thread-bottom-avatar" src="{{ item.cover_img }}"></image>
{{ item.timeFormat }}
</view>
</view>
</navigator>
</template>
<!-- 表情包弹窗列表 页面 -->
<template name="emoji-list">
<view class="emoji-popup-mask flexcolumn" bind:tap="clickEmoji">
<view class="emoji-popup-box" catch:tap="return">
<view class="emoji-popup-item" wx:for="{{ optionEmoji }}" wx:key="index">
<view class="emoji-popup-name flexacenter">
<image class="emoji-popup-name-icon" mode="widthFix" src="{{ item.bicon }}"></image>{{ item.name }}
</view>
<text class="emoji-popup-icon" wx:key="index">{{ item }}</text>
<view class="emoji-popup-list">
<icon class="emoji-popup-icon icon-{{item.item}}" wx:for="{{ item.list }}" wx:key="index" bind:tap="selectEmoji" data-item="{{ item }}"></icon>
</view>
</view>
</view>
<view class="emoji-popup-bottom flexacenter" catch:tap="return">
<view class="emoji-popup-bottom-item flexcenter {{ index == emojiItem && 'pitch' }}" wx:for="{{ optionEmoji }}" wx:key="index" bind:tap="selectEmojiPage" data-index="{{ index }}">
<image class="emoji-popup-bottom-icon" mode="widthFix" src="{{ item.bicon }}"></image>
</view>
</view>
</view>
</template>