sen
1 天以前 5abcde36961125cbf436f91b8c17610a6b5f8308
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<template>
  <view class="bottom-btn-group">
    <u-button class="btn-list" @click="$emit('history')" text="行程历史" />
    <u-button class="btn-list" @click="$emit('advance')" text="垫付列表" />
    <u-button :loading="loading" class="btn-submit" @click="$emit('submit')" type="primary" text="提交" />
  </view>
</template>
 
<script>
export default {
  name: 'BottomBar',
  props: {
    loading: {
      type: Boolean,
      default: false
    }
  }
}
</script>
 
<style scoped>
.bottom-btn-group {
  display: flex;
  gap: 20rpx;
  padding: 30rpx;
  background-color: #fff;
}
 
.btn-list,
.btn-submit {
  flex: 1;
}
</style>