浏览代码

feat:添加基础样式

wangsisi 2 天之前
父节点
当前提交
a8fa8878df
共有 2 个文件被更改,包括 14 次插入1 次删除
  1. 7 1
      pages/tabBar/mine/mine.vue
  2. 7 0
      static/style/common.scss

+ 7 - 1
pages/tabBar/mine/mine.vue

@@ -9,6 +9,12 @@
 				</view>
 			</view>
 			<view class="user-right">收货地址</view>
+		</view>
+		<view class="grid-">
+			
+		</view>
+		<view class="list-wrap">
+			<view class="list-item"></view>
 		</view>
 	</view>
 </template>
@@ -20,7 +26,7 @@
 <style lang="scss" scoped>
 	.base-container {
 		width: 100%;
-		min-height: 100vh;
+		min-height: calc(100vh - 100rpx - 88rpx);
 		background: #f7f7f7;
 		padding: 20rpx 24rpx;
 		box-sizing: border-box;

+ 7 - 0
static/style/common.scss

@@ -1,4 +1,11 @@
 
+.base-container {
+	width: 100%;
+	min-height: calc(100vh - 100rpx - 88rpx);
+	background: #f7f7f7;
+	padding: 20rpx 24rpx;
+	box-sizing: border-box;
+}
 
 @font-face {
   font-family: "PangMenZhengDao";