2024-06-04 22:00:48 +08:00
|
|
|
<template>
|
|
|
|
<view>
|
|
|
|
|
|
|
|
<view>
|
|
|
|
<!-- 顶部导航栏 -->
|
|
|
|
<up-navbar leftText="" title="" :placeholder="true" :safeAreaInsetTop="true" @leftClick="leftClick"
|
|
|
|
:bgColor="bgColor">
|
|
|
|
|
|
|
|
<template #center>
|
|
|
|
<div class="navbarcenter"><span>发布话题</span></div>
|
|
|
|
</template>
|
|
|
|
</up-navbar>
|
|
|
|
</view>
|
2024-06-13 00:46:01 +08:00
|
|
|
<image class="bacimg2" :src="cg2x22"></image>
|
2024-06-04 22:00:48 +08:00
|
|
|
<view class="bgc"></view>
|
|
|
|
<view class="cardz">
|
2024-06-13 00:46:01 +08:00
|
|
|
<image :src="cg2x21" class="shenhe2x1"></image>
|
2024-06-09 15:37:59 +08:00
|
|
|
<span class="text">发布成功</span>
|
2024-06-04 22:00:48 +08:00
|
|
|
</view>
|
|
|
|
<view style="position: fixed; top: 632rpx; width: 100%; padding-left: 32rpx; padding-right: 32rpx;">
|
2024-06-09 15:37:59 +08:00
|
|
|
<up-button color="#DBF6EF" size="large" shape="circle" @click="publish"><span
|
2024-06-04 22:00:48 +08:00
|
|
|
class="fbText">继续发布</span></up-button>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
<script setup>
|
|
|
|
import { onShow, onLoad } from '@dcloudio/uni-app'
|
|
|
|
import { getDicts } from "@/api/system/dict/data"
|
|
|
|
import { ref, reactive, getCurrentInstance } from 'vue'
|
|
|
|
import { useStore } from 'vuex';
|
|
|
|
const emit = defineEmits(['scrolltolower']);
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
|
|
|
|
|
const iconConfig = proxy.iconConfig;
|
2024-06-05 16:57:58 +08:00
|
|
|
const cg2x21 = iconConfig.cg2x21;
|
2024-06-09 15:37:59 +08:00
|
|
|
const cg2x22 = iconConfig.cg2x22;
|
|
|
|
const bgColor = ref('rgba(170, 0, 0, 0)');
|
|
|
|
|
2024-06-04 22:00:48 +08:00
|
|
|
|
|
|
|
const leftClick = () => {
|
2024-06-06 21:14:03 +08:00
|
|
|
proxy.$tab.switchTab("/pages/index")
|
|
|
|
}
|
|
|
|
const publish = () => {
|
|
|
|
proxy.$tab.switchTab("/pages/index")
|
2024-06-04 22:00:48 +08:00
|
|
|
}
|
|
|
|
</script>
|
2024-06-09 15:37:59 +08:00
|
|
|
<style lang="scss" >
|
|
|
|
page{
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
|
|
|
}
|
2024-06-04 22:00:48 +08:00
|
|
|
.bacimg2 {
|
|
|
|
width: 508rpx;
|
|
|
|
height: 540rpx;
|
|
|
|
position: fixed;
|
2024-06-13 00:46:01 +08:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2024-06-09 15:37:59 +08:00
|
|
|
z-index: 1;
|
2024-06-04 22:00:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbarcenter {
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
text-align: left;
|
|
|
|
color: #000000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bgc {
|
|
|
|
width: 100%;
|
|
|
|
height: 500rpx;
|
|
|
|
background: linear-gradient(-180deg, #a3e6df, #ffffff);
|
|
|
|
position: fixed;
|
|
|
|
top: 0rpx;
|
|
|
|
left: 0rpx;
|
2024-06-09 15:37:59 +08:00
|
|
|
|
2024-06-04 22:00:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.shenhe2x1 {
|
|
|
|
width: 232rpx;
|
|
|
|
height: 228rpx;
|
|
|
|
position: fixed;
|
|
|
|
top: 276rpx;
|
|
|
|
left: 260rpx;
|
2024-06-09 15:37:59 +08:00
|
|
|
z-index: 2;
|
2024-06-04 22:00:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.text {
|
2024-06-09 15:37:59 +08:00
|
|
|
font-weight: 600;
|
2024-06-04 22:00:48 +08:00
|
|
|
|
|
|
|
font-size: 48rpx;
|
|
|
|
text-align: left;
|
2024-06-09 15:37:59 +08:00
|
|
|
color: #5CCDB1 !important;
|
2024-06-04 22:00:48 +08:00
|
|
|
position: fixed;
|
|
|
|
top: 500rpx;
|
|
|
|
left: 300rpx;
|
|
|
|
}
|
|
|
|
.cardz{
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.fbText{
|
2024-06-09 15:37:59 +08:00
|
|
|
font-weight: 600;
|
2024-06-04 22:00:48 +08:00
|
|
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
text-align: left;
|
|
|
|
color: #00CCBE !important;
|
|
|
|
}
|
|
|
|
</style>
|