Compare commits

..

No commits in common. "d52771a9d5c17715a6173fcd84f30d64832fb695" and "b3061ae24e53468e544d2e1fe9969d9b0792cd85" have entirely different histories.

3 changed files with 7 additions and 31 deletions

11
package-lock.json generated
View File

@ -8,7 +8,6 @@
"name": "shuinichang",
"version": "0.1.0",
"dependencies": {
"autofit.js": "^3.0.7",
"axios": "^1.6.2",
"babel-preset-es2015": "^6.24.1",
"core-js": "^3.8.3",
@ -4345,11 +4344,6 @@
"node": ">= 4.0.0"
}
},
"node_modules/autofit.js": {
"version": "3.0.7",
"resolved": "https://registry.npmmirror.com/autofit.js/-/autofit.js-3.0.7.tgz",
"integrity": "sha512-Mu6ormG85X8vG99R/66wtiOc8roRJBrwsuDVb16Bia7NqYuf0+0SRyfh9jTbyL0mtK7JRFHVDyfxq93Yajndnw=="
},
"node_modules/autoprefixer": {
"version": "10.4.16",
"resolved": "https://registry.npmmirror.com/autoprefixer/-/autoprefixer-10.4.16.tgz",
@ -17008,11 +17002,6 @@
"integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==",
"dev": true
},
"autofit.js": {
"version": "3.0.7",
"resolved": "https://registry.npmmirror.com/autofit.js/-/autofit.js-3.0.7.tgz",
"integrity": "sha512-Mu6ormG85X8vG99R/66wtiOc8roRJBrwsuDVb16Bia7NqYuf0+0SRyfh9jTbyL0mtK7JRFHVDyfxq93Yajndnw=="
},
"autoprefixer": {
"version": "10.4.16",
"resolved": "https://registry.npmmirror.com/autoprefixer/-/autoprefixer-10.4.16.tgz",

View File

@ -7,7 +7,6 @@
"build": "vue-cli-service build"
},
"dependencies": {
"autofit.js": "^3.0.7",
"axios": "^1.6.2",
"babel-preset-es2015": "^6.24.1",
"core-js": "^3.8.3",

View File

@ -2,22 +2,13 @@
<div id="app">    <router-view />  </div>
</template>
<script>
import autofit from "autofit.js";
export default {
data() {
return {};
return{
}
},
mounted() {
autofit.init(
{
dh: 3240,
dw: 7680,
el: "#app",
resize: true,
},
false
);
if (window.vuplex) {
this.addMessageListener();
} else {
@ -45,9 +36,6 @@ export default {
});
},
},
beforeDestroy() {
autofit.off();
},
};
</script>
<style>
@ -59,10 +47,10 @@ export default {
}
#app {
/* width: 7680px;
height: 3240px; */
width: 100vw;
height: 100vh;
width: 7680px;
height: 3240px;
/* width: 100vw;
height: 100vh; */
overflow: hidden;
/* background-image: url(./assets/img/.png), url(./assets/img/.png),
url(./assets/img/遮罩上.png), url(./assets/img/下遮罩.png); */