页面字体大小修改

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-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="image-box">
<view class="ad-bg"></view>
<view class="content">
<view class="ad-content">
<view class="price-box">
<view class="p-icon">¥</view>
<view class="p-content">{{coupons.amount/100}}</view>
</view>
<view class="ad-desc-box">
<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 File

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

View File

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

View File

@ -110,7 +110,7 @@
<mp-half-screen-dialog show="{{showCommendProject}}" maskClosable="{{false}}">
<view slot="title">推荐系统全称</view>
<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;">
<view class="project-box">

View File

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

View File

@ -9,7 +9,7 @@
<view class="title-func">
<view class="create-btn" bind:tap="createCopy">
<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 class="buy-btn" bind:tap="goPayment">充值</view>
</view>
@ -25,7 +25,7 @@
<view class="list-title-box">
<view class="list-title-txt">
<view class="title-line"></view>
<view style="margin-left: 8rpx;">软著列表</view>
<view style="margin-left: 12rpx;">软著列表</view>
</view>
<view class="list-title-btns">
<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 {
width: 10rpx;
/* width: 10rpx;
height: 32rpx;
border-radius: 17rpx;
border-radius: 17rpx; */
width: 16rpx;
height: 34rpx;
border-radius: 34rpx;
background-color: rgba(255, 169, 0, 1);
}
@ -390,7 +393,7 @@
display: inline-block;
animation: marquee 10s linear infinite;
color: rgba(85, 0, 0, 1);
font-size: 14px;
font-size: 24rpx;
margin-left: 15px;
transform: translateX(100%);
}

View File

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

View File

@ -60,24 +60,33 @@
}
.balance-btn {
padding: 10rpx 40rpx;
/* padding: 10rpx 40rpx;
background-color: #4EAF79;
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 {
font-size: 24rpx;
margin-top: 10rpx;
font-weight: 400;
font-weight: bold;
}
.balance {
display: flex;
flex-direction: row;
align-items: center;
font-size: 48rpx;
font-weight: 600;
font-size: 56rpx;
font-weight: bold;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
@ -92,19 +101,26 @@
}
.package-bag {
margin-top: 20rpx;
display: flex;
flex-direction: row;
justify-content: space-between;
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 {
display: flex;
flex-direction: row;
justify-content: center;
align-items: baseline;
padding-bottom: 5px;
}
.package-bag-item .icon {
@ -114,13 +130,11 @@
.package-bag .title {
font-size: 24rpx;
line-height: 24rpx;
}
.package-bag .num {
margin-left: 10rpx;
font-size: 40rpx;
font-weight: bold;
font-size: 56rpx;
}
.menu-box {