.go-home{
position: fixed;
bottom: 10%;
right: 8%;
z-index: 888;
border-radius: 40px;
}
以上是對class='go-home'的按鈕設置的
<view class="go-home">
<van-button icon="wap-home-o" type="default" bindtap="tohome" />
</view>
.go-home{
position: fixed;
bottom: 10%;
right: 8%;
z-index: 888;
border-radius: 40px;
}
以上是對class='go-home'的按鈕設置的
<view class="go-home">
<van-button icon="wap-home-o" type="default" bindtap="tohome" />
</view>
一.Vue文件內容 <template> </template> <script> </script> <style> </style>