From fb58f708f07484b490a13f45cbc0d88c2189af6a Mon Sep 17 00:00:00 2001
From: zhaoxing <zhaoxing@shsening.com>
Date: 星期四, 18 五月 2023 16:22:14 +0800
Subject: [PATCH] 样式更新
---
pages/index/write.vue | 24 +++++++++++++++++++-----
1 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/pages/index/write.vue b/pages/index/write.vue
index aa4600a..4a9f8c2 100755
--- a/pages/index/write.vue
+++ b/pages/index/write.vue
@@ -1,5 +1,5 @@
<template>
- <view>
+ <view class="home-bg">
<!-- #ifndef H5 -->
<u-navbar placeholder title="AI鍒涗綔鏁欏">
</u-navbar>
@@ -280,19 +280,29 @@
}
</script>
-<style lang="scss">
+<style lang="scss" scoped>
@import url("@/static/style/color-ui.css");
+
+ .home-bg {
+ background: url('@/static/home_bg.jpg') #ecf4fd no-repeat;
+ background-size: 100% auto;
+ background-position: 0 -32px;
+ box-sizing: border-box;
+ padding-top: 144px;
+ }
.input-text{
border-radius: 16rpx;
background: #fff;
- border: 2rpx solid #607389;
+ // border: 2rpx solid #607389;
+ border: none;
padding: 20rpx 24rpx !important;
margin-bottom: 20rpx;
color: #fff;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
}
.text-title{
- color: #607389;
+ color: #222;
font-size: 36rpx;
font-weight: 500;
}
@@ -302,10 +312,12 @@
border-radius: 16rpx;
border: none;
overflow: hidden;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
.u-textarea--radius{
border-radius: 16rpx 16rpx 0 0;
padding: 24rpx;
+ border: none;
}
.btn{
@@ -378,11 +390,13 @@
}
.anser-area {
- color: #93949D;
+ color: #303133;
background: #fff;
border-radius: 16rpx;
padding: 24rpx;
min-height: 120px;
+ margin-bottom: 15px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
}
.directask .askaquestion {
--
Gitblit v1.9.1