页面字体大小修改

This commit is contained in:
itgaojian163 2025-04-22 14:26:58 +08:00
parent 1c95252fd7
commit ab08f4196d
9 changed files with 61 additions and 37 deletions

View File

@ -1,16 +1,16 @@
<view class="ad-popup" wx:if="{{visible}}"> <view class="ad-popup" wx:if="{{visible}}">
<view class="ad-content" animation="{{animation}}" style="left: {{initPosition.left}};top:{{initPosition.top}}"> <view class="ad-container" animation="{{animation}}" style="left: {{initPosition.left}};top:{{initPosition.top}}">
<view class="ic-close close-icon" bind:tap="onClose"></view> <view class="ic-close close-icon" bind:tap="onClose"></view>
<view class="image-box"> <view class="image-box">
<view class="ad-bg"></view> <view class="ad-bg"></view>
<view class="content"> <view class="ad-content">
<view class="price-box"> <view class="price-box">
<view class="p-icon">¥</view> <view class="p-icon">¥</view>
<view class="p-content">{{coupons.amount/100}}</view> <view class="p-content">{{coupons.amount/100}}</view>
</view> </view>
<view class="ad-desc-box"> <view class="ad-desc-box">
<text class="ad-desc">{{coupons.title}}</text> <text class="ad-desc">{{coupons.title}}</text>
<view class="ad-period">有效期:{{coupons.useGmtStart}}至{{coupons.useGmtEnd}}</view> <view class="ad-period">期:{{coupons.useGmtStart}}至{{coupons.useGmtEnd}}</view>
</view> </view>
</view> </view>
</view> </view>

View File

@ -12,7 +12,7 @@
} }
.ad-content { .ad-container {
position: relative; position: relative;
border-radius: 10px; border-radius: 10px;
overflow: hidden; overflow: hidden;
@ -70,12 +70,12 @@
align-items: center; align-items: center;
} }
.content { .ad-content {
position: absolute; position: absolute;
height: 218rpx; height: 200rpx;
left: 73rpx; width: 61vw;
top: 170rpx; left: 86rpx;
width: 62vw; top: 188rpx;
transform: rotate(-11.6deg); transform: rotate(-11.6deg);
transform-origin: center; transform-origin: center;
display: flex; display: flex;
@ -91,20 +91,27 @@
text-align: justify; text-align: justify;
align-items: baseline; align-items: baseline;
justify-content: center; justify-content: center;
flex: 0.4; flex: 2;
padding: 8rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
.p-icon { .p-icon {
font-size: 16px; font-size: 28rpx;
margin-bottom: 5px; margin-bottom: 5px;
color: #FFA900; color: #FFA900;
} }
.p-content { .p-content {
font-size: 30px; font-size: 45rpx;
margin-left: 5px; margin-left: 5px;
color: #FFA900; color: #FFA900;
font-weight: bold; font-weight: bold;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
.ad-desc-box { .ad-desc-box {
@ -113,24 +120,22 @@
justify-content: center; justify-content: center;
align-items: flex-start; align-items: flex-start;
color: #cc8a05fb; color: #cc8a05fb;
margin-top: 8px; flex: 3;
flex: 0.6;
} }
.ad-desc { .ad-desc {
font-size: 18px; font-size: 32rpx;
font-weight: bold; font-weight: bold;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
max-width: 170px; max-width: 300rpx;
} }
.ad-period { .ad-period {
font-size: 14px; font-size: 24rpx;
} }
.btn { .btn {
border-radius: 14px; border-radius: 14px;
background-color: rgba(255, 169, 0, 1); background-color: rgba(255, 169, 0, 1);

View File

@ -83,6 +83,7 @@ page {
border-radius: 10rpx; border-radius: 10rpx;
background-color: #FFA900; background-color: #FFA900;
color: white; color: white;
font-size: 28rpx;
} }
.buy-desc-box { .buy-desc-box {

View File

@ -110,7 +110,7 @@
<mp-half-screen-dialog show="{{showCommendProject}}" maskClosable="{{false}}"> <mp-half-screen-dialog show="{{showCommendProject}}" maskClosable="{{false}}">
<view slot="title">推荐系统全称</view> <view slot="title">推荐系统全称</view>
<view slot="desc"> <view slot="desc">
<textarea bindinput="inputCommendProjectName" placeholder="请简单介绍您想创建的系统,我们会根据您的描述为您推荐系统全称" style="border: 1px solid #f2f2f2;width: 82vw;padding: 10px;height: 50px;"></textarea> <textarea bindinput="inputCommendProjectName" placeholder="请简单介绍您想创建的系统,我们会根据您的描述为您推荐系统全称" style="border: 1px solid #f2f2f2;width: 82vw;padding: 10px;height: 50px;font-size: 28rpx;"></textarea>
<!-- 推荐回来的列表 --> <!-- 推荐回来的列表 -->
<scroll-view scroll-y style="height: 300rpx;"> <scroll-view scroll-y style="height: 300rpx;">
<view class="project-box"> <view class="project-box">

View File

@ -83,6 +83,7 @@ page {
padding: 5rpx 40rpx; padding: 5rpx 40rpx;
color: white; color: white;
border-radius: 10rpx; border-radius: 10rpx;
font-size: 28rpx;
} }
.content-box { .content-box {

View File

@ -9,7 +9,7 @@
<view class="title-func"> <view class="title-func">
<view class="create-btn" bind:tap="createCopy"> <view class="create-btn" bind:tap="createCopy">
<view class="icon-add" style="width: 40rpx;height: 40rpx;"></view> <view class="icon-add" style="width: 40rpx;height: 40rpx;"></view>
<text style="margin-left: 20rpx;text-align: center;font-size: 40rpx;">创建软著</text> <text style="margin-left: 46rpx;text-align: center;font-size: 40rpx;">创建软著</text>
</view> </view>
<view class="buy-btn" bind:tap="goPayment">充值</view> <view class="buy-btn" bind:tap="goPayment">充值</view>
</view> </view>
@ -25,7 +25,7 @@
<view class="list-title-box"> <view class="list-title-box">
<view class="list-title-txt"> <view class="list-title-txt">
<view class="title-line"></view> <view class="title-line"></view>
<view style="margin-left: 8rpx;">软著列表</view> <view style="margin-left: 12rpx;">软著列表</view>
</view> </view>
<view class="list-title-btns"> <view class="list-title-btns">
<view bind:tap="doChangeStatus" data-value="PROCESSING" class="{{currentStatus=='PROCESSING'? 'btn-select':'btn-normal'}} border-left">进行中的</view> <view bind:tap="doChangeStatus" data-value="PROCESSING" class="{{currentStatus=='PROCESSING'? 'btn-select':'btn-normal'}} border-left">进行中的</view>

View File

@ -114,9 +114,12 @@
} }
.title-line { .title-line {
width: 10rpx; /* width: 10rpx;
height: 32rpx; height: 32rpx;
border-radius: 17rpx; border-radius: 17rpx; */
width: 16rpx;
height: 34rpx;
border-radius: 34rpx;
background-color: rgba(255, 169, 0, 1); background-color: rgba(255, 169, 0, 1);
} }
@ -390,7 +393,7 @@
display: inline-block; display: inline-block;
animation: marquee 10s linear infinite; animation: marquee 10s linear infinite;
color: rgba(85, 0, 0, 1); color: rgba(85, 0, 0, 1);
font-size: 14px; font-size: 24rpx;
margin-left: 15px; margin-left: 15px;
transform: translateX(100%); transform: translateX(100%);
} }

View File

@ -17,7 +17,7 @@
</view> </view>
</view> </view>
<view class="box-down"> <view class="box-down">
<view>套餐包余额</view> <view class="down-title">套餐包余额</view>
<view class="package-bag"> <view class="package-bag">
<view class="package-bag-item" bind:tap="openCreate" data-type="ALL"> <view class="package-bag-item" bind:tap="openCreate" data-type="ALL">
<text class="title">全托管</text> <text class="title">全托管</text>
@ -27,9 +27,9 @@
<text class="title">写材料</text> <text class="title">写材料</text>
<text class="num">{{materialCount}}</text> <text class="num">{{materialCount}}</text>
</view> </view>
<view class="package-bag-item" style="align-items:center;" bind:tap="doCoupons"> <view class="package-bag-item" style="align-items: center;margin-top: 10rpx;" bind:tap="doCoupons">
<view class="icon icon-coupon-ind"></view> <view class="icon icon-coupon-ind"></view>
<view class="title" style="margin-left: 3px;">优惠卷</view> <view class="title" style="margin-left: 16rpx;">优惠卷</view>
</view> </view>
</view> </view>
</view> </view>

View File

@ -60,24 +60,33 @@
} }
.balance-btn { .balance-btn {
padding: 10rpx 40rpx; /* padding: 10rpx 40rpx;
background-color: #4EAF79; background-color: #4EAF79;
border-radius: 10rpx; border-radius: 10rpx;
color: white; color: white; */
padding: 8rpx 48rpx;
text-align: center;
border-radius: 8rpx;
background-color: rgba(76, 171, 118, 1);
color: rgba(255, 255, 255, 1);
font-size: 28rpx;
} }
.balance-desc { .balance-desc {
font-size: 24rpx; font-size: 24rpx;
margin-top: 10rpx; margin-top: 10rpx;
font-weight: 400; font-weight: bold;
} }
.balance { .balance {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
font-size: 48rpx; font-size: 56rpx;
font-weight: 600; font-weight: bold;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
@ -92,19 +101,26 @@
} }
.package-bag { .package-bag {
margin-top: 20rpx;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.down-title {
color: rgba(93, 57, 0, 1);
font-size: 24rpx;
text-align: left;
font-family: PingFangSC-semiBold;
font-weight: bold;
margin-top: 15rpx;
}
.package-bag-item { .package-bag-item {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: center;
align-items: baseline; align-items: baseline;
padding-bottom: 5px;
} }
.package-bag-item .icon { .package-bag-item .icon {
@ -114,13 +130,11 @@
.package-bag .title { .package-bag .title {
font-size: 24rpx; font-size: 24rpx;
line-height: 24rpx;
} }
.package-bag .num { .package-bag .num {
margin-left: 10rpx; margin-left: 10rpx;
font-size: 40rpx; font-size: 56rpx;
font-weight: bold;
} }
.menu-box { .menu-box {