feat:代码生成脚本
This commit is contained in:
25
script/src/main/resources/statics/js/index.js
Normal file
25
script/src/main/resources/statics/js/index.js
Normal file
@@ -0,0 +1,25 @@
|
||||
//iframe自适应
|
||||
$(window).on('resize', function() {
|
||||
const $content = $('.content');
|
||||
$content.height($(this).height() - 154);
|
||||
$content.find('iframe').each(function() {
|
||||
$(this).height($content.height());
|
||||
});
|
||||
}).resize();
|
||||
|
||||
const vm = new Vue({
|
||||
el: '#rrapp',
|
||||
data: {
|
||||
main: "main",
|
||||
},
|
||||
methods: {
|
||||
donate: function () {
|
||||
}
|
||||
},
|
||||
created: function () {
|
||||
|
||||
},
|
||||
updated: function () {
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user