xx-worker-applets/src/App.vue

118 lines
2.2 KiB
Vue

<script>
export default {
onLaunch: function () {
this.$store.dispatch("system/initConfig");
},
onShow: function () {},
onHide: function () {},
};
</script>
<style lang="less">
.limit-line {
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}
.clamp-1 {
-webkit-line-clamp: 1;
}
.clamp-2 {
-webkit-line-clamp: 2;
}
.clamp-3 {
-webkit-line-clamp: 3;
}
.clamp-4 {
-webkit-line-clamp: 4;
}
.clamp-5 {
-webkit-line-clamp: 5;
}
/* #ifdef H5 */
// 自定义tabBar大小
.uni-tabbar {
.uni-tabbar__bd {
height: @tabBarHeight !important;
.uni-tabbar__icon {
width: @tabBarIconWidth !important;
height: @tabBarIconHeight !important;
}
.uni-tabbar__label {
font-size: @tabBarFontSize !important;
}
}
}
/* #endif */
// 通用样式
.placeholder-style-1 {
color: #bebebe;
}
.placeholder-style-2 {
color: #909090;
}
.placeholder-style-3 {
color: #c9c9c9;
}
.placeholder-style-4 {
color: #999999;
}
.placeholder-style-5 {
color: #666666;
}
// 沉浸样式
.immerse-image {
position: absolute;
top: 0;
width: 100%;
line-height: 0;
.image {
width: 100%;
height: 590rpx;
}
}
.immerse-main {
position: relative;
width: 100%;
box-sizing: border-box;
.head-title {
width: 100%;
text-align: center;
padding: 30rpx 0 40rpx 0;
.title {
font-size: 56rpx;
font-weight: bold;
font-style: italic;
color: #ffffff;
line-height: 56rpx;
}
.color {
color: #ffce25;
}
.desc {
display: block;
font-size: 24rpx;
font-weight: bold;
color: #ffffff;
line-height: 24rpx;
margin-top: 42rpx;
}
}
}
.common-save-form-btn {
width: 100%;
padding: 60rpx 0;
.btn {
width: 570rpx;
height: 98rpx;
background: #8b9beb;
border-radius: 49rpx;
margin: 0 auto;
font-size: 36rpx;
text-align: center;
line-height: 98rpx;
color: #ffffff;
}
}
</style>