Init project

This commit is contained in:
lifizer
2023-09-20 21:49:33 +08:00
parent 85a5989c96
commit c9ceac9f37
710 changed files with 125705 additions and 0 deletions
+48
View File
@@ -0,0 +1,48 @@
<template>
<view class="container">
<view class="content">
<view v-if="partnerAgreement" v-html="partnerAgreement"></view>
</view>
</view>
</template>
<script>
import { imageBase64,getHomeData } from "@/api/public";
export default {
data() {
return {
partnerAgreement:null
}
},
onLoad:function(e){
this.fetchCompanyData();
},
onShow:function(){
},
methods: {
fetchCompanyData:function(){
var that = this;
getHomeData().then(res => {
// that.buyNotice = res.data.buyNotice;
that.partnerAgreement = res.data.partnerAgreement.replace(
/\<img/gi,
'<img style="max-width:100%;height:auto;"'
);
});
}
}
}
</script>
<style>
.content{
background-color: #fff;
margin: 20rpx;
padding:20rpx;
font-size: 30rpx;
font-weight: normal;
border-radius: 10rpx;
}
</style>