|  | @@ -1,7 +1,7 @@
 | 
	
		
			
				|  |  |  import { computed, defineComponent, onMounted, reactive, shallowRef } from 'vue'
 | 
	
		
			
				|  |  |  import styles from './index.module.less'
 | 
	
		
			
				|  |  |  import ColHeader from '@/components/col-header'
 | 
	
		
			
				|  |  | -import { Button, Image, Popup, Toast } from 'vant'
 | 
	
		
			
				|  |  | +import { Button, Image, NoticeBar, Popup, Toast } from 'vant'
 | 
	
		
			
				|  |  |  import { state as baseState, setLogin } from '@/state'
 | 
	
		
			
				|  |  |  import iconShare from './new-images/icon-share.png'
 | 
	
		
			
				|  |  |  import { useEventListener } from '@vant/use'
 | 
	
	
		
			
				|  | @@ -19,6 +19,7 @@ import deepClone from '@/helpers/deep-clone'
 | 
	
		
			
				|  |  |  import { memberSimpleType, memberType } from '@/constant'
 | 
	
		
			
				|  |  |  import dayjs from 'dayjs'
 | 
	
		
			
				|  |  |  import { orderStatus } from '../order-detail/orderStatus'
 | 
	
		
			
				|  |  | +import TheNoticeBar from '@/components/the-noticeBar'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  export default defineComponent({
 | 
	
		
			
				|  |  |    name: 'member-center',
 | 
	
	
		
			
				|  | @@ -160,7 +161,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |          window.scrollY ||
 | 
	
		
			
				|  |  |          window.pageYOffset ||
 | 
	
		
			
				|  |  |          document.documentElement.scrollTop
 | 
	
		
			
				|  |  | -      state.titleOpacity = height > 100 ? 1 : height / 100
 | 
	
		
			
				|  |  | +      state.titleOpacity = height > 80 ? 1 : 0
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      /** 切换购买类型 */
 | 
	
	
		
			
				|  | @@ -366,6 +367,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |            color={`rgba(0,0,0, ${state.titleOpacity})`}
 | 
	
		
			
				|  |  |            backIconColor="black"
 | 
	
		
			
				|  |  |            hideHeader={false}
 | 
	
		
			
				|  |  | +          border={false}
 | 
	
		
			
				|  |  |            v-slots={{
 | 
	
		
			
				|  |  |              right: () => (
 | 
	
		
			
				|  |  |                <Image
 | 
	
	
		
			
				|  | @@ -400,7 +402,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |              <div class={styles.userInfo}>
 | 
	
		
			
				|  |  |                <div class={styles.userName}>
 | 
	
		
			
				|  |  | -                <span class={styles.name}>{userInfo.value.username}</span>
 | 
	
		
			
				|  |  | +                <span class={styles.name}>{userInfo.value.username}测试</span>
 | 
	
		
			
				|  |  |                  {userInfo.value.phone && (
 | 
	
		
			
				|  |  |                    <span class={styles.phone}>({userInfo.value.phone})</span>
 | 
	
		
			
				|  |  |                  )}
 | 
	
	
		
			
				|  | @@ -523,11 +525,11 @@ export default defineComponent({
 | 
	
		
			
				|  |  |                        src={state.discountTeacher.avatar || iconTeacher}
 | 
	
		
			
				|  |  |                        class={styles.discountAvatar}
 | 
	
		
			
				|  |  |                      />
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -                    <span class={styles.discountName}>
 | 
	
		
			
				|  |  | -                      {state.discountTeacher.username}老师的
 | 
	
		
			
				|  |  | +                    <TheNoticeBar class={styles.discountName} isAnimation>
 | 
	
		
			
				|  |  | +                      {state.discountTeacher.username}
 | 
	
		
			
				|  |  | +                      老师的
 | 
	
		
			
				|  |  |                        <span>专属优惠~</span>
 | 
	
		
			
				|  |  | -                    </span>
 | 
	
		
			
				|  |  | +                    </TheNoticeBar>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                      <Image src={iconGift} class={styles.discountGift} />
 | 
	
		
			
				|  |  |                    </div>
 | 
	
	
		
			
				|  | @@ -615,19 +617,14 @@ export default defineComponent({
 | 
	
		
			
				|  |  |                                  </p>
 | 
	
		
			
				|  |  |                                  <p class={styles.s_title}>{member.title}</p>
 | 
	
		
			
				|  |  |                                </div>
 | 
	
		
			
				|  |  | -                              {/* 只有永久才会有数量提示 */}
 | 
	
		
			
				|  |  | -                              {member.period === 'PERPETUAL' ? (
 | 
	
		
			
				|  |  | -                                <div class={styles.oneMaxNum}>限量1000份</div>
 | 
	
		
			
				|  |  | -                              ) : (
 | 
	
		
			
				|  |  | -                                <div
 | 
	
		
			
				|  |  | -                                  class={[
 | 
	
		
			
				|  |  | -                                    styles.oneMaxNum,
 | 
	
		
			
				|  |  | -                                    styles.oneMaxNumPrice
 | 
	
		
			
				|  |  | -                                  ]}
 | 
	
		
			
				|  |  | -                                >
 | 
	
		
			
				|  |  | -                                  ¥{member.originalPrice}
 | 
	
		
			
				|  |  | -                                </div>
 | 
	
		
			
				|  |  | -                              )}
 | 
	
		
			
				|  |  | +                              <div
 | 
	
		
			
				|  |  | +                                class={[
 | 
	
		
			
				|  |  | +                                  styles.oneMaxNum,
 | 
	
		
			
				|  |  | +                                  styles.oneMaxNumPrice
 | 
	
		
			
				|  |  | +                                ]}
 | 
	
		
			
				|  |  | +                              >
 | 
	
		
			
				|  |  | +                                ¥{member.originalPrice}
 | 
	
		
			
				|  |  | +                              </div>
 | 
	
		
			
				|  |  |                              </div>
 | 
	
		
			
				|  |  |                              <span
 | 
	
		
			
				|  |  |                                class={[
 |