Browse Source

refactor: ♻️ 修改

pull/26/head
姜鑫 2 years ago
parent
commit
f2cbfa8378
  1. 2
      .drone.yml
  2. 2
      src/components/ScrollList/ScrollList.vue
  3. 10
      src/components/ScrollListItem/ScrollListItem.vue
  4. 2
      src/components/WeatherAndTime/WeatherAndTime.vue

2
.drone.yml

@ -62,7 +62,7 @@ steps:
svn_password: yanfa svn_password: yanfa
commands: commands:
# zip包 # zip包
- zip_name=Navigation_h5_V3.0.0_${DRONE_REPO_NAME}_$(cat /drone/src/.tags).zip
- zip_name=Navigation_h5_V3.0.0_${DRONE_REPO_NAME}_HangZhou_QianTang_Customer_$(cat /drone/src/.tags).zip
- cd /drone/src/dist - cd /drone/src/dist
- zip -q -r $zip_name ./* - zip -q -r $zip_name ./*
- mv $zip_name ../ - mv $zip_name ../

2
src/components/ScrollList/ScrollList.vue

@ -21,7 +21,7 @@
</Swiper> </Swiper>
</div> </div>
<div <div
class="absolute right-6 bottom-5 w-[436px] h-[440px] px-[138px] pt-16 pb-[148px] bg-white rounded-xl shadow-[0px_4px_10px_0px_rgba(0,0,0,0.06)] flex-col justify-start items-center gap-4 inline-flex"
class="absolute right-5 bottom-5 w-[436px] h-[440px] px-[138px] pt-16 pb-[148px] bg-white rounded-xl shadow-[0px_4px_10px_0px_rgba(0,0,0,0.06)] flex-col justify-start items-center gap-4 inline-flex"
> >
<img src="/static/qr.png" class="w-40 h-40" alt="" /> <img src="/static/qr.png" class="w-40 h-40" alt="" />
<div class="text-center text-[#333] text-lg font-normal leading-relaxed">欢迎微信扫码留言<br />期待您的宝贵意见</div> <div class="text-center text-[#333] text-lg font-normal leading-relaxed">欢迎微信扫码留言<br />期待您的宝贵意见</div>

10
src/components/ScrollListItem/ScrollListItem.vue

@ -4,8 +4,8 @@
> >
<div class="flex-1 shrink-0 justify-between"> <div class="flex-1 shrink-0 justify-between">
<div class="flex items-center text-justify text-[#808080] text-16 font-normal leading-[18px] mb-2"> <div class="flex items-center text-justify text-[#808080] text-16 font-normal leading-[18px] mb-2">
<div class="flex-center mr-3 w-8 h-8 bg-[#B60081] rounded-xl">
<img src="../../assets/images/q.svg" class="w-4 h-6" alt="" />
<div class="flex-center mr-3 w-6 h-6 bg-[#B60081] rounded-xl">
<img src="../../assets/images/q.svg" class="w-3 h-5" alt="" />
</div> </div>
{{ formatDate(customer.addTime) }} {{ formatDate(customer.addTime) }}
</div> </div>
@ -17,8 +17,8 @@
</div> </div>
<div class="flex-1 shrink-0"> <div class="flex-1 shrink-0">
<div class="flex items-center text-justify text-[#333] text-16 font-normal leading-[18px] mb-2"> <div class="flex items-center text-justify text-[#333] text-16 font-normal leading-[18px] mb-2">
<div class="flex-center mr-3 w-8 h-8 rounded-xl bg-[#F5F5F5] border border-solid border-[#808080]">
<img src="../../assets/images/a.svg" class="w-4 h-6" alt="" />
<div class="flex-center mr-3 w-6 h-6 rounded-xl bg-[#F5F5F5] border border-solid border-[#808080]">
<img src="../../assets/images/a.svg" class="w-3 h-5" alt="" />
</div> </div>
{{ formatDate(customer.updateTime) }} {{ formatDate(customer.updateTime) }}
</div> </div>
@ -28,7 +28,7 @@
<div v-if="customer.sign" class="text-[#333] text-16">店铺店长: {{ customer.sign }}</div> <div v-if="customer.sign" class="text-[#333] text-16">店铺店长: {{ customer.sign }}</div>
<div class="flex items-center text-[#333] text-16 pt-2"> <div class="flex items-center text-[#333] text-16 pt-2">
总经理: 能岛拓也 总经理: 能岛拓也
<img src="../../assets/images/manager.svg" class="w-12 h-12 ml-2.5 shrink-0" />
<img src="../../assets/images/manager.svg" class="w-10 h-10 ml-2.5 shrink-0" />
</div> </div>
</div> </div>
</ScrollView> </ScrollView>

2
src/components/WeatherAndTime/WeatherAndTime.vue

@ -15,7 +15,7 @@
<div class="w-px h-6 mx-5 bg-[#808080]"></div> <div class="w-px h-6 mx-5 bg-[#808080]"></div>
<div class="text-40 font-bold text-black/70 mr-3">{{ currentTime }}</div> <div class="text-40 font-bold text-black/70 mr-3">{{ currentTime }}</div>
<div class="flex flex-col text-black/70 text-16"> <div class="flex flex-col text-black/70 text-16">
<p class="font-bold">{{ formatDay('y/m/d') }}</p>
<p class="font-bold">{{ formatDay() }}</p>
<p class="font-bold">{{ whichWeek }}</p> <p class="font-bold">{{ whichWeek }}</p>
</div> </div>
</div> </div>

Loading…
Cancel
Save