feat:分包优化

This commit is contained in:
2025-08-17 00:17:56 +08:00
parent 6ad1b0cb1a
commit 62c9985651
20 changed files with 123 additions and 101 deletions
-1
View File
@@ -6,7 +6,6 @@ let i18nConfig = {
messages
}
window.wx = {}
// #ifndef VUE3
import Vue from 'vue'
import VueI18n from 'vue-i18n'
+3 -1
View File
@@ -176,7 +176,9 @@
</view>
</view>
</up-modal>
<!-- <CustomTabBar :tabIndex="0" /> -->
<!-- #ifndef H5 -->
<CustomTabBar :tabIndex="0" />
<!-- #endif -->
<up-action-sheet :actions="languageList" :show="languageShow" cancelText="取消"
@close="languageShow = false"></up-action-sheet>
<up-overlay :show="bannerShow">
+3 -1
View File
@@ -109,7 +109,9 @@
</view>
</view>
</view>
<!-- <CustomTabBar :tabIndex="4" /> -->
<!-- #ifndef H5 -->
<CustomTabBar :tabIndex="4" />
<!-- #endif -->
<!-- 品牌入驻弹框 -->
<up-modal :show="brandShow" :showConfirmButton="false">
<view class="slot-content">
+5 -1
View File
@@ -97,7 +97,11 @@
<up-toast ref="uToastRef"></up-toast>
</view>
<!-- <CustomTabBar :tabIndex="3" /> -->
<!-- #ifndef H5 -->
<CustomTabBar :tabIndex="3" />
<!-- #endif -->
</view>
</template>
+4 -1
View File
@@ -58,7 +58,10 @@
</view>
</scroll-view>
</view>
<!-- <CustomTabBar :tabIndex="1" /> -->
<!-- #ifndef H5 -->
<CustomTabBar :tabIndex="1" />
<!-- #endif -->
</view>
</template>
+3 -1
View File
@@ -65,7 +65,9 @@
</scroll-view>
</view>
<!-- </view> -->
<!-- <CustomTabBar :tabIndex="2" /> -->
<!-- #ifndef H5 -->
<CustomTabBar :tabIndex="2" />
<!-- #endif -->
</view>
</template>
+22 -12
View File
@@ -3,35 +3,34 @@
<TopSafe></TopSafe>
<Header title="加速次数" />
<view class="contract-view">
<image src="@/static/new/jia_bg.png" class="jia-img"></image>
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine-purse/jia_bg.png" class="jia-img">
</image>
<view class="box-panel" style="margin-top:384rpx">
<view class="box-top flex-r-lr" style="margin-bottom:48rpx;">
<view class="flex-c-lr" v-for="(item,index) in tList" :key="index"
style="align-items: center;width:40%;">
<view class="flex-c-lr" v-for="(item, index) in tList" :key="index" style="align-items: center;width:40%;">
<text class="text-48 text-zu1 text-bold">{{ item.text }}</text>
<text class="text-28 text-zu1">{{ item.value }}</text>
</view>
</view>
<view class="box-list flex-r-lr" style="align-items: center;"
v-for="(item,index) in topList" :key="item.text">
<view class="box-list flex-r-lr" style="align-items: center;" v-for="(item, index) in topList" :key="item.text">
<text class="text-28 text-zu1">{{ item.text }}</text>
<text class="text-32 text-bold text-zu1">{{ item.value }}</text>
</view>
<text class="text-zu txt-28 mt-24">加速明细</text>
<view class="mt-12 table-view">
<view class="table-head ">
<view class="head-box flex-c" :class="{'border-lr':index == 1}"
v-for="(item,index) in tableHead" :key="index">
<view class="head-box flex-c" :class="{ 'border-lr': index == 1 }" v-for="(item, index) in tableHead"
:key="index">
<text class="text-20 text-zu1">{{ item }}</text>
</view>
</view>
<view class="table-list" v-for="(item, index) in tableList" :key="index">
<view class="list-box flex-c"
v-for="(key,indexT) in 3" :key="indexT"
:style="{'border-bottom-right-radius':index == tableList.length -1 && indexT == 2 ? '16rpx' : 0 }"
:class="{'border-lr':indexT != 1,
'border-left-1':index == tableList.length -1 && indexT == 0}">
<view class="list-box flex-c" v-for="(key, indexT) in 3" :key="indexT"
:style="{ 'border-bottom-right-radius': index == tableList.length - 1 && indexT == 2 ? '16rpx' : 0 }" :class="{
'border-lr': indexT != 1,
'border-left-1': index == tableList.length - 1 && indexT == 0
}">
<text class="text-20 text-zu text-bold" v-if="indexT == 0">{{ item.one }}</text>
<text class="text-20 text-zu text-bold" v-if="indexT == 1">{{ item.two }}</text>
<text class="text-20 text-zu text-bold" v-if="indexT == 2">{{ item.three }}</text>
@@ -145,6 +144,7 @@ export default {
box-sizing: border-box;
background: linear-gradient(315deg, #AF39C4 0%, #7732FF 100%);
position: relative;
.jia-img {
width: 724rpx;
height: 400rpx;
@@ -152,6 +152,7 @@ export default {
z-index: 0;
margin-top: calc(var(--status-bar-height) + 52rpx);
}
.box-panel {
position: relative;
z-index: 1;
@@ -162,22 +163,26 @@ export default {
border-radius: 36rpx;
background-color: #fff;
box-sizing: border-box;
.box-top {
width: 100%;
height: 86rpx;
min-height: 86rpx;
}
.box-list {
width: 100%;
min-height: 84rpx;
border-bottom: 1rpx solid #ececec;
}
.table-view {
width: 100%;
display: flex;
flex-direction: column;
border-radius: 16rpx;
overflow: hidden;
.table-list {
width: 100%;
height: 64rpx;
@@ -186,12 +191,14 @@ export default {
flex-direction: row;
justify-content: space-between;
border-bottom: 1rpx solid #EAEAEA;
.list-box {
flex: 1;
height: 100%;
box-sizing: border-box;
}
}
.table-head {
width: 100%;
height: 80rpx;
@@ -199,6 +206,7 @@ export default {
display: flex;
flex-direction: row;
justify-content: space-between;
.head-box {
flex: 1;
height: 100%;
@@ -209,10 +217,12 @@ export default {
}
}
.border-lr {
border-left: 1rpx solid #EAEAEA;
border-right: 1rpx solid #EAEAEA;
}
.border-left-1 {
border-bottom-left-radius: 16rpx;
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 489 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB