配置unocss

wenjuan
刘佳宇 1 year ago
parent e9b02febaa
commit 4a044552ed

@ -4,6 +4,7 @@ import {
import * as Pinia from 'pinia'; import * as Pinia from 'pinia';
import App from './App.vue' import App from './App.vue'
import $lu from './lu' import $lu from './lu'
import 'uno.css'
uni.$lu = $lu uni.$lu = $lu
export function createApp() { export function createApp() {

@ -1,5 +1,9 @@
{ {
"dependencies": { "dependencies": {
"weixin-js-sdk": "^1.6.5" "weixin-js-sdk": "^1.6.5"
},
"devDependencies": {
"unocss": "^0.58.9",
"unocss-preset-weapp": "^0.62.0"
} }
} }

@ -175,7 +175,7 @@
onShow(() => { onShow(() => {
if (!!user_box_ref.value) { if (!!user_box_ref.value) {
getLong() getLong()
} }
getUserInfo() getUserInfo()
}) })
</script> </script>
@ -521,7 +521,7 @@
width: 750rpx; width: 750rpx;
height: 456rpx; height: 456rpx;
position: relative; position: relative;
z-index: 1; z-index: 1;
margin: 0 auto; margin: 0 auto;
} }

Loading…
Cancel
Save