Commit 262204ea by 展昭

add px2rem

parent 1d6590b0
......@@ -6605,6 +6605,11 @@
"leven": "^3.1.0"
}
},
"lib-flexible": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/lib-flexible/-/lib-flexible-0.3.2.tgz",
"integrity": "sha1-BvWnSDIxSi01wSA5vJw8otrqpCY="
},
"lines-and-columns": {
"version": "1.1.6",
"resolved": "https://registry.npm.taobao.org/lines-and-columns/download/lines-and-columns-1.1.6.tgz",
......
......@@ -9,6 +9,7 @@
"dependencies": {
"axios": "^0.19.2",
"core-js": "^3.6.4",
"lib-flexible": "^0.3.2",
"postcss-px2rem": "^0.3.0",
"vant": "^2.6.0",
"vue": "^2.6.11",
......
......@@ -3,7 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no,viewport-fit=cover">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
......
......@@ -2,6 +2,7 @@ import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'lib-flexible/flexible'
Vue.config.productionTip = false
......
<template>
<div>人事服务首页</div>
<div class="container">
人事服务首页
</div>
</template>
<script>
......@@ -11,11 +13,13 @@ export default {
},
mounted(){
console.log('人事服务首页');
}
};
</script>
<style lang='less' scoped>
.container{
width:373px;
border:1px solid #f00
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment