1 Star 0 Fork 55

kubesre / 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>
1
https://gitee.com/kubesre/uniapp-u-view-base.git
git@gitee.com:kubesre/uniapp-u-view-base.git
kubesre
uniapp-u-view-base
uniapp-uView-Base
master

搜索帮助