接口初始化 第一版

This commit is contained in:
yuping
2022-11-16 01:28:42 +08:00
parent c2f02a33e5
commit f9ae1c0027
27 changed files with 13054 additions and 550 deletions

View File

@@ -20,21 +20,22 @@
<!-- 基本信息 -->
<div class="bascinfo">
<div style="margin-left: 46px">
<div class="title">其他活动管理者进阶腾飞班 - 专属线下活动</div>
<!-- <div class="title">其他活动管理者进阶腾飞班 - 专属线下活动</div>-->
<div class="title">{{ data.detail?.workName }}</div>
<div class="time" style="margin-top: 26px">
<img width="15px" height="17px" src="../../assets/image/time.png" />
<div style="margin-left: 8px">2022-07-20 20:00-21:00</div>
<img width="15px" height="17px" src="../../assets/image/time.png"/>
<div style="margin-left: 8px">{{ data.detail?.createTime }}</div>
</div>
<div class="time" style="margin-top: 23px">
<img
width="16px"
height="18px"
src="../../assets/image/position.png"
width="16px"
height="18px"
src="../../assets/image/position.png"
/>
<div style="margin-left: 8px">大族广场</div>
<div style="margin-left: 8px">{{ data.detail?.workEnclosureAddress }}</div>
</div>
</div>
<div class="btn">签到</div>
<div class="btn" v-if="!data.signFlag" @click="signClick">签到</div>
</div>
<!-- 基本信息 -->
@@ -45,29 +46,15 @@
<div style="margin-left: 48px; margin-right: 48px">
<div class="title">
<img
width="20px"
height="20px"
src="../../assets/image/book.png"
width="20px"
height="20px"
src="../../assets/image/book.png"
/>
<div class="text">课程详情</div>
<div class="box"></div>
</div>
<div style="display: flex; align-items: center">
<div class="content">
写字楼介绍 <br />
大族广场写字楼采用国际顶级硬件设施美国OTIS电梯麦克维尔中央空调高端安防系统等商务空间新标准匹配项目在亦庄地标综合体的形象写字楼空间设计由亚洲著名的
室内空间设计大师之一梁景华设计写字楼群由六栋(T1T6)呈舰队排列的5A写字楼构成形成独特的舰队造型
<br />
购物中心介绍 <br />
大族广场Mall&More位于北京经济技术开发区核心商圈荣华路由荷兰鹿特丹缤纷市场设计师HANS
VAN DALEN
主持设计,秉持自然与未来和谐共生理念,倡导乐活有机绿色环保的生活方式,传递生活美学
<br />
大族广场Mall&More汇集众多知名优质品牌,7FRESH生鲜超市CGV星聚汇影城中信书店源力悦体等,集购物餐饮娱乐文化于一体,丰富的业态品类为消费者提供城市
生活的第三空间感受<br />
大族广场Mall&More以人为本,不断提升服务水平,升级消费购物体验,致力于营造更加舒适的购物环境与空间,打造有温度的品牌同时根据春夏秋冬四季策划丰富多样的大型主题
活动为会员设置专属的沙龙活动打造专属会员日等,与顾客近距离产生情感上的互动与链接,为城市人们提供自由放松愉悦的社交空间与精神的栖息地<br />
</div>
<div class="content" v-html="data.detail?.workRequirement"></div>
</div>
</div>
</div>
@@ -75,24 +62,25 @@
<div class="teacher">
<div class="title">
<img
style="width: 24px; height: 20px"
src="../../assets/image/call.png"
style="width: 24px; height: 20px"
src="../../assets/image/call.png"
/>
<div class="text">活动公告</div>
<div class="box"></div>
</div>
<!-- todo #活动任务详情 活动公告没有-->
<div class="content">
为拓宽人民群众的表达途径畅听民意及时了解
和解决人民群众反映强烈的公共法律服务问题
局将在浈江区公共法律服务中心开展领导干部接待
活动现将2022年8月的活动安排公告如下<br />
接待时间 <br />
工作日上午9:00-12:00<br />
接待地点<br />
活动现将2022年8月的活动安排公告如下<br/>
接待时间 <br/>
工作日上午9:00-12:00<br/>
接待地点<br/>
浈江区公共法律服务中心浈江区新韶镇乐土路3号
曲仁田螺冲党群服务中心一楼<br />
接待受理范围 <br />听取人民群众对公共法律服务工作的批评和
意见建议 <br />解答或接收公共法律服务相关业务咨询<br />
曲仁田螺冲党群服务中心一楼<br/>
接待受理范围 <br/>听取人民群众对公共法律服务工作的批评和
意见建议 <br/>解答或接收公共法律服务相关业务咨询<br/>
</div>
</div>
</div>
@@ -101,19 +89,29 @@
</template>
<script>
import { reactive, toRefs } from "vue";
import {reactive, toRefs} from "vue";
import {request, useRequest} from "@/api/request";
import {TAS_ACTIVITY_DETAIL, TASK_ACTIVITY_SIGN, TASK_BROADCAST_DETAIL} from "@/api/api";
export default {
name: "MoreActive",
setup() {
const {data} = useRequest(TAS_ACTIVITY_DETAIL, {})
const state = reactive({
activeName: "first",
});
const handleClick = (tab, event) => {
console.log(tab, event);
const signClick = (tab, event) => {
request(TASK_ACTIVITY_SIGN, {}).then(res => {
console.log(22)
data.value.signFlag = 1
})
};
return {
...toRefs(state),
handleClick,
signClick,
data,
};
},
};
@@ -133,6 +131,7 @@ export default {
.preNext {
position: absolute;
right: 0px;
.content {
font-size: 14px;
color: #fff;
@@ -143,6 +142,7 @@ export default {
top: -6px;
cursor: pointer;
}
.btn {
width: 23px;
height: 23px;
@@ -150,13 +150,16 @@ export default {
border: 0;
cursor: pointer;
}
.btn01 {
background-image: url("../../assets/image/prev.png");
}
.btn02 {
background-image: url("../../assets/image/next.png");
}
}
.bascinfo {
width: 100%;
height: 180px;
@@ -166,6 +169,7 @@ export default {
display: flex;
justify-content: space-between;
align-items: center;
.btn {
width: 146px;
height: 46px;
@@ -182,6 +186,7 @@ export default {
cursor: pointer;
margin-right: 96px;
}
.title {
font-size: 20px;
font-weight: 800;
@@ -189,6 +194,7 @@ export default {
line-height: 24px;
margin-left: -9px;
}
.time {
font-size: 14px;
color: #6e7b84;
@@ -197,30 +203,36 @@ export default {
align-items: center;
}
}
.detailinfo {
width: 100%;
margin-top: 20px;
display: flex;
.detail {
flex: 1;
margin-right: 20px;
.detailT {
min-height: 646px;
background: #ffffff;
border-radius: 8px;
color: rgba(51, 51, 51, 1);
.title {
display: flex;
align-items: center;
padding-top: 39px;
position: relative;
}
.title .text {
margin-left: 8px;
font-size: 16px;
color: rgba(51, 51, 51, 1);
font-weight: 800;
}
.title .box {
width: 75px;
height: 10px;
@@ -229,6 +241,7 @@ export default {
left: 23px;
top: 53px;
}
.content {
margin-left: 8px;
font-size: 14px;
@@ -238,20 +251,24 @@ export default {
margin-top: 30px;
}
}
.detailB {
min-height: 363px;
background: #ffffff;
border-radius: 8px;
margin-top: 20px;
.el-tabs__item {
height: 69px;
padding: 25px 7px 0px 52px;
font-size: 14px;
font-weight: 500;
}
.el-tabs__nav-wrap::after {
background-color: rgba(56, 125, 247, 0.2);
}
.enclosure {
height: 89px;
margin-left: 51px;
@@ -260,6 +277,7 @@ export default {
display: flex;
justify-content: space-between;
align-items: center;
.enclosureL {
display: flex;
align-items: center;
@@ -268,6 +286,7 @@ export default {
color: #677d86;
line-height: 24px;
}
.download {
display: flex;
align-items: center;
@@ -278,6 +297,7 @@ export default {
cursor: pointer;
}
}
.work {
margin-left: 51px;
margin-right: 40px;
@@ -286,12 +306,14 @@ export default {
align-items: center;
margin-top: 37px;
}
.work .question {
font-size: 14px;
font-weight: 500;
color: #333330;
line-height: 18px;
}
.work .active {
width: 82px;
height: 28px;
@@ -307,6 +329,7 @@ export default {
cursor: pointer;
margin-right: 11px;
}
.work .unactive {
width: 80px;
height: 26px;
@@ -322,15 +345,19 @@ export default {
margin-right: 11px;
cursor: pointer;
}
.work .btncolor {
background: linear-gradient(90deg, #84aad2 0%, #a4c5e9 100%);
}
.work .bordercolor {
border: 1px solid #85aad2;
}
.work .fontcolor {
color: rgba(133, 170, 210, 1);
}
.work .submit {
width: 126px;
height: 46px;
@@ -348,6 +375,7 @@ export default {
}
}
}
.teacher {
width: 434px;
height: 10%;
@@ -355,10 +383,11 @@ export default {
background-color: rgba(255, 255, 255, 1);
border-radius: 8px;
background: linear-gradient(
180deg,
rgba(36, 120, 255, 0.15) 0%,
rgba(255, 255, 255) 50%
180deg,
rgba(36, 120, 255, 0.15) 0%,
rgba(255, 255, 255) 50%
);
.title {
display: flex;
align-items: center;
@@ -366,12 +395,14 @@ export default {
position: relative;
margin-left: 48px;
}
.title .text {
margin-left: 8px;
font-size: 16px;
color: rgba(51, 51, 51, 1);
font-weight: 800;
}
.title .box {
margin-left: 4px;
width: 75px;
@@ -381,6 +412,7 @@ export default {
left: 23px;
top: 53px;
}
.content {
margin: 25px 24px 49px 49px;
color: #677d86;