chenhaozhe
2025-07-14 b6c21a6f18bb5b0da6de8dd67a924be14dfe506b
components/blueToothConnector/blueToothConnector.vue
@@ -23,6 +23,7 @@
            <uni-card :title="device.name" :extra="connectedDeviceId === device.address?'已连接':'未连接'"
               style="margin: 10px;">
               <view class="operation-zone">
                  <view></view>
                  <button class="op1" size="mini" plain @click="connectBT(device)">连接设备</button>
               </view>
            </uni-card>
@@ -314,9 +315,17 @@
   .operation-zone {
      display: flex;
      justify-content: space-around;
      margin-top: 10rpx;
      justify-content: flex-end;
      padding: 10rpx;
      >view {
         flex: 1;
      }
      >button{
         display: inline-block;
         width: 6rem;
      }
      .op1 {
         border: 1px solid #41a863;
         color: #41a863;