change codefund

This commit is contained in:
花裤衩
2019-11-29 10:15:33 +08:00
parent da5de5c689
commit 136d962c1e
2 changed files with 45 additions and 5 deletions

View File

@@ -3,7 +3,8 @@
</template>
<script>
import axios from 'axios'
import load from './load'
export default {
data() {
return {
@@ -27,10 +28,7 @@ export default {
? '111'
: '96'
const template = 'horizontal'
axios.get(`https://codefund.io/properties/${codefundId}/funder.html?template=${template}`)
.then(function(response) {
document.getElementById('codefund').innerHTML = response.data
})
load(`https://app.codefund.io/properties/${codefundId}/funder.js?template=${template}`)
},
isGitee() {
const origin = window.location.origin