根据插件扩展参数,现有插件不支持自定义样式。
但是,方法总是比困难多得多,例如可以在opacity:0中设置插件按钮的透明度,在绝对定位和z-index编写的容器样式上覆盖按钮。 这将在单击容器时启动插件。 具体代码如下。
view class=' service-container ' cell class=' service-cell ' styletype='2' plug id=' plug id '/* * styletype为2时pot }.service-cell { position : absolute; top: 0; z-index: 2; }**插件按钮必须在此处配置。 此外,点击后的透明度也必须为0 *.cell-- bubble { width 3360100 rpx! 导入; height: 100rpx! 导入; opacity: 0; }.cell---BTN-hover { opacity : 导入; }