Commit ebbe6cc0 by lishengfu

update

parent 2b41f31b
...@@ -6595,6 +6595,11 @@ ...@@ -6595,6 +6595,11 @@
"leven": "^3.1.0" "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": { "lines-and-columns": {
"version": "1.1.6", "version": "1.1.6",
"resolved": "https://registry.npm.taobao.org/lines-and-columns/download/lines-and-columns-1.1.6.tgz", "resolved": "https://registry.npm.taobao.org/lines-and-columns/download/lines-and-columns-1.1.6.tgz",
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"dependencies": { "dependencies": {
"axios": "^0.19.2", "axios": "^0.19.2",
"core-js": "^3.6.4", "core-js": "^3.6.4",
"lib-flexible": "^0.3.2",
"postcss-px2rem": "^0.3.0", "postcss-px2rem": "^0.3.0",
"vant": "^2.6.0", "vant": "^2.6.0",
"vue": "^2.6.11", "vue": "^2.6.11",
......
*{
padding: 0;
margin: 0;
list-style: none;
}
\ No newline at end of file
...@@ -2,7 +2,8 @@ import Vue from 'vue' ...@@ -2,7 +2,8 @@ import Vue from 'vue'
import App from './App.vue' import App from './App.vue'
import router from './router' import router from './router'
import store from './store' import store from './store'
import 'lib-flexible/flexible'
import './assets/css/index.css'
Vue.config.productionTip = false Vue.config.productionTip = false
new Vue({ new Vue({
......
<template> <template>
<div> <div>
更多服务首页 更多服务首页
<van-button type="primary">主要按钮</van-button> <van-button type="primary" class="btn">主要按钮</van-button>
</div> </div>
</template> </template>
...@@ -14,5 +14,8 @@ export default { ...@@ -14,5 +14,8 @@ export default {
}; };
</script> </script>
<style> <style lang="less" scoped>
.btn{
width: 100px;
}
</style> </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