| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <template>
- <view>
- <uni-popup ref="popupCode" type="bottom">
- <view class="pop-address box-border-box p-24">
- <view class="text-align-center fs-36 fw-600 box-title mb-32">
- 取件码
- <uni-icons @click="closeCoupon" class="box-close" type="closeempty" size="20"></uni-icons>
- <view class="box-save fs-30 fc-41ABF5" @click="save">确认</view>
- </view>
-
- <view class="scroll-view-css">
- <view class="" v-for="(item,i) in value" :key="i">
- <input type="text" v-model="value[i]">
- </view>
- </view>
- </view>
- </uni-popup>
- </view>
- </template>
- <script>
- export default {
- props:['value'],
- data(){
- return{
- list:[],
- }
- },
- methods:{
- getList(){
- this.openPop();
- },
- openPop(){
- this.$refs.popupCode.open();
- },
- closeCoupon(){
- this.$refs.popupCode.close();
- },
- save(){
- this.$emit('input',this.value);
- this.$refs.popupCode.close();
- },
- },
- }
- </script>
- <style scoped lang="scss">
- .pop-address{
- width: 100%;
- height: 50vh;
- background-color: #fff;
- border-radius: 24rpx 24rpx 0rpx 0rpx;
- padding-top: 32rpx !important;
- display: flex;
- flex-direction: column;
- .box-title{
- position: relative;
- .box-close{
- position: absolute;
- left: 22rpx;
- }
- .box-save{
- position: absolute;
- right: 22rpx;
- top: 0;
- }
- }
-
- input{
- width: 100%;
- height: 92rpx;
- background: #F6F6F6;
- border-radius: 20rpx 20rpx 20rpx 20rpx;
- margin-bottom: 20rpx;
- font-size: 32rpx;
- box-sizing: border-box;
- padding: 0 24rpx;
- }
- }
- </style>
|