purui 3 days ago
parent
commit
960c024ce5

BIN
packages/app/src/assets/pngs/eyes.png


BIN
packages/app/src/assets/pngs/no-eyes.png


+ 11 - 0
packages/app/src/pages/material/detail/index.vue

@@ -193,6 +193,17 @@ onShareTimeline(() => ({
                   }}
                 </span>
               </div>
+			  <div>
+			    <span class="text-black/40 text-xs font-normal font-['PingFang_SC'] leading-[10px]">
+			      经营范围:
+			    </span>
+			    <span
+			      class="text-black/40 text-xs font-normal font-['PingFang_SC'] uppercase leading-[10px]"
+			    >
+			      <!-- imola / chedit -->
+			      {{ data?.businessScope }}
+			    </span>
+			  </div>
             </div>
           </div>
           <template

+ 7 - 3
packages/app/src/pages/mine/index.vue

@@ -32,6 +32,7 @@ import { AnalysisEventType, useAnalysis } from '@/composables/analysis'
 
 const { option, report } = useAnalysis(false)
 const official = ref(false)
+const hidePoints = ref<boolean>(true)
 const isPublish = ref<boolean>(false)
 const router = useRouter()
 const userStore = useUserStore()
@@ -410,7 +411,7 @@ onPageScroll(({ scrollTop }: { scrollTop: number }) => {
       </div>
     </div>
     <template v-else>
-      <div @click="router.push('/pages-sub/mine/levels/index')" class="relative top--36">
+      <div class="relative top--36">
         <div
           class="mx-3.5 absolute left-0 right-0 top--4 aspect-[1.93/1] rounded-2.5 p-3.5 box-border bg-[length:100%]"
           :class="['text-[#65341d]']"
@@ -422,6 +423,9 @@ onPageScroll(({ scrollTop }: { scrollTop: number }) => {
         >
           <div class="flex items-center">
             <div class="flex-1"></div>
+			<div class="mr-[140rpx] pt-[10px]" @click="hidePoints= !hidePoints">
+				<wd-img :src="hidePoints?noEyes:eyes" width="20" height="20"></wd-img>
+			</div>
             <div
               class="bg-gradient-to-r from-[#333333] to-[#20201e] rounded-tl-[20px] rounded-bl-[20px] mr--3.5 px-2 mt-3"
               @click.stop="router.push('/pages-sub/mine/levels/index')"
@@ -429,12 +433,12 @@ onPageScroll(({ scrollTop }: { scrollTop: number }) => {
               <div class="text-xs font-normal font-['PingFang_SC'] leading-relaxed color-[#f3f3f3]">
                 更多等级权益
               </div>
-            </div>
+            </div>			
           </div>
           <div class="flex items-end mt-10">
             <div>
               <span class="text-4xl font-normal font-['D-DIN_Exp'] mr-1">
-                {{ userInfo.level?.point }}
+                {{ hidePoints?"****":userInfo.level?.point }}
               </span>
               <span class="text-center text-xs font-normal font-['PingFang_SC']">积分</span>
             </div>