未去掉前
去掉后
代码
<view class="footer">
<view class="toLead">
<form name='pushMsgFm' report-submit bindsubmit='agree' class='fromdiv'>
<button form-type="submit" class='btn'>同意</button>
</form>
</view>
<view class="toLead" >
<form name='pushMsgFm' report-submit bindsubmit='disagree' class='fromdiv'>
<button form-type="submit" class='btn'>不同意</button>
</form>
</view>
</view>
button[class="btn"]::after {
background: transparent;
background-color: transparent;
margin: 0;
padding: 0;
border: 0;
outline: none;
}
.btn{
background: white;
}