shish hace 10 meses
padre
commit
81b66dc3d1
Se han modificado 2 ficheros con 5 adiciones y 2 borrados
  1. 1 1
      mallApp/src/components/wangCg.vue
  2. 4 1
      mallApp/src/pages/home/mall.vue

+ 1 - 1
mallApp/src/components/wangCg.vue

@@ -276,7 +276,7 @@ export default {
 // 说明文字区域
 .notice-section {
   .notice-text {
-    font-size: 32upx;
+    font-size: 28upx;
     color: #999999;
     line-height: 1.5;
     text-align: center;

+ 4 - 1
mallApp/src/pages/home/mall.vue

@@ -99,7 +99,7 @@
       </scroll-view>
     </block>
 
-    <wangCg :loginStyle.sync="globalLoginStyle" @goToLogin="loginTo()"></wangCg>
+    <wangCg :loginStyle.sync="globalLoginStyle" @goToLogin="loginTo()" @loginSuccess="loginSuccess"></wangCg>
   </view>
 </template>
 <script>
@@ -178,6 +178,9 @@ export default {
     },
   },
   methods: {
+    loginSuccess(){
+      this.init()
+    },
     toBuy(item) {
       const shopName =
         this.shopInfo.shopName != "首店"