panhui %!s(int64=3) %!d(string=hai) anos
pai
achega
95d1ecc995
Modificáronse 2 ficheiros con 10 adicións e 6 borrados
  1. 1 1
      .env.development
  2. 9 5
      src/views/Shop.vue

+ 1 - 1
.env.development

@@ -1,4 +1,4 @@
-VUE_APP_BASE_URL=http://192.168.6.116:8080/
+VUE_APP_BASE_URL=http://test.yags.raex.vip/
 NODE_ENV=development
 VUE_APP_PUBLIC_PATH=/
 ASSETS_PATH=raex

+ 9 - 5
src/views/Shop.vue

@@ -1,10 +1,14 @@
 <template>
     <div class="shop" @click="clear">
-        <van-tabs shrink @change="changeTab" v-model:active="active" :swipe-threshold="2">
-            <van-tab title="通行证购买"> </van-tab>
-            <van-tab title="通行证兑换"> </van-tab>
-            <van-tab title="藏品兑换"> </van-tab>
-        </van-tabs>
+        <van-sticky>
+            <div class="padding-safe-top">
+                <van-tabs @change="changeTab" v-model:active="active" :swipe-threshold="2">
+                    <van-tab title="通行证购买"> </van-tab>
+                    <van-tab title="通行证兑换"> </van-tab>
+                    <van-tab title="藏品兑换"> </van-tab>
+                </van-tabs>
+            </div>
+        </van-sticky>
 
         <van-list
             @click="clear"