开发工具模拟器和真机调试不一样?
一个是宫格图没加载出来,还有一个是tabBar颜色的问题
手机是小米8SE,muiu12
宫格代码:
<view class='grid-item-container'>
<block wx:for="{{grids2}}" wx:key="index">
<view class='grid-item-child'>
<view class="grid_v">
<image src="{{item.image}}" class="grid_image" ></image>
<text class='grid-item-label'>{{item.text}}</text>
</view>
</view>
</block>
</view>
tabBar代码如下:
“tabBar”: {
"borderStyle":"white",
"color": "#000000",
"selectedColor": "#D3D3D3",
"backgroundColor": "000000",
"list": [{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "images/index.png",
"selectedIconPath": "images/index1.png"
},
{
"pagePath": "pages/user/user",
"text": "我的",
"iconPath": "images/user.png",
"selectedIconPath": "images/user1.png"
}
]
},
1 回复
你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)