|
|
@@ -0,0 +1,260 @@
|
|
|
+<template>
|
|
|
+ <div>
|
|
|
+ <div class="item" v-for="(n, index) in 20" :key="index">
|
|
|
+ <div class="title">
|
|
|
+ <van-image
|
|
|
+ class="avatar"
|
|
|
+ src="https://img01.yzcdn.cn/vant/cat.jpeg"
|
|
|
+ width="24"
|
|
|
+ height="24"
|
|
|
+ fit="cover"
|
|
|
+ round
|
|
|
+ />
|
|
|
+ <div class="txt">
|
|
|
+ 人类未来如何逆转全球变暖?人类未来如何逆转全球变暖?人类未来如何逆转全球变暖?人类未来如何逆转全球变暖?人类未来如何逆转全球变暖?人类未来如何逆转全球变暖?
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="answer">
|
|
|
+ <img class="icon" src="../../assets/interact_icon_answer.png" />
|
|
|
+ <div class="content">
|
|
|
+ <div class="txt">
|
|
|
+ 地球气候变化已经成为了人类健康发展、以及未来生存最大的障碍,除了大气污染、空气中颗粒物超标以外,最严重的…
|
|
|
+ </div>
|
|
|
+ <div class="btn-more">查看详情</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="btn-fixed btn-call" @click="showCall = true">
|
|
|
+ <img src="../../assets/icon_call.png" class="icon" />
|
|
|
+ </div>
|
|
|
+ <div class="btn-fixed btn-edit" @click="showNotice = true">
|
|
|
+ <img src="../../assets/icon_edit.png" class="icon" />
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <van-popup v-model="showCall" class="popup-call">
|
|
|
+ <img src="../../assets/interact_banner_call.png" class="banner" />
|
|
|
+ <div class="content">
|
|
|
+ <div class="row">
|
|
|
+ <div class="label">服务电话:</div>
|
|
|
+ <div class="value">0791-88529267</div>
|
|
|
+ </div>
|
|
|
+ <div class="row">
|
|
|
+ <div class="label">电子邮箱:</div>
|
|
|
+ <div class="value">XXXXX@sina.com</div>
|
|
|
+ </div>
|
|
|
+ <div class="row">
|
|
|
+ <div class="label">传  真:</div>
|
|
|
+ <div class="value">0791-XXX88888</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="btn-lg">拨打电话咨询</div>
|
|
|
+ </van-popup>
|
|
|
+
|
|
|
+ <van-popup v-model="showNotice" class="popup-notice" position="bottom">
|
|
|
+ <div class="title">
|
|
|
+ <div class="back" @click="showNotice = false">
|
|
|
+ <img src="../../assets/nav_icon_back_black.png" />
|
|
|
+ </div>
|
|
|
+ 发布须知
|
|
|
+ </div>
|
|
|
+ <div class="content">
|
|
|
+ 1、请您自觉遵守中华人民共和国宪法和法律;<br />
|
|
|
+ 2、您应对来信内容的真实性、客观性负责,信中不要含有猥亵、色情、造谣诽谤、人身攻击和反政府言论。否则,您将承担由此而引发的一切法律责任;<br />
|
|
|
+ 3、不得发表未经证实的消息,亲身经历请注明;<br />
|
|
|
+ 4、请勿发表与军民融合无关的留言,以及任何形式的广告和推介企业产品或服务等内容;<br />
|
|
|
+ 5、请您真实、准确地填写您联系方式的信息,以便与您联系,我们将依法保护您的隐私权,保守您的联系方式等信息秘密;<br />
|
|
|
+ 6、您联系方式的信息如不真实、不准确,留言将可予以删除;<br />
|
|
|
+ 7、本平台拥有发布、编辑、删除网上留言的权利,凡不符合本须知规定的留言将予以删除;<br />
|
|
|
+ 8、如在本平台留言,即表明已阅读并接受了上述各项条款。
|
|
|
+ </div>
|
|
|
+ <div class="btn-wrapper">
|
|
|
+ <div class="btn-lg" @click="$router.push({ name: 'createInteract', query: { type: 'official' } })">
|
|
|
+ 我已知晓且同意须知相关内容
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </van-popup>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ showCall: false,
|
|
|
+ showNotice: false
|
|
|
+ };
|
|
|
+ }
|
|
|
+};
|
|
|
+</script>
|
|
|
+<style lang="less" scoped>
|
|
|
+.item {
|
|
|
+ margin-top: 20px;
|
|
|
+ position: relative;
|
|
|
+ padding-bottom: 20px;
|
|
|
+ &::after {
|
|
|
+ .setBottomLine();
|
|
|
+ left: 16px;
|
|
|
+ right: 16px;
|
|
|
+ }
|
|
|
+ &:last-child {
|
|
|
+ &::after {
|
|
|
+ content: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .title {
|
|
|
+ .flex();
|
|
|
+ align-items: flex-start;
|
|
|
+ .avatar {
|
|
|
+ min-width: 24px;
|
|
|
+ margin-left: 16px;
|
|
|
+ }
|
|
|
+ .txt {
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 16px;
|
|
|
+ color: black;
|
|
|
+ line-height: 24px;
|
|
|
+ margin-left: 6px;
|
|
|
+ .ellipsisLn(2);
|
|
|
+ margin-right: 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .answer {
|
|
|
+ .flex();
|
|
|
+ align-items: flex-start;
|
|
|
+ margin-top: 15px;
|
|
|
+ .icon {
|
|
|
+ width: 26px;
|
|
|
+ height: 26px;
|
|
|
+ margin-left: 14px;
|
|
|
+ }
|
|
|
+ .content {
|
|
|
+ .flex-col();
|
|
|
+ margin: 8px 16px 0 6px;
|
|
|
+ background: @bg;
|
|
|
+ padding: 10px 12px;
|
|
|
+ border-radius: 0px 16px 16px 16px;
|
|
|
+ .txt {
|
|
|
+ font-size: 16px;
|
|
|
+ color: black;
|
|
|
+ line-height: 26px;
|
|
|
+ .ellipsisLn(3);
|
|
|
+ }
|
|
|
+ .btn-more {
|
|
|
+ color: @prim;
|
|
|
+ font-size: 13px;
|
|
|
+ margin-top: 6px;
|
|
|
+ line-height: 22px;
|
|
|
+ &:active {
|
|
|
+ color: fade(@prim, 60%);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+.btn-fixed {
|
|
|
+ .flex();
|
|
|
+ justify-content: center;
|
|
|
+ position: fixed;
|
|
|
+ right: 16px;
|
|
|
+ border-radius: 22px;
|
|
|
+ width: 44px;
|
|
|
+ height: 44px;
|
|
|
+ .icon {
|
|
|
+ width: 18px;
|
|
|
+ height: 18px;
|
|
|
+ }
|
|
|
+}
|
|
|
+.btn-call {
|
|
|
+ bottom: calc(132px + var(--safe-bottom));
|
|
|
+ background: #ff9733;
|
|
|
+ box-shadow: 0px 6px 12px -2px rgba(191, 22, 22, 0.08);
|
|
|
+ &:active {
|
|
|
+ background: shade(#ff9733, 10%);
|
|
|
+ }
|
|
|
+}
|
|
|
+.btn-edit {
|
|
|
+ bottom: calc(73px + var(--safe-bottom));
|
|
|
+ background: @prim;
|
|
|
+ box-shadow: 0px 6px 12px -2px rgba(191, 22, 22, 0.08);
|
|
|
+ &:active {
|
|
|
+ background: shade(@prim, 10%);
|
|
|
+ }
|
|
|
+}
|
|
|
+.popup-call {
|
|
|
+ border-radius: 12px;
|
|
|
+ width: 300px;
|
|
|
+ .flex-col();
|
|
|
+ align-items: center;
|
|
|
+ .banner {
|
|
|
+ width: 100%;
|
|
|
+ height: auto;
|
|
|
+ }
|
|
|
+ .content {
|
|
|
+ font-size: 16px;
|
|
|
+ color: black;
|
|
|
+ line-height: 32px;
|
|
|
+ margin-top: 20px;
|
|
|
+ .flex-col();
|
|
|
+ .row {
|
|
|
+ .flex();
|
|
|
+ .label {
|
|
|
+ width: 86px;
|
|
|
+ }
|
|
|
+ .value {
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .btn-lg {
|
|
|
+ margin: 44px auto 40px auto;
|
|
|
+ width: 230px;
|
|
|
+ }
|
|
|
+}
|
|
|
+.popup-notice {
|
|
|
+ .flex-col();
|
|
|
+ .title {
|
|
|
+ height: 65px;
|
|
|
+ .flex();
|
|
|
+ justify-content: center;
|
|
|
+ font-size: 16px;
|
|
|
+ color: black;
|
|
|
+ font-weight: bold;
|
|
|
+ position: relative;
|
|
|
+ .back {
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ top: 0;
|
|
|
+ height: 100%;
|
|
|
+ padding: 0 16px;
|
|
|
+ .flex();
|
|
|
+ justify-content: center;
|
|
|
+ img {
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &::after {
|
|
|
+ .setBottomLine();
|
|
|
+ left: 16px;
|
|
|
+ right: 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .content {
|
|
|
+ padding: 10px 16px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: black;
|
|
|
+ line-height: 26px;
|
|
|
+ position: relative;
|
|
|
+ &::after {
|
|
|
+ .setBottomLine();
|
|
|
+ left: 16px;
|
|
|
+ right: 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .btn-wrapper {
|
|
|
+ padding: 10px 0 calc(6px + var(--safe-bottom)) 0;
|
|
|
+ .flex();
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|