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.
64 lines
2.4 KiB
64 lines
2.4 KiB
1 year ago
|
<!--miniprogram/pages/my/my.wxml-->
|
||
|
<view class="container">
|
||
|
<view class="top">
|
||
|
<view class="h-cut">
|
||
|
<open-data type="userAvatarUrl"></open-data>
|
||
|
</view>
|
||
|
<view class="t_content">
|
||
|
<open-data type="userNickName"></open-data>
|
||
|
<view class="profile">
|
||
|
<open-data type="userCity" lang="zh_CN"></open-data>
|
||
|
<text decode="emsp"> </text>
|
||
|
<open-data type="userGender" lang="zh_CN"></open-data>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="main">
|
||
|
<view class="m-menu">
|
||
|
|
||
|
<view class="{{ismyfavor}} myfavor" bindtap="menu_favor">帖子收藏</view>
|
||
|
<view class=" {{isother}} other" bindtap="menu_other">视频收藏</view>
|
||
|
</view>
|
||
|
<view class="empty" wx:if="{{(ismyfavor&&isempty)||(isother&&isvideoempty)}}">
|
||
|
<view class="e-icon">
|
||
|
<image src="../../images/no.png"></image>
|
||
|
</view>
|
||
|
<view class='e-title'>
|
||
|
您还没有任何收藏~
|
||
|
</view>
|
||
|
<view class="btn-go" bindtap="go">去逛逛</view>
|
||
|
</view>
|
||
|
<view class="full" wx:if="{{ismyfavor&&!isempty}}">
|
||
|
<view class="f-container" wx:for="{{mycollect}}" wx:key="index" bindtap="into" data-index="{{index}}">
|
||
|
<view class="f-img">
|
||
|
<image mode="widthFix" src="{{item.img==''?'../../images/default.png':item.img}}" alt="" />
|
||
|
</view>
|
||
|
<view class="f-content">
|
||
|
<text class="message" wx:if="{{item.type=='二手闲置'}}">
|
||
|
{{'#'+item.type+'-'+item.recycle.obj_name+'*'+item.recycle.obj_num+':'+item.recycle.obj_price}}\n
|
||
|
</text>
|
||
|
<text class="message" wx:if="{{item.type=='兼职实习'}}">
|
||
|
{{'#'+item.type+'-'+item.partjob.unit+'-'+item.partjob.name}}\n
|
||
|
</text>
|
||
|
<text class="message" wx:if="{{item.type=='校园资讯'}}">{{'#'+item.type+'-'+item.college}}\n</text>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="video" wx:if="{{isother}}">
|
||
|
<view wx:for="{{mycollect_video}}">
|
||
|
<view class="title">{{'#'+item.type}}</view>
|
||
|
<video
|
||
|
src="{{item.src}}"
|
||
|
binderror="videoErrorCallback"
|
||
|
show-center-play-btn='{{false}}'
|
||
|
show-play-btn="{{true}}"
|
||
|
controls
|
||
|
picture-in-picture-mode="{{['push', 'pop']}}"
|
||
|
bindenterpictureinpicture='bindVideoEnterPictureInPicture'
|
||
|
bindleavepictureinpicture='bindVideoLeavePictureInPicture'
|
||
|
></video>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|