<template>
	<view class="bottomBtn">
		<view v-for="(item, index) in btnArr" :key="index">
			<u-button :class="item.style" :type="item.type" @click='handleClick(item)'>
				{{item.text}}
			</u-button>
		</view>
	</view>
</template>

<script>
export default {
  name: "BottomBtn",
  props: {
    btnArr: {
      type: Array,
      default () {
      	return []
      }
    },
  },
  methods: {
	handleClick(row) {
		console.log(row)
	}
  },
};
</script>
<style scoped>
.bottomBtn {
  position: fixed;
  display: flex;
  bottom: 0;
  left: 0;
  z-index: 10;
  width: 750rpx;
  height: 140rpx;
  justify-content: center;
  align-items: center;
  background: #fff;
  .u-btn {
    width: 300rpx;
  }
}
</style>