ZRAdmin-vue/src/views/index.vue
2023-02-17 18:03:38 +08:00

308 lines
10 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="app-container home">
<el-row :gutter="20">
<el-col :sm="24" :lg="16">
<blockquote class="text-warning" style="font-size: 14px">
阿里云特惠专区
<el-link href="https://www.aliyun.com/minisite/goods?userCode=uotn5vt1&share_source=copy_link" type="primary" target="_black">
点我进入
</el-link>
<br />
领取腾讯云通用云产品新用户专属大礼包2860优惠券每种代金券限量500张先到先得
<el-link href="https://curl.qcloud.com/5J4nag8D" type="primary" target="_blank"> 点我进入 </el-link>
<br />
腾讯云限时秒杀活动
<el-link href="https://curl.qcloud.com/4yEoRquq" type="primary" target="_blank">点我进入 </el-link>
<br />
华为特惠专区多款产品限时特价
<el-link
href="https://activity.huaweicloud.com/discount_area_v5/index.html?fromacct=a53709d1-149d-49f4-9b89-bf62bd96ef65&utm_source=aGlkX3N0dnZkMWNxejBnOTJ5OA===&utm_medium=cps&utm_campaign=201905"
type="primary"
target="_blank">
点我进入
</el-link>
<br />
领取七牛云通用云产品优惠券
<el-link href="https://s.qiniu.com/FzEfay" type="primary" target="_blank"> 点我进入 </el-link>
<br />
Gitee 企业版优惠专区
<el-link href="https://gitee.com/enterprises?invite_code=Z2l0ZWUtMTI1NzM1OQ%3D%3D" type="primary" target="_blank"> 点我进入 </el-link>
<br />
<h4 class="text-danger">云产品通用红包可叠加官网常规优惠使用(仅限新用户)</h4>
</blockquote>
</el-col>
<el-col :lg="8">
<el-carousel :interval="4000" height="220px">
<el-carousel-item v-for="item in promoteList" :key="item.id">
<img :src="item.imgUrl" :title="item.title" style="cursor: pointer; width: 100%" width="100%" @click="goTarget(item.link)" />
</el-carousel-item>
</el-carousel>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :lg="16" :sm="24">
<h2>ZRAdmin.NET {{ $t('layout.backstageManagement') }}</h2>
<p>
ZRAdmin.NET借鉴了很多开源项目的优点让你开发Web管理系统更简单所以我也把它给开源了前端
<code>vue页面</code>主要参考若依,在此表示感谢.)
</p>
<p>{{ $t('layout.content1') }}</p>
<p>
<b>{{ $t('layout.currentVersion') }}:</b> <span>v{{ version }}</span>
<el-link
class="ml10"
type="primary"
size="small"
icon="Document"
plain
@click="goTarget('http://www.izhaorui.cn/doc/changelog.html#' + version)"
>{{ $t('layout.changeLog') }}
</el-link>
</p>
<p>
<el-button type="primary" size="small" icon="Cloudy" plain @click="goTarget('https://gitee.com/izory/ZrAdminNetCore')">Gitee </el-button>
<el-button type="primary" size="small" icon="Cloudy" plain @click="goTarget('https://github.com/izhaorui/ZrAdmin.NET')"
>Github
</el-button>
</p>
<p></p>
<h3>{{ $t('layout.tip1') }}</h3>
</el-col>
<el-col :lg="8" :sm="24">
<h2>{{ $t('layout.technicalSelection') }}</h2>
<div style="float: left; width: 50%">
<h4>{{ $t('layout.backendTechnology') }}</h4>
<ul>
<li>NET7</li>
<li>JWT</li>
<li>SqlSugar</li>
<li>Quartz.Net</li>
<li>MySql</li>
<li>Mapster</li>
<li>MiniExcel</li>
<li>Redis</li>
<li>Signalr</li>
<li>...</li>
</ul>
</div>
<div style="float: right; width: 50%">
<h4>{{ $t('layout.frontendTechnology') }}</h4>
<ul>
<li>Vue3</li>
<li>Vuex</li>
<li>Element plus</li>
<li>Axios</li>
<li>Sass</li>
<li>Wangeditor</li>
<li>Vite</li>
<li>Composition api</li>
<li>I18n</li>
<li>...</li>
</ul>
</div>
</el-col>
</el-row>
<el-divider />
<el-row :gutter="20" class="mt10">
<el-col :sm="24" :lg="8">
<el-card>
<template #header>
<span>{{ $t('layout.donationSupport') }}</span>
</template>
<div class="body">
<div style="color: red">{{ $t('layout.rewardUser') }}</div>
<img src="@/assets/images/reward.jpg" alt="donate" style="width: 100%" />
</div>
</el-card>
</el-col>
<el-col :sm="24" :lg="6">
<el-card>
<template #header>
<span>扫码领红包</span>
</template>
<div class="body">
<div style="color: red"></div>
<img src="@/assets/images/q123.png" alt="donate" style="width: 100%" />
</div>
</el-card>
</el-col>
<el-col :sm="24" :lg="8">
<el-card>
<template #header>
<span>{{ $t('layout.contactUs') }}</span>
</template>
<div class="body">
<p>
<el-icon> <promotion /> </el-icon>{{ $t('layout.officialWebsite') }}
<el-link href="http://www.izhaorui.cn/doc" target="_blank"> http://www.izhaorui.cn/doc </el-link>
</p>
<p>
<el-icon> <UserFilled /> </el-icon>{{ $t('layout.qqGroup') }}
<s>满191349103</s>
<el-link
target="_black"
href="https://qm.qq.com/cgi-bin/qm/qr?k=kgt4HsckdljU0VM-0kxND6d_igmfuPlL&authKey=r55YUbruiKQ5iwC/folG7KLCmZ++Y4rQVgNlvLbUniUMkbk24Y9+zNuOmOnjAjRc&noverify=0">
&nbsp;462862273
</el-link>
</p>
</div>
</el-card>
</el-col>
</el-row>
<el-dialog title="618爆款" v-model="open" :close-on-click-modal="false" :show-close="false">
<div class="promo" v-for="item in promoteList2" :key="item.id">
<h3>
<el-link type="success" target="_black" :href="item.link" v-html="item.content + '☛☛点我进入☚☚'"></el-link>
</h3>
<span v-html="item.tip"></span>
</div>
<template #footer>
<el-button type="primary" @click="goTarget('https://curl.qcloud.com/4yEoRquq')">主会场</el-button>
<el-button @click="open = false">没兴趣</el-button>
</template>
</el-dialog>
</div>
</template>
<script setup name="index">
import defaultSettings from '@/settings'
const version = defaultSettings.version
function goTarget(url) {
window.open(url, '__blank')
}
const open = ref(true)
const promoteList2 = ref([
{
id: 1,
content: '<h3>【阿里云特惠专区】</h3>',
tip: '2核2G ¥426.00/年起,更多优惠券快来领取',
link: 'https://www.aliyun.com/minisite/goods?userCode=uotn5vt1&share_source=copy_link'
},
{
id: 2,
content: '领取<h3>【腾讯云通用云产品优惠券】</h3>',
tip: '新用户专属大礼包¥2860优惠券',
link: 'https://curl.qcloud.com/5J4nag8D'
},
{ id: 3, content: '【<h3>腾讯云</h3>限时秒杀活动】', tip: '2核2G4M 45元/年', link: 'https://curl.qcloud.com/4yEoRquq' },
{
id: 4,
content: '【华为特惠专区,多款产品限时特价】',
link: 'https://activity.huaweicloud.com/discount_area_v5/index.html?fromacct=a53709d1-149d-49f4-9b89-bf62bd96ef65&utm_source=aGlkX3N0dnZkMWNxejBnOTJ5OA===&utm_medium=cps&utm_campaign=201905'
},
{ id: 5, content: '【领取七牛云通用云产品优惠券】', link: 'https://s.qiniu.com/FzEfay' },
{ id: 6, content: '【Gitee 企业版优惠专区】', link: 'https://gitee.com/enterprises?invite_code=Z2l0ZWUtMTI1NzM1OQ%3D%3D' }
])
const promoteList = ref([
{
id: 1,
title: '【腾讯云】推广者专属福利新客户无门槛领取总价值高达2860元代金券每种代金券限量500张先到先得。',
imgUrl: 'http://www.izhaorui.cn/images/banner/新用户专享470x250.jpg',
link: 'https://curl.qcloud.com/5J4nag8D'
},
{
id: 2,
title: '',
imgUrl: 'http://www.izhaorui.cn/images/banner/banner3.jpg',
link: 'https://curl.qcloud.com/4yEoRquq'
},
{
id: 3,
title: '【腾讯云】买云服务器参与礼品兑换、抽奖最高送价值8000元IPad还有Bose耳机、千元京东卡等您来',
imgUrl: 'http://www.izhaorui.cn/images/banner/企业盛夏有礼-470x250.jpg',
link: 'https://curl.qcloud.com/CAX9v1Vn'
},
{
id: 4,
title: '【腾讯云】DNSPod解析套餐全面升配降价更高的套餐配置规格更优的价格方案全面提升可用性及响应率专业版限时99元/年!',
imgUrl: 'http://www.izhaorui.cn/images/banner/DNS470x250.jpg',
link: 'https://curl.qcloud.com/tJlixb8E'
},
{
id: 5,
title: '【腾讯云】中小企业福利专场多款刚需产品满足企业通用场景需求云服务器2.5折起',
imgUrl: 'http://www.izhaorui.cn/images/banner/企业福利470x250.jpg',
link: 'https://curl.qcloud.com/TnaLauo5'
}
])
</script>
<style scoped lang="scss">
.home {
blockquote {
padding: 10px 20px;
margin: 0 0 20px;
font-size: 17.5px;
border-left: 5px solid #eee;
}
hr {
margin-top: 20px;
margin-bottom: 20px;
border: 0;
border-top: 1px solid #eee;
}
.col-item {
margin-bottom: 20px;
}
ul {
padding: 0;
margin: 0;
}
font-family: 'open sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 13px;
color: #676a6c;
overflow-x: hidden;
ul {
list-style-type: none;
}
h4 {
margin-top: 0px;
}
h2 {
margin-top: 10px;
font-size: 26px;
font-weight: 100;
}
p {
margin-top: 10px;
b {
font-weight: 700;
}
}
.update-log {
ol {
display: block;
list-style-type: decimal;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0;
margin-inline-end: 0;
padding-inline-start: 40px;
}
}
}
.promo {
h3 {
font-size: 25px;
display: inline;
}
}
</style>