From 320cafdca2b0989aac74e502ee8983df2cf770f6 Mon Sep 17 00:00:00 2001
From: zhaoxing <zhaoxing@shsening.com>
Date: 星期四, 18 五月 2023 11:39:55 +0800
Subject: [PATCH] 更改样式
---
pages/mine/mine.vue | 9 ++--
uni_modules/uview-ui/components/u-textarea/u-textarea.vue | 2
pages/index/write.vue | 37 +-----------------
components/css/index.css | 6 +-
pages/index/home.vue | 4 +-
pages/index/index.vue | 5 +-
6 files changed, 14 insertions(+), 49 deletions(-)
diff --git a/components/css/index.css b/components/css/index.css
index ccd69ea..344ceac 100755
--- a/components/css/index.css
+++ b/components/css/index.css
@@ -43,14 +43,14 @@
}
.mark-content {
- /* padding: 0 15rpx!important; */
+ padding: 15rpx!important;
}
.body_lcon {
color: #57546F;
background: #F6F7FB;
- margin-left: 36rpx;
- margin-right: 60rpx;
+ margin-left: 14rpx;
+ margin-right: 54rpx;
}
.body_rcon {
diff --git a/pages/index/home.vue b/pages/index/home.vue
index 87654b6..af58e35 100755
--- a/pages/index/home.vue
+++ b/pages/index/home.vue
@@ -228,13 +228,13 @@
display: flex;
flex-direction: column;
align-items: center;
- background-color: #30324f;
+ background-color: #fff;
margin: 12rpx 0rpx;
padding: 30rpx 0rpx;
border-radius: 10rpx;
.title {
- color: #fff;
+ color: #30324f;
font-size: 28rpx;
margin-top: 15rpx;
}
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 384648a..4d60ef5 100755
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -12,7 +12,7 @@
<zero-markdown-view :markdown="item.content" ></zero-markdown-view>
</view>
<view style="position: absolute;right: 0;bottom: 10rpx;">
- <u-icon @click="copy(item)" name="file-text-fill" size="30"></u-icon>
+ <u-icon @click="copy(item)" name="file-text-fill" size="24" color="#302cd9"></u-icon>
</view>
</view>
</view>
@@ -36,8 +36,7 @@
<image :src="`${setting_data.base_url+now_model.icon}`" mode=""></image>
</view>
<view class="body_box ">
- <view class="body_lcon pdg border_radius_l" style="display: flex;overflow-x: hidden;">
- <u-loading-icon :show="loading"></u-loading-icon>
+ <view class="body_lcon pdg border_radius_l" style="display: flex; overflow-x: hidden;">
<view v-if="!typeingText" style="padding: 30rpx;">{{ now_model.title }}鎬濊�冧腑...</view>
<!-- <zero-markdown-view v-if="!typeingText" style="padding: 0 20rpx;" :markdown="now_model.title">鎬濊�冧腑...</zero-markdown-view> -->
<!-- <view v-else style="padding: 30rpx;">{{ typeingText }}...</view> -->
diff --git a/pages/index/write.vue b/pages/index/write.vue
index 4e82ea9..aa4600a 100755
--- a/pages/index/write.vue
+++ b/pages/index/write.vue
@@ -4,18 +4,7 @@
<u-navbar placeholder title="AI鍒涗綔鏁欏">
</u-navbar>
<!-- #endif -->
- <view class="">
- <view class="topbg">
- <u--image :showLoading="true" src="https://newgpt.nauzone.cn/uploads/admin/writebg.png" width="750rpx"
- height="234rpx"></u--image>
- <view class="content-wrap">
- <view class="content">
- <view class="text-bold text-xxl">AI鍒涗綔鏁欏</view>
- <view class="text-bold text-lg padding-top-xs">鍚彂鐏垫劅锛屼笓娉ㄥ垱閫�</view>
- </view>
- <!-- <button class="cu-btn bg-gradual-orange round">鎴戠殑鍒涗綔</button> -->
- </view>
- </view>
+ <view class="topbg">
<view class="cu-bar">
<view class="action">
<text class="text-green"></text>
@@ -334,29 +323,7 @@
font-size: 28rpx;
}
.topbg {
- position: relative;
-
- .content-wrap {
- position: absolute;
- top: 0;
- left: 0;
- width: 100vw;
- height: calc(100vw * 0.32);
- background-color: rgba(0, 0, 0, 0.39);
-
- .content {
- position: absolute;
- top: 60rpx;
- left: 40rpx;
- color: #fff;
- }
-
- .cu-btn {
- position: absolute;
- right: 40rpx;
- top: 120rpx;
- }
- }
+ padding-top: 216rpx;
}
</style>
diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue
index 0711624..c309499 100755
--- a/pages/mine/mine.vue
+++ b/pages/mine/mine.vue
@@ -419,10 +419,10 @@
}
.item {
- background: #30324f;
+ background: #fff;
margin-bottom: 32rpx;
padding: 24rpx 32rpx;
- border-radius: 32rpx;
+ border-radius: 24rpx;
.solid-bottom {
width: 100%;
@@ -431,14 +431,13 @@
.title {
font-size: 32rpx;
font-weight: bold;
- color: #fff;
+ color: #111;
line-height: 56rpx;
}
.desc {
- padding-right: 13rpx;
+ padding-right: 12rpx;
font-size: 28rpx;
- font-weight: 500;
color: #848b9e;
line-height: 40rpx;
}
diff --git a/uni_modules/uview-ui/components/u-textarea/u-textarea.vue b/uni_modules/uview-ui/components/u-textarea/u-textarea.vue
index 2cd5fdc..103c3ce 100755
--- a/uni_modules/uview-ui/components/u-textarea/u-textarea.vue
+++ b/uni_modules/uview-ui/components/u-textarea/u-textarea.vue
@@ -221,7 +221,7 @@
&__field {
flex: 1;
- font-size: 15px;
+ font-size: 14px;
color: $u-content-color;
width: 100%;
}
--
Gitblit v1.9.1