revert: 所有代码与custom/common分支同

This commit is contained in:
2026-01-05 15:56:49 +08:00
parent 8ef6975ee1
commit 60a0e5133e
219 changed files with 14860 additions and 15585 deletions

View File

@@ -5,48 +5,50 @@
</template>
<script>
import htmlParser from '@/common/js/html-parser.js';
import htmlParser from '@/common/js/html-parser';
export default {
components: {
},
data() {
return {
content: '',
type: '',
uniacid: 0
};
},
onLoad(option) {
components: {
},
data() {
return {
content:'',
type:'',
uniacid:0
};
},
onLoad(option) {
this.type = option.type
this.uniacid = option.uniacid ? option.uniacid : 0
this.isIphoneX = this.$util.uniappIsIPhoneX()
this.getcontent()
},
onShow() {
},
methods: {
getcontent() {
this.uniacid = option.uniacid?option.uniacid:0
this.isIphoneX = this.$util.uniappIsIPhoneX()
this.getcontent()
},
onShow() {
},
methods: {
getcontent() {
// privacy content
var data = {
type: this.type
type:this.type
}
if (this.uniacid > 0) data.uniacid = this.uniacid
this.$api.sendRequest({
url: '/api/config/agreement',
data: data,
success: res => {
if(this.uniacid > 0) data.uniacid = this.uniacid
this.$api.sendRequest({
url: '/api/config/agreement',
data:data,
success: res => {
console.log(res.data.title)
uni.setNavigationBarTitle({
title: res.data.title
title:res.data.title
})
this.content = res.data.content
}
});
}
}
}
});
}
}
};
</script>
<style lang="scss"></style>
<style lang="scss">
</style>