#
whycq
2023-11-10 1c9667e1213428d25c2a316950dacd944742013f
pages/business/goBusiness/goBusinessDetil.vue
@@ -14,6 +14,12 @@
            </view>
         </view>
      </view>
      <view class="floor">
         <view class="wran">删除</view>
         <view class="default">修改</view>
         <view class="primary" @click="submit()">申请报销</view>
      </view>
   </view>
</template>
@@ -104,6 +110,7 @@
      },
      onLoad(option) {
         let _this = this
         _this.list = []
         const eventChannel = this.getOpenerEventChannel();
         eventChannel.on('busunessDetl', function(data) {
            _this.list.push(data.data)
@@ -141,4 +148,37 @@
   .box-single-row {
      display: flex;
   }
   .floor {
      height: 100rpx;
      line-height: 100rpx;
      width: 100%;
      background-color: #fff;
      position: fixed;
      bottom: 0;
      left: 0;
      display: flex;
      align-items: center;
      text-align: center;
      letter-spacing: 10rpx;
   }
   .default {
      flex: 2;
   }
   .default:active {
      background-color: #eff0f1;
   }
   .wran {
      flex: 1;
      background-color: #ff5722;
      color: #fff;
   }
   .primary {
      flex: 2;
      background-color: #2d8cf0;
      color: #fff;
   }
   .primary:active {
      background-color: #007dea;
   }
</style>