12.12 页面风格改版,增加事件详情相关概念网页跳转,增加绑定手机号功能

This commit is contained in:
尚政杰
2025-12-12 19:35:08 +08:00
parent 44842120da
commit 13c783a0ad
256 changed files with 4046 additions and 2986 deletions

View File

@@ -15,7 +15,7 @@ Component({
data: {
color: "#858C9A",
selected:0,
selectedColor: "#F97316",
selectedColor: "#F3C368",
list: [
{
"pagePath": "/pages/index/index",
@@ -29,6 +29,12 @@ Component({
"iconPath": "/static/icon/tabbar/invest.png",
"selectedIconPath": "/static/icon/tabbar/invest_s.png"
},
// {
// "pagePath": "/pages/concept/concept",
// "text": "概念中心",
// "iconPath": "/static/icon/tabbar/concept.png",
// "selectedIconPath": "/static/icon/tabbar/concept_s.png"
// },
{
"pagePath": "/pages/mine/mine",
"text": "个人中心",

View File

@@ -1,7 +1,7 @@
<!--components/custom-tab-bar/index.wxml-->
<view class="tab-bar">
<view wx:for="{{list}}" wx:key="index" class="tab-bar-item {{item.bulge?'bulge':''}}" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="{{item.jump=='nav'?'navigateTo':'switchTab'}}">
<image class="image" src="{{selected == index ? item.selectedIconPath : item.iconPath}}" mode="aspectFit"></image>
<image class="image" src="{{selected == index ? item.selectedIconPath : item.iconPath}}" mode="heightFix"></image>
<view wx:if="{{item.text}}" class="tab-bar-view"
style="color: {{selected==index?selectedColor:color}};">{{item.text}}</view>
</view>

View File

@@ -1,6 +1,6 @@
/* components/custom-tab-bar/index.wxss */
.tab-bar {
background-color: white;
background-color: black;
position: fixed;
bottom: 0;
left: 0;
@@ -9,7 +9,7 @@
display: flex;
padding-bottom: env(safe-area-inset-bottom);
box-sizing: content-box;
box-shadow: 0 -1px 5rpx 0 #eee;
/* box-shadow: 0 -1px 5rpx 0 #eee; */
z-index: 99;
}
.tab-bar-item
@@ -22,8 +22,8 @@
}
.tab-bar-item .image {
margin: 16rpx 0 8rpx 0;
width: 40rpx;
height: 40rpx;
width: auto;
height: 41rpx;
}
.bulge
{