123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <template>
- <view class="hasquestion-wrap">
- <view class="title">问题描述</view>
- <textarea
- v-model="text"
- placeholder="请输入问题描述"
- placeholder-class="textarea-placeholder"
- />
- <view class="btn-wrap">
- <view class="btn" @click="handleClick">完成</view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- text:''
- };
- },
- methods: {
- handleClick(){
- const pages = getCurrentPages()
- console.log(pages)
- pages[pages.length-2].data.changeSelect('me')
- uni.navigateBack({delta:1})
- }
- },
- };
- </script>
- <style scoped lang="scss">
- .hasquestion-wrap{
- padding:40rpx 34rpx;
- .title{
- margin-bottom: 20rpx;
- font-size: 32rpx;
- color: #333333;
- }
- textarea{
- width:100%;
- height:294rpx;
- box-sizing: border-box;
- padding:30rpx;
- border:1rpx solid #BEBEBE;
- border-radius: 8rpx;
- }
- .btn-wrap{
- margin-top: 120rpx;
- text-align: center;
- .btn{
- display: inline-block;
- width:390rpx;
- height:80rpx;
- background-color: #E6B77D;
- border-radius: 40rpx;
- color: #FFFFFF;
- font-size: 32rpx;
- text-align: center;
- line-height: 80rpx;
- }
- }
-
- }
- </style>
|