diff --git a/App.vue b/App.vue index 99c3fbd..918527b 100644 --- a/App.vue +++ b/App.vue @@ -6,7 +6,8 @@ recentNativeData: 0 // 初始化一个全局变量 }, onLaunch: function(options) { - + uni.setStorageSync('AppUser', {}) + uni.setStorageSync('userInfo', {}) // console.log=()=>{} // === wgt 包启动诊断日志 === console.log('=== App Launch 开始 ===') diff --git a/components/message/list/message-nav-bar.vue b/components/message/list/message-nav-bar.vue index 95d5505..82a8a1d 100644 --- a/components/message/list/message-nav-bar.vue +++ b/components/message/list/message-nav-bar.vue @@ -1,589 +1,596 @@ + ::v-deep .uni-navbar__header-btns { + width: 100px !important; + flex: 1; + } + + ::v-deep .uni-navbar__header { + align-items: center !important; + } + + .bottom-box { + position: fixed; + bottom: 0; + left: 0; + right: 0; + height: 120rpx; + border-top: 1rpx solid #E7E7E7; + background-color: #ffffff; + z-index: 9; + + .item { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + + .icon { + width: 44rpx; + height: 44rpx; + } + + text { + font-size: 20rpx; + color: #333; + } + + .grey { + color: #999999; + } + } + } + + // 苹果机型样式 + .iphone-style { + .mg-r-30 { + margin-right: 60rpx; + } + + .mg-r-5 { + margin-right: 10rpx; + } + + .left-icon { + width: 40rpx; + height: 40rpx; + } + + .right-icon { + width: 48rpx; + height: 48rpx; + } + + .left-text { + font-size: 32rpx; + color: #0278E2; + margin-left: 10rpx; + } + + .center-text { + font-size: 32rpx; + color: #1a1a1a; + } + + .border-nav-bar-box { + ::v-deep .nav-bar-container { + box-shadow: 0 -0.3px 0 0 #B5B5B5 inset; + } + } + + .main-container { + .top-box { + padding: 20rpx 32rpx 0; + + .text { + color: #1A1A1A; + font-size: 64rpx; + font-weight: 700; + line-height: 72rpx; + } + + .search-box { + margin-top: 20rpx; + background-color: #EEEEF0; + height: 68rpx; + border-radius: 24rpx; + padding: 0 16rpx; + + .icon { + width: 32rpx; + height: 32rpx; + } + + .input { + margin: 0 14rpx; + + ::v-deep .input-placeholder { + color: #838383; + font-size: 32rpx; + } + } + } + } + } + + } + + // 小米机型样式 + .mi-style { + .right-icon { + width: 40rpx; + height: 40rpx; + margin-right: 30rpx; + } + + .main-container { + + .top-box { + padding: 0 22rpx 0; + + .text { + color: #1A1A1A; + font-size: 60rpx; + font-weight: 500; + } + + .search-box { + margin-top: 32rpx; + background-color: #F0F0F0; + height: 84rpx; + border-radius: 42rpx; + padding: 0 34rpx; + + .icon { + width: 32rpx; + height: 32rpx; + } + + .input { + margin: 0 18rpx; + + ::v-deep .input-placeholder { + color: #A9A9A9; + font-size: 32rpx; + } + } + } + } + } + + .add-message { + position: fixed; + bottom: 168rpx; + right: 44rpx; + width: 120rpx; + height: 120rpx; + } + + .bottom-placeholder { + height: 120rpx; + width: 100%; + } + + } + + // oppo机型 + .oppo-style { + .mg-r-52 { + margin-right: 52rpx; + } + + .mg-r-14 { + margin-right: 14rpx; + } + + .right-icon { + width: 48rpx; + height: 48rpx; + } + + .main-container { + + + .top-box { + padding: 16rpx 34rpx 0; + margin-bottom: 50rpx; + + .text { + color: #1A1A1A; + font-size: 64rpx; + font-weight: 900; + } + } + } + + .add-message { + width: 116rpx; + height: 116rpx; + position: fixed; + bottom: 200rpx; + right: 46rpx; + } + + .bottom-placeholder { + height: 148rpx; + width: 100%; + } + + + .bottom-box { + + background-color: #FAFAFA; + border-top: 1rpx solid #DCDCDC; + + .item { + .icon { + width: 48rpx; + height: 48rpx; + margin-bottom: 12rpx; + } + + text { + color: #191919; + } + + .grey { + color: #717171; + } + } + } + + } + + // 华为机型 + .huawei-style { + + ::v-deep .uni-navbar__header-container { + flex: 0; + } + + .left-text { + color: #1a1a1a; + font-size: 50rpx; + font-weight: 700; + margin-left: 10rpx; + } + + .right-icon { + width: 76rpx; + height: 76rpx; + margin: 0 8rpx; + } + + .border-nav-bar-box { + ::v-deep .nav-bar { + border-bottom: 1rpx solid #D1D1D1; + } + } + + .main-container { + + + .top-box { + padding: 40rpx 34rpx 0; + + .text { + color: #1A1A1A; + font-size: 60rpx; + font-weight: 700; + line-height: 60rpx; + } + + .second-text { + color: #646464; + font-size: 28rpx; + margin-top: 10rpx; + } + + .search-box { + margin-top: 40rpx; + background-color: #F4F4F4; + height: 76rpx; + border-radius: 38rpx; + padding: 0 24rpx; + + .icon { + width: 32rpx; + height: 32rpx; + } + + .input { + margin: 0 14rpx; + + ::v-deep .input-placeholder { + color: #646464; + font-size: 32rpx; + } + } + } + } + } + } + + // vivo机型 + .vivo-style { + ::v-deep .uni-navbar__header-container { + flex: 0; + } + + .m-r-34 { + margin-right: 34rpx !important; + } + + .right-icon { + width: 44rpx; + height: 44rpx; + margin-right: 52rpx; + } + + .left-text { + font-size: 54rpx; + color: #1A1A1A; + font-weight: 700; + margin-left: 30rpx; + } + + .main-container { + .top-box { + padding: 0 46rpx; + + .search-box { + position: relative; + margin-top: 70rpx; + background-color: #ffffff; + height: 76rpx; + border-radius: 38rpx; + padding: 0 10rpx; + + .icon { + width: 40rpx; + height: 40rpx; + flex-shrink: 0; + } + + .input { + flex: 1; + margin: 0 20rpx; + + ::v-deep .input-placeholder { + color: #9A9A9A; + font-size: 32rpx; + } + } + } + + .search-box::after { + position: absolute; + content: ''; + width: 100%; + height: 12rpx; + background-color: #F0F0F0; + bottom: 0; + left: 0; + } + } + } + } + \ No newline at end of file diff --git a/main.js b/main.js index 116b042..54f6606 100644 --- a/main.js +++ b/main.js @@ -36,7 +36,7 @@ export function createApp() { app.config.globalProperties.$system = plus.os.name; // #endif app.config.globalProperties.$systemInfo = systemInfo; - uni.setStorageSync('version', '1.0.7.sp5'); + uni.setStorageSync('version', '1.0.7.sp6'); app.config.globalProperties.$version = uni.getStorageSync('version'); // 环境:development→测试,production→正式(跟构建环境走,无需手改) const isTest = process.env.NODE_ENV === 'development';