2023/5/23调试医院列表
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 9.1 KiB |
@@ -211,7 +211,7 @@ Page({
|
||||
wx.request({
|
||||
url: app.globalData.url + '/system/order/insertOrderPz',
|
||||
data: {
|
||||
bId: "1", //陪护人员id
|
||||
bId: "104", //陪护人员id
|
||||
cId: wx.getStorageSync('uid'), //患者id
|
||||
yuguMoney: this.data.item.price, //金额
|
||||
yuliu9: "2", //订单大类1-陪护 2-陪诊
|
||||
|
||||
@@ -1,456 +0,0 @@
|
||||
//获取应用实例
|
||||
var app = getApp();
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
dingdan_msg:false,
|
||||
goods_id:'',
|
||||
type:'',
|
||||
fileListtwo: [],
|
||||
reason:[],
|
||||
id:'',
|
||||
refund_remark:'',
|
||||
voucher_img:'',
|
||||
mengceng:false,
|
||||
refund_box:false,
|
||||
refund_id:'',
|
||||
refund_ordertime:'',
|
||||
charge_phone:'',
|
||||
time:'',
|
||||
timeData: {},
|
||||
refund_name:'请选择',
|
||||
goods_img:[],
|
||||
list:[
|
||||
{
|
||||
text:'不喜欢/不想要',
|
||||
},
|
||||
{
|
||||
text:'商品信息与描述不符'
|
||||
},
|
||||
{
|
||||
text:'买多/买错/计划有变'
|
||||
},
|
||||
{
|
||||
text:'更换其他项目、购买了其他项目'
|
||||
},
|
||||
{
|
||||
text:'没有时间/个人原因'
|
||||
},
|
||||
{
|
||||
text:'其他原因'
|
||||
}
|
||||
]
|
||||
},
|
||||
onChange(e) {
|
||||
this.setData({
|
||||
timeData: e.detail,
|
||||
});
|
||||
},
|
||||
afterReadtwo(event) {
|
||||
var that = this;
|
||||
const { file } = event.detail;
|
||||
// 当设置 mutiple 为 true 时, file 为数组格式,否则为对象格式
|
||||
|
||||
wx.uploadFile({
|
||||
url: app.buildUrl("/app/Goddesswechat/uploadImg"),
|
||||
filePath: file.url,
|
||||
name: 'file',
|
||||
formData: {
|
||||
uid:app.getCache('uid'),
|
||||
token:app.getCache('token'),
|
||||
file:file.url
|
||||
},
|
||||
|
||||
success: (res)=> {
|
||||
var resp = res.data;
|
||||
var rstObj = JSON.parse(resp); //字符串转为对象
|
||||
if(rstObj.erro==0){
|
||||
app.console(rstObj.file_path+'cccccccc')
|
||||
|
||||
// 上传完成需要更新 fileList
|
||||
const { fileListtwo = [] } = that.data;
|
||||
fileListtwo.push({ ...file, url: rstObj.file_path ,name:rstObj.file_name});
|
||||
that.setData({
|
||||
fileListtwo,
|
||||
voucher_img:rstObj.file_path
|
||||
});
|
||||
}else{
|
||||
wx.showToast({ title: rstObj.msg, icon: 'none' });
|
||||
return;
|
||||
}
|
||||
},
|
||||
});
|
||||
},
|
||||
deletetwo(event){
|
||||
app.console(event.detail.index+"================="+222),
|
||||
this.data.fileListtwo.splice([event.detail.index],1)
|
||||
this.setData({fileListtwo:this.data.fileListtwo});
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
console.log(options.type)
|
||||
console.log(options.id)
|
||||
//详情显示
|
||||
if(options.type==2){
|
||||
this.setData({
|
||||
id:options.id,
|
||||
type:2
|
||||
})
|
||||
this.refundOderInfor()
|
||||
}
|
||||
//退款编辑
|
||||
if(options.type==3){
|
||||
this.setData({
|
||||
id:options.id,
|
||||
type:3
|
||||
})
|
||||
this.refundOderInfor()
|
||||
}
|
||||
//退款驳回
|
||||
if(options.type==1){
|
||||
this.setData({
|
||||
id:options.id,
|
||||
type:1
|
||||
})
|
||||
this.refundOderInfor()
|
||||
}
|
||||
//待退款
|
||||
if(options.type==4){
|
||||
this.setData({
|
||||
id:options.id,
|
||||
type:4
|
||||
})
|
||||
this.refundOderInfor()
|
||||
}
|
||||
this.getRefundReason()
|
||||
|
||||
},
|
||||
select(){
|
||||
this.setData({
|
||||
refund_box:true,
|
||||
mengceng:true
|
||||
})
|
||||
},
|
||||
mengceng(){
|
||||
this.isok()
|
||||
},
|
||||
isok(){
|
||||
this.setData({
|
||||
refund_box:false,
|
||||
mengceng:false
|
||||
})
|
||||
},
|
||||
commit(){
|
||||
wx.navigateTo({
|
||||
url: '/pages/reforderdetail/reforderdetail?'+"type="+'3'+ '&id=' +this.data.id,
|
||||
})
|
||||
// var that = this;
|
||||
// that.data.fileListtwo.forEach(item => {
|
||||
// app.console('长度=item================'+item)
|
||||
// const { goods_img = [] } = that.data;
|
||||
// goods_img.push(item.url);
|
||||
// that.setData({ goods_img });
|
||||
// }),
|
||||
// wx.request({
|
||||
// url: app.buildUrl("/app/Goddesswechat/submitRefund"),
|
||||
// header: app.getRequestHeader(),
|
||||
// method:'POST',
|
||||
// data: {
|
||||
// version_number: app.globalData.version_number,
|
||||
// uid:wx.getStorageSync('uid'),
|
||||
// token:wx.getStorageSync('token'),
|
||||
// id:this.data.id,
|
||||
// refund_id:this.data.refund_id,
|
||||
// refund_remark:this.data.refund_remark,
|
||||
// voucher_img:that.data.goods_img,
|
||||
// },
|
||||
// success: function (res) {
|
||||
// var resp = res.data;
|
||||
// console.log(resp+"=================dddddddddddddddddddddddddddddddddddddddddddd")
|
||||
// if(resp.erro==0){
|
||||
// wx.showToast({ title: resp.msg, icon: 'none' });
|
||||
// setTimeout(function () {
|
||||
// //要延时执行的代码
|
||||
// wx.switchTab({
|
||||
// url: '/pages/order/order',
|
||||
// });
|
||||
// }, 2000) //延迟时间 这里是2秒
|
||||
// }else{
|
||||
// wx.showToast({ title: resp.msg, icon: 'none' });
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
|
||||
},
|
||||
onClickLeft() {
|
||||
wx.navigateBack()
|
||||
},
|
||||
//撤销退款申请
|
||||
revoke(){
|
||||
console.log(this.data.infro);
|
||||
wx.request({
|
||||
url: app.buildUrl("/app/Goddesswechat/cancelRefund"),
|
||||
header: app.getRequestHeader(),
|
||||
method:'POST',
|
||||
data: {
|
||||
version_number: app.globalData.version_number,
|
||||
uid:wx.getStorageSync('uid'),
|
||||
token:wx.getStorageSync('token'),
|
||||
id:this.data.infro.order_id,
|
||||
},
|
||||
success: function (res) {
|
||||
var resp = res.data;
|
||||
if(resp.erro==0){
|
||||
wx.showToast({ title: resp.msg, icon: 'none' });
|
||||
setTimeout(function () {
|
||||
//要延时执行的代码
|
||||
wx.switchTab({
|
||||
url: '/pages/order/order',
|
||||
});
|
||||
}, 2000) //延迟时间 这里是2秒
|
||||
}else{
|
||||
wx.showToast({ title: resp.msg, icon: 'none' });
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
// this.refundOderInfor();
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
},
|
||||
//退款订单详情
|
||||
refundOderInfor: function () {
|
||||
var that = this;
|
||||
wx.request({
|
||||
url: app.buildUrl("/app/Goddesswechat/refundOderInfor"),
|
||||
header: app.getRequestHeader(),
|
||||
method:'POST',
|
||||
data: {
|
||||
version_number: this.data.version_number,
|
||||
uid:wx.getStorageSync('uid'),
|
||||
token:wx.getStorageSync('token'),
|
||||
id:this.data.id
|
||||
},
|
||||
success: function (res) {
|
||||
var resp = res.data;
|
||||
console.log(resp+"=================dddddddddddddddddddddddddddddddddddddddddddd")
|
||||
console.log(resp.erro+"=================dddddddddddddddddddddddddddddddddddddddddddd")
|
||||
if(resp.erro==0){
|
||||
that.setData({
|
||||
infro:resp.infro
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
callphone(){
|
||||
wx.makePhoneCall({
|
||||
phoneNumber: this.data.infro.charge_phone,
|
||||
|
||||
})
|
||||
},
|
||||
radioChange(e) {
|
||||
console.log('radio发生change事件,携带value值为:', e.detail.value)
|
||||
this.setData({
|
||||
refund_id:e.detail.value
|
||||
})
|
||||
const reason = this.data.reason
|
||||
for (let i = 0, len = reason.length; i < len; ++i) {
|
||||
reason[i].checked = reason[i].value === e.detail.value
|
||||
}
|
||||
this.setData({
|
||||
reason
|
||||
})
|
||||
|
||||
this.data.reason.forEach(item => {
|
||||
if(this.data.refund_id==item.id){
|
||||
this.setData({ refund_name:item.reason });
|
||||
}
|
||||
})
|
||||
console.log('radio发生change事件,携带value值为:', this.data.refund_name)
|
||||
this.isok()
|
||||
},
|
||||
//后台设置的退款原因
|
||||
getRefundReason: function () {
|
||||
var that = this;
|
||||
wx.request({
|
||||
url: app.buildUrl("/app/Goddesswechat/getRefundReason"),
|
||||
header: app.getRequestHeader(),
|
||||
method:'POST',
|
||||
data: {
|
||||
version_number: app.globalData.version_number,
|
||||
uid:wx.getStorageSync('uid'),
|
||||
token:wx.getStorageSync('token'),
|
||||
},
|
||||
success: function (res) {
|
||||
var resp = res.data;
|
||||
console.log(resp+"=================dddddddddddddddddddddddddddddddddddddddddddd")
|
||||
if(resp.erro==0){
|
||||
that.setData({
|
||||
reason:resp.reason
|
||||
|
||||
});
|
||||
console.log(that.data.refund_id);
|
||||
that.data.reason.forEach(item => {
|
||||
if(that.data.refund_id==item.id){
|
||||
that.setData({ refund_name:item.reason });
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
//退款订单信息
|
||||
refundOderInfor: function () {
|
||||
var that = this;
|
||||
wx.request({
|
||||
url: app.buildUrl("/app/Goddesswechat/refundOderInfor"),
|
||||
header: app.getRequestHeader(),
|
||||
method:'POST',
|
||||
data: {
|
||||
version_number: app.globalData.version_number,
|
||||
uid:wx.getStorageSync('uid'),
|
||||
token:wx.getStorageSync('token'),
|
||||
id:this.data.id
|
||||
},
|
||||
success: function (res) {
|
||||
console.log(res);
|
||||
var resp = res.data;
|
||||
if(resp.erro==0){
|
||||
if(that.data.type==3){
|
||||
that.setData({
|
||||
infro:resp.infro,
|
||||
});
|
||||
}else{
|
||||
that.setData({
|
||||
infro:resp.infro,
|
||||
refund:resp.refund,
|
||||
refund_remark:resp.refund.refund_remark,
|
||||
goods_img:resp.refund.voucher_img,
|
||||
refund_id:resp.refund.refund_id,
|
||||
refund_ordertime:resp.refund.time
|
||||
});
|
||||
}
|
||||
console.log(that.data.refund_id);
|
||||
// that.data.reason.forEach(item => {
|
||||
// if(that.data.refund_id==item.id){
|
||||
// that.setData({ refund_name:item.reason });
|
||||
// console.log(this.refund);
|
||||
// }
|
||||
// })
|
||||
if(that.data.goods_img.length>0){
|
||||
that.data.goods_img.forEach(item => {
|
||||
app.console('长度=item================'+item)
|
||||
const { fileListtwo = [] } = that.data;
|
||||
fileListtwo.push({ url: item });
|
||||
that.setData({ fileListtwo });
|
||||
})
|
||||
that.setData({
|
||||
goods_img:[]
|
||||
})
|
||||
}
|
||||
|
||||
//截止时间
|
||||
if(that.data.refund_ordertime!=null){
|
||||
var str2=that.data.refund_ordertime
|
||||
app.console(str2+"=========555555========")
|
||||
let currentt = formatTime(new Date(str2))
|
||||
let t = currentt
|
||||
let repTime = t.replace(/-/g, '/');
|
||||
let timeTamp = Date.parse(repTime);
|
||||
let time = timeTamp /1000
|
||||
let now = new Date().getTime();
|
||||
let diff = parseInt(now / 1000 - time);
|
||||
|
||||
if (diff < 24*60*60) {
|
||||
app.console(diff+"=========等待商家处理时间内========")
|
||||
that.setData({
|
||||
time:(24*60*60-diff)*1000
|
||||
})
|
||||
} else {
|
||||
app.console(diff+"=========等待商家处理代付款超时========")
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
const formatTime = date => {
|
||||
const year = date.getFullYear()
|
||||
const month = date.getMonth() + 1
|
||||
const day = date.getDate()
|
||||
const hour = date.getHours()
|
||||
const minute = date.getMinutes()
|
||||
const second = date.getSeconds()
|
||||
|
||||
return `${[year, month, day].map(formatNumber).join('/')} ${[hour, minute, second].map(formatNumber).join(':')}`
|
||||
}
|
||||
|
||||
const formatNumber = n => {
|
||||
n = n.toString()
|
||||
return n[1] ? n : `0${n}`
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
formatTime
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"van-nav-bar":"/miniprogram/miniprogram_npm/@vant/weapp/nav-bar/index",
|
||||
"van-uploader": "/miniprogram/miniprogram_npm/@vant/weapp/uploader/index",
|
||||
"van-count-down": "/miniprogram/miniprogram_npm/@vant/weapp/count-down/index"
|
||||
},
|
||||
"navigationBarTitleText": "退款详情"
|
||||
}
|
||||
@@ -1,172 +0,0 @@
|
||||
<view class="transition">
|
||||
<text class="status_msg" wx:if="{{type == 1}}">退款失败,请修改申请</text>
|
||||
<text wx:if="{{type == 4}}" class="status_msg">请等待商家处理</text>
|
||||
<text wx:if="{{type == 2}}" class="status_msg">退款成功</text>
|
||||
<view class="tran_time">
|
||||
<text wx:if="{{type == 1}}">失败原因:</text>
|
||||
<text wx:if="{{type == 4}}" >剩余时间:</text>
|
||||
<text wx:if="{{type==2}}">退款金额:</text>
|
||||
<text wx:if="{{type==3}}">可退款时间剩余:</text>
|
||||
<text wx:if="{{btn}}"></text>
|
||||
<text style="font-weight:700;margin:18rpx 10rpx" wx:if="{{type==1}}">请重新填写您的退款申请</text>
|
||||
<text style="font-weight:700;" wx:if="{{type==2}}">{{infro.total_money}}</text>
|
||||
<text style="font-weight:700;" wx:if="{{type==3}}">9天23小时59分钟</text>
|
||||
<!-- <text style="font-weight:700;margin-top:16rpx;" wx:if="{{type==4}}">23小时59分钟59秒</text> -->
|
||||
|
||||
|
||||
<van-count-down wx:if="{{type==4}}" use-slot time="{{ time }}" bind:change="onChange">
|
||||
<text class="item">{{ timeData.hours }}</text>
|
||||
<text style="color: #fff;">时</text>
|
||||
<text class="item">{{ timeData.minutes }}</text>
|
||||
<text style="color: #fff;">分钟</text>
|
||||
<text class="item">{{ timeData.seconds }}</text>
|
||||
<text style="color: #fff;">秒</text>
|
||||
</van-count-down>
|
||||
|
||||
</view>
|
||||
<image src="../image/refund.png" class="cang_img" style="width:87rpx;height:72rpx;" ></image>
|
||||
<view class="tran_text" wx:if="{{type==4}}">商家同意或者超时,系统会在1-2个工作日自动退款</view>
|
||||
<view class="tran_text" wx:if="{{type==2}}">退款金额已退到平台余额里</view>
|
||||
</view>
|
||||
<view class="status_infor">
|
||||
<image src="../image/revice.png" style="width:22rpx;height:26rpx;margin-top: 10rpx;"></image>
|
||||
<text style="margin:0 36rpx 0 50rpx">联系方式</text>
|
||||
<text>{{refund.phone}}</text>
|
||||
</view>
|
||||
|
||||
<view style="background: #ffffff;margin-top:64rpx;">
|
||||
<!-- <view style="height:66rpx;padding: 0 24rpx;">
|
||||
<text class="time_msg"></text>
|
||||
<text wx:if="{{infro.status==1}}" class="status_msg">未核销</text>
|
||||
<text wx:if="{{infro.status==2}}" class="status_msg">已核销</text>
|
||||
</view> -->
|
||||
<view style="display: flex;align-items: center;margin:29rpx 0 50rpx 29rpx">
|
||||
<image src="{{infro.wechat_logo}}" style="width:94rpx;height:94rpx;border-radius:50% ;margin-right:23rpx;background:#666">
|
||||
</image>
|
||||
<view>
|
||||
<view style="color: #333;font-size: 28rpx;font-family: PingFang SC;font-weight: bold;">{{infro.mechanism_name}}</view>
|
||||
<view
|
||||
style="color: #ABABAB;font-size: 24rpx;font-family: PingFang SC;font-weight: 400;width:532rpx;">
|
||||
{{infro.address}}</view>
|
||||
</view>
|
||||
<image style="width:80rpx;height:80rpx;" src="/pages/image/phone.png" bindtap="callphone"></image>
|
||||
</view>
|
||||
<view class="details_box">
|
||||
<image src="{{infro.index_img}}" style="width:155rpx;height:155rpx;"></image>
|
||||
<view style="margin-left: 31rpx;">
|
||||
<view class="title">{{infro.goods_name}}</view>
|
||||
<view class="money">实付款:
|
||||
<text style="font-size: 30rpx;color: #DB1F2B;font-family: PingFang SC;font-weight: bold;">¥{{infro.total_money}}</text>
|
||||
<text class="detail_number" style="float:right">x{{infro.num}}</text>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
|
||||
<view class="contact" wx:if="{{infro.status==2}}">
|
||||
|
||||
<view style="margin-bottom: 30rpx;">
|
||||
<text class="information_title">核销时间</text>
|
||||
<text class="information_title" style="position: absolute;right: 0rpx;">{{infro.jurisdiction_time}}</text>
|
||||
</view>
|
||||
<view style="margin-bottom: 30rpx;">
|
||||
<text class="information_title">操作人</text>
|
||||
<text class="information_title" style="position: absolute;right: 0rpx;display: flex;">{{infro.jurisdiction_name}}</text>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<!--
|
||||
<view wx:if="{{type==2}}" style=" height:161rpx;position: relative;background: #ffffff;margin-top:8rpx;" >
|
||||
<view style="padding-top: 22rpx;margin-left: 24rpx;">
|
||||
<text class="" style="color: #DB1F2B;font-size: 38rpx;font-weight: bold;">退款成功</text>
|
||||
</view>
|
||||
<view style="margin-left: 24rpx;">
|
||||
<text style="font-size: 24rpx;color: #686868;margin-top: 18rpx;">退款金额已退到平台余额里</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view wx:if="{{type==1}}" style=" height:161rpx;position: relative;background: #ffffff;margin-top:8rpx;" >
|
||||
<view style="padding-top: 22rpx;margin-left: 24rpx;">
|
||||
<text class="" style="color: #DB1F2B;font-size: 38rpx;font-weight: bold;">退款失败,请修改申请</text>
|
||||
</view>
|
||||
<view style="margin-left: 24rpx;">
|
||||
<text style="font-size: 24rpx;color: #686868;margin-top: 18rpx;">失败原因:请重新填写您的退款申请</text>
|
||||
</view>
|
||||
</view> -->
|
||||
<view wx:if="{{type==3||type==2||type==1||type==4}}" class="informationtwo">
|
||||
<!-- <view class="contact_title" style="height: 10rpx; font-size: 10rpx;font-weight: bold;line-height: 36rpx;color: #333333;">
|
||||
</view> -->
|
||||
|
||||
|
||||
<view style="margin-top: 26rpx;margin-bottom:170rpx;background-color:#fff ;line-height: 88rpx;padding-left:20rpx">
|
||||
<view wx:if="{{type==1||type==2||type==4}}">
|
||||
<text class="information_title">订单编号:</text>
|
||||
<text class="information_title">{{infro.order_id}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text class="information_title">退款原因:</text>
|
||||
<text class="information_title" style="width: 300rpx;">{{refund_name}}</text>
|
||||
<!-- <text class="information_title" wx:if="{{type==3||type==1||type==4}}" style="float:right;margin-top:24rpx" bindtap="select">请选择></text> -->
|
||||
</view>
|
||||
<view >
|
||||
<text class="information_title">退款金额:</text>
|
||||
<text class="information_title" style="color:#DB1F2B;">¥{{infro.total_money}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text class="information_title">退款说明:</text>
|
||||
<text class="information_title">{{refund.refund_remark}}</text>
|
||||
</view>
|
||||
<view wx:if="{{type==1||type==2||type==4}}" >
|
||||
<text class="information_title">申请时间:</text>
|
||||
<text class="information_title">{{refund.time}}</text>
|
||||
</view>
|
||||
<view >
|
||||
<text class="information_title">凭证:</text>
|
||||
</view>
|
||||
<view class="row-box">
|
||||
<van-uploader file-list="{{fileListtwo}}"max-count="3" deletable="{{ true }}" bind:after-read="afterReadtwo" bind:delete="deletetwo"/>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<!-- <view wx:if="{{type==3}}" style="font-size: 26rpx;color: #7B7B7B;margin-top: 26rpx;text-align: center;">退款申请提交后,支付款项将退回平台余额</view>
|
||||
<view wx:if="{{type==3}}" style="font-size: 26rpx;color: #7B7B7B;text-align: center;">1-2个小时到账</view>
|
||||
|
||||
<view wx:if="{{type==3}}" class="addperson" bindtap="addperson" style="margin-top: 77rpx;">
|
||||
<view class="text" style="background-color: #DB1F2B;border-radius: 85px;margin-bottom: 48rpx;"bindtap="commit">提交申请</view>
|
||||
</view> -->
|
||||
|
||||
<view wx:if="{{type==1}}" class="addperson">
|
||||
<view class="addperson_anniu" bindtap="commit">修改申请</view>
|
||||
</view>
|
||||
<view wx:if="{{type==4}}" class="addperson">
|
||||
<view class="addperson_anniu" bindtap="revoke">撤销申请</view>
|
||||
<view class="addperson_anniu" bindtap="commit">修改申请</view>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
<!-- 蒙层 -->
|
||||
<view class="mengceng" wx:if="{{mengceng}}" bindtap="mengceng"></view>
|
||||
<!-- 退款弹窗 -->
|
||||
<view wx:if="{{refund_box}}" class="refund_box" style="z-index: 2;">
|
||||
<view class="gang" bindtap="gang"></view>
|
||||
<view class="refund_title">
|
||||
退款原因</view>
|
||||
<scroll-view scroll-y style="height: 700rpx;">
|
||||
<radio-group bindchange="radioChange">
|
||||
<view wx:for="{{reason}}" class="list_box">
|
||||
<view>{{item.reason}}</view>
|
||||
<view>
|
||||
<radio value="{{item.id}}" checked=""/>
|
||||
</view>
|
||||
</view>
|
||||
</radio-group>
|
||||
<view style="height:50rpx;"></view>
|
||||
</scroll-view>
|
||||
<!-- <button type="primary" plain="true" style="margin-bottom:20rpx" bindtap="isok">完成</button> -->
|
||||
</view>
|
||||
@@ -1,587 +0,0 @@
|
||||
/* pages/orderdetail/orderdetail.wxss */
|
||||
page {
|
||||
background: #f6f6f6;
|
||||
}
|
||||
.transition{
|
||||
width: 100%;
|
||||
height: 258rpx;
|
||||
background: #DB1F2B;
|
||||
opacity: 1;
|
||||
border-radius: 40rpx 40rpx 0rpx 0rpx;
|
||||
padding-top: 10rpx;
|
||||
}
|
||||
.time_msg {
|
||||
font-size: 24rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
line-height: 66rpx;
|
||||
color: #5B5B5B;
|
||||
opacity: 1;
|
||||
float: left;
|
||||
}
|
||||
.tran_time{
|
||||
display: flex;
|
||||
font-size: 28rpx;
|
||||
color: #FFFFFF;
|
||||
margin-left: 36rpx;
|
||||
}
|
||||
.tran_text{
|
||||
font-size: 20rpx;
|
||||
color: #FFFFFF;
|
||||
opacity: 1;
|
||||
margin: 15rpx 0 48rpx 36rpx;
|
||||
}
|
||||
.cang_img{
|
||||
width: 58rpx;
|
||||
height: 89rpx;
|
||||
position: absolute;
|
||||
top: 24rpx;
|
||||
right: 93rpx;
|
||||
}
|
||||
.status_msg {
|
||||
font-size: 38rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 700;
|
||||
line-height: 66rpx;
|
||||
color: #FFFFFF;
|
||||
opacity: 1;
|
||||
margin: 38rpx 0 13rpx 36rpx;
|
||||
}
|
||||
.status_infor{
|
||||
width: 702rpx;
|
||||
height: 100rpx;
|
||||
background-color: #ffffff;
|
||||
position: absolute;
|
||||
top: 191rpx;
|
||||
left: 24rpx;
|
||||
z-index: 0.8;
|
||||
display: flex;
|
||||
padding-left: 176rpx;
|
||||
padding-top: 30rpx;
|
||||
}
|
||||
|
||||
.details_box {
|
||||
display: flex;
|
||||
border-bottom: 1px solid #e2e2e2;
|
||||
padding: 0 24rpx;
|
||||
padding-bottom: 32rpx;
|
||||
}
|
||||
|
||||
.title {
|
||||
width: 430rpx;
|
||||
height: 86rpx;
|
||||
font-size: 30rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: bold;
|
||||
line-height: 44rpx;
|
||||
color: #222222;
|
||||
opacity: 1;
|
||||
margin-top: 16rpx;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
.detail_number {
|
||||
font-size: 26rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
line-height: 37rpx;
|
||||
color: #B4B4B4;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.money {
|
||||
margin-top: 25rpx;
|
||||
font-size: 26rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
line-height: 37rpx;
|
||||
color: #B4B4B4;
|
||||
opacity: 1;
|
||||
|
||||
}
|
||||
|
||||
.detail_btn {
|
||||
margin-top: 20rpx;
|
||||
margin-right: 30rpx;
|
||||
float: right;
|
||||
/* position: absolute; */
|
||||
|
||||
/* bottom: 22rpx;
|
||||
right: 24rpx; */
|
||||
/* min-width: 140rpx; */
|
||||
height: 57rpx;
|
||||
/* background: #000; */
|
||||
border: 1rpx solid #FF4A4A;
|
||||
border-radius: 34rpx;
|
||||
font-size: 26rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
line-height: 57rpx;
|
||||
color: #FF4A4A;
|
||||
opacity: 1;
|
||||
text-align: center;
|
||||
/* padding: 0 31rpx; */
|
||||
}
|
||||
|
||||
.contact {
|
||||
height: 364rpx;
|
||||
background: #fff;
|
||||
margin-top: 65rpx;
|
||||
padding: 0 24rpx;
|
||||
}
|
||||
|
||||
.contact_title {
|
||||
font-size: 30rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
line-height: 70rpx;
|
||||
color: #333333;
|
||||
opacity: 1;
|
||||
margin-bottom: 10rpx;
|
||||
display: flex;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.shop_img{
|
||||
width: 155rpx;
|
||||
height: 155rpx;
|
||||
margin: 19rpx 35rpx 0 0;
|
||||
}
|
||||
.information {
|
||||
margin-top: 16rpx;
|
||||
background: #fff;
|
||||
padding: 21rpx 24rpx;
|
||||
|
||||
}
|
||||
|
||||
.information_title {
|
||||
font-size: 26rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
line-height: 36rpx;
|
||||
color: #686868;
|
||||
opacity: 1;
|
||||
margin-right: 71rpx;
|
||||
|
||||
}
|
||||
|
||||
.mengceng {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #000;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.qxdd {
|
||||
position: fixed;
|
||||
left: 95rpx;
|
||||
bottom: 50%;
|
||||
width: 560rpx;
|
||||
height: 247rpx;
|
||||
background: #fff;
|
||||
border-radius: 20rpx;
|
||||
|
||||
}
|
||||
|
||||
.msg_btn {
|
||||
width: 50%;
|
||||
line-height: 85rpx;
|
||||
text-align: center;
|
||||
font-size: 26rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #4A4A4A;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.msg_title {
|
||||
height: 161rpx;
|
||||
line-height: 161rpx;
|
||||
text-align: center;
|
||||
font-size: 28rpx;
|
||||
color: #4A4A4A;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
border-bottom: 1px solid #EBEBEB;
|
||||
}
|
||||
|
||||
.erweima_tanchang {
|
||||
position: fixed;
|
||||
left: 95rpx;
|
||||
bottom: 40%;
|
||||
width: 560rpx;
|
||||
height: 446rpx;
|
||||
background: #fff;
|
||||
border-radius: 20rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.refund_box {
|
||||
position: fixed;
|
||||
background: #fff;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
border-radius: 40rpx 40rpx 0px 0px;
|
||||
/* text-align: center; */
|
||||
}
|
||||
|
||||
.gang {
|
||||
width: 102rpx;
|
||||
height: 8rpx;
|
||||
background: #CCCCCC;
|
||||
border-radius: 103rpx;
|
||||
margin: 0 auto;
|
||||
margin-top: 23rpx;
|
||||
margin-bottom: 15rpx;
|
||||
}
|
||||
|
||||
.refund_title {
|
||||
font-size: 34rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: bold;
|
||||
line-height: 48rpx;
|
||||
color: #2D2D2F;
|
||||
opacity: 1;
|
||||
margin-bottom: 5rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.list_box {
|
||||
margin: 0 41rpx 0 25rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
height: 102rpx;
|
||||
line-height: 102rpx;
|
||||
border-bottom: 1rpx solid #E8E8E8;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.block {
|
||||
width: 676rpx;
|
||||
height: 1125rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
|
||||
.select-wrap {
|
||||
width: 300rpx;
|
||||
margin-left: 116rpx;
|
||||
}
|
||||
|
||||
.pinGroup {
|
||||
height: 270rpx;
|
||||
display: flex;
|
||||
border-bottom: 1px solid #999999;
|
||||
}
|
||||
.Groupone {
|
||||
height: 161rpx;
|
||||
display: flex;
|
||||
border-bottom: 1px solid #999999;
|
||||
}
|
||||
.Group-image {
|
||||
width: 230rpx;
|
||||
height: 230rpx;
|
||||
margin: 19rpx 28rpx 19rpx 31rpx;
|
||||
}
|
||||
|
||||
.Group-image image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.pincontent {
|
||||
/* padding: 20rpx 35rpx; */
|
||||
width: 400rpx;
|
||||
height: 201rpx;
|
||||
margin-top: 28rpx;
|
||||
}
|
||||
|
||||
.pincontent .title1 {
|
||||
font-size: 30rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.pincontent .title2 {
|
||||
font-size: 26rpx;
|
||||
height: 37rpx;
|
||||
line-height: 37rpx;
|
||||
display: flex;
|
||||
color: #B4B4B4;
|
||||
margin: 11rpx 0 18rpx 0;
|
||||
}
|
||||
|
||||
.pincontent .title2 .house {
|
||||
width: 28rpx;
|
||||
height: 28rpx;
|
||||
margin-right: 7rpx;
|
||||
margin-top: 5rpx;
|
||||
}
|
||||
|
||||
|
||||
.pincontent .title2 .house image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.pincontent .Price {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.pincontent .Price .Price1 {
|
||||
font-size: 34rpx;
|
||||
color: #FF4A4A;
|
||||
line-height: 42rpx;
|
||||
margin-right: 17rpx;
|
||||
}
|
||||
|
||||
.pincontent .Price .Price2 {
|
||||
font-size: 24rpx;
|
||||
color: #CBCBCB;
|
||||
line-height: 41rpx;
|
||||
margin-right: 23rpx;
|
||||
text-decoration:line-through;
|
||||
}
|
||||
|
||||
.pincontent .Price .Price3 {
|
||||
width: 51rpx;
|
||||
height: 21rpx;
|
||||
font-size: 15rpx;
|
||||
color: #E75D4D;
|
||||
border: 1px solid #E75D4D;
|
||||
border-radius: 4rpx;
|
||||
text-align: center;
|
||||
line-height: 18rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
|
||||
.order-list{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
view {
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
.custom-bar {
|
||||
/* background-color: #aaa; */
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.custom-bar__wrapper {
|
||||
padding: 0 10rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.search-group {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
border-radius: 60rpx;
|
||||
/* padding: 0 10rpx; */
|
||||
padding-left: 25rpx;
|
||||
background: #F5F5F5;
|
||||
}
|
||||
.search-group > input {
|
||||
font-size: 25rpx;
|
||||
width: 800rpx;
|
||||
}
|
||||
.search-group > image {
|
||||
height: 32rpx;
|
||||
width: 32rpx;
|
||||
margin-right: 20rpx
|
||||
}
|
||||
|
||||
.buttonsty{
|
||||
width: 244rpx;
|
||||
height: 80rpx;
|
||||
text-align: center;
|
||||
font-size: 25rpx;
|
||||
background: #F5F5F5;
|
||||
border-radius: 310rpx;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
display: flex ;
|
||||
}
|
||||
|
||||
/* 优惠活动文字 */
|
||||
.Distit {
|
||||
width: 685rpx;
|
||||
display: flex;
|
||||
margin-top: 26rpx;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.textone{
|
||||
background: #FF4C00;
|
||||
border-radius: 50%;
|
||||
width: 29rpx;
|
||||
height: 29rpx;
|
||||
align-items: center;
|
||||
font-size: 17rpx;
|
||||
color: #FFFFFF;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.viewone{
|
||||
display: flex;flex-direction:column;align-items: center; margin-left: 56rpx;
|
||||
}
|
||||
|
||||
.yaotext{
|
||||
font-size: 60rpx;text-shadow: 0rpx 3rpx 5rpx rgba(250, 37, 61, 0.59);
|
||||
color: #FFF433;
|
||||
display: flex;
|
||||
position: relative;
|
||||
top: -228rpx;
|
||||
justify-content: center;
|
||||
font-family: FZChaoCuHei-M10S;
|
||||
|
||||
}
|
||||
.yaotexttwo{
|
||||
font-size: 60rpx;
|
||||
font-family: YouSheBiaoTiHei;
|
||||
color: #FFFFFF;
|
||||
text-shadow: 0rpx 3rpx 6rpx #FE424C;
|
||||
display: flex;
|
||||
position: relative;
|
||||
top: -200rpx;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
.imageone{
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
border: 2rpx solid #FF4C00;
|
||||
border-style:dashed;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.texttwo{
|
||||
background: #FF4C00;
|
||||
width: 57rpx;
|
||||
height: 27rpx;
|
||||
align-items: center;
|
||||
font-size: 17rpx;
|
||||
color: #FFFFFF;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.status-box{
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
display: flex;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
margin-top: 0rpx;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background-color:#ffffff;
|
||||
margin-left: 220rpx;
|
||||
margin-right: 220rpx;
|
||||
justify-content: space-between;
|
||||
|
||||
}
|
||||
.status-box .status-label{
|
||||
width: 150rpx;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
font-size:24rpx;
|
||||
color:#353535;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
}
|
||||
.status-box .status-label.active{
|
||||
|
||||
|
||||
color: #5B5B5B;
|
||||
font-size: 28rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 800;
|
||||
border-bottom: 6rpx solid #FF6A6A;
|
||||
}
|
||||
.status-box .status-label .red-dot{
|
||||
width: 16rpx;
|
||||
height: 16rpx;
|
||||
position: absolute;
|
||||
left: 116rpx;
|
||||
top:23rpx;
|
||||
background-color: #f43530;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.addperson{
|
||||
width: 100%;
|
||||
height: 120rpx;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
background-color: #ffffff;
|
||||
padding: 22rpx 24rpx 0 24rpx;
|
||||
}
|
||||
.addperson_anniu{
|
||||
width: 155rpx;
|
||||
line-height: 57rpx;
|
||||
border: 1px solid #A5A5A5;
|
||||
border-radius: 34rpx;
|
||||
text-align:center;
|
||||
float: right;
|
||||
color: #4A4A4A;
|
||||
margin-left:24rpx;
|
||||
}
|
||||
|
||||
.item {
|
||||
display: inline-block;
|
||||
width: 22px;
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||