|
@@ -17,29 +17,6 @@
|
|
<link rel="stylesheet" href=//cdn.jsdelivr.net/npm/vant@2.8.2/lib/index.css />
|
|
<link rel="stylesheet" href=//cdn.jsdelivr.net/npm/vant@2.8.2/lib/index.css />
|
|
<link rel="stylesheet" href=//cdn.jsdelivr.net/npm/vant@2.8.2/lib/icon/local.css />
|
|
<link rel="stylesheet" href=//cdn.jsdelivr.net/npm/vant@2.8.2/lib/icon/local.css />
|
|
<!--E-当前页面的css资源-->
|
|
<!--E-当前页面的css资源-->
|
|
-
|
|
|
|
- <!--小于100行的样式插入html而不是css,有助于减少请求数-->
|
|
|
|
- <style>
|
|
|
|
- body {
|
|
|
|
- background-color: #F5F6F7;
|
|
|
|
- color: #171826;
|
|
|
|
- }
|
|
|
|
- #svg-loading {
|
|
|
|
- width: 100vw;
|
|
|
|
- height: 100vh;
|
|
|
|
- display: flex;
|
|
|
|
- align-items: center;
|
|
|
|
- justify-content: center;
|
|
|
|
- position: fixed;
|
|
|
|
- top: 0;
|
|
|
|
- left: 0;
|
|
|
|
- background: #fff;
|
|
|
|
- z-index: 999;
|
|
|
|
- opacity: 1;
|
|
|
|
- }
|
|
|
|
- </style>
|
|
|
|
-
|
|
|
|
- <!--head内避免script加载-->
|
|
|
|
</head>
|
|
</head>
|
|
<body>
|
|
<body>
|
|
<div class="j-container">
|
|
<div class="j-container">
|
|
@@ -57,7 +34,7 @@
|
|
<!--E-Loading-->
|
|
<!--E-Loading-->
|
|
|
|
|
|
<!--S-Vue-->
|
|
<!--S-Vue-->
|
|
- <div id="v-node" class="j-main">
|
|
|
|
|
|
+ <div class="j-main" id="v-node">
|
|
<h2>Demo Page</h2>
|
|
<h2>Demo Page</h2>
|
|
<van-skeleton title avatar :loading="loading">
|
|
<van-skeleton title avatar :loading="loading">
|
|
<van-row type="flex" align="center">
|
|
<van-row type="flex" align="center">
|
|
@@ -88,7 +65,7 @@
|
|
<script src=//cdn.jsdelivr.net/npm/vant@2.8.2/lib/vant.min.js></script>
|
|
<script src=//cdn.jsdelivr.net/npm/vant@2.8.2/lib/vant.min.js></script>
|
|
<script src=//cdn.jsdelivr.net/npm/zepto@1.2.0/dist/zepto.min.js></script>
|
|
<script src=//cdn.jsdelivr.net/npm/zepto@1.2.0/dist/zepto.min.js></script>
|
|
{{include "/big-member/commonjs.html"}}
|
|
{{include "/big-member/commonjs.html"}}
|
|
-<!-- <script src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/big-member/js/demo.js?v={{Msg "seo" "version"}}''></script> -->
|
|
|
|
|
|
+<!-- <script src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/big-member/js/demo.js?v={{Msg "seo" "version"}}'></script> -->
|
|
|
|
|
|
<!--E-当前页面的资源-->
|
|
<!--E-当前页面的资源-->
|
|
|
|
|
|
@@ -101,7 +78,7 @@
|
|
text: 'Hello GoLang & Vue!',
|
|
text: 'Hello GoLang & Vue!',
|
|
loading: true
|
|
loading: true
|
|
},
|
|
},
|
|
- mounted() {
|
|
|
|
|
|
+ mounted: function () {
|
|
console.log('HI,', this.text)
|
|
console.log('HI,', this.text)
|
|
let that = this
|
|
let that = this
|
|
$.ajax({
|
|
$.ajax({
|
|
@@ -120,7 +97,7 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- clickFn (e) {
|
|
|
|
|
|
+ clickFn: function (e) {
|
|
const href = 'https://web-jydev-zyh.jianyu360.cn/jyapp/jylab/mainSearch'
|
|
const href = 'https://web-jydev-zyh.jianyu360.cn/jyapp/jylab/mainSearch'
|
|
if (this.text.length !== 4) {
|
|
if (this.text.length !== 4) {
|
|
console.log('click', e)
|
|
console.log('click', e)
|