소스 검색

Merge branch 'dev' of http://1.94.207.143:3000/xyy/xyy-m into dev

qiao 2 달 전
부모
커밋
1f4303a8b3
3개의 변경된 파일11개의 추가작업 그리고 8개의 파일을 삭제
  1. 1 1
      src/components/CreateNote/Form.vue
  2. 4 4
      src/components/CreateNote/HeaderBanner.vue
  3. 6 3
      src/pages/note-create/index.client.vue

+ 1 - 1
src/components/CreateNote/Form.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="box-border">
     <div class="flex items-center pl-16 w-full h-44 pt-12">
-      <div class="w-2 h-14 bg-[#FF9300] mr-16"></div>
+      <div class="w-2 h-14 bg-[#FF9300] mr-8"></div>
       <h1 class="text-sm font-bold">填写游记信息</h1>
     </div>
     <div class="flex items-center justify-center">

+ 4 - 4
src/components/CreateNote/HeaderBanner.vue

@@ -2,16 +2,16 @@
   <div style="height: calc(100vw * 0.59)" class="w-full">
     <div
       v-if="!bannerUrl"
-      class="flex h-full w-full items-center justify-center bg-[url('~/assets/img/note-create/note_create_banner_bg.png')]"
+      class="flex relative h-full w-full items-center justify-center bg-[url('~/assets/img/note-create/note_create_banner_bg.png')]"
     >
       <div
         @click="handleSelectImage"
-        class="flex h-40 w-150 active:bg-[#000]/[0.1] bg-[#FFFFFF]/[0.2] items-center justify-center space-x-10 rounded-full border-2 border-white"
+        class="flex absolute bottom-10 right-10 h-40 w-150 active:bg-[#000]/[0.1] bg-[#000]/[0.2] items-center justify-center space-x-10 rounded-full"
       >
         <div class="w-16 h-16">
           <van-image width="100%" height="100%" :src="icon_image_fill" />
         </div>
-        <span class="text-sm font-normal pt-4 text-[#FF9300]">设置游记头图</span>
+        <span class="text-sm font-normal pt-4 text-white">设置游记头图</span>
       </div>
     </div>
 
@@ -25,7 +25,7 @@
           <van-image width="100%" height="100%" :src="image" />
         </div>
 
-        <span class="text-base text-white">重新上传头图</span>
+        <span class="text-sm text-white">重新上传头图</span>
       </div>
     </div>
 

+ 6 - 3
src/pages/note-create/index.client.vue

@@ -5,6 +5,8 @@
       <div class="mt-12">
         <van-cell-group class="border" inset>
           <van-field
+            style="font-size: 16px; font-weight: 600"
+            size="large"
             v-model="noteJson.projectTitle"
             rows="1"
             autosize
@@ -30,7 +32,7 @@
       />
 
       <div class="flex items-center pl-16 pt-16 w-full h-40">
-        <div class="w-2 h-14 bg-[#FF9300] mr-16"></div>
+        <div class="w-2 h-14 bg-[#FF9300] mr-8"></div>
         <h1 class="text-sm font-bold">编辑游记文章</h1>
       </div>
 
@@ -258,7 +260,7 @@
     </div>
 
     <div v-else class="w-full h-full">
-      <div class="p-10 pb-80">
+      <div class="p-16">
         <img
           v-if="defaultNoteJson?.travelNotesBanner"
           :src="defaultNoteJson?.travelNotesBanner"
@@ -375,8 +377,9 @@
           <template v-if="con.type == 'image'">
             <img :src="con.content" class="w-[full] rounded-xl" alt="" />
           </template>
+
           <template v-else>
-            <div v-html="con.content"></div>
+            <div class="text-sm text-black-3" v-html="con.content"></div>
           </template>
         </div>
       </div>