You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.2 KiB
64 lines
1.2 KiB
<template>
|
|
<view class="container">
|
|
<view class="top">
|
|
<view class="select">优惠劵</view>
|
|
<view>代金劵</view>
|
|
</view>
|
|
<view class="search">
|
|
<u-input v-model="keyword" placeholder="请输入兑换码" :border="false"></u-input>
|
|
<view>兑换</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
keyword: ''
|
|
}
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.container {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: #f0f0f0;
|
|
overflow: scroll;
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
|
|
.top {
|
|
padding: 20rpx;
|
|
background-color: #fff;
|
|
border-radius: 0 0 40rpx 40rpx;
|
|
box-shadow: 1rpx 1rpx 10rpx 0 rgba(0, 0, 0, .1);
|
|
text-align: center;
|
|
font-size: 28rpx;
|
|
color: rgba(0, 0, 0, .9);
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
&>view {
|
|
width: 50%;
|
|
text-align: center;
|
|
}
|
|
|
|
.select {
|
|
color: #d90209;
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
|
|
.search {
|
|
margin: 30rpx;
|
|
background: rgba(0, 0, 0, .05);
|
|
border-radius: 40rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding:0rpx 30rpx;
|
|
}
|
|
}
|
|
</style> |