吉光研途前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

660 lines
19 KiB

<template>
<view class="page__view">
<!-- 导航栏 -->
<navbar :title="title" leftClick @leftClick="$utils.navigateBack" bgColor="#4883F9" color="#FFFFFF" />
<!-- 轮播图 -->
<view class="swiper">
<uv-swiper :list="bannerList" keyName="image" :autoplay="bannerList.length" :indicator="bannerList.length" indicatorMode="dot" indicatorActiveColor="#4883F9" indicatorInactiveColor="#FFFFFF" height="424rpx"></uv-swiper>
</view>
<!-- 发表全流程辅导 -->
<view class="section">
<view class="section-header">发表全流程辅导</view>
<view class="section-content paragraph process">
<view class="paragraph">
<view class="flex difficulty">
<view>难度</view>
<uv-rate :value="process.difficulty" size="28rpx" activeColor="#4883F9" :allowHalf="true" :minCount="0.5" readonly></uv-rate>
</view>
<view>{{ process.content }}</view>
</view>
</view>
</view>
<!-- 可发表方向 -->
<view class="section">
<view class="section-header">
<view class="section-header-line"></view>
<view>可发表方向</view>
</view>
<view class="section-content direction">
<view class="table">
<view class="table-row" v-for="row in direction" :key="row.id">
<view class="table-cell">{{ row.title }}</view>
<view class="table-cell">{{ row.desc }}</view>
</view>
</view>
</view>
</view>
<!-- 师资介绍 -->
<view class="section">
<view class="section-header">
<view class="section-header-line"></view>
<view>师资介绍</view>
</view>
<view class="section-content teachers">
<view class="card" v-for="item in teachers" :key="item.id">
<view class="info">
<view class="title">
<view class="name">{{ item.name }}</view>
<view class="label">
<view class="label-text">{{ item.label }}</view>
<view class="label-line"></view>
</view>
</view>
<view class="tag">
<image class="tag-icon" src="@/static/image/icon-degree.png" mode="widthFix"></image>
<vie>{{ item.degree }}</vie>
</view>
<view class="desc">
<view>专业经历:</view>
<view>{{ item.experience }}</view>
</view>
</view>
<view class="pic">
<image class="img" :src="item.image" mode="aspectFill"></image>
</view>
</view>
</view>
</view>
<!-- 课程安排 -->
<view class="section">
<view class="section-header">
<view class="section-header-line"></view>
<view>课程安排</view>
</view>
<view class="section-content">
<view class="table">
<view class="table-row" v-for="row in course" :key="row.id">
<view class="table-cell">
<view>{{ row.title }}</view>
<view>{{ `(共${row.length}课时)` }}</view>
</view>
<view class="table-cell">{{ row.desc }}</view>
</view>
</view>
</view>
</view>
<!-- 适用人群 -->
<view class="section">
<view class="section-header">
<view class="section-header-line"></view>
<view>适用人群</view>
</view>
<view class="section-content target-audience">
<view class="paragraph">
{{ targetAudience }}
</view>
</view>
</view>
<!-- 期刊推荐 -->
<view class="section">
<view class="section-header">
<view class="section-header-line"></view>
<view>期刊推荐</view>
</view>
<view class="section-content journal">
<view class="box" v-for="item in journal" :key="item.id">
<view class="card">
<view class="top">
<view class="pic">
<image class="img" :src="item.image" mode="aspectFill"></image>
</view>
<view class="info">
<view class="name">{{ item.name }}</view>
<view class="desc">{{ item.desc }}</view>
</view>
</view>
<view class="main">
{{ item.intro }}
</view>
</view>
</view>
</view>
</view>
<!-- 附加材料 -->
<view class="section">
<view class="section-header">
<view class="section-header-line"></view>
<view>附加材料</view>
</view>
<view class="section-content attachment">
<view class="flex file" v-for="item in attachment" :key="item.id">
<view class="file-info">
<template v-if="item.type == 'pdf'">
<image class="file-icon" src="@/static/image/icon-pdf.png" mode="widthFix"></image>
</template>
<template v-else>
<image class="file-icon" src="@/static/image/icon-word.png" mode="widthFix"></image>
</template>
<view class="file-detail">
<view class="title">{{ item.name }}</view>
<view class="desc">{{ `${item.type} ${item.size}MB` }}</view>
</view>
</view>
<button class="btn" @click="downloadFile(item.url)">下载</button>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
title: '',
bannerList: [],
process: {},
direction: [],
teachers: [],
course: [],
targetAudience: '',
journal: [],
attachment: [],
}
},
onLoad({ thesisId }) {
this.getData(thesisId)
},
methods: {
async getData(thesisId) {
try {
// todo
await this.$fetch('queryThesisById', { thesisId })
} catch (err) {
}
// todo: delete
this.title = '建筑学学科论文'
this.bannerList = [
{ image: '/static/image/temp-1.png' },
{ image: '/static/image/temp-2.png' },
{ image: '/static/image/temp-3.png' },
{ image: '/static/image/temp-2.png' },
]
this.process = {
difficulty: 4,
content: `导周期本次辅导共包含15课时,每课时60分钟通常建议辅导周期为2-3个月,可根据学员进度个性化调整。发表周期6-12个月不等(包含论文撰写、修改、投稿、审稿等环节)期刊不同。周期有所差异,平均审稿期为3-6月。结果产出定制选题报告与研究框架辅导高质量学术论文初稿+多轮修改辅导完整投稿材料包(含CoverLetter、格式排版等)AHCI核心期刊正式发表
`
}
this.direction = [
{
id: '001',
title: '建筑历史方向',
desc: '聚焦不同时期建筑风格,流派演变,哲学美学(如现象学)与建筑关联,经典或当代实(如生态建筑)、标志性建筑项目实践案例。',
},
{
id: '002',
title: '建筑设计实践',
desc: '创新设计流程(含参数化计)、可持续设计(如生态建筑)、标志性建筑项目实践案例。',
},
{
id: '003',
title: '建筑技术与工程',
desc: '创新设计流程(含参数化计)、可持续设计(如生态建筑)、标志性建筑项目实践案例。',
},
]
this.teachers = [
{
id: '001',
name: 'Elizabeth',
label: '文化与技术融合研究者',
degree: '牛津大学建筑学博士',
image: '/static/image/temp-11.png',
experience: `
于《Building Environment》等权威期刊发表多篇论文;教学特色:擅长以项目制教学打通理论到实践的闭环,学生团队多次斩获亚洲建筑新人赛大奖。
`
},
{
id: '002',
name: 'Elizabeth',
label: '文化与技术融合研究者',
degree: '牛津大学建筑学博士',
image: '/static/image/temp-12.png',
experience: `
于《Building Environment》等权威期刊发表多篇论文;教学特色:擅长以项目制教学打通理论到实践的闭环,学生团队多次斩获亚洲建筑新人赛大奖。
`
},
]
this.course = [
{
id: '001',
title: '选题指导',
length: 4,
desc: '探讨当前建筑学热点与研究势,启发学员形成研究兴出与方向在导师引导下,完成选题定位、研究问题设定;',
},
{
id: '002',
title: '论文撰写辅导',
length: 4,
desc: '创新设计流程(含参数化计)、可持续设计(如生态建筑)、标志性建筑项目实践案例。',
},
{
id: '003',
title: '论文修改与润色提升',
length: 4,
desc: '......',
},
]
this.targetAudience = `正在攻读本科、硕土或博士阶段建筑学、城市设计、景观建筑、建筑历史与理论等相关专业的学生
·有志申请海外建筑类高校研究生项目、需准备具有深度与原创性的学术写作材料的申请者;
-准备参与各类学术会议、论文竟赛、设计研究发表等活动的高校建筑学子;
.希望将设计实践与理论研究相结合,通过论文提升学术表达与评职称的建筑从业者或高校教师;
,对跨学科建筑议题(如空间社会学、建筑文化研究、数字建构等)有浓厚兴趣,并计划在学术方向深入发展的研究者。
`
this.journal = [
{
id: '001',
name: 'Journal of Architecture',
desc: '发表难度中等偏难,审稿周期较长,注重研究的创新性。',
intro: '专注于建筑理论与历史研究。该刊理论性强,特别欢迎跨学科、历史与文化视角的论文,期刊适合深度分析与批评性研究。作为AHCI核刊。JCRQ2分区。影响因子1.2。',
image: '/static/image/temp-13.png',
},
{
id: '002',
name: 'Journal of Architecture',
desc: '发表难度中等偏难,审稿周期较长,注重研究的创新性。',
intro: '专注于建筑理论与历史研究。该刊理论性强,特别欢迎跨学科、历史与文化视角的论文,期刊适合深度分析与批评性研究。作为AHCI核刊。JCRQ2分区。影响因子1.2。',
image: '/static/image/temp-14.png',
},
]
this.attachment = [
{
id: '001',
name: '学术平台手册.pdf',
type: 'pdf',
size: 6.37,
url: 'https://www.klook.cn/klvoucher/UENZOG10SE81amgzbURkNXhvRVhFeXFIaDJONnpYb0gyQUNFYURJRzlQVjlydTJUZGFGaVpCM3VmYW1wUnhKSkp0bDBUK2IvekU4Vk14RmhacTJ2d0VqVEVCUHlMZ0JFelNycGxGdTl4VTA9.pdf?from_source=email&from_medium=system_email&from_campaign=TTD_pretrip2_booking_confirmation_base',
},
{
id: '002',
name: '学术平台手册.doc',
type: 'word',
size: 6.37,
url: 'https://qcloud.dpfile.com/pc/myug_luLpDQj6VgAsrUXgol_FrfrTcsVfpzy8-1PMV3uCvjEkdZxjKI_hzpUwDOs.jpg',
},
]
},
downloadFile(url) {
console.log('downloadFile', url)
uni.downloadFile({
url, // 文件地址
success: (downloadRes) => {
console.log('downloadRes', downloadRes)
if (downloadRes.statusCode === 200) {
uni.openDocument({
showMenu: true,
filePath: downloadRes.tempFilePath,
success: () => console.log('打开成功')
});
} else {
uni.showToast({ title: '下载失败', icon: 'none' });
}
},
fail: (err) => {
uni.showToast({ title: '网络异常', icon: 'none' });
}
});
},
},
}
</script>
<style scoped lang="scss">
.page__view {
padding-bottom: 62rpx;
background: #FFFFFF;
}
.swiper {
margin: 20rpx 18rpx 32rpx 18rpx;
/deep/ .uv-swiper-indicator__wrapper__dot {
width: 15rpx;
height: 15rpx;
}
/deep/ .uv-swiper-indicator__wrapper__dot--active {
width: 15rpx;
}
}
.section {
width: 100%;
padding: 0 18rpx;
box-sizing: border-box;
& + & {
margin-top: 40rpx;
}
&-header {
display: flex;
align-items: center;
justify-content: flex-start;
column-gap: 15rpx;
padding-left: 18rpx;
font-size: 32rpx;
font-weight: 700;
color: #000000;
&-line {
width: 11rpx;
height: 45rpx;
border-radius: 6rpx;
background-image: linear-gradient(#FFFFFF, #4883F9);
}
}
&-content {
margin-top: 37rpx;
.paragraph {
width: 100%;
padding: 22rpx;
box-sizing: border-box;
white-space: pre-line;
font-size: 28rpx;
color: #000000;
background: #F8F8F8;
border-radius: 15rpx;
}
.table {
width: 100%;
border-radius: 15rpx;
overflow: hidden;
&-row {
display: grid;
grid-template-columns: 218rpx auto;
background: #EEEEEE;
&:nth-child(2n) {
background: #DEDEDE;
}
}
&-cell {
display: inline-flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
padding: 17rpx;
box-sizing: border-box;
font-family: PingFang SC;
font-weight: 400;
font-size: 28rpx;
color: #080808;
&:first-child {
border-right: 1rpx solid #E5E5E5;
}
}
}
&.process {
margin-top: 24rpx;
.difficulty {
justify-content: flex-start;
}
}
&.teachers {
.card {
display: flex;
align-items: center;
column-gap: 12rpx;
background: #ffffff;
border-radius: 15rpx;
box-shadow: 0rpx 3rpx 6rpx 0rpx rgba(0,0,0,0.16);
.info {
flex: 1;
padding: 19rpx 0 28rpx 17rpx;
.title {
display: flex;
align-items: center;
padding-left: 11rpx;
color: #000000;
.name {
font-size: 32rpx;
font-weight: 700;
}
.label {
margin-left: 12rpx;
position: relative;
height: 30rpx;
&-line {
margin: 24rpx 0 0 25rpx;
width: 195rpx;
height: 4rpx;
background-image: linear-gradient(#4883F9, #FFFFFF);
border-radius: 2rpx;
}
&-text {
position: absolute;
top: 0;
left: 0;
font-size: 22rpx;
font-weight: 400;
}
}
}
.tag {
margin: 5rpx 0 18rpx 0;
display: inline-flex;
align-items: center;
padding: 5rpx 43rpx 5rpx 16rpx;
column-gap: 16rpx;
font-size: 28rpx;
color: #FFFFFF;
background: rgba(72,131,249,0.58);
border-radius: 30rpx 0rpx 30rpx 0rpx;
&-icon {
width: 38rpx;
height: auto;
}
}
.desc {
padding: 12rpx 15rpx;
font-size: 28rpx;
font-weight: 500;
color: #000000;
background: #f8f8f8;
border-radius: 16rpx;
}
}
.pic {
padding: 48rpx 9rpx 48rpx 0;
width: 253rpx;
height: 345rpx;
border-radius: 127rpx;
overflow: hidden;
.img {
width: 100%;
height: 100%;
}
}
&:nth-child(2n) {
flex-direction: row-reverse;
.info {
padding: 19rpx 17rpx 28rpx 0;
}
.pic {
padding: 48rpx 0 48rpx 9rpx;
}
}
}
.card + .card {
margin-top: 24rpx;
}
}
&.journal {
.box {
padding-top: 73rpx;
.card {
padding: 29rpx 12rpx 19rpx 12rpx;
background: #f6f6f6;
border-radius: 15rpx;
box-shadow: 0rpx 3rpx 6rpx 0rpx rgba(0,0,0,0.16);
.top {
position: relative;
.pic {
position: absolute;
left: 42rpx;
bottom: 0;
width: 213rpx;
height: 285rpx;
.img {
width: 100%;
height: 100%;
}
}
.info {
height: 181rpx;
padding: 0 14rpx 0 266rpx;
}
}
.main {
margin-top: 18rpx;
padding: 14rpx;
font-size: 28rpx;
color: #000000;
background: #ebebeb;
border-radius: 30rpx 0rpx 30rpx 0rpx;
}
}
&:nth-child(2n) {
.card {
.top {
.info {
padding: 0 258rpx 0 14rpx;
}
.pic {
left: unset;
right: 29rpx;
}
}
}
}
}
.box + .box {
margin-top: 28rpx;
}
}
&.attachment {
.file {
justify-content: space-between;
padding: 32rpx 15rpx 32rpx 26rpx;
background: #f8f8f8;
border-radius: 15rpx;
&-info {
display: flex;
align-items: flex-end;
}
&-icon {
width: 64rpx;
height: auto;
}
&-detail {
margin-left: 14rpx;
.title {
font-size: 30rpx;
color: #000000;
}
.desc {
font-size: 28rpx;
color: #999999;
}
}
.btn {
padding: 7rpx 30rpx;
font-size: 28rpx;
color: #FFFFFF;
background: #4883f9;
border-radius: 27rpx;
}
}
.file + .file {
margin-top: 21rpx;
}
}
}
}
</style>