JM-MiniApp/pages/user/feedback.vue

44 lines
988 B
Vue
Raw Permalink Normal View History

2023-10-19 23:23:22 +08:00
<script setup>
import { onLoad } from "@dcloudio/uni-app"
// import mySwiper from "@/components/mySwiper.vue"
import {ref,onMounted,nextTick} from "vue"
import {useStore} from '@/store/index.js'
import api from "@/api/index.js"
</script>
<template>
<view class="feedbackBox">
<view class="writeBox">
2023-11-07 00:12:02 +08:00
<textarea placeholder="输入您的问题" class="textarea" v-model="txt"></textarea>
2023-10-19 23:23:22 +08:00
</view>
<view class="btn-part">
<view class="btn">提交</view>
</view>
</view>
</template>
<style scoped lang="scss">
.feedbackBox{
padding: 20rpx;
.writeBox{
border: 2rpx solid #e2e2e2;
border-radius: 10rpx;
textarea{
width: 100%;
padding: 20rpx;
}
}
.btn-part{
position: fixed;
bottom: 40rpx;
width: 100%;
text-align: center;
.btn{
display: inline-block;
background-color: #26758d;
color: white;
padding: 20rpx 40rpx;
width: 50%;
border-radius: 20rpx;
}
}
}
</style>