fix: 修复安卓手机异常

This commit is contained in:
anonymous
2025-01-16 14:17:01 +08:00
parent f3d9613e8a
commit cb1f1b460a
11 changed files with 20 additions and 22 deletions
-1
View File
@@ -35,7 +35,6 @@ const userStore = useUserStore()
/* 覆盖 uniapp 自带rpx效果 */
html {
font-family: 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 16px !important;
}
/* stylelint-disable-next-line selector-type-no-unknown */
#app {
+1 -6
View File
@@ -22,9 +22,4 @@ const handleClickLeft = () => {
}
</script>
<style lang="scss">
:deep(.wd-navbar) {
--wot-navbar-title-font-size: 32rpx;
// --wot-navbar-title-font-weight: 400;
}
</style>
<style lang="scss"></style>
+1 -1
View File
@@ -31,7 +31,7 @@ onLoad(async () => {
<style>
.official-community-page {
min-height: 100vh;
padding-bottom: 100rpx;
padding-bottom: 50px;
background-image: url('@/static/images/bg.png');
background-position: top;
background-size: cover;
+1 -1
View File
@@ -123,7 +123,7 @@ watch(
<style lang="scss" scoped>
.team-page {
min-height: 100vh;
padding-bottom: 100rpx;
padding-bottom: 50px;
background-image: url('@/static/images/bg.png');
background-position: top;
background-size: cover;
+1 -1
View File
@@ -120,7 +120,7 @@ onLoad(() => {
.login-container {
box-sizing: border-box;
min-height: 100vh;
padding-bottom: 200rpx;
padding-bottom: 50px;
background-image: url('@/static/images/login-bg.png');
background-repeat: no-repeat;
background-size: cover;
+3 -3
View File
@@ -66,7 +66,7 @@
</view>
<wd-popup
v-model="showRealName"
custom-style="border-radius:32rpx;"
custom-style="border-radius:0.2rem;"
:close-on-click-modal="false"
lockScroll
>
@@ -77,7 +77,7 @@
@click="handleRealName"
/>
</wd-popup>
<wd-popup closable v-model="showReward" custom-style="border-radius:32rpx;">
<wd-popup closable v-model="showReward" custom-style="border-radius:0.2rem;">
<image
class="w-300 h-416"
src="@/static/images/reward-bg.jpg"
@@ -158,7 +158,7 @@ onShow(async () => {
<style>
.home-page {
min-height: 100vh;
padding-bottom: 100rpx;
padding-bottom: 50px;
background-image: url('@/static/images/bg.png');
background-position: top;
background-size: cover;
+4 -4
View File
@@ -120,13 +120,13 @@ const onInvest = mergeStep(async (item: any) => {
background-image: url('@/static/images/invest/bg.png');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: top -80rpx center;
background-position: top -40px center;
background-size: 100%;
}
.invest-item {
width: 690rpx;
height: 352rpx;
margin: 0 auto 30rpx;
width: 345px;
height: 176px;
margin: 0 auto 15px;
background-image: url('@/static/images/invest/item-bg.png');
background-repeat: no-repeat;
background-position: center;
+1 -1
View File
@@ -114,7 +114,7 @@ onLoad(() => {
.login-container {
box-sizing: border-box;
min-height: 100vh;
padding-bottom: 200rpx;
padding-bottom: 50px;
background-image: url('@/static/images/login-bg.png');
background-repeat: no-repeat;
background-size: cover;
+1 -1
View File
@@ -174,7 +174,7 @@ const handleConvert = () => {
<style lang="scss" scoped>
.my-page {
min-height: 100vh;
padding-bottom: 100rpx;
padding-bottom: 50px;
background-image: url('@/static/images/my/bg.jpg');
background-position: top;
background-size: cover;
+1 -1
View File
@@ -176,7 +176,7 @@ onLoad(async (options) => {
.login-container {
box-sizing: border-box;
min-height: 100vh;
padding-bottom: 200rpx;
padding-bottom: 50px;
background-image: url('@/static/images/login-bg.png');
background-repeat: no-repeat;
background-size: cover;
+6 -2
View File
@@ -113,12 +113,16 @@ export default ({ command, mode }) => {
css: {
postcss: {
plugins: [
autoprefixer(),
autoprefixer({
overrideBrowserslist: ['Android >= 4.0', 'iOS >= 8'],
}),
viewport({
mobileUnit: 'rem',
appSelector: '#app',
// selectorBlackList: ['wd-'],
viewportWidth: 375,
maxDisplayWidth: 600,
rootContainingBlockSelectorList: ['van-tabbar', 'van-popup'],
// rootContainingBlockSelectorList: ['wd-navbar__title'],
border: true,
}),
],