添加用户反馈模块
This commit is contained in:
31
pages/login/agreements.vue
Normal file
31
pages/login/agreements.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<view class="agreements">
|
||||
<rich-text :nodes="nodes"></rich-text>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
nodes: '<div style="margin-bottom: 1000px;">测试</div><p>789</p>',
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
this.setTitle(option.title);
|
||||
},
|
||||
methods: {
|
||||
setTitle(title){
|
||||
uni.setNavigationBarTitle({
|
||||
title: title
|
||||
});
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.agreements {
|
||||
min-height: calc(100vh - var(--window-top));
|
||||
background-color: #ECECEC;
|
||||
padding: 20rpx 35rpx;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user