Commit 3eec844f by kyle

卡顿问题

parent 2334811a
......@@ -450,38 +450,38 @@
}
],
// "tabBar": {
// "color": "#7A7E83", // tab 上的文字默认颜色
// "selectedColor": "#7A7E83", // tab 上的文字选中时的颜色
// "borderStyle": "black", // tabbar 上边框的颜色,可选值 black/white
// "backgroundColor": "#ffffff", // tab 的背景色
// "fontSize":"28rpx",
// "iconWidth":"60rpx",
// "height":"120rpx",
// "list": [{ // 最少2个、最多5 tab
// "pagePath": "pages/index/index", // 页面路径,必须在 pages 中先定义
// "iconPath": "static/tabbar/home.png", // 图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px
// "selectedIconPath": "static/tabbar/home_active.png", // 选中时的图片路径
// "text": "首页" // tab 上按钮文字
// },
// // { // 最少2个、最多5 tab
// // "pagePath": "pages/index/index", // 页面路径,必须在 pages 中先定义
// // "iconPath": "static/tabbar/sfp.png", // 图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px
// // "selectedIconPath": "static/tabbar/sfp_active.png", // 选中时的图片路径
// // "text": "SFP智能财策" // tab 上按钮文字
// // },
// { // 最少2个、最多5 tab
// "pagePath": "pages/index/index", // 页面路径,必须在 pages 中先定义
// "iconPath": "static/tabbar/cffp.png", // 图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px
// "selectedIconPath": "static/tabbar/cffp_active.png", // 选中时的图片路径
// "text": "CFFP认证" // tab 上按钮文字
// },{
// "pagePath": "pages/personalCenter/personalCenter",
// "iconPath": "static/tabbar/my.png",
// "selectedIconPath": "static/tabbar/my_active.png",
// "text": "我的"
// }]
// },
"tabBar": {
"color": "#7A7E83", // tab 上的文字默认颜色
"selectedColor": "#7A7E83", // tab 上的文字选中时的颜色
"borderStyle": "black", // tabbar 上边框的颜色,可选值 black/white
"backgroundColor": "#ffffff", // tab 的背景色
"fontSize":"28rpx",
"iconWidth":"60rpx",
"height":"120rpx",
"list": [{ // 最少2个、最多5 tab
"pagePath": "pages/index/index", // 页面路径,必须在 pages 中先定义
"iconPath": "static/tabbar/home.png", // 图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px
"selectedIconPath": "static/tabbar/home_active.png", // 选中时的图片路径
"text": "首页" // tab 上按钮文字
},
{ // 最少2个、最多5 tab
"pagePath": "pages/product/product", // 页面路径,必须在 pages 中先定义
"iconPath": "static/tabbar/sfp.png", // 图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px
"selectedIconPath": "static/tabbar/sfp_active.png", // 选中时的图片路径
"text": "SFP智能财策" // tab 上按钮文字
},
{ // 最少2个、最多5 tab
"pagePath": "pages/courselist/courselist", // 页面路径,必须在 pages 中先定义
"iconPath": "static/tabbar/cffp.png", // 图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px
"selectedIconPath": "static/tabbar/cffp_active.png", // 选中时的图片路径
"text": "CFFP认证" // tab 上按钮文字
},{
"pagePath": "pages/personalCenter/personalCenter",
"iconPath": "static/tabbar/my.png",
"selectedIconPath": "static/tabbar/my_active.png",
"text": "我的"
}]
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
......
......@@ -11,7 +11,7 @@
</view>
</view>
</view>
<tabBar :currentPage="currentPage" v-if="onlyShowList!=0"></tabBar>
<!-- <tabBar :currentPage="currentPage" v-if="onlyShowList!=0"></tabBar> -->
</template>
<script>
......
......@@ -48,7 +48,7 @@
</view>
<courselist :tagIds="[1111]" :onlyShowList="0"></courselist>
</view>
<tabBar :currentPage="currentPage"></tabBar>
<!-- <tabBar :currentPage="currentPage"></tabBar> -->
</view>
<uni-popup ref="popup" type="top" background-color="#fff">
<view class="description">
......
......@@ -47,7 +47,7 @@
</view>
</view>
</view>
<tabBar :currentPage="currentPage"></tabBar>
<!-- <tabBar :currentPage="currentPage"></tabBar> -->
<!-- 我的邀请码 -->
<view class="inviteQrcodeContainer">
<uni-popup ref="popup1" background-color="#fff">
......
......@@ -22,7 +22,7 @@
</view>
</view>
<tabBar :currentPage="currentPage" ></tabBar>
<!-- <tabBar :currentPage="currentPage" ></tabBar> -->
</view>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment