yerong vor 4 Jahren
Ursprung
Commit
544b3524cf

+ 10 - 8
src/pages/start/index.vue

@@ -231,8 +231,8 @@ export default {
     //游戏结束方法
     game_finished() {
       //停止控制游戏
-      bluetooth.sendPause($this._deviceId, $this._serviceId, $this._characteristicId)
-      bluetooth.sendEnd($this._deviceId, $this._serviceId, $this._characteristicId)
+      // bluetooth.sendPause($this._deviceId, $this._serviceId, $this._characteristicId)
+      // bluetooth.sendEnd($this._deviceId, $this._serviceId, $this._characteristicId)
       bluetooth.shutdownSendControl($this._deviceId, $this._serviceId, $this._characteristicId)
 
       const countDown = $this.$mp.page.selectComponent('.control-count-down');
@@ -477,6 +477,14 @@ export default {
 }
 </script>
 
+<style>
+.van-count-down {
+  font-weight: bold;
+  font-size: 30px !important;
+  color: white !important;
+}
+
+</style>
 <style scoped>
 #playing_container {
   width: 100%;
@@ -503,12 +511,6 @@ export default {
   color: #FFFFFF;
 }
 
-.van-count-down {
-  font-weight: bold;
-  font-size: 30px !important;
-  color: white !important;
-}
-
 .cut_brain_icon {
   width: 11px;
   height: 11px;

+ 7 - 0
src/pages/user_center/index.vue

@@ -133,6 +133,13 @@ export default {
 }
 </script>
 
+<style>
+.contact_button{
+  position: relative;
+  bottom: 45px;
+  opacity: 0;
+}
+</style>
 <style scoped>
 /* 头部椭圆 */
 .head {

+ 0 - 1
src/pages/user_center/orders/index.vue

@@ -57,5 +57,4 @@ export default {
 </script>
 
 <style scoped>
-@import "index.css";
 </style>

+ 3 - 0
src/utils/bluetooth.js

@@ -471,6 +471,9 @@ export default {
     })
     let that = this
     let $count = 0
+    setTimeout(() => {
+      Toast.clear()
+    }, 10000)
     //关闭核销选项窗口
     // $this.pay_window = false
     wx.onBLECharacteristicValueChange((characteristic) => {