|
|
<script>
|
|
|
export default {
|
|
|
onLaunch: function() {
|
|
|
console.log('App Launch')
|
|
|
},
|
|
|
onShow: function() {
|
|
|
console.log('App Show')
|
|
|
},
|
|
|
onHide: function() {
|
|
|
console.log('App Hide')
|
|
|
}
|
|
|
}
|
|
|
export default {
|
|
|
onLaunch: function () {
|
|
|
console.log('App Launch')
|
|
|
},
|
|
|
onShow: function () {
|
|
|
console.log('App Show')
|
|
|
},
|
|
|
onHide: function () {
|
|
|
console.log('App Hide')
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
|
/* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
|
|
|
@import "uview-plus/index.scss";
|
|
|
.flexJ {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
.flexC {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
.flexA {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
.flexV {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
.flexW {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
justify-content: space-between;
|
|
|
}
|
|
|
.ples {
|
|
|
color: #000000e6;
|
|
|
font-size: 30rpx;
|
|
|
font-weight: 700;
|
|
|
}
|
|
|
.lineFeed {
|
|
|
word-wrap: break-word;
|
|
|
word-break: break-all;
|
|
|
white-space: pre-line;
|
|
|
}
|
|
|
|
|
|
.ellipsis {
|
|
|
display: -webkit-box;
|
|
|
-webkit-box-orient: vertical;
|
|
|
text-overflow: ellipsis;
|
|
|
overflow: hidden;
|
|
|
-webkit-line-clamp: 1;
|
|
|
}
|
|
|
|
|
|
.ellipsisT {
|
|
|
display: -webkit-box;
|
|
|
-webkit-box-orient: vertical;
|
|
|
text-overflow: ellipsis;
|
|
|
overflow: hidden;
|
|
|
-webkit-line-clamp: 2;
|
|
|
color: rgba(0, 0, 0, 0.9);
|
|
|
font-size: 24rpx;
|
|
|
}
|
|
|
|
|
|
.iosAuto {
|
|
|
padding-bottom:constant(safe-area-inset-bottom);
|
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
|
}
|
|
|
/* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
|
|
|
@import 'uview-plus/index.scss';
|
|
|
.flexJ {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
.flexC {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
.flexA {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
.flexV {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
.flexW {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
justify-content: space-between;
|
|
|
}
|
|
|
.ples {
|
|
|
color: #000000e6;
|
|
|
font-size: 30rpx;
|
|
|
font-weight: 700;
|
|
|
}
|
|
|
.lineFeed {
|
|
|
word-wrap: break-word;
|
|
|
word-break: break-all;
|
|
|
white-space: pre-line;
|
|
|
}
|
|
|
|
|
|
.ellipsis {
|
|
|
display: -webkit-box;
|
|
|
-webkit-box-orient: vertical;
|
|
|
text-overflow: ellipsis;
|
|
|
overflow: hidden;
|
|
|
-webkit-line-clamp: 1;
|
|
|
}
|
|
|
|
|
|
.ellipsisT {
|
|
|
display: -webkit-box;
|
|
|
-webkit-box-orient: vertical;
|
|
|
text-overflow: ellipsis;
|
|
|
overflow: hidden;
|
|
|
-webkit-line-clamp: 2;
|
|
|
color: rgba(0, 0, 0, 0.9);
|
|
|
font-size: 24rpx;
|
|
|
}
|
|
|
|
|
|
.iosAuto {
|
|
|
padding-bottom: constant(safe-area-inset-bottom);
|
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
|
}
|
|
|
</style> |
...
|
...
|
|