mp-weixin/pages/yongchiyuding/list.wxml

(完整代码) 16KB

<mescroll-uni vue-id="d6d62562-1" up="{{upOption}}" down="{{downOption}}" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="cu-bar bg-white search" style="{{'top:'+(CustomBar+'px')+';'}}"><block wx:if="{{queryList.length>1}}"><picker style="padding-left:20rpx;" mode="selector" range="{{queryList}}" range-key="queryName" value="{{queryIndex}}" data-event-opts="{{[['change',[['queryChange',['$event']]]]]}}" bindchange="__e"><view><image style="width:20rpx;height:33rpx;" src="../../static/center/to.png"></image></view></picker></block><block wx:if="{{queryIndex==0}}"><view class="search-form round"><text class="cuIcon-search"></text><input type="text" placeholder="场馆名称" data-event-opts="{{[['input',[['__set_model',['$0','changguanmingcheng','$event',[]],['searchForm']]]]]}}" value="{{searchForm.changguanmingcheng}}" bindinput="__e"/></view></block><block wx:if="{{queryIndex==1}}"><view class="search-form round"><text class="cuIcon-search"></text><input type="text" placeholder="泳池名称" data-event-opts="{{[['input',[['__set_model',['$0','yongchimingcheng','$event',[]],['searchForm']]]]]}}" value="{{searchForm.yongchimingcheng}}" bindinput="__e"/></view></block><view class="action"><button data-event-opts="{{[['tap',[['search',['$event']]]]]}}" class="cu-btn shadow-blur round" style="{{'width:'+('auto')+';'+('border-radius:'+('8rpx')+';')+('height:'+('80rpx')+';')+('font-size:'+('28rpx')+';')+('color:'+('#fff')+';')+('background-color:'+(btnColor[0])+';')+('border-color:'+(btnColor[0])+';')}}" bindtap="__e">搜索</button></view></view><view style="{{(2!=1?'display: flex;':'')}}"><view class="list-box6" style="{{'display:flex;flex-wrap:wrap;box-sizing:border-box;align-content:flex-start;'+('padding:'+('24rpx')+';')+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255, 255, 255, 1)')+';')+('border-radius:'+('0')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('border-style:'+('solid')+';')+('height:'+('auto')+';')}}"><block wx:for="{{$root.l0}}" wx:for-item="product" wx:for-index="index" wx:key="index"><block><block wx:if="{{index%6==0}}"><view data-event-opts="{{[['tap',[['onDetailTap',['$0'],[[['list','',index]]]]]]]}}" class="list-item" style="{{'padding:'+('0')+';'+('box-shadow:'+('0px 6rpx 12rpx rgba(0, 0, 0, 0.16)')+';')+('margin:'+('0 2% 20rpx 0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,255,255,1)')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('48%')+';')+('border-style:'+('solid')+';')+('height:'+('auto')+';')}}" bindtap="__e"><image style="{{'padding:'+('0')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0 0 8rpx 0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,0,0,0)')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('border-style:'+('solid')+';')+('height:'+('200rpx')+';')}}" mode="aspectFill" src="{{product.$orig.yongchitupian?baseUrl+product.g0[0]:''}}"></image><view class="title" style="{{'padding:'+('10rpx 20rpx')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,0,0,0)')+';')+('color:'+('#333')+';')+('text-align:'+('left')+';')+('border-radius:'+('0')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('line-height:'+('36rpx')+';')+('font-size:'+('28rpx')+';')+('border-style:'+('solid')+';')}}">{{product.$orig.yongchimingcheng}}</view><view style="display:flex;justify-content:space-between;"><block wx:if="{{userid&&product.m0}}"><text data-event-opts="{{[['tap',[['onUpdateTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-edit" catchtap="__e">修改</text></block><block wx:if="{{!userid&&product.m1}}"><text data-event-opts="{{[['tap',[['onUpdateTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-edit" catchtap="__e">修改</text></block><block wx:if="{{userid&&product.m2}}"><text data-event-opts="{{[['tap',[['onDeleteTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-delete" catchtap="__e">删除</text></block><block wx:if="{{!userid&&product.m3}}"><text data-event-opts="{{[['tap',[['onDeleteTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-delete" catchtap="__e">删除</text></block></view></view></block><block wx:if="{{index%6==1}}"><view data-event-opts="{{[['tap',[['onDetailTap',['$0'],[[['list','',index]]]]]]]}}" class="list-item" style="{{'padding:'+('0')+';'+('box-shadow:'+('0px 6rpx 12rpx rgba(0, 0, 0, 0.16)')+';')+('margin:'+('0 0 20rpx 2%')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,255,255,1)')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('48%')+';')+('border-style:'+('solid')+';')+('height:'+('auto')+';')}}" bindtap="__e"><image style="{{'padding:'+('0')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0 0 8rpx 0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,0,0,0)')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('border-style:'+('solid')+';')+('height:'+('200rpx')+';')}}" mode="aspectFill" src="{{product.$orig.yongchitupian?baseUrl+product.g1[0]:''}}"></image><view class="title" style="{{'padding:'+('10rpx 20rpx')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,0,0,0)')+';')+('color:'+('#333')+';')+('text-align:'+('left')+';')+('border-radius:'+('0')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('line-height:'+('36rpx')+';')+('font-size:'+('28rpx')+';')+('border-style:'+('solid')+';')}}">{{product.$orig.yongchimingcheng}}</view><view style="display:flex;justify-content:space-between;"><block wx:if="{{userid&&product.m4}}"><text data-event-opts="{{[['tap',[['onUpdateTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-edit" catchtap="__e">修改</text></block><block wx:if="{{!userid&&product.m5}}"><text data-event-opts="{{[['tap',[['onUpdateTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-edit" catchtap="__e">修改</text></block><block wx:if="{{userid&&product.m6}}"><text data-event-opts="{{[['tap',[['onDeleteTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-delete" catchtap="__e">删除</text></block><block wx:if="{{!userid&&product.m7}}"><text data-event-opts="{{[['tap',[['onDeleteTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-delete" catchtap="__e">删除</text></block></view></view></block><block wx:if="{{index%6==2}}"><view data-event-opts="{{[['tap',[['onDetailTap',['$0'],[[['list','',index]]]]]]]}}" class="list-item" style="{{'padding:'+('0')+';'+('box-shadow:'+('0px 6rpx 12rpx rgba(0, 0, 0, 0.16)')+';')+('margin:'+('0 2% 20rpx 0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,255,255,1)')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('48%')+';')+('border-style:'+('solid')+';')+('height:'+('auto')+';')}}" bindtap="__e"><image style="{{'padding:'+('0')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0 0 8rpx 0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,0,0,0)')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('border-style:'+('solid')+';')+('height:'+('200rpx')+';')}}" mode="aspectFill" src="{{product.$orig.yongchitupian?baseUrl+product.g2[0]:''}}"></image><view class="title" style="{{'padding:'+('10rpx 20rpx')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,0,0,0)')+';')+('color:'+('#333')+';')+('text-align:'+('left')+';')+('border-radius:'+('0')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('line-height:'+('36rpx')+';')+('font-size:'+('28rpx')+';')+('border-style:'+('solid')+';')}}">{{product.$orig.yongchimingcheng}}</view><view style="display:flex;justify-content:space-between;"><block wx:if="{{userid&&product.m8}}"><text data-event-opts="{{[['tap',[['onUpdateTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-edit" catchtap="__e">修改</text></block><block wx:if="{{!userid&&product.m9}}"><text data-event-opts="{{[['tap',[['onUpdateTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-edit" catchtap="__e">修改</text></block><block wx:if="{{userid&&product.m10}}"><text data-event-opts="{{[['tap',[['onDeleteTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-delete" catchtap="__e">删除</text></block><block wx:if="{{!userid&&product.m11}}"><text data-event-opts="{{[['tap',[['onDeleteTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-delete" catchtap="__e">删除</text></block></view></view></block><block wx:if="{{index%6==3}}"><view data-event-opts="{{[['tap',[['onDetailTap',['$0'],[[['list','',index]]]]]]]}}" class="list-item" style="{{'padding:'+('0')+';'+('box-shadow:'+('0px 6rpx 12rpx rgba(0, 0, 0, 0.16)')+';')+('margin:'+('0 0 20rpx 2%')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,255,255,1)')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('48%')+';')+('border-style:'+('solid')+';')+('height:'+('auto')+';')}}" bindtap="__e"><image style="{{'padding:'+('0')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0 0 8rpx 0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,0,0,0)')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('border-style:'+('solid')+';')+('height:'+('200rpx')+';')}}" mode="aspectFill" src="{{product.$orig.yongchitupian?baseUrl+product.g3[0]:''}}"></image><view class="title" style="{{'padding:'+('10rpx 20rpx')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,0,0,0)')+';')+('color:'+('#333')+';')+('text-align:'+('left')+';')+('border-radius:'+('0')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('line-height:'+('36rpx')+';')+('font-size:'+('28rpx')+';')+('border-style:'+('solid')+';')}}">{{product.$orig.yongchimingcheng}}</view><view style="display:flex;justify-content:space-between;"><block wx:if="{{userid&&product.m12}}"><text data-event-opts="{{[['tap',[['onUpdateTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-edit" catchtap="__e">修改</text></block><block wx:if="{{!userid&&product.m13}}"><text data-event-opts="{{[['tap',[['onUpdateTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-edit" catchtap="__e">修改</text></block><block wx:if="{{userid&&product.m14}}"><text data-event-opts="{{[['tap',[['onDeleteTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-delete" catchtap="__e">删除</text></block><block wx:if="{{!userid&&product.m15}}"><text data-event-opts="{{[['tap',[['onDeleteTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-delete" catchtap="__e">删除</text></block></view></view></block><block wx:if="{{index%6==4}}"><view data-event-opts="{{[['tap',[['onDetailTap',['$0'],[[['list','',index]]]]]]]}}" class="list-item" style="{{'display:flex;'+('padding:'+('0')+';')+('box-shadow:'+('0px 6rpx 12rpx rgba(0, 0, 0, 0.16)')+';')+('margin:'+('0 0 20rpx')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,255,255,1)')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('border-style:'+('solid')+';')+('height:'+('auto')+';')}}" bindtap="__e"><image style="{{'padding:'+('0')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,0,0,0)')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('200rpx')+';')+('border-style:'+('solid')+';')+('height:'+('200rpx')+';')}}" mode="aspectFill" src="{{product.$orig.yongchitupian?baseUrl+product.g4[0]:''}}"></image><view class="list-item-body" style="flex:1;"><view class="title" style="{{'padding:'+('020rpx')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,0,0,0)')+';')+('color:'+('#333')+';')+('text-align:'+('left')+';')+('border-radius:'+('0')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('line-height:'+('36rpx')+';')+('font-size:'+('28rpx')+';')+('border-style:'+('solid')+';')}}">{{product.$orig.yongchimingcheng}}</view></view><view style="display:flex;justify-content:space-between;"><block wx:if="{{userid&&product.m16}}"><text data-event-opts="{{[['tap',[['onUpdateTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-edit" catchtap="__e">修改</text></block><block wx:if="{{!userid&&product.m17}}"><text data-event-opts="{{[['tap',[['onUpdateTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-edit" catchtap="__e">修改</text></block><block wx:if="{{userid&&product.m18}}"><text data-event-opts="{{[['tap',[['onDeleteTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-delete" catchtap="__e">删除</text></block><block wx:if="{{!userid&&product.m19}}"><text data-event-opts="{{[['tap',[['onDeleteTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-delete" catchtap="__e">删除</text></block></view></view></block><block wx:if="{{index%6==5}}"><view data-event-opts="{{[['tap',[['onDetailTap',['$0'],[[['list','',index]]]]]]]}}" class="list-item" style="{{'display:flex;'+('padding:'+('0')+';')+('box-shadow:'+('0px 6rpx 12rpx rgba(0, 0, 0, 0.16)')+';')+('margin:'+('0 0 20rpx')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,255,255,1)')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('border-style:'+('solid')+';')+('height:'+('auto')+';')}}" bindtap="__e"><image style="{{'padding:'+('0')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,0,0,0)')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('200rpx')+';')+('border-style:'+('solid')+';')+('height:'+('200rpx')+';')}}" mode="aspectFill" src="{{product.$orig.yongchitupian?baseUrl+product.g5[0]:''}}"></image><view class="list-item-body" style="flex:1;"><view class="title" style="{{'padding:'+('20rpx')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,0,0,0)')+';')+('color:'+('#333')+';')+('text-align:'+('left')+';')+('border-radius:'+('0')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('line-height:'+('36rpx')+';')+('font-size:'+('28rpx')+';')+('border-style:'+('solid')+';')}}">{{product.$orig.yongchimingcheng}}</view></view><view style="display:flex;justify-content:space-between;"><block wx:if="{{userid&&product.m20}}"><text data-event-opts="{{[['tap',[['onUpdateTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-edit" catchtap="__e">修改</text></block><block wx:if="{{!userid&&product.m21}}"><text data-event-opts="{{[['tap',[['onUpdateTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-edit" catchtap="__e">修改</text></block><block wx:if="{{userid&&product.m22}}"><text data-event-opts="{{[['tap',[['onDeleteTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-delete" catchtap="__e">删除</text></block><block wx:if="{{!userid&&product.m23}}"><text data-event-opts="{{[['tap',[['onDeleteTap',['$0'],[[['list','',index,'id']]]]]]]}}" class="cuIcon-delete" catchtap="__e">删除</text></block></view></view></block></block></block></view></view><block wx:if="{{userid&&$root.m24}}"><button data-event-opts="{{[['tap',[['onAddTap']]]]}}" class="add-btn" style="{{'padding:'+('0')+';'+('box-shadow:'+('0 0 16rpx rgba(0,0,0,0) inset')+';')+('margin:'+('0 auto')+';')+('background-color:'+('rgba(71, 177, 60, 1)')+';')+('border-color:'+('rgba(71, 177, 60, 1)')+';')+('border-radius:'+('80rpx')+';')+('color:'+('#fff')+';')+('border-width:'+('1')+';')+('width:'+('80%')+';')+('font-size:'+('28rpx')+';')+('border-style:'+('solid')+';')+('height:'+('80rpx')+';')}}" bindtap="__e">新增</button></block><block wx:if="{{!userid&&$root.m25}}"><button data-event-opts="{{[['tap',[['onAddTap']]]]}}" class="add-btn" style="{{'padding:'+('0')+';'+('box-shadow:'+('0 0 16rpx rgba(0,0,0,0) inset')+';')+('margin:'+('0 auto')+';')+('background-color:'+('rgba(71, 177, 60, 1)')+';')+('border-color:'+('rgba(71, 177, 60, 1)')+';')+('border-radius:'+('80rpx')+';')+('color:'+('#fff')+';')+('border-width:'+('1')+';')+('width:'+('80%')+';')+('font-size:'+('28rpx')+';')+('border-style:'+('solid')+';')+('height:'+('80rpx')+';')}}" bindtap="__e">新增</button></block></mescroll-uni>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。