7.21
This commit is contained in:
@@ -144,6 +144,9 @@
|
||||
</view>
|
||||
|
||||
<tabBar :value="2"></tabBar>
|
||||
<view class="publish" @click="goPublish">
|
||||
<up-icon name="plus" color="#fff" size="18"></up-icon>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@@ -230,6 +233,11 @@ const hotList=()=>{
|
||||
}).then(res=>{
|
||||
})
|
||||
}
|
||||
const goPublish=()=>{
|
||||
navTo({
|
||||
url:'/pages/publish/publish'
|
||||
})
|
||||
}
|
||||
onShow(()=>{
|
||||
getStatic();
|
||||
goodList();
|
||||
@@ -238,6 +246,18 @@ onShow(()=>{
|
||||
</script>
|
||||
|
||||
<style lang='scss' scoped>
|
||||
.publish{
|
||||
width: 92rpx;
|
||||
height: 92rpx;
|
||||
background: #3CC7C0;
|
||||
border-radius: 50%;
|
||||
position: fixed;
|
||||
right:30rpx;
|
||||
bottom:180rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.upage {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -368,6 +388,7 @@ onShow(()=>{
|
||||
border-bottom: 2rpx solid #f3f4f6;
|
||||
|
||||
.circle {
|
||||
flex-shrink: 0;
|
||||
margin-top: 15rpx;
|
||||
width: 15rpx;
|
||||
height: 15rpx;
|
||||
|
||||
Reference in New Issue
Block a user