active pub
This commit is contained in:
BIN
cas_web.7z
Normal file
BIN
cas_web.7z
Normal file
Binary file not shown.
6
jsconfig.json
Normal file
6
jsconfig.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
// ...
|
||||
"types": ["element-plus/global"]
|
||||
}
|
||||
}
|
BIN
src/assets/images/active_qrcode.png
Normal file
BIN
src/assets/images/active_qrcode.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 182 KiB |
@ -2,8 +2,13 @@
|
||||
<div class="activity" v-loading="loading">
|
||||
<el-dialog title="发布活动" v-model="dialogVisible" width="380px">
|
||||
<div class="contact-admin">
|
||||
<qrcode-vue :value="`tel:${mobile}`" :size="300" level="H" />
|
||||
<p class="description">请联系管理员,电话:{{ mobile }}</p>
|
||||
<!-- <qrcode-vue :value="`tel:${mobile}`" :size="300" level="H" /> -->
|
||||
|
||||
<el-image :src="activeQrCode"></el-image>
|
||||
<p class="description">
|
||||
如有论坛、沙龙、技术交流等各类活动需发布,请联系我们。
|
||||
</p>
|
||||
<p class="description">联系电话:{{ mobile }}</p>
|
||||
</div>
|
||||
</el-dialog>
|
||||
<div
|
||||
@ -227,6 +232,7 @@
|
||||
</template>
|
||||
<script setup name="Activity">
|
||||
import QrcodeVue from "qrcode.vue";
|
||||
import activeQrCode from "@/assets/images/active_qrcode.png";
|
||||
import { banner } from "@/api/website/home/index";
|
||||
import request from "@/utils/request";
|
||||
import webFooter from "@/components/webFooter/index.vue";
|
||||
@ -241,7 +247,7 @@ import {
|
||||
} from "@/api/website/activity";
|
||||
import { ElMessage } from "element-plus";
|
||||
import { getToken } from "@/utils/auth";
|
||||
|
||||
console.log(activeQrCode);
|
||||
// import { omit } from "lodash";
|
||||
// import FieldOptions from "@/views/components/FieldOptions";
|
||||
// import CityOptions from "@/views/components/CityOptions";
|
||||
@ -396,7 +402,9 @@ const submitSignUp = async () => {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
.description {
|
||||
font-size: 20px;
|
||||
margin: 10px;
|
||||
width: 100%;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
._banner {
|
||||
|
@ -13,20 +13,26 @@
|
||||
:class="{ active: state.tabIndex == index }"
|
||||
@click="switchTab(index)"
|
||||
>
|
||||
<!-- :style="v == '找实验室' ? `display:none` : ''" -->
|
||||
<!-- :style="v === '找实验室' ? `display:none` : ''" -->
|
||||
{{ v }}
|
||||
</div>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<div style="height: 16px"></div>
|
||||
<el-form :model="queryParams" :rules="queryRules" ref="queryRef">
|
||||
<el-form
|
||||
:model="queryParams"
|
||||
:rules="queryRules"
|
||||
ref="queryRef"
|
||||
@submit.prevent
|
||||
>
|
||||
<el-row>
|
||||
<el-col :push="4" :sm="10" :md="12">
|
||||
<el-form-item prop="keyword">
|
||||
<el-input
|
||||
v-model.trim="queryParams.keyword"
|
||||
placeholder="请输入检索词"
|
||||
@keyup.enter="handleQuery"
|
||||
>
|
||||
<template #suffix v-if="false">
|
||||
<el-form-item prop="queryType">
|
||||
@ -133,6 +139,12 @@ const router = useRouter();
|
||||
// method: "get",
|
||||
// });
|
||||
// }
|
||||
|
||||
const testEnter = (ev) => {
|
||||
ev.stopPropagation();
|
||||
ev.preventDefault();
|
||||
console.log("rere");
|
||||
};
|
||||
const queryParams = reactive({
|
||||
queryType: undefined,
|
||||
keyword: "",
|
||||
@ -210,7 +222,9 @@ const handleDetail = async (mode, keyword, queryType) => {
|
||||
};
|
||||
|
||||
function handleQuery() {
|
||||
// console.log(1234);
|
||||
// console.log(queryParams.keyword, state.tabIndex);
|
||||
// return;
|
||||
handleDetail(
|
||||
searchTypeList.value[state.tabIndex],
|
||||
queryParams.keyword,
|
||||
|
@ -8,10 +8,16 @@
|
||||
>
|
||||
<div class="conter1000">
|
||||
<div class="tit">{{ title }}</div>
|
||||
<el-form :model="state" :rules="queryRules" ref="queryRef">
|
||||
<el-form
|
||||
:model="state"
|
||||
:rules="queryRules"
|
||||
ref="queryRef"
|
||||
@submit.prevent
|
||||
>
|
||||
<el-input
|
||||
v-model.trim="state.currentKeyword"
|
||||
placeholder="请输入检索词"
|
||||
@keyup.enter="handleQuery"
|
||||
>
|
||||
<template #suffix v-if="false">
|
||||
<el-form-item prop="queryType">
|
||||
|
@ -43,7 +43,9 @@
|
||||
</div>
|
||||
<div class="line">
|
||||
网址:
|
||||
<span>{{ state.LabDetail.url }}</span>
|
||||
<a :href="state.LabDetail.url" target="_blank">{{
|
||||
state.LabDetail.url
|
||||
}}</a>
|
||||
</div>
|
||||
<div class="line">
|
||||
所属院所或高校:
|
||||
|
Reference in New Issue
Block a user