评论商品接口有问题
This commit is contained in:
@@ -1,16 +1,21 @@
|
||||
<script setup>
|
||||
const props = defineProps()
|
||||
const props = defineProps({
|
||||
position: {
|
||||
type: String,
|
||||
default: 'fixed'
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<view class="bottom-view">
|
||||
<view :style="{ position: props.position }" class="bottom-view">
|
||||
<slot></slot>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.bottom-view {
|
||||
position: fixed;
|
||||
// position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
// 确认密码
|
||||
confirmPassword: '',
|
||||
// 邀请码
|
||||
invitationCode: '54321',
|
||||
invitationCode: '',
|
||||
agreement: true
|
||||
})
|
||||
|
||||
@@ -79,6 +79,11 @@
|
||||
return
|
||||
}
|
||||
|
||||
if (!formData.invitationCode) {
|
||||
showToast('请输入邀请码')
|
||||
return
|
||||
}
|
||||
|
||||
const data = {
|
||||
type: isPhone.value ? 2 : 1,
|
||||
mobile: formData.name,
|
||||
|
||||
Reference in New Issue
Block a user