From 3a4ec8da75f6f9eaf9571334319388455c61c65b Mon Sep 17 00:00:00 2001
From: zhaoxing <zhaoxing@shsening.com>
Date: 星期四, 11 五月 2023 15:52:48 +0800
Subject: [PATCH] 修改样式
---
pages/index/write.vue | 40 ++++++++++++++++++++--------------------
1 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/pages/index/write.vue b/pages/index/write.vue
index f3a15d5..7b32ccb 100755
--- a/pages/index/write.vue
+++ b/pages/index/write.vue
@@ -16,18 +16,18 @@
<!-- <button class="cu-btn bg-gradual-orange round">鎴戠殑鍒涗綔</button> -->
</view>
</view>
- <view class="cu-bar bg-white text-orange">
+ <view class="cu-bar text-cyan">
<view class="action">
- <text class="icon-titles text-orange"></text>
+ <text class="text-cyan"></text>
<text class="text-lg text-bold">鍒涗綔绫诲瀷</text>
</view>
</view>
<view class="padding-lr">
<u-input v-model="title" placeholder="杈撳叆闇�瑕丄I涓轰綘鍒涗綔鐨勬枃鏈被鍨�,濡�:灏忕孩涔︽枃妗�" />
</view>
- <view class="cu-bar bg-white text-orange padding-right">
+ <view class="cu-bar text-cyan padding-right">
<view class="action">
- <text class="icon-titles text-orange"></text>
+ <text class="text-cyan"></text>
<text class="text-lg text-bold">涓昏鍐呭</text>
</view>
<button @click="submit" class="cu-btn line-blue radius text-bold">鎻愪氦</button>
@@ -37,10 +37,10 @@
placeholder="杈撳叆闇�瑕丄I涓轰綘鍒涗綔鐨勬枃鏈富瑕佸唴瀹瑰強瑕佹眰,濡�:涓�涓叧浜庢垝鎸囩殑灏忕孩涔︿骇鍝佹枃妗堬紝瑕佹眰浠ョ綉绾㈢鑽夊崥涓荤殑鍙e惢锛屽崥涓昏韩浠戒负缃戠孩濂崇敓锛屾枃妗堜腑鏈�濂藉甯︿竴浜沞moji琛ㄦ儏"
:adjustPosition="false"></u--textarea>
</view>
- <view class="cu-bar bg-white text-orange padding-right">
+ <view class="cu-bar text-cyan padding-right">
<view class="action">
- <text class="icon-titles text-orange"></text>
- <text class="text-lg text-bold">馃AI鍒涗綔</text>
+ <text class="text-cyan"></text>
+ <text class="text-lg text-bold">AI鍒涗綔</text>
</view>
<view class="flex" v-if="answerStatus == 2">
<button class="cu-btn line-black radius text-bold">閲嶆柊鐢熸垚</button>
@@ -53,20 +53,20 @@
<zero-markdown-view style="padding: 0;" :markdown="answer"></zero-markdown-view>
</view>
</view>
- <view class="cu-bar bg-white text-orange">
+ <view class="cu-bar text-cyan">
<view class="action">
- <text class="icon-titles text-orange"></text>
+ <text class="text-cyan"></text>
<text class="text-lg text-bold">甯哥敤妯℃澘</text>
</view>
</view>
<view class="padding-lr">
<view v-for="item in write_template" :key="item.write_template_id">
- <view class="flex align-center text-orange text-df">
+ <view class="flex align-center text-cyan text-df">
<view class="icon-tagfill"></view>
<view class="text-bold">{{item.title}}</view>
</view>
<view v-if="item.children.length > 0" class="flex flex-wrap justify-between align-center padding-tb-sm">
- <view v-for="child in item.children" :key="child.write_template_id" class="template-card bg-orange light">
+ <view v-for="child in item.children" :key="child.write_template_id" class="template-card light">
<view class="write-title"> {{child.title}} </view>
<view class="write-sub-title"> {{child.description}} </view>
</view>
@@ -325,8 +325,8 @@
.template-card {
- /* background: #f5f8f7; */
- border-radius: 10px;
+ background: #30324F;
+ border-radius: 24rpx;
padding: 15px;
width: 48%;
margin-bottom: 15px;
@@ -338,15 +338,15 @@
font-size: 15px;
font-weight: 700;
margin-bottom: 9px;
- /* color: #000; */
+ color: #fff;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.write-sub-title {
- /* color: #8f9ca2; */
- font-size: 12px;
+ color: #93949d;
+ font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
@@ -373,10 +373,10 @@
}
.anser-area {
- box-shadow: 0 0 10px 5px hsla(0, 0%, 62%, .21176470588235294);
- margin-top: 20rpx;
- border-radius: 5px;
- padding: 8px;
+ color: #93949D;
+ background: #30324F;
+ border-radius: 32rpx;
+ padding: 24rpx;
min-height: 120px;
}
--
Gitblit v1.9.1