Browse Source

(*) 引入weixin script

master
liujiangyong 1 year ago
parent
commit
937875cfc9
  1. 5
      web/client/index.ejs
  2. 8
      web/client/index.html

5
web/client/index.ejs

@ -10,9 +10,10 @@
securityJsCode: '9e45b86a05ebb2f85d6d229973bc5ba6', securityJsCode: '9e45b86a05ebb2f85d6d229973bc5ba6',
} }
</script> </script>
<script <script
src="https://webapi.amap.com/maps?v=2.0&key=e20863d113b69b83f553ea14dfec668f&plugin=AMap.AutoComplete,AMap.PlaceSearch,aMap.DistrictSearch"></script> src="https://webapi.amap.com/maps?v=2.0&key=e20863d113b69b83f553ea14dfec668f&plugin=AMap.AutoComplete,AMap.PlaceSearch,aMap.DistrictSearch"></script>
<!-- <script src="https://webapi.amap.com/loca?v=2.0.0&key=00f9a29dedcdbd8befec3dfe0cef5003"></script> --> <!-- <script src="https://webapi.amap.com/loca?v=2.0.0&key=00f9a29dedcdbd8befec3dfe0cef5003"></script> -->
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
</head> </head>
<style> <style>

8
web/client/index.html

@ -14,6 +14,7 @@
<script <script
src="https://webapi.amap.com/maps?v=2.0&key=e20863d113b69b83f553ea14dfec668f&plugin=AMap.AutoComplete,AMap.PlaceSearch,aMap.DistrictSearch"></script> src="https://webapi.amap.com/maps?v=2.0&key=e20863d113b69b83f553ea14dfec668f&plugin=AMap.AutoComplete,AMap.PlaceSearch,aMap.DistrictSearch"></script>
<!-- <script src="https://webapi.amap.com/loca?v=2.0.0&key=00f9a29dedcdbd8befec3dfe0cef5003"></script> --> <!-- <script src="https://webapi.amap.com/loca?v=2.0.0&key=00f9a29dedcdbd8befec3dfe0cef5003"></script> -->
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
</head> </head>
<style> <style>
@ -46,18 +47,22 @@
font-family: D-DIN-Bold; font-family: D-DIN-Bold;
src: url("/assets/font_sc/D-DIN-Bold.ttf"); src: url("/assets/font_sc/D-DIN-Bold.ttf");
} }
@font-face { @font-face {
font-family: SourceHanSansCN-ExtraLight; font-family: SourceHanSansCN-ExtraLight;
src: url("/assets/font_sc/SourceHanSansCN-ExtraLight.oty"); src: url("/assets/font_sc/SourceHanSansCN-ExtraLight.oty");
} }
@font-face { @font-face {
font-family:SourceHanSansCN-Bold; font-family: SourceHanSansCN-Bold;
src: url("/assets/font_sc/SourceHanSansCN-Bold.otf"); src: url("/assets/font_sc/SourceHanSansCN-Bold.otf");
} }
@font-face { @font-face {
font-family: SourceHanSansCN-Heavy; font-family: SourceHanSansCN-Heavy;
src: url("/assets/font_sc/SourceHanSansCN-Heavy.otf"); src: url("/assets/font_sc/SourceHanSansCN-Heavy.otf");
} }
@font-face { @font-face {
font-family: SourceHanSansCN-Normal; font-family: SourceHanSansCN-Normal;
src: url("/assets/font_sc/SourceHanSansCN-Normal.otf"); src: url("/assets/font_sc/SourceHanSansCN-Normal.otf");
@ -74,7 +79,6 @@
<div id='App'></div> <div id='App'></div>
<script type="text/javascript" src="http://localhost:5901/client/build/vendor.js"></script> <script type="text/javascript" src="http://localhost:5901/client/build/vendor.js"></script>
<script type="text/javascript" src="http://localhost:5901/client/build/app.js"></script> <script type="text/javascript" src="http://localhost:5901/client/build/app.js"></script>
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
</body> </body>
</html> </html>
Loading…
Cancel
Save