xinelu-applet-ui/pagesB/cancel/cancel.vue

58 lines
1.1 KiB
Vue
Raw Normal View History

2023-09-27 16:20:09 +08:00
<template>
<view class="app">
<view class="concent">
<view class="refund">
<span>退款金额</span>
<span></span>
2023-11-01 10:00:47 +08:00
<!-- <span></span> -->
<span>{{list.totalPrice}}</span>
2023-09-27 16:20:09 +08:00
</view>
<view class="reason">
<view class="reasondata">原因</view>
<view class="textarea">
<textarea v-model="value" :type="type" :border="border" placeholder="请输入您的退款原因" />
</view>
2023-11-01 10:00:47 +08:00
</view>
2023-09-27 16:20:09 +08:00
<view class="bottom">
确认取消
2023-11-01 10:00:47 +08:00
2023-09-27 16:20:09 +08:00
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
2023-11-01 10:00:47 +08:00
list:[],
2023-09-27 16:20:09 +08:00
}
},
2023-11-01 10:00:47 +08:00
onLoad(options) {
console.log(options,'999')
this.list = JSON.parse(options.list)
console.log(this.list, '99')
// console.log(options,'88')
this.baseurl = baseurl
this.orderTypeList.goodsOrderId = options.goodsOrderId
let that = this
// const value = uni.getStorageSync('patientId');
// const value2 = uni.getStorageSync('openid');
// if (value && value2) {
// that.orderTypeList.patientId = value
// that.orderTypeList.openid = value2
// }
},
2023-09-27 16:20:09 +08:00
methods: {
}
}
</script>
<style lang="scss">
@import './cancel.scss'
2023-11-01 10:00:47 +08:00
</style>