![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
未来悦,事享成
这个作者很懒,什么都没留下…
展开
-
vue前端引入UI,修改单页面标题,配置访问服务路径
vue前端引入UI,配置访问服务路径 以element-ui为例,执行 npm i element-ui src/main.js中加入代码 import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' Vue.use(ElementUI) 在src/router/index.js中配置访问路由 routes: [ { path: '/', name: 'HelloWorl原创 2021-01-21 11:11:48 · 527 阅读 · 0 评论 -
前端元素固定到底部
div中某div固定到底部 <div style="height:400upx;width:100%;position: relative;"> <div style="height:100upx;width:100%;background-color: #29BC6C;"> </div> <div style="height:100upx;width:100%;background-color: #29BC6C;position: absolut原创 2020-12-03 10:58:11 · 436 阅读 · 0 评论 -
微信小程序图片布满整个窗口
微信小程序图片布满整个窗口 在做微信小程序或者微信公众号前端时候,经常遇到一张图片当做背景,布局整个窗口,有时图片不能占满窗口 <view class="imagediv"> <image src="/static/image/start.png" mode="widthFix" class="imagetp"/> </view> 设置样式 .imagediv{ position: absolute; width: 100%; height: 100%;原创 2020-10-09 13:28:37 · 1866 阅读 · 1 评论