Commit 919d0f93 by dqjdda

2.2版本发布,详情查阅版本说明

parent 1a04d8b4
...@@ -4,6 +4,6 @@ const prodEnv = require('./prod.env') ...@@ -4,6 +4,6 @@ const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, { module.exports = merge(prodEnv, {
NODE_ENV: '"development"', NODE_ENV: '"development"',
BASE_API: '"http://localhost:8000"' // BASE_API: '"http://localhost:8000"'
// BASE_API: '"https://api.auauz.net"' BASE_API: '"https://api.auauz.net"'
}) })
<template>
<div>
<div id="codefund"/>
<div ref="codefund"/>
</div>
</template>
<script>
export default {
name: 'Index',
computed: {
key() {
return this.$route.fullPath
}
},
watch: {
key(newVal, oldVal) {
const script = document.createElement('script')
script.setAttribute(
'src',
'https://codefund.app/properties/287/funder.js'
)
this.$refs.codefund.appendChild(script)
}
},
mounted() {
const script = document.createElement('script')
script.setAttribute(
'src',
'https://codefund.app/properties/287/funder.js'
)
this.$refs.codefund.appendChild(script)
}
}
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
/deep/ #cf{
max-width: 100% !important;
}
/deep/ #codefund img{
display: none;
}
/deep/ #cf a:nth-child(3){
float: right;
}
/deep/ #cf span span:nth-child(1){
font-size: 13px !important;
width: 100% !important;
line-height: 1.5 !important;
display: block !important;
background-color: #f8f8f8 !important;
text-align: left !important;
padding: 8px 11px !important;
}
/deep/ #cf .cf-wrapper .cf-text:before {
margin-right: 4px;
padding: 2px 6px;
border-radius: 3px;
background-color: #4caf50;
color: #fff;
content: "Supporter";
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment