当前位置:网站首页>Uniapp uses uviewui
Uniapp uses uviewui
2022-06-26 07:48:00 【GHUIJS】
One 、 download uViewUI, install scss plug-in unit
uView UI The published Sketch and Axure Design resources - DCloud Plug in market

Two 、 Direct copy uview-ui Folder to project root

3、 ... and 、 uni.scss IMPORT Global scss Variable file
@import 'uview-ui/theme.scss'; Four 、App.vue Introduce basic styles ( Be careful style Label needs to state scss Property support )
@import "uview-ui/index.scss";5、 ... and 、 main.js Global mount in
//uvue-ui
import uView from 'uview-ui';
Vue.use(uView); 6、 ... and 、pages.json To configure easycom The rules ( Introduce on demand )
{
"easycom": {
// Download and install
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
},
"pages": [
// ......
]
}7、 ... and 、 Directly reference... In the page
<u-picker v-model="isTimeShow" @confirm="checkQueryTime" mode="time" :params="params"></u-picker>export default {
data() {
return {
isTimeShow: false,
params: {
year: true,
month: true,
},
queryTime:''
}
},
timeClick() {
this.isTimeShow = true;
},
checkQueryTime(e) {
this.queryTime = `${e.year}-${e.month}`;
}
}
}

Reference resources :
边栏推荐
- What is the five levels of cultivation of MES management system
- Webrtc has become the official standard of W3C and IETF, and mobile terminal development
- Opencv mouse event + interface interaction drawing rectangle polygon selection ROI
- Multi interface switching in one UI of QT
- Orderly arrangement
- [industry cloud talk live room] tomorrow afternoon! Focus on digital intelligence transformation of the park
- Kalman filter_ Recursive Processing
- [UVM practice] Chapter 2: a simple UVM verification platform (5) build test cases
- Here is the command to display the disk space usage. Go ahead and pay attention to more wonderful things!
- [UVM practice] Chapter 2: a simple UVM verification platform (3) add various components to the verification platform
猜你喜欢

Jemter 壓力測試 -基礎請求-【教學篇】

MXNet对NIN网络中的网络的实现
![Jemter stress test - Basic request - [teaching]](/img/f4/36dbd80e89d96e1121a6e2b92d1d07.png)
Jemter stress test - Basic request - [teaching]

Web technology sharing | webrtc recording video stream

The first multi platform webcast of 2021ccf award ceremony pays tribute to the winners! CCF outstanding engineer
![Jemter stress test - basic requirements - [teaching]](/img/f4/36dbd80e89d96e1121a6e2b92d1d07.png)
Jemter stress test - basic requirements - [teaching]

Detailed explanation and code implementation of soft voting and hard voting mechanism in integrated learning

In interface testing, several methods to verify the success of deleting interfaces

Exploration and practice of incremental data Lake in station B

记一次开发 pgadmin 时执行 Building the Web Assets 遇到的依赖安装问题
随机推荐
Flower instruction WP
Redis (4) -- Talking about integer set
OSPF design principles, commands take H3C as an example
Jemter stress test - visualization tool support - [installation]
蓝桥杯嵌入式学习总结(新版)
[UVM practice] Chapter 2: a simple UVM verification platform (4) the ultimate masterpiece of UVM: sequence
Tsinghua Yaoban chendanqi won Sloan award! He is a classmate with last year's winner Ma Tengyu. His doctoral thesis is one of the hottest in the past decade
Record the dependent installation problems encountered in building the web assets when developing pgadmin
我想要股票账户优惠开户,如何操作?手机开户安全么?
Automatic backup of MySQL database in the early morning with Linux
Apache InLong毕业成为顶级项目,具备百万亿级数据流处理能力!
信息学奥赛一本通 1354:括弧匹配检验
Apache inlong graduated as a top-level project with a million billion level data stream processing capability!
Gavin teacher's insight on transformer live class - multi state transition of financial BOT and rasa interactive behavior analysis of Rasa project (52)
Jemter 壓力測試 -基礎請求-【教學篇】
Getdrawingcache of view is empty. Solution: interview questions for Android audio and video development
Is it safe for individuals to buy stocks with compass software? How to buy stocks
ECE 9203/9023 analysis
Install the local Google plug-in and watch the free video through the oil monkey script
[UVM basics] understanding of sequence and sequencer