新增h5自定义模板文件

master
gongfuxiang 2021-12-03 15:48:40 +08:00
parent f4c76c3bcc
commit 45ff4d76b5
3 changed files with 33 additions and 8 deletions

View File

@ -63,14 +63,14 @@
},
"plugins" : {
// // https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/liveplayer/live-player-plugin.html
// "live-player-plugin": {
// "version": "1.3.0",
// "provider": "wx2b03c6e691cd7370"
// "live-player-plugin" : {
// "version" : "1.3.0",
// "provider" : "wx2b03c6e691cd7370"
// },
// // https://mp.weixin.qq.com/wxopen/plugindevdoc?appid=wx56c8f077de74b07c&token=1011820682&lang=zh_CN
// "goodsSharePlugin": {
// "version": "4.0.1",
// "provider": "wx56c8f077de74b07c"
// "goodsSharePlugin" : {
// "version" : "4.0.1",
// "provider" : "wx56c8f077de74b07c"
// }
}
},
@ -118,7 +118,8 @@
"mode" : "history",
"base" : "./"
},
"title" : "ShopXO"
"title" : "ShopXO",
"template" : "template.h5.html"
},
"vueVersion" : "2"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

24
template.h5.html Normal file
View File

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="shortcut icon" type="image/x-icon" href="<%= BASE_URL %>static/images/common/favicon.ico" />
<title>
<%= htmlWebpackPlugin.options.title %>
</title>
<meta name="keywords" content="商城系统,开源电商系统,免费电商系统,PHP电商系统,商城系统,B2C电商系统,B2B2C电商系统" />
<meta name="description" content="ShopXO是国内领先的商城系统提供商为企业提供php商城系统、微信商城、小程序。" />
<script>
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" />
</head>
<body>
<noscript>
<strong>Please enable JavaScript to continue.</strong>
</noscript>
<div id="app"></div>
</body>
</html>