css浮动按钮设置
.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>
css body \{ margin: 0; height: 100vh; display: flex; justify-content: center; alig
实现案例 要实现如上图所示,(把 HOME ABOUT GARLLERY EVENT CONACT 展示在导航栏汇中) html代码实现 <!DOCTYP
<template> <div class="main-plus" ref="dragBox" @click="goItem" @touchstart="t
还没有评论,来说两句吧...