提交 9e2deaf8 编写于 作者: Anne_LXM's avatar Anne_LXM

调整小屏适配宽度

上级 ff71d8eb
...@@ -16,10 +16,10 @@ ...@@ -16,10 +16,10 @@
class="item"> class="item">
<template v-for="childMenuItem in menuItem.items" :key="childMenuItem!.id"> <template v-for="childMenuItem in menuItem.items" :key="childMenuItem!.id">
<view v-if="childMenuItem.items.length==0" style="padding-left: 18px;" <view v-if="childMenuItem.items.length==0" style="padding-left: 18px;"
:class="{'uni-navigate-item':childMenuItem.path !== 'set-tab-bar' || windowWidth <= 790}" :class="{'uni-navigate-item':childMenuItem.path !== 'set-tab-bar' || windowWidth <= 768}"
hover-class="is--active" hover-class="is--active"
@click="goPage(`/${childMenuItem.path}`)"> @click="goPage(`/${childMenuItem.path}`)">
<template v-if="childMenuItem.path !== 'set-tab-bar' || windowWidth <= 790"> <template v-if="childMenuItem.path !== 'set-tab-bar' || windowWidth <= 768">
<text class="uni-navigate-text" <text class="uni-navigate-text"
:class="{'left-win-active': leftWinActive === childMenuItem.path && hasLeftWin}" :class="{'left-win-active': leftWinActive === childMenuItem.path && hasLeftWin}"
>{{ childMenuItem.style["navigationBarTitleText"] }}</text> >{{ childMenuItem.style["navigationBarTitleText"] }}</text>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册