From da7e9c9edc52bb9907542351bd3cf973ddedb43c Mon Sep 17 00:00:00 2001
From: yfx <1249361928@.com>
Date: Tue, 17 Mar 2026 10:05:56 +0800
Subject: [PATCH] css 优化
---
pages/quanyi/index.vue | 16 ++++++++++------
pages/quanyi/components/agreement/index.vue | 7 +++++--
2 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/pages/quanyi/components/agreement/index.vue b/pages/quanyi/components/agreement/index.vue
index 3e0fec3..03a5fb8 100644
--- a/pages/quanyi/components/agreement/index.vue
+++ b/pages/quanyi/components/agreement/index.vue
@@ -42,12 +42,12 @@
zIndex="3">
<uv-cell-group>
<view class="popup-title">
- <view>请阅读以下协议</view>
+ <view style="margin: auto;text-align: center;padding: 20rpx;">请阅读以下协议</view>
</view>
<view class="setting-list-item">
<view
class="setting-text"
- style="font-size: 32rpx; font-weight: bold; justify-content: left"
+ style="font-size: 32rpx; font-weight: bold; justify-content: left;padding-left: 30rpx;"
>平台服务协议</view
>
</view>
@@ -73,7 +73,10 @@
display: flex;
flex-direction: row;
justify-content: center;
+
+ margin: auto;
margin-top: 38rpx;
+ text-align: center;
}
.setting-list-item {
display: flex;
diff --git a/pages/quanyi/index.vue b/pages/quanyi/index.vue
index 3c1f689..01c8517 100644
--- a/pages/quanyi/index.vue
+++ b/pages/quanyi/index.vue
@@ -117,12 +117,10 @@
</script>
<template>
- <view style="background-image: url('/static/imgs/QYBACKA.png');background-repeat: no-repeat;background-size: 100% 100%;background-color: #FFF4FA;">
+ <view class="box" style="">
<view class="head" style="position: relative">
- <view style="display: flex;justify-content: flex-start;z-index: 9">
- <view @tap="goHome" id="home" class="home acea-row row-center-wrapper iconfont icon-fanhui2 h5_back icon-shouye4" :style="{ height: '20rpx',lineHeight: '80rpx'}" ></view>
- </view>
+
<view style="margin-left: 20rpx;display: flex;justify-content: space-between;">
@@ -203,7 +201,7 @@
background: #999 !important;
}
.head{
- padding: 30rpx 10rpx 0 30rpx;
+ padding: 0rpx 10rpx 0 30rpx;
font-size: 32rpx;
color: #252938;
@@ -297,5 +295,11 @@
display: flex;
flex-direction: row;
}
-
+.box{
+ background-image: url('/static/imgs/QYBACKA.png');
+ background-repeat: no-repeat;
+ background-size: 100% 100%;
+ background-color: #FFF4FA;
+ min-height: 100%;
+}
</style>
--
Gitblit v1.9.3