mp-weixin/pages/ketixinxi/list.wxml

(完整代码) 17KB

<mescroll-uni vue-id="60f3aa42-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','ketimingcheng','$event',[]],['searchForm']]]]]}}" value="{{searchForm.ketimingcheng}}" 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','nandu','$event',[]],['searchForm']]]]]}}" value="{{searchForm.nandu}}" bindinput="__e"/></view></block><block wx:if="{{queryIndex==2}}"><view class="search-form round"><text class="cuIcon-search"></text><input type="text" placeholder="来源" data-event-opts="{{[['input',[['__set_model',['$0','laiyuan','$event',[]],['searchForm']]]]]}}" value="{{searchForm.laiyuan}}" bindinput="__e"/></view></block><block wx:if="{{queryIndex==3}}"><view class="search-form round"><text class="cuIcon-search"></text><input type="text" placeholder="教师姓名" data-event-opts="{{[['input',[['__set_model',['$0','jiaoshixingming','$event',[]],['searchForm']]]]]}}" value="{{searchForm.jiaoshixingming}}" 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(228, 228, 228, 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:'+('40rpx 40rpx 0')+';'+('box-shadow:'+('0 10rpx 0px 10rpx #78DAFF')+';')+('margin:'+('0 2% 30rpx 0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,255,255,1)')+';')+('border-radius:'+('10rpx')+';')+('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:'+('30rpx')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('border-style:'+('solid')+';')+('height:'+('200rpx')+';')}}" mode="aspectFill" src="{{product.$orig.ketifengmian?baseUrl+product.g0[0]:''}}"></image><view class="title" style="{{'padding:'+('12rpx 0')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('20rpx 0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(245, 245, 245, 1)')+';')+('color:'+('rgba(0, 0, 0, 1)')+';')+('text-align:'+('center')+';')+('border-radius:'+('0')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('line-height:'+('36rpx')+';')+('font-size:'+('28rpx')+';')+('border-style:'+('solid')+';')}}">{{product.$orig.ketimingcheng}}</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:'+('40rpx 40rpx 0')+';'+('box-shadow:'+('0 10rpx 0 10rpx #78DAFF')+';')+('margin:'+('0 0 30rpx 2%')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,255,255,1)')+';')+('border-radius:'+('10rpx')+';')+('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:'+('30rpx')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('border-style:'+('solid')+';')+('height:'+('200rpx')+';')}}" mode="aspectFill" src="{{product.$orig.ketifengmian?baseUrl+product.g1[0]:''}}"></image><view class="title" style="{{'padding:'+('12rpx 0')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('20rpx 0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(245, 245, 245, 1)')+';')+('color:'+('#333')+';')+('text-align:'+('center')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('line-height:'+('36rpx')+';')+('font-size:'+('28rpx')+';')+('border-style:'+('solid')+';')}}">{{product.$orig.ketimingcheng}}</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:'+('40rpx 40rpx 0')+';'+('box-shadow:'+('0 10rpx 0 10rpx #78DAFF')+';')+('margin:'+('0 2% 30rpx 0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,255,255,1)')+';')+('border-radius:'+('10rpx')+';')+('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:'+('30rpx')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('border-style:'+('solid')+';')+('height:'+('200rpx')+';')}}" mode="aspectFill" src="{{product.$orig.ketifengmian?baseUrl+product.g2[0]:''}}"></image><view class="title" style="{{'padding:'+('12rpx 0')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('20rpx 0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(245, 245, 245, 1)')+';')+('color:'+('#333')+';')+('text-align:'+('center')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('line-height:'+('36rpx')+';')+('font-size:'+('28rpx')+';')+('border-style:'+('solid')+';')}}">{{product.$orig.ketimingcheng}}</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:'+('40rpx 40rpx 0')+';'+('box-shadow:'+('0 10rpx 0 10rpx #78DAFF')+';')+('margin:'+('0 0 30rpx 2%')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(255,255,255,1)')+';')+('border-radius:'+('10rpx')+';')+('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:'+('30rpx')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('border-style:'+('solid')+';')+('height:'+('200rpx')+';')}}" mode="aspectFill" src="{{product.$orig.ketifengmian?baseUrl+product.g3[0]:''}}"></image><view class="title" style="{{'padding:'+('12rpx 0')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('20rpx 0')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(245, 245, 245, 1)')+';')+('color:'+('#333')+';')+('text-align:'+('center')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('line-height:'+('36rpx')+';')+('font-size:'+('28rpx')+';')+('border-style:'+('solid')+';')}}">{{product.$orig.ketimingcheng}}</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:'+('16rpx 28rpx')+';')+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0 0 20rpx')+';')+('border-color:'+('rgba(120, 218, 255, 1)')+';')+('background-color:'+('rgba(255,255,255,1)')+';')+('border-radius:'+('10rpx')+';')+('border-width:'+('20rpx 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:'+('30rpx')+';')+('border-width:'+('0')+';')+('width:'+('60%')+';')+('border-style:'+('solid')+';')+('height:'+('170rpx')+';')}}" mode="aspectFill" src="{{product.$orig.ketifengmian?baseUrl+product.g4[0]:''}}"></image><view class="list-item-body" style="flex:1;"><view class="title" style="{{'padding:'+('12rpx 0')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0 0 0 12rpx')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(245, 245, 245, 1)')+';')+('color:'+('#333')+';')+('text-align:'+('center')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('line-height:'+('36rpx')+';')+('font-size:'+('28rpx')+';')+('border-style:'+('solid')+';')}}">{{product.$orig.ketimingcheng}}</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:'+('16rpx 28rpx')+';')+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0 0 20rpx')+';')+('border-color:'+('rgba(120, 218, 255, 1)')+';')+('background-color:'+('rgba(255,255,255,1)')+';')+('border-radius:'+('10rpx')+';')+('border-width:'+('20rpx 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:'+('30rpx')+';')+('border-width:'+('0')+';')+('width:'+('60%')+';')+('border-style:'+('solid')+';')+('height:'+('170rpx')+';')}}" mode="aspectFill" src="{{product.$orig.ketifengmian?baseUrl+product.g5[0]:''}}"></image><view class="list-item-body" style="flex:1;"><view class="title" style="{{'padding:'+('12rpx 0')+';'+('box-shadow:'+('0 0 12rpx rgba(255,0,0,0)')+';')+('margin:'+('0 0 0 12rpx')+';')+('border-color:'+('red')+';')+('background-color:'+('rgba(245, 245, 245, 1)')+';')+('color:'+('rgba(0, 0, 0, 1)')+';')+('text-align:'+('center')+';')+('border-radius:'+('20rpx')+';')+('border-width:'+('0')+';')+('width:'+('100%')+';')+('line-height:'+('36rpx')+';')+('font-size:'+('28rpx')+';')+('border-style:'+('solid')+';')}}">{{product.$orig.ketimingcheng}}</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:'+('0px 6rpx 12rpx rgba(0, 0, 0, 0.16)')+';')+('margin:'+('20rpx auto')+';')+('background-color:'+('rgba(120, 218, 255, 1)')+';')+('border-color:'+('#409EFF')+';')+('border-radius:'+('20rpx 0')+';')+('color:'+('#fff')+';')+('border-width:'+('0')+';')+('width:'+('60%')+';')+('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:'+('0px 6rpx 12rpx rgba(0, 0, 0, 0.16)')+';')+('margin:'+('20rpx auto')+';')+('background-color:'+('rgba(120, 218, 255, 1)')+';')+('border-color:'+('#409EFF')+';')+('border-radius:'+('20rpx 0')+';')+('color:'+('#fff')+';')+('border-width:'+('0')+';')+('width:'+('60%')+';')+('font-size:'+('28rpx')+';')+('border-style:'+('solid')+';')+('height:'+('80rpx')+';')}}" bindtap="__e">新增</button></block></mescroll-uni>

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

AI 解读 AI

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

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