Эх сурвалжийг харах

ci: 测试高斯模糊及旋转设置

liangan 2 өдөр өмнө
parent
commit
cd92215483

+ 11 - 0
manifest.config.ts

@@ -39,6 +39,17 @@ export default defineManifestConfig({
   },
   /* 5+App特有相关 */
   'app-plus': {
+    // safearea: {
+    //   bottom: {
+    //     offset: 'none',
+    //   },
+    // },
+    screenOrientation: [
+      'portrait-primary',
+      'portrait-secondary',
+      'landscape-primary',
+      'landscape-secondary',
+    ],
     usingComponents: true,
     nvueStyleCompiler: 'uni-app',
     compilerVersion: 3,

+ 1 - 1
package.json

@@ -4,7 +4,7 @@
   "version": "3.2.0",
   "packageManager": "pnpm@10.10.0",
   "description": "BandhuBuy - APP",
-  "update-time": "2025-09-26",
+  "update-time": "2025-09-30",
   "author": {
     "name": "feige996",
     "zhName": "菲鸽",

+ 9 - 0
pages.config.ts

@@ -7,8 +7,15 @@ export default defineUniPages({
     'navigationBarBackgroundColor': '#f8f8f8',
     'navigationBarTextStyle': 'black',
     'backgroundColor': '#FFFFFF',
+    'pageOrientation': 'auto',
     'app-plus': {
       scrollIndicator: 'none',
+      screenOrientation: [
+        'portrait-primary', // 可选,字符串类型,支持竖屏
+        'portrait-secondary', // 可选,字符串类型,支持反向竖屏
+        'landscape-primary', // 可选,字符串类型,支持横屏
+        'landscape-secondary', // 可选,字符串类型,支持反向横屏
+      ],
     },
   },
   easycom: {
@@ -33,6 +40,8 @@ export default defineUniPages({
     color: '#999999',
     selectedColor: '#e61b28',
     backgroundColor: '#ffffff',
+    // backgroundColor: 'rgba(255, 255, 255, 0.6)',
+    // blurEffect: 'extralight',
     borderStyle: '#c1c1c1',
     height: '50px',
     fontSize: '10px',

+ 6 - 0
src/manifest.json

@@ -92,6 +92,12 @@
         }
       }
     },
+    "screenOrientation": [
+      "portrait-primary",
+      "portrait-secondary",
+      "landscape-primary",
+      "landscape-secondary"
+    ],
     "compatible": {
       "ignoreVersion": true
     },

+ 9 - 2
src/pages.json

@@ -5,8 +5,15 @@
     "navigationBarBackgroundColor": "#f8f8f8",
     "navigationBarTextStyle": "black",
     "backgroundColor": "#FFFFFF",
+    "pageOrientation": "auto",
     "app-plus": {
-      "scrollIndicator": "none"
+      "scrollIndicator": "none",
+      "screenOrientation": [
+        "portrait-primary",
+        "portrait-secondary",
+        "landscape-primary",
+        "landscape-secondary"
+      ]
     }
   },
   "easycom": {
@@ -21,7 +28,7 @@
     "color": "#999999",
     "selectedColor": "#e61b28",
     "backgroundColor": "#ffffff",
-    "borderStyle": "#c1c1c1",
+    "borderStyle": "white",
     "height": "50px",
     "fontSize": "10px",
     "iconWidth": "24px",

+ 2 - 0
src/pages/income/income.vue

@@ -214,6 +214,8 @@ onShow(() => {
       </view>
     </view>
   </z-paging>
+  <!-- 在页面最下方添加占位视图,高度等于 tabBar 的高度 -->
+  <!-- <view class="edgeInsetBottom" /> -->
 </template>
 
 <style lang="scss" scoped>

+ 2 - 0
src/pages/index/index.vue

@@ -411,6 +411,8 @@ onShow(() => {
     </template>
     <wd-curtain v-model="curtain.show" :src="curtain.img" :to="curtain.link" close-position="bottom" :width="280" @click="curtainClick" />
   </z-paging>
+  <!-- 在页面最下方添加占位视图,高度等于 tabBar 的高度 -->
+  <!-- <view class="edgeInsetBottom" /> -->
 </template>
 
 <style lang="scss" scoped>

+ 2 - 0
src/pages/mine/mine.vue

@@ -242,4 +242,6 @@ onLoad(() => {
       </view>
     </view>
   </view>
+  <!-- 在页面最下方添加占位视图,高度等于 tabBar 的高度 -->
+  <!-- <view class="edgeInsetBottom" /> -->
 </template>

+ 12 - 0
src/style/index.scss

@@ -29,3 +29,15 @@ page {
 .wd-tabs__nav-item.is-active {
   font-weight: bold !important;
 }
+
+.edgeInsetBottom {
+  width: 750rpx;
+  height: var(--window-bottom);
+}
+
+.fixedView {
+  position: fixed;
+  width: 750rpx;
+  height: 30px;
+  bottom: var(--window-bottom);
+}