初始化 uniapp 小程序

This commit is contained in:
YunaiV
2021-11-24 23:33:06 +08:00
parent e2b76ee0e5
commit 6c4908e70e
85 changed files with 12478 additions and 0 deletions

View File

@ -0,0 +1,182 @@
/* #ifndef APP-PLUS-NVUE */
view,
scroll-view,
swiper,
swiper-item,
cover-view,
cover-image,
icon,
text,
rich-text,
progress,
button,
checkbox,
form,
input,
label,
radio,
slider,
switch,
textarea,
navigator,
audio,
camera,
image,
video {
box-sizing: border-box;
}
image{
display: block;
}
text{
line-height: 1;
/* font-family: Helvetica Neue, Helvetica, sans-serif; */
}
button{
padding: 0;
margin: 0;
background-color: rgba(0,0,0,0) !important;
}
button:after{
border: 0;
}
.bottom-fill{
height: constant(safe-area-inset-bottom);
height: env(safe-area-inset-bottom);
}
.fix-bot{
box-sizing: content-box;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
/* 边框 */
.round{
position: relative;
border-radius: 100rpx;
}
.round:after{
content: '';
position: absolute;
left: 0;
top: 0;
width: 200%;
height: 200%;
transform: scale(.5) translate(-50%,-50%);
border: 1px solid #878787;
border-radius: 100rpx;
box-sizing: border-box;
}
.b-b:after{
position: absolute;
z-index: 3;
left: 0;
top: auto;
bottom: 0;
right: 0;
height: 0;
content: '';
transform: scaleY(.5);
border-bottom: 1px solid #e0e0e0;
}
.b-t:before{
position: absolute;
z-index: 3;
left: 0;
top: 0;
right: 0;
height: 0;
content: '';
transform: scaleY(.5);
border-bottom: 1px solid #e5e5e5;
}
.b-r:after{
position: absolute;
z-index: 3;
right: 0;
top: 0;
bottom: 0;
width: 0;
content: '';
transform: scaleX(.5);
border-right: 1px solid #e5e5e5;
}
.b-l:before{
position: absolute;
z-index: 3;
left: 0;
top: 0;
bottom: 0;
width: 0;
content: '';
transform: scaleX(.5);
border-left: 1px solid #e5e5e5;
}
.b-b, .b-t, .b-l, .b-r{
position: relative;
}
/* 点击态 */
.hover-gray {
background: #fafafa !important;
}
.hover-dark {
background: #f0f0f0 !important;
}
.hover-opacity {
opacity: 0.7;
}
/* #endif */
.clamp {
/* #ifdef APP-PLUS-NVUE */
lines: 1;
/* #endif */
/* #ifndef APP-PLUS-NVUE */
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: block;
/* #endif */
}
.clamp2 {
/* #ifdef APP-PLUS-NVUE */
lines: 2;
/* #endif */
/* #ifndef APP-PLUS-NVUE */
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
/* #endif */
}
/* 布局 */
.row{
/* #ifndef APP-PLUS-NVUE */
display:flex;
/* #endif */
flex-direction:row;
align-items: center;
}
.column{
/* #ifndef APP-PLUS-NVUE */
display:flex;
/* #endif */
flex-direction: column;
}
.center{
/* #ifndef APP-PLUS-NVUE */
display:flex;
/* #endif */
align-items: center;
justify-content: center;
}
.fill{
flex: 1;
}
/* input */
.placeholder{
color: #999 !important;
}

View File

@ -0,0 +1,271 @@
@font-face {
font-family: "mix-icon";
font-weight: normal;
font-style: normal;
src: url('https://at.alicdn.com/t/font_1913318_2ui3nitf38x.ttf') format('truetype');
}
.mix-icon {
font-family: "mix-icon" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-fanhui:before {
content: "\e7d5";
}
.icon-shoujihaoma:before {
content: "\e7ec";
}
.icon-close:before {
content: "\e60f";
}
.icon-xingbie-nv:before {
content: "\e60e";
}
.icon-wuliuyunshu:before {
content: "\e7ed";
}
.icon-jingpin:before {
content: "\e608";
}
.icon-zhangdanmingxi01:before {
content: "\e637";
}
.icon-tixian1:before {
content: "\e625";
}
.icon-chongzhi:before {
content: "\e605";
}
.icon-wodezhanghu_zijinjilu:before {
content: "\e615";
}
.icon-tixian:before {
content: "\e6ab";
}
.icon-qianbao:before {
content: "\e6c4";
}
.icon-guanbi1:before {
content: "\e61a";
}
.icon-daipingjia:before {
content: "\e604";
}
.icon-daifahuo:before {
content: "\e6bd";
}
.icon-yue:before {
content: "\e600";
}
.icon-wxpay:before {
content: "\e602";
}
.icon-alipay:before {
content: "\e603";
}
.icon-tishi:before {
content: "\e662";
}
.icon-shoucang-1:before {
content: "\e607";
}
.icon-gouwuche:before {
content: "\e657";
}
.icon-shoucang:before {
content: "\e645";
}
.icon-home:before {
content: "\e60c";
}
.icon-bangzhu1:before {
content: "\e63d";
}
.icon-xingxing:before {
content: "\e70b";
}
.icon-shuxiangliebiao:before {
content: "\e635";
}
.icon-hengxiangliebiao:before {
content: "\e636";
}
.icon-guanbi2:before {
content: "\e7be";
}
.icon-down:before {
content: "\e65c";
}
.icon-arrow-top:before {
content: "\e63e";
}
.icon-xiaoxi:before {
content: "\e634";
}
.icon-saoma:before {
content: "\e655";
}
.icon-dizhi1:before {
content: "\e618";
}
.icon-ditu-copy:before {
content: "\e609";
}
.icon-lajitong:before {
content: "\e682";
}
.icon-bianji:before {
content: "\e60d";
}
.icon-yanzhengma1:before {
content: "\e613";
}
.icon-yanjing:before {
content: "\e65b";
}
.icon-mima:before {
content: "\e628";
}
.icon-biyan:before {
content: "\e633";
}
.icon-iconfontweixin:before {
content: "\e611";
}
.icon-shouye:before {
content: "\e626";
}
.icon-daifukuan:before {
content: "\e68f";
}
.icon-pinglun-copy:before {
content: "\e612";
}
.icon-lishijilu:before {
content: "\e6b9";
}
.icon-shoucang_xuanzhongzhuangtai:before {
content: "\e6a9";
}
.icon-share:before {
content: "\e656";
}
.icon-shezhi1:before {
content: "\e61d";
}
.icon-shouhoutuikuan:before {
content: "\e631";
}
.icon-dizhi:before {
content: "\e614";
}
.icon-yishouhuo:before {
content: "\e71a";
}
.icon-xuanzhong:before {
content: "\e632";
}
.icon-xiangzuo:before {
content: "\e653";
}
.icon-iconfontxingxing:before {
content: "\e6b0";
}
.icon-jia2:before {
content: "\e60a";
}
.icon-sousuo:before {
content: "\e7ce";
}
.icon-xiala:before {
content: "\e644";
}
.icon-xia:before {
content: "\e62d";
}
.icon--jianhao:before {
content: "\e60b";
}
.icon-you:before {
content: "\e606";
}
.icon-yk_yuanquan:before {
content: "\e601";
}
.icon-xing:before {
content: "\e627";
}
.icon-guanbi:before {
content: "\e71d";
}
.icon-loading:before {
content: "\e646";
}