smartswrtch-app/page_geren/addhuiyuan.vue
2025-01-19 21:19:51 +08:00

145 lines
2.8 KiB
Vue

<template>
<view>
<u-navbar title="新增会员卡" :border-bottom="false" :background="bgc" title-color='#000' title-size='36'
height='45'></u-navbar>
<view class="box">
<view class="ul">
<view class="name">
会员卡名称
</view>
<input type="text" placeholder="请输入会员卡名称"/>
</view>
<view class="ul">
<view class="name">
会员卡原价/
</view>
<input type="text" placeholder="请输入会员卡原价"/>
</view>
<view class="ul">
<view class="name">
会员卡现价/
</view>
<input type="text" placeholder="请输入会员卡现价"/>
</view>
<view class="ul">
<view class="name">
会员卡期限/
</view>
<input type="text" placeholder="请输入会员卡期限"/>
</view>
<view class="ul">
<view class="name">
会员卡折扣/
</view>
<input type="text" placeholder="请输入会员卡折扣"/>
</view>
<view class="ul">
<view class="name">
会员卡使用次数/
</view>
<input type="text" placeholder="请输入会员卡使用次数"/>
</view>
<view class="ul">
<view class="name">
上限次数/
</view>
<view class="sx">
<input type="text"/>/ 上限<input type="text"/>/
</view>
</view>
</view>
<view class="anniu">
<view class="qx">
取消
</view>
<view class="qd">
新增
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
bgc: {
backgroundColor: '#fff'
},
}
},
onLoad() {
},
methods: {
getQiniuToken() {
this.$u.get("/common/qiniu/uploadInfo").then((res) => {
if (res.code == 200) {
this.token = res.token
}
})
},
}
}
</script>
<style lang="less">
.anniu{
width: 100%;
display: flex;
justify-content: space-between;
padding: 0 60rpx;
box-sizing: border-box;
.qx{
width: 300rpx;
height: 80rpx;
border-radius: 50rpx;
text-align: center;
line-height: 80rpx;
background-color: #ccc;
}
}
.box{
width: 680rpx;
margin: auto;
margin-top: 40rpx;
border-radius: 30rpx;
box-sizing: border-box;
background-color: #fff;
.ul{
display: flex;
justify-content: space-between;
width: 100%;
height: 120rpx;
line-height: 120rpx;
padding: 0 20rpx;
box-sizing: border-box;
border-bottom: 1px solid #efefef;
.sx{
max-width: 460rpx;
display: flex;
align-items: center;
input{
width: 60rpx;
height: 30rpx;
border-bottom: 1px solid #efefef;
text-align: right;
margin-left: 20rpx;
margin-right: 20rpx;
}
}
.name{
font-size: 28rpx;
}
input{
height: 120rpx;
line-height: 120rpx;
text-align: right;
}
}
}
</style>