uniapp【优化】: 适配app端

This commit is contained in:
15093570141
2024-10-27 19:27:18 +08:00
parent 7dc19e8caa
commit b3329208d9
9 changed files with 16 additions and 16 deletions

View File

@@ -1,7 +1,6 @@
.article-box { .layout-article-box {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.article-img { .article-img {
display: flex; display: flex;
@@ -17,8 +16,7 @@
margin-left: 20rpx; margin-left: 20rpx;
justify-content: space-between; justify-content: space-between;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.title { .title {
height: 80rpx; height: 80rpx;
overflow: hidden; overflow: hidden;
@@ -30,6 +28,7 @@
height: 96rpx; height: 96rpx;
overflow: hidden; overflow: hidden;
font-size: 24rpx; font-size: 24rpx;
line-height: 32rpx;
color: #999; color: #999;
} }
} }

View File

@@ -1,5 +1,5 @@
<template> <template>
<view class="article-box"> <view class="layout-article-box">
<view class="article-img" @click="handleClickArticle"> <view class="article-img" @click="handleClickArticle">
<image class="img" :src="props.data?.image || handleStaticResources('/static/images/common/empty.png')"> <image class="img" :src="props.data?.image || handleStaticResources('/static/images/common/empty.png')">
</image> </image>

View File

@@ -20,7 +20,8 @@
.name-two { .name-two {
font-size: 30rpx; font-size: 30rpx;
color: #292b2e; color: #292b2e;
height: 75rpx; height: 75rpx;
line-height: 40rpx;
overflow: hidden; overflow: hidden;
} }

View File

@@ -3,6 +3,7 @@
border-radius: 15rpx; border-radius: 15rpx;
background-color: #fff; background-color: #fff;
.title-box { .title-box {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;

View File

@@ -13,8 +13,7 @@
} }
} }
.card-box { .card-box {
display: flex;
margin-top: 35rpx; margin-top: 35rpx;
.goods-card { .goods-card {

View File

@@ -10,7 +10,7 @@
.bg-title { .bg-title {
position: fixed; position: fixed;
top: 200rpx; top: 155rpx;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
width: 508rpx; width: 508rpx;
@@ -18,9 +18,9 @@
.invite-box { .invite-box {
position: fixed; position: fixed;
top: 380rpx; top: 50%;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translate(-50%,-50%);
.invite-code { .invite-code {
width: 500rpx; width: 500rpx;

View File

@@ -9,7 +9,7 @@
<uv-icon name="arrow-right" size="18" color="#000"></uv-icon> <uv-icon name="arrow-right" size="18" color="#000"></uv-icon>
</view> </view>
<!-- #ifdef APP-PLUS || APP-PLUS-NVUE --> <!-- #ifdef APP-PLUS || APP-PLUS-NVUE -->
<view class="item-box"> <view class="item-box" @click="handleRouteNavigateTo(`/pages/subpackage/member/set/password/password`)">
<view class="title-box"> <view class="title-box">
<uv-icon name="empty-list" size="18" color="#000"></uv-icon> <uv-icon name="empty-list" size="18" color="#000"></uv-icon>
<view class="title">修改密码</view> <view class="title">修改密码</view>

View File

@@ -90,12 +90,12 @@
justify-content: space-between; justify-content: space-between;
.order, .order,
.price { .price {
width: 43%; width: 45%;
font-size: 27rpx; font-size: 27rpx;
color: #000; color: #000;
background-color: #fff; background-color: #fff;
border-radius: 15rpx; border-radius: 15rpx;
padding: 20rpx; padding: 20rpx 10rpx;
text-align: center; text-align: center;
background: rgba(76, 184, 157, 0.06); background: rgba(76, 184, 157, 0.06);
border: 0.5px solid #b9e3d9; border: 0.5px solid #b9e3d9;

View File

@@ -101,10 +101,10 @@
<view class="total-box"> <view class="total-box">
<view class="order"> <view class="order">
订单量{{state.totalCount}} 订单量(){{state.totalCount}}
</view> </view>
<view class="price"> <view class="price">
交易额{{state.totalMoney}} 交易额(){{state.totalMoney}}
</view> </view>
</view> </view>