Browse Source

初始化素材

master
前端-胡立永 11 months ago
parent
commit
1c1bc9496a
36 changed files with 22 additions and 14 deletions
  1. +3
    -0
      App.vue
  2. +6
    -14
      components/base/tabbar.vue
  3. BIN
      static/image/tabbar/1t.png
  4. BIN
      static/image/tabbar/3t.png
  5. BIN
      static/image/tabbar/5t.png
  6. BIN
      static/image/素材8.21/icon/画板 1 (2).png
  7. BIN
      static/image/素材8.21/icon/画板 1.png
  8. BIN
      static/image/素材8.21/icon/画板 1@2x (2).png
  9. BIN
      static/image/素材8.21/icon/画板 1@2x.png
  10. BIN
      static/image/素材8.21/icon/画板 1@2x(1).png
  11. BIN
      static/image/素材8.21/icon/画板 1(1).png
  12. BIN
      static/image/素材8.21/icon/画板 3.png
  13. BIN
      static/image/素材8.21/icon/画板 3@2x.png
  14. BIN
      static/image/素材8.21/icon/首页 (2).png
  15. BIN
      static/image/素材8.21/icon/首页.png
  16. BIN
      static/image/素材8.21/icon/首页@2x (2).png
  17. BIN
      static/image/素材8.21/icon/首页@2x.png
  18. BIN
      static/image/素材8.21/分组 2.png
  19. BIN
      static/image/素材8.21/分组 2@2x.png
  20. BIN
      static/image/素材8.21/分组 4.png
  21. BIN
      static/image/素材8.21/分组 4@2x.png
  22. BIN
      static/image/素材8.21/分组 5.png
  23. BIN
      static/image/素材8.21/分组 5@2x.png
  24. BIN
      static/image/素材8.21/画板 .png
  25. BIN
      static/image/素材8.21/画板 1.png
  26. BIN
      static/image/素材8.21/画板 1@2x.png
  27. BIN
      static/image/素材8.21/画板 3.png
  28. BIN
      static/image/素材8.21/画板 3@2x.png
  29. BIN
      static/image/素材8.21/画板 @2x.png
  30. BIN
      static/image/素材8.21/矩形 2938.png
  31. BIN
      static/image/素材8.21/矩形 2938@2x.png
  32. BIN
      static/image/素材8.21/蒙版组 7.png
  33. BIN
      static/image/素材8.21/蒙版组 7@2x.png
  34. BIN
      static/image/素材8.21/蒙版组 8.png
  35. BIN
      static/image/素材8.21/蒙版组 8@2x.png
  36. +13
    -0
      uni.scss

+ 3
- 0
App.vue View File

@ -12,4 +12,7 @@
<style>
/*每个页面公共css */
body{
background-color: #f7f7f7;
}
</style>

+ 6
- 14
components/base/tabbar.vue View File

@ -10,9 +10,7 @@
item.iconPath" class="icon-image" mode=""></image>
</view>
<view class="title">
<image :src="item.selectedTextPath"
v-if="select == index"></image>
<text v-else>{{ item.title }}</text>
{{ item.title }}
</view>
</view>
</view>
@ -30,19 +28,16 @@
"iconPath": "/static/image/tabbar/2.png",
"pagePath": "/pages/index/index",
"title": "首页",
"selectedTextPath": "/static/image/tabbar/1t.png",
},{
"selectedIconPath": "/static/image/tabbar/3.png",
"iconPath": "/static/image/tabbar/4.png",
"pagePath": "/pages/index/publish",
"title": "发布",
"selectedTextPath": "/static/image/tabbar/3t.png",
},{
"selectedIconPath": "/static/image/tabbar/5.png",
"iconPath": "/static/image/tabbar/6.png",
"pagePath": "/pages/index/center",
"title": "我的",
"selectedTextPath": "/static/image/tabbar/5t.png",
}
]
};
@ -64,7 +59,7 @@
.tabbar{
position: fixed;
width: 750rpx;
background-color: #f7f7f7;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
@ -95,15 +90,12 @@
// text-overflow: ellipsis;
// -o-text-overflow: ellipsis;
font-size: 23rpx;
image{
width: 50rpx;
height: 35rpx;
margin-top: 10rpx;
}
}
}
}
.active{
// color: #03c061 !important;x
.active .title{
background: $uni-linear-gradient-color; /*设置渐变的方向从左到右 颜色从ff0000到ffff00*/
-webkit-background-clip: text;/*将设置的背景颜色限制在文字中*/
-webkit-text-fill-color: transparent;/*给文字设置成透明*/
}
</style>

BIN
static/image/tabbar/1t.png View File

Before After
Width: 88  |  Height: 60  |  Size: 2.0 KiB

BIN
static/image/tabbar/3t.png View File

Before After
Width: 88  |  Height: 60  |  Size: 2.6 KiB

BIN
static/image/tabbar/5t.png View File

Before After
Width: 88  |  Height: 60  |  Size: 3.0 KiB

BIN
static/image/素材8.21/icon/画板 1 (2).png View File

Before After
Width: 22  |  Height: 22  |  Size: 760 B

BIN
static/image/素材8.21/icon/画板 1.png View File

Before After
Width: 22  |  Height: 22  |  Size: 423 B

BIN
static/image/素材8.21/icon/画板 1@2x (2).png View File

Before After
Width: 44  |  Height: 44  |  Size: 1.6 KiB

BIN
static/image/素材8.21/icon/画板 1@2x.png View File

Before After
Width: 44  |  Height: 44  |  Size: 929 B

BIN
static/image/素材8.21/icon/画板 1@2x(1).png View File

Before After
Width: 40  |  Height: 40  |  Size: 748 B

BIN
static/image/素材8.21/icon/画板 1(1).png View File

Before After
Width: 20  |  Height: 20  |  Size: 390 B

BIN
static/image/素材8.21/icon/画板 3.png View File

Before After
Width: 20  |  Height: 20  |  Size: 597 B

BIN
static/image/素材8.21/icon/画板 3@2x.png View File

Before After
Width: 40  |  Height: 40  |  Size: 1.1 KiB

BIN
static/image/素材8.21/icon/首页 (2).png View File

Before After
Width: 20  |  Height: 20  |  Size: 393 B

BIN
static/image/素材8.21/icon/首页.png View File

Before After
Width: 20  |  Height: 20  |  Size: 640 B

BIN
static/image/素材8.21/icon/首页@2x (2).png View File

Before After
Width: 40  |  Height: 40  |  Size: 611 B

BIN
static/image/素材8.21/icon/首页@2x.png View File

Before After
Width: 40  |  Height: 40  |  Size: 1.1 KiB

BIN
static/image/素材8.21/分组 2.png View File

Before After
Width: 339  |  Height: 131  |  Size: 13 KiB

BIN
static/image/素材8.21/分组 2@2x.png View File

Before After
Width: 678  |  Height: 262  |  Size: 30 KiB

BIN
static/image/素材8.21/分组 4.png View File

Before After
Width: 338  |  Height: 131  |  Size: 13 KiB

BIN
static/image/素材8.21/分组 4@2x.png View File

Before After
Width: 676  |  Height: 262  |  Size: 32 KiB

BIN
static/image/素材8.21/分组 5.png View File

Before After
Width: 339  |  Height: 132  |  Size: 11 KiB

BIN
static/image/素材8.21/分组 5@2x.png View File

Before After
Width: 678  |  Height: 264  |  Size: 27 KiB

BIN
static/image/素材8.21/画板 .png View File

Before After
Width: 166  |  Height: 94  |  Size: 13 KiB

BIN
static/image/素材8.21/画板 1.png View File

Before After
Width: 166  |  Height: 94  |  Size: 30 KiB

BIN
static/image/素材8.21/画板 1@2x.png View File

Before After
Width: 332  |  Height: 188  |  Size: 90 KiB

BIN
static/image/素材8.21/画板 3.png View File

Before After
Width: 166  |  Height: 94  |  Size: 16 KiB

BIN
static/image/素材8.21/画板 3@2x.png View File

Before After
Width: 332  |  Height: 188  |  Size: 45 KiB

BIN
static/image/素材8.21/画板 @2x.png View File

Before After
Width: 332  |  Height: 188  |  Size: 31 KiB

BIN
static/image/素材8.21/矩形 2938.png View File

Before After
Width: 347  |  Height: 148  |  Size: 28 KiB

BIN
static/image/素材8.21/矩形 2938@2x.png View File

Before After
Width: 694  |  Height: 296  |  Size: 71 KiB

BIN
static/image/素材8.21/蒙版组 7.png View File

Before After
Width: 50  |  Height: 50  |  Size: 2.2 KiB

BIN
static/image/素材8.21/蒙版组 7@2x.png View File

Before After
Width: 100  |  Height: 100  |  Size: 5.6 KiB

BIN
static/image/素材8.21/蒙版组 8.png View File

Before After
Width: 50  |  Height: 50  |  Size: 2.4 KiB

BIN
static/image/素材8.21/蒙版组 8@2x.png View File

Before After
Width: 100  |  Height: 100  |  Size: 6.7 KiB

+ 13
- 0
uni.scss View File

@ -13,6 +13,19 @@
*/
/* 颜色变量 */
// 渐变主题色
$uni-linear-gradient-color : linear-gradient(to right, #99b9f3, #af9cfa);
// 渐变按钮颜色
$uni-linear-gradient-btn-color : linear-gradient(to right, #3c69f1, #5f3bf5);
/* 行为相关颜色 */
$uni-color-primary: #007aff;
$uni-color-success: #4cd964;


Loading…
Cancel
Save