初始化代码

This commit is contained in:
2025-12-22 17:13:05 +08:00
parent ed0de08e3a
commit 1f7e9d401b
2947 changed files with 526137 additions and 0 deletions

View File

@@ -0,0 +1 @@
<view class="farmer-order-land-list"><fixed vue-id="cbfd1dd4-1" bind:__l="__l" vue-slots="{{['default']}}"><tab vue-id="{{('cbfd1dd4-2')+','+('cbfd1dd4-1')}}" list="{{tabList}}" activeIndex="{{activeIndex}}" activeColor="{{primaryColor}}" width="{{100/$root.g0+'%'}}" height="100rpx" msgRight="40rpx" data-event-opts="{{[['^change',[['handerTabChange']]]]}}" bind:change="__e" bind:__l="__l"></tab><view class="b-1px-b"></view></fixed><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" class="order-item fill-base mg-big pd-lg radius-16 box-shadow" catchtap="__e"><view class="flex-between pb-lg c-title"><view class="f-title flex-y-baseline"><view class="iconfont icon-dianpu mr-sm _i"></view><view class="text-bold max-400 ellipsis">{{item.farmer_info.title}}</view></view><view class="f-paragraph" style="{{'color:'+(item.pay_type==1?subColor:item.pay_type==2?primaryColor:'')+';'}}">{{''+statusType[item.pay_type]+''}}</view></view><view class="{{['flex-center',[(index!=0)?'mt-lg':'']]}}"><image class="avatar radius-24" mode="aspectFill" lazy-load="{{true}}" src="{{item.goods_cover}}"></image><view class="flex-1 ml-lg"><view class="f-title c-title text-bold ellipsis" style="max-width:498rpx;">{{''+item.goods_name+''}}</view><view class="f-caption c-caption mt-sm">{{'租赁期限:'+item.end_time+' 到期'}}</view><view class="f-caption c-caption">{{'租赁面积:'+item.area+'㎡'}}</view></view></view><view class="flex-between mt-md"><view></view><block wx:if="{{item.pay_type==1}}"><view class="flex-warp"><view data-event-opts="{{[['tap',[['toChangeOrder',[index,'cancel_item']]]]]}}" class="common-btn disabled flex-center f-caption c-title radius-4" catchtap="__e">取消订单</view><view data-event-opts="{{[['tap',[['toPay',[index]]]]]}}" class="common-btn flex-center f-caption c-base radius-4 ml-lg" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">去支付</view></view></block><block wx:if="{{item.pay_type>1&&!item.have_eva||item.pay_type==2}}"><view class="flex-warp"><block wx:if="{{item.pay_type==2}}"><view data-event-opts="{{[['tap',[['goDetail',[index,1]]]]]}}" class="common-btn flex-center f-caption c-base radius-4 ml-lg" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">我要配送</view></block><block wx:if="{{!item.have_eva}}"><view data-event-opts="{{[['tap',[['toEvaluate',[index]]]]]}}" class="common-btn flex-center f-caption c-base radius-4 ml-lg" style="{{'background:'+(subColor)+';'}}" catchtap="__e">去评价</view></block></view></block></view></view></block><block wx:if="{{loading}}"><load-more vue-id="cbfd1dd4-3" noMore="{{$root.g1}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g2}}"><abnor vue-id="cbfd1dd4-4" bind:__l="__l"></abnor></block><view class="space-footer"></view><common-popup class="vue-ref" vue-id="cbfd1dd4-5" type="CANCEL_ORDER" info="{{popupInfo}}" data-ref="cancel_item" data-event-opts="{{[['^confirm',[['confirmCancel']]]]}}" bind:confirm="__e" bind:__l="__l"></common-popup></view>