市北人才赋能平台 --小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

98 lines
3.3 KiB

6 years ago
<!--pages/user/index.wxml-->
<view class="container">
<mp-cells ext-class="page_hd" wx:if="{{isAuth}}">
4 years ago
<mp-cell bindtap="onTapItem" data-type="myInfo" link="true">
6 years ago
<view class="user_hd" wx:if="{{avatarUrl && nickName}}">
<image slot="icon" class="user_logo" src="{{avatarUrl}}"/>
4 years ago
<view slot="title" class="user_name">
<view>{{nickName}}</view>
<view>
<van-tag type="primary" size="medium" round color="rgb(230,208,68)" style="margin-left:5px;">市北区高层次人才 <text class="fa fa-angle-right fa-lg" style="margin-left:5px;"></text></van-tag>
</view>
</view>
</view>
</mp-cell>
6 years ago
</mp-cells>
4 years ago
<view class="title-cell">
<view class="con">
<view class="t">人才服务</view>
<view class="t2" bindtap="service"><text>我的服务</text><text class="fa fa-angle-right fa-lg" style="margin-left:5px;margin-bottom:1px;color:rgb(178,178,178)"></text></view>
</view>
</view>
<swiper class="nav" indicator-dots="{{true}}" indicator-color="rgb(217,217,217)" indicator-active-color="rgb(230,208,68)">
<block wx:for="{{service}}">
<swiper-item>
<van-grid column-num="5" border="{{false}}">
<block wx:for="{{item}}" wx:for-item="it">
<van-grid-item use-slot url="/pages/service/detail/detail">
<view class="circular">
<image src="../../images/icon/{{it.id}}.png" mode="aspectFit" class="icon"></image>
</view>
<view class="tit">{{it.name}}</view>
</van-grid-item>
</block>
</van-grid>
</swiper-item>
</block>
</swiper>
<mp-cells ext-class="page_hd" wx:if="{{!isAuth}}">
<mp-cell bindtap="onTapItem" data-type="myInfo">
<view class="user_hd">
<image slot="icon" class="user_logo" src="/images/topic/avatar.png"/>
<view slot="title" class="user_name">登录/注册</view>
</view>
</mp-cell>
</mp-cells>
<mp-cells ext-class="page_bd">
<mp-cell
bindtap="onTapItem" data-type="myMessage"
icon="/images/user/msg.png"
title="我的消息"
link="true"
ext-class="cell-item">
<view wx:if="{{messageTotal > 0 }}" slot="footer" class="msg_footer">你有{{messageTotal}}条消息</view>
</mp-cell>
<mp-cell
bindtap="onTapItem" data-type="myTopics"
icon="/images/user/topic.png"
title="我的议题"
link="true"
ext-class="cell-item">
</mp-cell>
<mp-cell
bindtap="onTapItem" data-type="myFavorite"
icon="/images/user/collect.png"
title="我的收藏"
link="true"
ext-class="cell-item">
</mp-cell>
<!-- <mp-cell
bindtap="onTapItem" data-type="myIdea"
icon="/images/user/pins.png"
title="我的金点子"
link="true"
ext-class="cell-item">
</mp-cell> -->
<mp-cell
bindtap="onTapItem" data-type="myWhistle"
icon="/images/user/pins.png"
5 years ago
title="我的需求"
link="true"
ext-class="cell-item">
<view wx:if="{{whistle}}" slot="footer" class="msg_footer">需求有新的处理</view>
</mp-cell>
<mp-cell
bindtap="onTapItem" data-type="myActivity"
icon="/images/user/activity.png"
title="我的活动"
link="true"
ext-class="cell-item">
6 years ago
</mp-cell>
</mp-cells>
</view>