1 Star 0 Fork 56

Rice/uniapp-uView-Base

forked from ⺗涛/uniapp-uView-Base 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
App.vue 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
⺗涛 提交于 2023-04-16 19:14 . 增加全局通用的css
<script>
import common from './utils/wxApplet/common.js'
export default {
onLaunch: function() {
console.log('>>>>>>>>>>>>>>>会话开始<<<<<<<<<<<<<<')
common.wxLogin();
},
onShow: function() {},
onHide: function() {}
}
</script>
<style lang="scss">
@import "uview-ui/index.scss";
page {
background: $u-bg-color;
color: $u-main-color;
font-size: 28rpx;
height: 100%;
min-height: 100%;
}
view,
navigator,
image,
text,
scroll-view,
swiper,
swiper-item,
input,
textarea,
button {
box-sizing: border-box;
}
/* 文字避头尾法则 */
.btw {
table-layout: fixed;
word-wrap: break-word;
word-break: normal;
text-align: justify;
text-justify: inter-ideograph;
}
.bg-white {
background: #fff;
}
.font-weight {
font-weight: bold;
}
.u-flex-center {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
button {
margin: 0;
padding: 0;
line-height: 1.5;
font-size: 28rpx;
background-color: transparent;
border-radius: 0;
position: relative;
}
button::after {
border: none;
}
// 指定按钮按下去的样式类
.button-hover {
transform: translate(1rpx, 1rpx);
}
</style>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mizhaolei/uniapp-u-view-base.git
git@gitee.com:mizhaolei/uniapp-u-view-base.git
mizhaolei
uniapp-u-view-base
uniapp-uView-Base
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385