jiazhipeng 5 months ago
parent
commit
30c0672fb7
  1. 4
      pages.json
  2. 9
      pages/index/index.vue
  3. 4
      static/css/base.css

4
pages.json

@ -3,13 +3,13 @@
{ {
"path": "pages/index/index", "path": "pages/index/index",
"style": { "style": {
"navigationBarTitleText": "uni-app" "navigationBarTitleText": "大美非遗"
} }
}, },
{ {
"path": "pages/user/user", "path": "pages/user/user",
"style": { "style": {
"navigationBarTitleText": "uni-app" "navigationBarTitleText": "大美非遗"
} }
} }
], ],

9
pages/index/index.vue

@ -20,11 +20,10 @@
} }
</script> </script>
<style> <style lang="scss" scoped>
.content { .content {
display: flex; min-height: 100vh;
flex-direction: column; background: #F9F0EA;
align-items: center; padding: 21rpx 0 50rpx;
justify-content: center;
} }
</style> </style>

4
static/css/base.css

@ -12,6 +12,10 @@ input {
border: none; border: none;
} }
view {
box-sizing: border-box;
}
.flex-between { .flex-between {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;

Loading…
Cancel
Save