Bladeren bron

修改bug

任重 2 weken geleden
bovenliggende
commit
a3c77f1d31
1 gewijzigde bestanden met toevoegingen van 11 en 7 verwijderingen
  1. 11 7
      packages/app/src/pages/material/index.vue

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

@@ -46,7 +46,7 @@ const pieces = ref([
   {
     title: '推荐材料商',
     desc: '优选推荐商',
-    icon: "https://image.zhuchaohui.com/zhucaohui/86236d61c75904763cd1247db239b25fa2d8cb8222e4575d29581f58e5d69036.png",
+    icon: 'https://image.zhuchaohui.com/zhucaohui/86236d61c75904763cd1247db239b25fa2d8cb8222e4575d29581f58e5d69036.png',
     gridItemClass: 'col-start-2 row-start-1',
     path: '/pages/material/recommend/index',
     isMore: false,
@@ -117,7 +117,11 @@ onMounted(async () => {
         @click="handleClick"
         @change="onChange"
       ></wd-swiper> -->
-      <Banner :mode="BannerMode.Material" aspect="1.26/1" customIndicatorClass="customIndicatorClass"></Banner>
+      <Banner
+        :mode="BannerMode.Material"
+        aspect="1.26/1"
+        customIndicatorClass="customIndicatorClass"
+      ></Banner>
     </view>
     <view class="bg-[#f5f5f5] relative bottom-4 rounded-t-2xl py-1">
       <div class="my-6 grid grid-cols-2 grid-gap-3.5 mx-3.5">
@@ -265,8 +269,8 @@ onMounted(async () => {
                   custom-class=" bg-[#f2f2f2]! p-0! ml-4"
                   @click="
                     openLocation({
-                      latitude: shop.latitude,
-                      longitude: shop.longitude,
+                      latitude: shop.longitude,
+                      longitude: shop.latitude,
                       name: shopName,
                       address: shopAddr,
                     })
@@ -284,7 +288,7 @@ onMounted(async () => {
 </template>
 
 <style lang="scss">
-	:deep(.customIndicatorClass){
-		bottom: 80rpx !important;
-	}
+:deep(.customIndicatorClass) {
+  bottom: 80rpx !important;
+}
 </style>