yxxh5/src/App.vue

48 lines
787 B
Vue

<script>
export default {
onLaunch: function () {
console.log("App Launch");
},
onShow: function () {
console.log("App Show");
},
onHide: function () {
console.log("App Hide");
},
};
</script>
<style lang="scss">
/*每个页面公共css */
@import "uview-ui/index.scss";
// 公共样式
page {
color: #251b1d;
font-family: PingFang SC-Regular, PingFang SC;
font-size: 14px;
height: 100%;
}
.overflowEllipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.status_bar {
height: var(--status-bar-height);
width: 100%;
}
.moreEllipsis {
letter-spacing: 0;
overflow: hidden;
display: -webkit-box;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
/*要显示的行数*/
-webkit-box-orient: vertical;
}
</style>