{"pages":[{"path":"pages/login/login","style":{"topWindow":false// 当前页面不显示 topWindow"leftWindow":false// 当前页面不显示 leftWindow"rightWindow":false// 当前页面不显示 rightWindow}}],"topWindow":{"path":"responsive/top-window.vue",// 指定 topWindow 页面文件"style":{"height":...
然后我们打开 在里面有个pages ,和微信小程序一样 谁是最先那么就是启动页,这个自己弄。 然后有个style 属性 ,这个style属性就是设置这个页面的一些样式,注意是页面的 不是全局的,你尝试把 navigationBarTitleText 更换一下,这个就是页面的标题,enablePullDownRefresh 表示是否 下拉刷新 默认是假,这些都和微信小程...
"pages": [ //pages数组中第一项表示应用启动页,{"path":"pages/main/main", "style": { "navigationBarTitleText": "沉浸式透明导航栏", "navigationStyle": "custom", // 取消本页面的导航栏 "app-plus": { "animationType": "fade-in", // 设置fade-in淡入动画,为最合理的动画类型 "background...
typescript // pages.config.ts import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'; export default defineUniPages({ pages: [ // 在这里定义你的页面路由 { path: 'pages/index/index', style: { navigationBarTitleText: '首页', }, }, // 其他页面... ], globalStyle: { na...
<component-goods-list :propData="{ style_type: 2, goods_list: plugins_seckill_data.data.goods }" :propLabel="plugins_label_data" :propCurrencySymbol="currency_symbol" :propIsCartParaCurve="true" propSource="index" :propOpenCart="false"></component-goods-list> </view> <!-- ...
*"type": "popup", 这里不需要*/ "style": { "position": "absolute", "height": "150rpx", "bottom": "0rpx" } }], "titleNView": { //导航栏 "type": "transparent", //透明渐变导航栏 "autoBackButton": true, //标题栏控件是否显示左侧返回按钮 "buttons": [{ //自定义按钮 "type":...
// pages.config.tsimport{defineUniPages}from'@uni-helper/vite-plugin-uni-pages'exportdefaultdefineUniPages({// 你也可以定义 pages 字段,它具有最高的优先级。pages:[],globalStyle:{navigationBarTextStyle:'black',navigationBarTitleText:'@uni-helper',},}) ...
问题描述 tabBar 的list 如不配置pages 数组中的第一个项,tabbar将不显示 复现步骤 "pages": [ // pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/home/home", "style": { "navigationBarTitleText": "首页", "enab
"type": "popup", "style": { "margin": "auto", "width": "80%", "height": "600rpx" } }, { "id": "video_mask", "path": "subnvue/subnvue/video-mask", "style": { "position": "absolute", "bottom": "30px", "left": "0", "width": "230px", "...
"type": "popup", "style": { "position": "dock", "height": "500rpx", "bottom": 0 } }] } } }, { "path": "pages/doc/network/network", "style": { // #ifdef H5 "titleNView": false, // #endif "navigationBarTitleText": "未能连接到互联网", "app-pl...