2024-04-23 23:01:35 +08:00
|
|
|
<template>
|
2024-05-09 15:44:03 +08:00
|
|
|
<view class="content">
|
2024-06-27 10:31:27 +08:00
|
|
|
<view class="bj">
|
|
|
|
<view class="text1">
|
|
|
|
<view class="text1-1">校园管理</view>
|
|
|
|
<view class="text1-2">在线审核</view>
|
|
|
|
<view class="text1-3">
|
|
|
|
<view class="text1-4">随时随地的在线审核</view>
|
2024-05-28 10:34:28 +08:00
|
|
|
</view>
|
2024-05-07 21:28:47 +08:00
|
|
|
</view>
|
2024-06-27 10:31:27 +08:00
|
|
|
<image :src="adindex1" class="bj-img"></image>
|
2024-05-07 21:28:47 +08:00
|
|
|
</view>
|
2024-06-27 10:31:27 +08:00
|
|
|
<view class="grid">
|
2024-06-28 22:18:34 +08:00
|
|
|
<!-- 通过未通过显示 -->
|
2024-06-27 10:31:27 +08:00
|
|
|
<view class="grid1">
|
|
|
|
<up-grid :border="false" col="3" @click="grid1Click1">
|
|
|
|
<up-grid-item v-for="(listItem, listIndex) in list1" :key="listIndex"
|
|
|
|
customStyle="padding-top: 24rpx; ">
|
|
|
|
<image :src="listItem.icon" style="width: 70rpx; height: 80rpx;"></image>
|
|
|
|
<text style="font-size: 24rpx;color: #6AA2FF;margin-top: 12rpx;">{{ listItem.title }}</text>
|
|
|
|
</up-grid-item>
|
|
|
|
</up-grid>
|
2024-05-07 21:28:47 +08:00
|
|
|
</view>
|
2024-06-28 22:18:34 +08:00
|
|
|
<!-- 管理工具 -->
|
2024-06-27 10:31:27 +08:00
|
|
|
<view class="grid2">
|
|
|
|
<view class="text2">管理工具</view>
|
|
|
|
<up-grid :border="false" col="4" @click="grid1Click2">
|
|
|
|
<up-grid-item v-for="(listItem, listIndex) in list2" :key="listIndex"
|
|
|
|
customStyle="padding-top: 30rpx; ">
|
|
|
|
<image :src="listItem.icon" style="width: 52rpx; height: 60rpx;"></image>
|
|
|
|
<text style="font-size: 24rpx;color: #6AA2FF;margin-top: 12rpx;">{{ listItem.title }}</text>
|
|
|
|
</up-grid-item>
|
|
|
|
</up-grid>
|
2024-05-09 15:44:03 +08:00
|
|
|
</view>
|
|
|
|
</view>
|
2024-05-09 12:19:48 +08:00
|
|
|
</view>
|
|
|
|
</template>
|
2024-05-07 21:28:47 +08:00
|
|
|
|
2024-06-05 12:43:54 +08:00
|
|
|
<script setup>
|
2024-06-27 10:31:27 +08:00
|
|
|
import {
|
|
|
|
ref,
|
|
|
|
reactive,
|
|
|
|
toRefs,
|
|
|
|
onMounted,
|
|
|
|
onUnmounted,
|
|
|
|
onBeforeUnmount,
|
|
|
|
getCurrentInstance
|
|
|
|
} from 'vue';
|
|
|
|
import {
|
|
|
|
onReachBottom,
|
|
|
|
onLoad,
|
|
|
|
onShow,
|
|
|
|
onPageScroll
|
|
|
|
} from "@dcloudio/uni-app";
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
|
const QNDomain = proxy.$store.state.user.QNDomain
|
|
|
|
const bgColor = ref('rgba(170, 0, 0, 0)');
|
|
|
|
const isOfficial = ref(true)
|
|
|
|
const kfopen = ref(false)
|
|
|
|
|
|
|
|
const iconConfig = proxy.iconConfig;
|
|
|
|
const adindex1 = iconConfig.adindex1;
|
|
|
|
|
|
|
|
const adgrade = iconConfig.adgrade;
|
|
|
|
const adcoin = iconConfig.adcoin;
|
|
|
|
const puacti = iconConfig.puacti;
|
|
|
|
const admyactivity = iconConfig.admyactivity;
|
|
|
|
const adpass = iconConfig.adpass;
|
|
|
|
const talkautid = iconConfig.talkautid;
|
|
|
|
const stuaudit = iconConfig.stuaudit;
|
|
|
|
const adacaudit = iconConfig.adacaudit;
|
|
|
|
const adaudit = iconConfig.adaudit;
|
|
|
|
const auditreject = iconConfig.auditreject;
|
|
|
|
|
|
|
|
|
|
|
|
const auditrejectacount = ref(111)
|
|
|
|
const adauditacount = ref(111)
|
|
|
|
const adpassacount = ref(111)
|
|
|
|
const list1 = ref([
|
|
|
|
{ icon: auditreject, title: `未通过(${auditrejectacount.value})` },
|
|
|
|
{ icon: adaudit, title: `待审核(${adauditacount.value})` },
|
|
|
|
{ icon: adpass, title: `已通过(${adpassacount.value})` }
|
|
|
|
])
|
|
|
|
const list2 = ref([
|
|
|
|
{ icon: talkautid, title: '话题审核' },
|
|
|
|
{ icon: adacaudit, title: '活动审核' },
|
|
|
|
{ icon: stuaudit, title: '认证审核' },
|
|
|
|
{ icon: admyactivity, title: '我的活动' },
|
|
|
|
{ icon: puacti, title: '发布活动' },
|
|
|
|
{ icon: adcoin, title: '校园币管理' },
|
|
|
|
{ icon: adgrade, title: '等级管理' }
|
|
|
|
])
|
|
|
|
const grid1Click1 = (e) => {
|
|
|
|
console.log(e);
|
|
|
|
}
|
2024-06-29 22:16:24 +08:00
|
|
|
// 点击管理工具的按钮aaa
|
2024-06-27 10:31:27 +08:00
|
|
|
const grid1Click2 = (e) => {
|
2024-06-28 22:18:34 +08:00
|
|
|
console.log('点击了这个按钮',e);
|
2024-06-29 22:16:16 +08:00
|
|
|
// e==>0 话题审核
|
|
|
|
if(e==0){
|
|
|
|
uni.navigateTo({
|
|
|
|
url:'/pages/work/index'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
if(e==1){
|
|
|
|
uni.navigateTo({
|
|
|
|
url:'/pages/work/activity_sh/activity_sh'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
// e==>4 发布活动
|
2024-06-28 22:18:34 +08:00
|
|
|
if (e==4) {
|
|
|
|
uni.navigateTo({
|
|
|
|
url:'/pages/activity/publish'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
}
|
|
|
|
</script>
|
2024-06-15 00:26:10 +08:00
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
<style lang="scss" scoped>
|
2024-06-15 00:26:10 +08:00
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
page {
|
|
|
|
background: #FFFFFF;
|
|
|
|
}
|
2024-06-15 00:26:10 +08:00
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
.content {
|
|
|
|
position: relative;
|
|
|
|
}
|
2024-06-15 00:26:10 +08:00
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
.bj {
|
|
|
|
width: 750rpx;
|
|
|
|
height: 400rpx;
|
|
|
|
background: #6aa2ff;
|
|
|
|
z-index: -1;
|
2024-06-15 00:26:10 +08:00
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
.text1 {
|
|
|
|
position: relative;
|
|
|
|
top: 120rpx;
|
|
|
|
left: 60rpx;
|
|
|
|
width: 244rpx;
|
2024-06-15 00:26:10 +08:00
|
|
|
|
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
.text1-1 {
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 48rpx;
|
|
|
|
color: #FFFFFF;
|
|
|
|
margin-bottom: 30rpx;
|
2024-06-16 13:51:53 +08:00
|
|
|
}
|
2024-06-15 00:26:10 +08:00
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
.text1-2 {
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 48rpx;
|
|
|
|
color: #FFFFFF;
|
|
|
|
margin-bottom: 30rpx;
|
2024-06-16 13:51:53 +08:00
|
|
|
}
|
2024-05-07 21:28:47 +08:00
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
.text1-3 {
|
|
|
|
width: 242rpx;
|
|
|
|
height: 42rpx;
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
|
border: 2rpx solid #FFFFFF; // 添加这一行
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.text1-4 {
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 24rpx;
|
|
|
|
color: #FFFFFF;
|
2024-05-28 10:34:28 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-07 21:28:47 +08:00
|
|
|
}
|
2024-06-15 00:26:10 +08:00
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
.bj-img {
|
|
|
|
width: 280rpx;
|
|
|
|
height: 276rpx;
|
2024-06-15 00:26:10 +08:00
|
|
|
position: fixed;
|
2024-06-27 10:31:27 +08:00
|
|
|
top: 88rpx;
|
|
|
|
left: 428rpx;
|
2024-06-15 00:26:10 +08:00
|
|
|
}
|
2024-06-27 10:31:27 +08:00
|
|
|
}
|
2024-06-15 00:26:10 +08:00
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
.grid {}
|
2024-06-15 00:26:10 +08:00
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
.grid1 {
|
|
|
|
width: 686rpx;
|
|
|
|
height: 166rpx;
|
|
|
|
border-radius: 16rpx;
|
|
|
|
background: #ffffff;
|
|
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); // 添加这一行
|
|
|
|
margin: 32rpx auto;
|
2024-06-15 00:26:10 +08:00
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
}
|
2024-06-15 00:26:10 +08:00
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
.grid2 {
|
|
|
|
width: 686rpx;
|
|
|
|
height: 332rpx;
|
|
|
|
border-radius: 16rpx;
|
|
|
|
background: #ffffff;
|
|
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); // 添加这一行
|
|
|
|
margin: 0 auto;
|
2024-06-15 00:26:10 +08:00
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
.text2 {
|
2024-06-15 00:26:10 +08:00
|
|
|
font-weight: 600;
|
2024-06-27 10:31:27 +08:00
|
|
|
font-size: 28rpx;
|
|
|
|
color: #6AA2FF;
|
|
|
|
margin-top: 24rpx;
|
|
|
|
margin-left: 24rpx;
|
2024-06-15 00:26:10 +08:00
|
|
|
}
|
2024-05-09 12:19:48 +08:00
|
|
|
|
2024-06-27 10:31:27 +08:00
|
|
|
}
|
2024-06-17 15:06:06 +08:00
|
|
|
</style>
|