ssmihd12/src/main/webapp/front/pages/ketixinxi/list.vue
(开头部分) 26KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<template>
<mescroll-uni @init="mescrollInit" :up="upOption" :down="downOption" @down="downCallback" @up="upCallback">
<view class="cu-bar bg-white search" :style="[{top:CustomBar + 'px'}]">
<picker v-if="queryList.length>1" mode="selector" :range="queryList" range-key="queryName" :value="queryIndex" @change="queryChange" style="padding-left: 20upx;">
<view><image style="width: 20upx;height: 33upx;" src="../../static/center/to.png"></image></view>
</picker>
<view v-if="queryIndex==0" class="search-form round">
<text class="cuIcon-search"></text>
<input v-model="searchForm.ketimingcheng" type="text" placeholder="课题名称" ></input>
</view>
<view v-if="queryIndex==1" class="search-form round">
<text class="cuIcon-search"></text>
<input v-model="searchForm.nandu" type="text" placeholder="难度" ></input>
</view>
<view v-if="queryIndex==2" class="search-form round">
<text class="cuIcon-search"></text>
<input v-model="searchForm.laiyuan" type="text" placeholder="来源" ></input>
</view>
<view v-if="queryIndex==3" class="search-form round">
<text class="cuIcon-search"></text>
<input v-model="searchForm.jiaoshixingming" type="text" placeholder="教师姓名" ></input>
</view>
<view class="action">
<button @tap="search" :style="{width:'auto',borderRadius:'8rpx',height:'80rpx',fontSize:'28rpx',color:'#fff',backgroundColor:btnColor[0],borderColor:btnColor[0]}" class="cu-btn shadow-blur round">搜索</button>
</view>
</view>
<view :style="2 != 1 ? 'display: flex;' : ''">
<!-- 样式1 -->
<!-- 样式2 -->
<!-- 样式3 -->
<!-- 样式4 -->
<!-- 样式5 -->
<view class="list-box6" :style='{"padding":"24rpx","boxShadow":"0 0 12rpx rgba(255,0,0,0)","margin":"0","borderColor":"red","backgroundColor":"rgba(228, 228, 228, 1)","borderRadius":"0","borderWidth":"0","width":"100%","borderStyle":"solid","height":"auto"}' style="display: flex;flex-wrap: wrap;box-sizing: border-box;align-content: flex-start;">
<block v-for="(product,index) in list" :key="index">
<view @tap="onDetailTap(product)" v-if="index%6==0" class="list-item" :style='{"padding":"40rpx 40rpx 0","boxShadow":"0 10rpx 0px 10rpx #78DAFF","margin":"0 2% 30rpx 0","borderColor":"red","backgroundColor":"rgba(255,255,255,1)","borderRadius":"10rpx","borderWidth":"0","width":"48%","borderStyle":"solid","height":"auto"}'>
<image :style='{"padding":"0","boxShadow":"0 0 12rpx rgba(255,0,0,0)","margin":"0 0 8rpx 0","borderColor":"red","backgroundColor":"rgba(255,0,0,0)","borderRadius":"30rpx","borderWidth":"0","width":"100%","borderStyle":"solid","height":"200rpx"}' mode="aspectFill" :src="product.ketifengmian?baseUrl+product.ketifengmian.split(',')[0]:''"></image>
<view :style='{"padding":"12rpx 0","boxShadow":"0 0 12rpx rgba(255,0,0,0)","margin":"20rpx 0","borderColor":"red","backgroundColor":"rgba(245, 245, 245, 1)","color":"rgba(0, 0, 0, 1)","textAlign":"center","borderRadius":"0","borderWidth":"0","width":"100%","lineHeight":"36rpx","fontSize":"28rpx","borderStyle":"solid"}' class="title">{{product.ketimingcheng}}</view>
<view style="display: flex;justify-content: space-between;">
<text v-if="userid && isAuth('ketixinxi','修改')" class="cuIcon-edit" @click.stop="onUpdateTap(product.id)">修改</text>
<text v-if="!userid && isAuthFront('ketixinxi','修改')" class="cuIcon-edit" @click.stop="onUpdateTap(product.id)">修改</text>
<text v-if="userid && isAuth('ketixinxi','删除')" class="cuIcon-delete" @click.stop="onDeleteTap(product.id)">删除</text>
<text v-if="!userid && isAuthFront('ketixinxi','删除')" class="cuIcon-delete" @click.stop="onDeleteTap(product.id)">删除</text>
</view>
</view>
<view @tap="onDetailTap(product)" v-if="index%6==1" class="list-item" :style='{"padding":"40rpx 40rpx 0","boxShadow":"0 10rpx 0 10rpx #78DAFF","margin":"0 0 30rpx 2%","borderColor":"red","backgroundColor":"rgba(255,255,255,1)","borderRadius":"10rpx","borderWidth":"0","width":"48%","borderStyle":"solid","height":"auto"}'>
<image :style='{"padding":"0","boxShadow":"0 0 12rpx rgba(255,0,0,0)","margin":"0 0 8rpx 0","borderColor":"red","backgroundColor":"rgba(255,0,0,0)","borderRadius":"30rpx","borderWidth":"0","width":"100%","borderStyle":"solid","height":"200rpx"}' mode="aspectFill" :src="product.ketifengmian?baseUrl+product.ketifengmian.split(',')[0]:''"></image>
<view :style='{"padding":"12rpx 0","boxShadow":"0 0 12rpx rgba(255,0,0,0)","margin":"20rpx 0","borderColor":"red","backgroundColor":"rgba(245, 245, 245, 1)","color":"#333","textAlign":"center","borderRadius":"20rpx","borderWidth":"0","width":"100%","lineHeight":"36rpx","fontSize":"28rpx","borderStyle":"solid"}' class="title">{{product.ketimingcheng}}</view>
<view style="display: flex;justify-content: space-between;">
<text v-if="userid && isAuth('ketixinxi','修改')" class="cuIcon-edit" @click.stop="onUpdateTap(product.id)">修改</text>
<text v-if="!userid && isAuthFront('ketixinxi','修改')" class="cuIcon-edit" @click.stop="onUpdateTap(product.id)">修改</text>
<text v-if="userid && isAuth('ketixinxi','删除')" class="cuIcon-delete" @click.stop="onDeleteTap(product.id)">删除</text>
<text v-if="!userid && isAuthFront('ketixinxi','删除')" class="cuIcon-delete" @click.stop="onDeleteTap(product.id)">删除</text>
</view>
</view>
<view @tap="onDetailTap(product)" v-if="index%6==2" class="list-item" :style='{"padding":"40rpx 40rpx 0","boxShadow":"0 10rpx 0 10rpx #78DAFF","margin":"0 2% 30rpx 0","borderColor":"red","backgroundColor":"rgba(255,255,255,1)","borderRadius":"10rpx","borderWidth":"0","width":"48%","borderStyle":"solid","height":"auto"}'>
<image :style='{"padding":"0","boxShadow":"0 0 12rpx rgba(255,0,0,0)","margin":"0 0 8rpx 0","borderColor":"red","backgroundColor":"rgba(255,0,0,0)","borderRadius":"30rpx","borderWidth":"0","width":"100%","borderStyle":"solid","height":"200rpx"}' mode="aspectFill" :src="product.ketifengmian?baseUrl+product.ketifengmian.split(',')[0]:''"></image>
后面还有 413 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
