|
|
|
@ -1,7 +1,6 @@ |
|
|
|
<template> |
|
|
|
<!-- 兼职注册 --> |
|
|
|
<page-meta |
|
|
|
:page-style="routePopupVisible || dispatchPopupVisible ? 'overflow: hidden;' : 'overflow: visible;'"></page-meta> |
|
|
|
<page-meta :page-style="routePopupVisible || dispatchPopupVisible ? 'overflow: hidden;' : 'overflow: visible;'"></page-meta> |
|
|
|
<view class="page1"> |
|
|
|
<view class="title"> |
|
|
|
<view class="title-sreach"> |
|
|
|
@ -19,6 +18,7 @@ |
|
|
|
<input type="text" v-model="formData.name" maxlength="10" placeholder="请填写姓名" |
|
|
|
@input="onWorkerNameInput" |
|
|
|
style="background: rgba(247, 248, 248, 0.6);height: 80rpx;line-height: 80rpx;padding: 18rpx 20rpx;border-radius: 20rpx;"> |
|
|
|
<view class="audit-tip" v-if="workerNameAuditTip">{{workerNameAuditTip}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
@ -40,7 +40,8 @@ |
|
|
|
<text style="color:red;">*</text> 超出3楼以上额外收费 |
|
|
|
</view> |
|
|
|
<view class="reg-value"> |
|
|
|
<input type="digit" v-model="formData.highFloorFee" placeholder="可设置金额" :adjust-position="false" |
|
|
|
<input type="digit" v-model="formData.highFloorFee" placeholder="可设置金额" |
|
|
|
:adjust-position="false" |
|
|
|
@input="onHighFloorFeeInput" |
|
|
|
style="background: rgba(247, 248, 248, 0.6);height: 80rpx;line-height: 80rpx;padding: 18rpx 20rpx;border-radius: 20rpx;"> |
|
|
|
</view> |
|
|
|
@ -122,7 +123,8 @@ |
|
|
|
<view class="route-price"> |
|
|
|
<text>¥</text> |
|
|
|
<input type="digit" :value="item.orderBkge" placeholder="最低价" |
|
|
|
:adjust-position="false" @input="onOrderBkgeInput($event, item)"> |
|
|
|
:adjust-position="false" |
|
|
|
@input="onOrderBkgeInput($event, item)"> |
|
|
|
</view> |
|
|
|
<view class="route-delete" @tap="removeRule('waima', index)">×</view> |
|
|
|
</view> |
|
|
|
@ -166,7 +168,8 @@ |
|
|
|
<view class="route-price"> |
|
|
|
<text>¥</text> |
|
|
|
<input type="digit" :value="item.orderBkge" placeholder="最低价" |
|
|
|
:adjust-position="false" @input="onOrderBkgeInput($event, item)"> |
|
|
|
:adjust-position="false" |
|
|
|
@input="onOrderBkgeInput($event, item)"> |
|
|
|
</view> |
|
|
|
<view class="route-delete" @tap="removeRule('paotui', index)">×</view> |
|
|
|
</view> |
|
|
|
@ -188,16 +191,18 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="official-card"> |
|
|
|
<image @longpress="handleLongPress" |
|
|
|
<image show-menu-by-longpress |
|
|
|
src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/d23a9043a8c24731831ec4db909fe3b4.jpg" alt="" |
|
|
|
class="official-qr" /> |
|
|
|
<view class="official-info"> |
|
|
|
<view class="official-title">长按 保存二维码 微信扫码关注</view> |
|
|
|
<view class="official-title">长按 关注公众号</view> |
|
|
|
<view class="official-desc">关注后可提现佣金,有新订单会及时通知。下线后不再接收通知</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="btn" @click="submit"> |
|
|
|
{{worker ? '保存规则' : '提交注册'}} |
|
|
|
<view class="bottom-action"> |
|
|
|
<view class="btn" @click="submit"> |
|
|
|
{{worker ? '保存规则' : '提交注册'}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 查看大图弹出层 --> |
|
|
|
@ -260,13 +265,15 @@ |
|
|
|
<view class="route-default-input"> |
|
|
|
<text>¥</text> |
|
|
|
<input type="digit" v-model="defaultRoutePrice" placeholder="如 1" |
|
|
|
:adjust-position="false" @input="onDefaultRoutePriceInput"> |
|
|
|
:adjust-position="false" |
|
|
|
@input="onDefaultRoutePriceInput"> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="route-default-row route-default-row--remark"> |
|
|
|
<view class="route-default-label">统一备注</view> |
|
|
|
<input class="route-default-remark" type="text" v-model="defaultRouteRemark" maxlength="20" |
|
|
|
@input="onDefaultRouteRemarkInput" placeholder="选填,如:大件不接/限时加钱"> |
|
|
|
@input="onDefaultRouteRemarkInput" |
|
|
|
placeholder="选填,如:大件不接/限时加钱"> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="area-section-title"> |
|
|
|
@ -292,9 +299,8 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="area-options"> |
|
|
|
<view class="box-check-btn" @tap="qucanOrsongcan('songcan',index)" |
|
|
|
v-for="(item,index) in songcan" :key="index" |
|
|
|
style="float: left;padding: 0 20rpx;width: auto;margin-bottom:20rpx;" |
|
|
|
<view class="box-check-btn" @tap="qucanOrsongcan('songcan',index)" v-for="(item,index) in songcan" |
|
|
|
:key="index" style="float: left;padding: 0 20rpx;width: auto;margin-bottom:20rpx;" |
|
|
|
:style="{background:item.checked?'rgba(180, 255, 238, 0.27)':'rgba(247, 248, 248, 0.6)',border:item.checked?'1px solid rgba(180, 255, 238, 1)':'1px solid #777'}"> |
|
|
|
{{item.title}} |
|
|
|
</view> |
|
|
|
@ -310,8 +316,7 @@ |
|
|
|
</view> |
|
|
|
</uni-popup> |
|
|
|
<!-- 指派单规则弹出层 --> |
|
|
|
<uni-popup ref="dispatchPopup" type="bottom" background-color="transparent" :mask-click="false" |
|
|
|
@change="onDispatchPopupChange"> |
|
|
|
<uni-popup ref="dispatchPopup" type="bottom" background-color="transparent" :mask-click="false" @change="onDispatchPopupChange"> |
|
|
|
<view class="dispatch-popup-content"> |
|
|
|
<view class="dispatch-popup-title">设置指派单规则</view> |
|
|
|
<view class="dispatch-popup-desc"> |
|
|
|
@ -407,7 +412,7 @@ |
|
|
|
songcan: [], |
|
|
|
shopArea: [], |
|
|
|
waimaRuleList: [], |
|
|
|
worker: {}, |
|
|
|
worker:{}, |
|
|
|
paotuiRuleList: [], |
|
|
|
currentConfigType: '', |
|
|
|
defaultRoutePrice: '1', |
|
|
|
@ -416,7 +421,8 @@ |
|
|
|
dispatchPopupVisible: false, |
|
|
|
dispatchSaving: false, |
|
|
|
zhipaiCheck: false, |
|
|
|
pendingNewDispatchRuleKeys: [] |
|
|
|
pendingNewDispatchRuleKeys: [], |
|
|
|
workerNameAuditTip: '' |
|
|
|
} |
|
|
|
}, |
|
|
|
components: { |
|
|
|
@ -442,8 +448,7 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
totalRuleCount() { |
|
|
|
return (this.waimaRuleList ? this.waimaRuleList.length : 0) + (this.paotuiRuleList ? this.paotuiRuleList |
|
|
|
.length : 0) |
|
|
|
return (this.waimaRuleList ? this.waimaRuleList.length : 0) + (this.paotuiRuleList ? this.paotuiRuleList.length : 0) |
|
|
|
} |
|
|
|
}, |
|
|
|
onLoad() { |
|
|
|
@ -494,76 +499,6 @@ |
|
|
|
if (isNaN(amount)) return '0' |
|
|
|
return amount.toFixed(2).replace(/\.?0+$/, '') |
|
|
|
}, |
|
|
|
// 1. 触发长按事件 |
|
|
|
handleLongPress() { |
|
|
|
uni.showActionSheet({ |
|
|
|
itemList: ['保存图片'], |
|
|
|
success: (res) => { |
|
|
|
if (res.tapIndex === 0) { |
|
|
|
this.saveImageToAlbum(); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
// 2. 保存图片核心逻辑 |
|
|
|
saveImageToAlbum() { |
|
|
|
uni.showLoading({ |
|
|
|
title: '保存中...' |
|
|
|
}); |
|
|
|
uni.downloadFile({ |
|
|
|
url: "https://jewel-shop.oss-cn-beijing.aliyuncs.com/d23a9043a8c24731831ec4db909fe3b4.jpg", |
|
|
|
success: (res) => { |
|
|
|
if (res.statusCode === 200) { |
|
|
|
this.doSave(res.tempFilePath); |
|
|
|
} else { |
|
|
|
this.saveFail('图片下载失败'); |
|
|
|
} |
|
|
|
}, |
|
|
|
fail: () => { |
|
|
|
this.saveFail('网络异常,下载失败'); |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
// 3. 执行保存到相册 |
|
|
|
doSave(filePath) { |
|
|
|
uni.saveImageToPhotosAlbum({ |
|
|
|
filePath: filePath, |
|
|
|
success: () => { |
|
|
|
uni.hideLoading(); |
|
|
|
uni.showToast({ |
|
|
|
title: '保存成功', |
|
|
|
icon: 'success' |
|
|
|
}); |
|
|
|
}, |
|
|
|
fail: (err) => { |
|
|
|
this.saveFail('保存失败'); |
|
|
|
console.error(err); |
|
|
|
// 处理用户拒绝授权的情况 |
|
|
|
if (err.errMsg && (err.errMsg.includes('auth') || err.errMsg.includes('deny') || err |
|
|
|
.errMsg.includes('fail'))) { |
|
|
|
uni.showModal({ |
|
|
|
title: '权限提示', |
|
|
|
content: '需要您授权相册权限才能保存图片,请去设置中开启', |
|
|
|
confirmText: '去设置', |
|
|
|
success: (modalRes) => { |
|
|
|
if (modalRes.confirm) { |
|
|
|
uni.openSetting(); // 跳转到App权限设置页 |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
saveFail(msg) { |
|
|
|
uni.hideLoading(); |
|
|
|
uni.showToast({ |
|
|
|
title: msg, |
|
|
|
icon: 'none' |
|
|
|
}); |
|
|
|
}, |
|
|
|
getMinFee(list) { |
|
|
|
const fees = (list || []).map(item => parseFloat(item.orderBkge)).filter(item => !isNaN(item) && item > 0) |
|
|
|
if (fees.length == 0) return 0 |
|
|
|
@ -602,8 +537,29 @@ |
|
|
|
onWorkerNameInput(e) { |
|
|
|
const value = this.limitText(e.detail.value, 10) |
|
|
|
this.formData.name = value |
|
|
|
this.workerNameAuditTip = '' |
|
|
|
return value |
|
|
|
}, |
|
|
|
getResponseMessage(res, fallback) { |
|
|
|
if (!res) return fallback |
|
|
|
if (res.message) return res.message |
|
|
|
if (res.msg) return res.msg |
|
|
|
if (res.errMsg) return res.errMsg |
|
|
|
if (res.data && res.data.message) return res.data.message |
|
|
|
if (res.data && res.data.msg) return res.data.msg |
|
|
|
return fallback |
|
|
|
}, |
|
|
|
isWorkerNameAuditMessage(message) { |
|
|
|
return !!message && (message.indexOf('审核') !== -1 || message.indexOf('不合适') !== -1) |
|
|
|
}, |
|
|
|
showWorkerNameAuditTip(message) { |
|
|
|
const tip = message || '姓名内容未通过审核,请修改后再提交' |
|
|
|
this.workerNameAuditTip = tip |
|
|
|
uni.showToast({ |
|
|
|
title: tip, |
|
|
|
icon: 'none' |
|
|
|
}) |
|
|
|
}, |
|
|
|
onDefaultRouteRemarkInput(e) { |
|
|
|
const value = this.limitText(e.detail.value, 20) |
|
|
|
this.defaultRouteRemark = value |
|
|
|
@ -639,9 +595,7 @@ |
|
|
|
const worker = uni.getStorageSync('worker') |
|
|
|
if (!worker || !worker.workerId) return |
|
|
|
let that = this |
|
|
|
this.NB.sendRequest("/app/workerRelaPrice/getByWorkerId?workerId=" + worker.workerId, { |
|
|
|
regionId: regionId |
|
|
|
}, false, 'get', 'application/json').then((res) => { |
|
|
|
this.NB.sendRequest("/app/workerRelaPrice/getByWorkerId?workerId=" + worker.workerId, {}, false, 'get', 'application/x-www-form-urlencoded').then((res) => { |
|
|
|
if (res.code == 200) { |
|
|
|
if (res.result != null) { |
|
|
|
let data = res.result; |
|
|
|
@ -650,13 +604,11 @@ |
|
|
|
if (data.mobile) that.formData.mobile = data.mobile; |
|
|
|
if (data.highFloorFee !== undefined && data.highFloorFee !== null) that.formData |
|
|
|
.highFloorFee = data.highFloorFee; |
|
|
|
if (data.deliveryLocation !== undefined && data.deliveryLocation !== null) that |
|
|
|
.formData |
|
|
|
if (data.deliveryLocation !== undefined && data.deliveryLocation !== null) that.formData |
|
|
|
.deliveryLocation = data.deliveryLocation; |
|
|
|
|
|
|
|
let list = (data.workerRelaPriceList || []).map(item => { |
|
|
|
const isNewRule = enablePushOrderAfterLoad && that |
|
|
|
.pendingNewDispatchRuleKeys.indexOf(that.getRuleKey(item)) !== -1 |
|
|
|
const isNewRule = enablePushOrderAfterLoad && that.pendingNewDispatchRuleKeys.indexOf(that.getRuleKey(item)) !== -1 |
|
|
|
return Object.assign({}, item, { |
|
|
|
remark: that.limitText(item.remark, 20), |
|
|
|
isChecked: item.getPushOrder == 1 || isNewRule |
|
|
|
@ -674,9 +626,9 @@ |
|
|
|
that.waimaRuleList = waimaList; |
|
|
|
that.paotuiRuleList = paotuiList; |
|
|
|
const workerInfo = uni.getStorageSync('worker') || {}; |
|
|
|
const pushOrder = data.getPushOrder !== undefined && data.getPushOrder !== null ? |
|
|
|
data.getPushOrder : |
|
|
|
workerInfo.getPushOrder; |
|
|
|
const pushOrder = data.getPushOrder !== undefined && data.getPushOrder !== null |
|
|
|
? data.getPushOrder |
|
|
|
: workerInfo.getPushOrder; |
|
|
|
that.zhipaiCheck = enablePushOrderAfterLoad ? true : pushOrder == 1; |
|
|
|
that.$forceUpdate(); |
|
|
|
if (openDispatchAfterLoad) { |
|
|
|
@ -686,19 +638,18 @@ |
|
|
|
} |
|
|
|
that.pendingNewDispatchRuleKeys = [] |
|
|
|
} |
|
|
|
} else { |
|
|
|
uni.showToast({ |
|
|
|
title: res.message, |
|
|
|
icon: 'none' |
|
|
|
}); |
|
|
|
return |
|
|
|
} |
|
|
|
}).catch((res) => { |
|
|
|
uni.showToast({ |
|
|
|
title: res.message, |
|
|
|
icon: 'none' |
|
|
|
}) |
|
|
|
}); |
|
|
|
}) |
|
|
|
}, |
|
|
|
getShopArea() { |
|
|
|
let that = this |
|
|
|
this.NB.sendRequest("/app/shopArea/getByParentId/" + JSON.parse(uni.getStorageSync('area')).id, { |
|
|
|
regionId: regionId |
|
|
|
}, false, 'get', 'application/json').then((res) => { |
|
|
|
this.NB.sendRequest("/app/shopArea/getByParentId/" + JSON.parse(uni.getStorageSync('area')).regionId, {}, false, 'get', 'application/x-www-form-urlencoded').then((res) => { |
|
|
|
if (res.code == 200) { |
|
|
|
if (res.result != null) { |
|
|
|
for (let m = 0; m < res.result.length; m++) { |
|
|
|
@ -709,10 +660,11 @@ |
|
|
|
uni.showToast({ |
|
|
|
title: res.message, |
|
|
|
icon: 'none' |
|
|
|
}) |
|
|
|
}); |
|
|
|
return |
|
|
|
} |
|
|
|
}).catch((res) => {}); |
|
|
|
|
|
|
|
}) |
|
|
|
}, |
|
|
|
back() { |
|
|
|
uni.navigateBack() |
|
|
|
@ -808,8 +760,8 @@ |
|
|
|
}); |
|
|
|
this.$refs.guizePopup.close() |
|
|
|
}, |
|
|
|
changePopup(e) { |
|
|
|
if (e.show == false) { |
|
|
|
changePopup(e){ |
|
|
|
if(e.show == false){ |
|
|
|
this.openDispatchPopup() |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -880,11 +832,11 @@ |
|
|
|
}) |
|
|
|
} |
|
|
|
this.dispatchSaving = true |
|
|
|
this.NB.sendRequest('/app/workerRelaPrice/batchUpdate', { |
|
|
|
this.NB.sendRequest("/app/workerRelaPrice/batchUpdate", { |
|
|
|
userId: uni.getStorageSync('id'), |
|
|
|
workerRelaPriceList: selectRuleList, |
|
|
|
getPushOrder: this.zhipaiCheck ? 1 : 0 |
|
|
|
}, false, 'get', 'application/json').then((res) => { |
|
|
|
}, false, 'post', 'application/x-www-form-urlencoded').then((res) => { |
|
|
|
this.dispatchSaving = false |
|
|
|
if (res.code == 200) { |
|
|
|
let worker = uni.getStorageSync('worker') || {} |
|
|
|
@ -906,9 +858,10 @@ |
|
|
|
icon: 'none' |
|
|
|
}) |
|
|
|
} |
|
|
|
}).catch((res) => { |
|
|
|
|
|
|
|
}).catch(() => { |
|
|
|
this.dispatchSaving = false |
|
|
|
}); |
|
|
|
}) |
|
|
|
}, |
|
|
|
checkAddress(type) { |
|
|
|
let that = this |
|
|
|
@ -945,6 +898,7 @@ |
|
|
|
}, |
|
|
|
submit() { |
|
|
|
this.formData.name = this.limitText(this.formData.name, 10) |
|
|
|
this.workerNameAuditTip = '' |
|
|
|
if (!this.formData.name) return uni.showToast({ |
|
|
|
title: '请填写姓名', |
|
|
|
icon: 'none' |
|
|
|
@ -1011,9 +965,8 @@ |
|
|
|
title: '提交中...', |
|
|
|
mask: true |
|
|
|
}); |
|
|
|
this.NB.sendRequest('/app/workerRelaPrice/batchAdd', submitData, false, 'get', 'application/json').then(( |
|
|
|
res) => { |
|
|
|
this.dispatchSaving = false |
|
|
|
this.NB.sendRequest("/app/workerRelaPrice/batchAdd", submitData, false, 'post', 'application/x-www-form-urlencoded').then((res) => { |
|
|
|
uni.hideLoading(); |
|
|
|
if (res.code == 200) { |
|
|
|
let user = res.result; |
|
|
|
uni.setStorageSync('officialAccountOpenid', user.officialAccountOpenid) |
|
|
|
@ -1026,14 +979,29 @@ |
|
|
|
if (hasNewRule) worker1.getPushOrder = 1 |
|
|
|
uni.setStorageSync('worker', worker1) |
|
|
|
this.getWorkerMessage(true, hasNewRule) |
|
|
|
} else { |
|
|
|
const message = this.getResponseMessage(res, '提交失败') |
|
|
|
if (this.isWorkerNameAuditMessage(message)) { |
|
|
|
this.showWorkerNameAuditTip(message) |
|
|
|
} else { |
|
|
|
uni.showToast({ |
|
|
|
title: message, |
|
|
|
icon: 'none' |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}).catch(err => { |
|
|
|
uni.hideLoading(); |
|
|
|
const message = this.getResponseMessage(err, '提交失败,请稍后再试') |
|
|
|
if (this.isWorkerNameAuditMessage(message)) { |
|
|
|
this.showWorkerNameAuditTip(message) |
|
|
|
} else { |
|
|
|
uni.showToast({ |
|
|
|
title: res.message, |
|
|
|
title: message, |
|
|
|
icon: 'none' |
|
|
|
}) |
|
|
|
}); |
|
|
|
} |
|
|
|
}).catch((res) => { |
|
|
|
uni.hideLoading(); |
|
|
|
}); |
|
|
|
}, |
|
|
|
pictureAdd() { |
|
|
|
@ -1059,7 +1027,7 @@ |
|
|
|
let that = this; |
|
|
|
let hiver_token = uni.getStorageSync("hiver_token") |
|
|
|
await uni.uploadFile({ |
|
|
|
url: getApp().globalData.mainurl + '/upload/file', |
|
|
|
url: that.tui.interfaceUrl() + '/upload/file', |
|
|
|
filePath: path, |
|
|
|
name: 'file', |
|
|
|
header: { |
|
|
|
@ -1120,9 +1088,7 @@ |
|
|
|
} |
|
|
|
|
|
|
|
.back-btn { |
|
|
|
position: absolute; |
|
|
|
bottom: 0; |
|
|
|
left: 0; |
|
|
|
padding-top:80rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.content { |
|
|
|
@ -1132,6 +1098,10 @@ |
|
|
|
border-radius: 40rpx; |
|
|
|
background: #fff; |
|
|
|
padding: 16rpx 20rpx; |
|
|
|
padding-bottom: 220rpx; |
|
|
|
padding-bottom: calc(220rpx + constant(safe-area-inset-bottom)); |
|
|
|
padding-bottom: calc(220rpx + env(safe-area-inset-bottom)); |
|
|
|
box-sizing: border-box; |
|
|
|
} |
|
|
|
|
|
|
|
.reg-name { |
|
|
|
@ -1146,6 +1116,13 @@ |
|
|
|
margin-top: 10rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.audit-tip { |
|
|
|
margin-top: 12rpx; |
|
|
|
color: #ff3b30; |
|
|
|
font-size: 24rpx; |
|
|
|
line-height: 34rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.img-popup-content { |
|
|
|
width: 500rpx; |
|
|
|
height: 500rpx; |
|
|
|
@ -1157,23 +1134,20 @@ |
|
|
|
padding: 10px; |
|
|
|
height: 150px; |
|
|
|
} |
|
|
|
.liangge-title{ |
|
|
|
|
|
|
|
.liangge-title { |
|
|
|
|
|
|
|
height: 50px; |
|
|
|
line-height: 35px; |
|
|
|
text-align: center; |
|
|
|
font-size: 16px; |
|
|
|
font-weight: 700; |
|
|
|
height: 50px; |
|
|
|
line-height: 35px; |
|
|
|
text-align: center; |
|
|
|
font-size: 16px; |
|
|
|
font-weight: 700; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.liangge-text { |
|
|
|
.liangge-text{ |
|
|
|
height: 30px; |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 700; |
|
|
|
} |
|
|
|
|
|
|
|
.box-check-btn { |
|
|
|
width: 160rpx; |
|
|
|
height: 70rpx; |
|
|
|
@ -1514,8 +1488,22 @@ |
|
|
|
font-weight: 700; |
|
|
|
} |
|
|
|
|
|
|
|
.bottom-action { |
|
|
|
position: fixed; |
|
|
|
left: 0; |
|
|
|
right: 0; |
|
|
|
bottom: 0; |
|
|
|
padding: 22rpx 20rpx 32rpx; |
|
|
|
padding-bottom: calc(32rpx + constant(safe-area-inset-bottom)); |
|
|
|
padding-bottom: calc(32rpx + env(safe-area-inset-bottom)); |
|
|
|
background: #fff; |
|
|
|
box-shadow: 0 -10rpx 28rpx rgba(0, 35, 28, 0.08); |
|
|
|
box-sizing: border-box; |
|
|
|
z-index: 20; |
|
|
|
} |
|
|
|
|
|
|
|
.btn { |
|
|
|
width: 95%; |
|
|
|
width: 100%; |
|
|
|
height: 100rpx; |
|
|
|
font-size: 32rpx; |
|
|
|
font-weight: 700; |
|
|
|
@ -1523,7 +1511,7 @@ |
|
|
|
border-radius: 100rpx; |
|
|
|
line-height: 100rpx; |
|
|
|
text-align: center; |
|
|
|
margin: 40rpx auto; |
|
|
|
box-shadow: 0 16rpx 36rpx rgba(0, 35, 28, 0.18); |
|
|
|
} |
|
|
|
|
|
|
|
.guize-popup-content { |
|
|
|
|