<template>
  <view class="carttittle">
      <view>
           <img src="../../static/img/alert.png" alt="" class="ale">
           <text class="alert">向左滑动删除</text>
      </view>
     <view class="right" @click="getyhq">领券</view>
  </view>
</template>

<script>
export default {
name:"shoppingCarttitle",
methods:{
    getyhq(){
        this.$emit("getyhq",true)
    }
}
}
</script>

<style lang="scss">
.carttittle{
    height:79upx;
    background-color: #F6F6F6;
    display: flex;
    justify-content: space-between;
    .ale{
        width:23upx;
        height: 23upx;
        margin-left: 29upx;
        margin-right: 11upx;
    }
    .alert{
        color: #222222;
        font-size: 22upx;
        line-height: 80upx;
    }
    .right{
        color: #D9324C;
        font-size: 26upx;
        line-height: 80upx;
        margin-right: 37upx;
    }
}
</style>