g***@sina.com
g***@sina.com
  • 发布:2019-07-17 18:00
  • 更新:2022-04-09 11:11
  • 阅读:2019

titleNView 的 type 值为 transparent 时,左上角Logo图片也跟着渐变

分类:uni-app

详细问题描述

问题1:titleNView 的 type 值为 transparent 时,导航栏为透明渐变导航栏,但是tag里的logo也跟着透明了,这个问题在Android上正常,IOS有问题。
期望tag中的图片不要渐变

问题2:当有searchInput和tag同时在时候,searchInput会挡住tag,所以我用了空的button
{
"width": "90px",
"float": "left",
"color": "#fff",
"background": "rgba(0,0,0,0)"
},
期望searchInput可以设置宽度,或者不要挡住tag

重现步骤

"app-plus": {
"titleNView": {
"type": "transparent",
"searchInput": {
"backgroundColor": "rgba(245, 245, 245)",
"borderRadius": "16px",
"placeholder": "点击搜索商品名称,商品型号",
"disabled": true,
"placeholderColor": "#606266"
},
"tags": [{
"type":"default",
"tag": "img",
"src": "/static/logo.jpg",
"position": {
"left": "10px",
"top": "7px",
"width": "75px",
"height": "30px"
}
}
]
,
"buttons": [
{
"width": "90px",
"float": "left",
"color": "#fff",
"background": "rgba(0,0,0,0)"
},
{
"fontSrc": "/static/yticon.ttf",
"text": "\ue60d",
"fontSize": "26",
"color": "#ffffff",
"background": "rgba(0,0,0,0)"
}
]
}
}

2019-07-17 18:00 负责人:无 分享
已邀请:
g***@sina.com

g***@sina.com (作者)

难道这两个问题没人遇到吗

6***@qq.com

6***@qq.com

楼主解决这个问题了码,我现在也遇到这个问题

2***@qq.com

2***@qq.com

我右边的返回按钮都用不了

该问题目前已经被锁定, 无法添加新回复