wx.showActionSheet弹窗item字体颜色分开定义

发布于 6 年前作者 bsu13701 次浏览最后编辑 6 年前来自 ask

wx.showActionSheet({

itemList: [‘解除绑定后银行服务将不可用’, ‘确定解绑该银行卡’],

itemColor: [‘#FC7474’,‘#ADADAD’],//希望改成这种StringArray类型,这样可以定义每一条item的字体颜色,字体大小也可以自定义

cancleColor:‘#ADADAD’ //希望取消按钮字体颜色也可以自定义,字体大小也可以自定义

success: function (res) {

console.log(res.tapIndex)

},

fail: function (res) {

console.log(res.errMsg)

}

})

1 回复
yang44
yang441 楼4 年前

暂不支持