<view class="delet" @click="delets">删除</view>.delet {border: 1px solid #e3e3e3;padding: 4rpx 18rpx;font-size: 26rpx;border-radius: 10rpx;}
<button class="btn" @click="payfor" type="primary">确认</button>.btn {width: 90%;margin: 0 5%;// margin: 0 60rpx 200rpx 60rpx;border-radius: 40rpx;background-color: #48bbf4;margin-top: 150rpx;}
成功提示
uni.showToast({title: '新增成功',icon: 'none', //如果要纯文本,不要icon,将值设为'none'duration: 2000 //持续时间为 2秒})setTimeout(() => {uni.navigateBack({url: '/pages/index/adders'})}, 2000)
选择时间(输出标注格式)
<uni-datetime-picker @change="handelchange" :start="lattime==''?info.planStartTime:lattime ":end="from[index].endTime!==''?from[index].endTime:info.planEndTime" type="datetime"return-type="string" v-model="from[index].startTime" />