guhongwei 3 tahun lalu
induk
melakukan
66fb59df23
2 mengubah file dengan 5 tambahan dan 5 penghapusan
  1. 3 3
      pages/home/index.js
  2. 2 2
      pages/home/index.wxss

+ 3 - 3
pages/home/index.js

@@ -15,7 +15,7 @@ Page({
     background: '',
 
     // 热量占比
-    heat: 80,
+    heat: 100,
     heatColor: { '0%': '#E1FFFF', '25%': '#00FF7F', '50%': '#191970', '75%': '#ee0a24', '100%': '#ff0000', },
     // 微信运动
     step: 0,
@@ -188,8 +188,8 @@ Page({
     const url = `${app.globalData.publicUrl}/api/st/dining/order/useMeal/${id}?_tenant=${app.globalData.tenant}`;
     var qrcode = new QRCode(`myQrcode`, {
       text: url,
-      width: 130,
-      height: 130,
+      width: 100,
+      height: 100,
       padding: 3,
       colorDark: "#000000",
       colorLight: "#ffffff",

+ 2 - 2
pages/home/index.wxss

@@ -106,9 +106,9 @@
 
 .main .thr .thr_2 .thr_2Qrcode {
   float: left;
-  width: 30%;
+  width: 24%;
   text-align: center;
-  padding: 8px 0;
+  padding: 8px 10px;
 }
 
 .main .thr .thr_2 .thr_2Qrcode image {