优化游戏界面

This commit is contained in:
tangxinyue 2026-07-09 14:43:11 +08:00
parent 2c28dd5cfd
commit 6242e47490
3 changed files with 5 additions and 5 deletions

View File

@ -29,7 +29,7 @@ export function createApp() {
app.config.globalProperties.$system = plus.os.name;
// #endif
app.config.globalProperties.$systemInfo = systemInfo
uni.setStorageSync('version', '1.0.6.sp20')
uni.setStorageSync('version', '1.0.6.sp21')
app.config.globalProperties.$version = uni.getStorageSync('version')
app.use(globalMethods);
return {

View File

@ -135,9 +135,9 @@ const characterImgWidth = ref(300); // 初始宽度兜底
const characterStyle = computed(() => {
if (hePingData.type == 1) {
return `position: absolute; left: 50%; bottom:43%; transform: translate(-50%,50%); height: 300px; width: ${characterImgWidth.value}px;`;
return `position: absolute; left: 50%; bottom:43%; transform: translate(-50%,50%); height: 300px; width: 300px;`;
} else {
return `position: absolute; left: 300px; bottom: 50%;transform: translate(-50%,50%); height: 300px; width: ${characterImgWidth.value}px;`;
return `position: absolute; left: 300px; bottom: 50%;transform: translate(-50%,50%); height: 300px; width: 300px;`;
}
});

View File

@ -196,9 +196,9 @@ const characterImgHeight = ref(350); // 初始高度兜底
const characterStyle = computed(() => {
if (wuweiData.type == 1) {
return `position: absolute; right: 77px; bottom: 0; width: 300px; height: ${characterImgHeight.value}px;`;
return `position: absolute; right: 77px; bottom: 0; width: 300px; height: 350px;`;
} else {
return `position: absolute; right: 210px; bottom: 0; width: 300px; height: ${characterImgHeight.value}px;`;
return `position: absolute; right: 210px; bottom: 0; width: 300px; height: 350px;`;
}
});