master
zsk 2 years ago
parent 32d4d70bb1
commit fdbfb340ac

@ -46,7 +46,7 @@ Page({
var that = this;
that.getJobList();
// that.getJobList();
},
goDetail(e){
console.log(e);

@ -1,4 +1,8 @@
<view style class="container" bindtouchstart="touchStart">
<view class="tc bgf" style="height:100vh">
<view class="t-icon t-icon-zanwu" style="width: 80px; height: 80px; margin: 80px auto 20px"></view>
<view class="tc f14 c045">暂无记录</view>
</view>
<!-- bindrefresherrefresh="onScrollRefresh" refresher-triggered="{{isTrigger}}" refresher-enabled="{{true}}" -->
<scroll-view id="listBox" bindscrolltolower="onScrollToLower" scroll-top="{{topNum}}" enhanced binddragstart="listTouchStart" bindscroll="listTouchMove" style="height:calc(100vh)" enable-passive scroll-x="false" scroll-y="true" scroll-into-view="{{scrollTo}}" scroll-with-animation="false" enable-back-to-top="true">

@ -1,4 +1,7 @@
@import "../index/index.wxss";
page{
background-color: #fff;
}
.goback {
position: absolute;
color: #000;

@ -286,9 +286,9 @@
<image class="pendant" wx:if="{{item.hotJob == 1}}" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/hot.png" mode="aspectFit|aspectFill|widthFix" binderror bindload></image>
</view>
<button wx:if="{{isLogin && hasUserInfo - 0 == 0}}" class="collect biggerSize2 v-center {{item.collected - 1 == 0 ? 'collectred':''}}" open-type="getUserInfo" style="width:52px;" catchtap="getUserInfoBtn" data-type="4" data-collected="{{item.collected}}" data-jobid="{{item.id}}" hover-stop-propagation>
<icon class="iconfont icon-shoucang lh12" style="color: #888" wx:if="{{item.collected - 2 == 0}}"></icon>
<icon class="iconfont icon-shoucang lh12" style="color: #888" wx:if="{{item.collected - 2 != 0}}"></icon>
<icon class="iconfont icon-yishoucang lh12 color-f40" style wx:else></icon>
<text class="f10 {{item.collected - 1 == 0 ? 'color-f40':'c8'}}" style="line-height: 36px; margin-left: 2px">{{item.collected - 2 == 0 ? '收藏' : '已收藏'}}</text>
<text class="f10 {{item.collected - 1 == 0 ? 'color-f40':'c8'}}" style="line-height: 36px; margin-left: 2px">{{item.collected - 2 != 0 ? '收藏' : '已收藏'}}</text>
</button>
<button wx:if="{{isLogin && hasUserInfo - 1 == 0}}" class="collect biggerSize v-center {{item.collected - 1 == 0 ? 'collectred':''}}" catchtap="collectPaste" style="width:52px;" data-collected="{{item.collected}}" data-jobid="{{item.id}}" hover-stop-propagation>
<icon class="iconfont icon-shoucang lh12" style="color: #888" wx:if="{{item.collected - 2 == 0}}"></icon>

Loading…
Cancel
Save