60 lines
1.4 KiB
Vue
60 lines
1.4 KiB
Vue
<template>
|
|
<view class="work-container">
|
|
<view>
|
|
<!-- 顶部导航栏 -->
|
|
<u-navbar leftText=" " title=" " :placeholder="true" :safeAreaInsetTop="true" :bgColor="bgColor">
|
|
<template #left>
|
|
<view class="text1">消息</view>
|
|
</template>
|
|
<template #right>
|
|
<image :src="adUser" style="width: 52rpx;height: 44rpx" @click="toadUser"></image>
|
|
</template>
|
|
</u-navbar>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script setup>
|
|
|
|
import fileUpload from './../common/file/fileUpload/index.vue'
|
|
import cropping from './../common/file/fileUpload/Cropping.vue'
|
|
|
|
import { ref, reactive, getCurrentInstance } from 'vue'
|
|
import { useStore } from 'vuex';
|
|
import { getLocalFileInfo } from 'qiniu-js/esm/utils';
|
|
const { proxy } = getCurrentInstance();
|
|
const store = useStore();
|
|
const imagesrc = ref();
|
|
const show1 = ref(false)
|
|
const iconConfig = proxy.iconConfig;
|
|
const adUser = iconConfig.adUser;
|
|
const fileTypeInfo1 = ref("image")
|
|
const fileTypeInfo2 = ref("video")
|
|
const QNDomain = store.state.user.QNDomain
|
|
const bgColor = ref('#6AA2FF');
|
|
|
|
const toadUser = () => {
|
|
proxy.$tab.navigateTo('/pages/message/adUser');
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
/* #ifndef APP-NVUE */
|
|
page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-sizing: border-box;
|
|
background-color: #fff;
|
|
min-height: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.text1 {
|
|
font-weight: 600;
|
|
font-size: 48rpx;
|
|
text-align: left;
|
|
color: #FFFFFF;
|
|
}
|
|
</style> |