当前位置:网站首页>Installation and functions of uview
Installation and functions of uview
2022-06-27 07:18:00 【Talking characters】
Components - Built in style
Components - Download to install
- download uview-ui Catalog
- introduce
// main.js
import uView from "uview-ui";
Vue.use(uView);
/* uni.scss */
@import 'uview-ui/theme.scss';
/* App.vue */
<style lang="scss">
/* Pay attention to the first line , At the same time style Label to join lang="scss" attribute */
@import "uview-ui/index.scss";
</style>
- To configure easycom Component mode
// pages.json
{
"easycom": {
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
},
// This is what we already have
"pages": [
// ......
]
}
- vue.config
module.exports = {
// Configure path alias
configureWebpack: {
devServer: {
disableHostCheck: true
}
}
}
Components - Built in style
- Words are omitted
- Reset button style
- Breakpoint form
- Frame ( have ios compatible )
u-border
Components - matters needing attention
Background color problem
Trap of assigning device information
Equipment height problemThe main package of the applet is too large to preview and publish
::v-deep The problem of writing
Uview js Tools
- toast() Tooltip
- os() Return platform information andriod or ios
- sys() Equipment information
- http Request encapsulation tutorial
- api centralized management
- button Throttling effect
- Object depth cloning
- Object depth merge
- Time format
- Route encapsulation
- Array scrambling
- Generate a globally unique identity
- Color conversion
- Color value
- Object turn url Parameters
- Rule checking
- MD5 encryption
- Random number
- Remove the space
- obtain dom node , Change scroll bar position
- App sharing
Rich templates
guide
- Extended icons iconfont
- Custom theme
- Global variables
globalData
vuex
边栏推荐
- Idea method template
- YOLOv6又快又准的目标检测框架 已开源
- 获取地址url中的query参数指定参数方法
- Bean拷贝详解
- The interviewer of a large front-line factory asked: do you really understand e-commerce order development?
- POI replacing text and pictures in docx
- vs怎么配置OpenCV?2022vs配置OpenCV详解(多图)
- 攻防演习防御体系构建之第二篇之应对攻击的常用策略
- Interviewer: do you have any plan to request a lot of data that does not exist in redis to destroy the database?
- 面试官:用分库分表如何做到永不迁移数据和避免热点问题?
猜你喜欢

Configuring FTP, enterprise official website, database and other methods for ECS

Redis 缓存穿透、缓存击穿、缓存雪崩

Rust Async: smol源码分析-Executor篇

The fourth question of the 299th weekly match 6103 Minimum fraction of edges removed from the tree

mssql如何使用语句导出并删除多表数据

Interviewer: do you have any plan to request a lot of data that does not exist in redis to destroy the database?

Interviewer: please introduce cache penetration, cache null value, cache avalanche and cache breakdown, which are easy to understand

2022 CISP-PTE(一)文件包含

【软件工程】山东大学软件工程复习提纲

进程终止(你真的学会递归了吗?考验你的递归基础)
随机推荐
Tar: /usr/local: cannot find tar in the Archive: due to the previous error, it will exit in the last error state
Instance tunnel use
Basic SQL operations in tidb
mysql关于自增和不能为空
How to implement redis cache of highly paid programmers & interview questions series 116? How do I find a hot key? What are the possible problems with caching?
OPPO面试整理,真正的八股文,狂虐面试官
云服务器配置ftp、企业官网、数据库等方法
One year's experience of technical personnel in Entrepreneurship
获取地址url中的query参数指定参数方法
vs怎么配置OpenCV?2022vs配置OpenCV详解(多图)
win10远程连接云服务器
Thesis reading skills
[graduation season] graduation is the new beginning of your life journey. Are you ready
一個人管理1000臺服務器?這款自動化運維工具一定要掌握
一线大厂面试官问:你真的懂电商订单开发吗?
Nature、science、cell旗下刊物
SQL考勤查询间隔一小时
Ora-00909: invalid number of parameters, caused by concat
2022 CISP-PTE(二)SQL注入
SQL injection bypass (I)