'更新了'

This commit is contained in:
3321822538@qq.com 2024-01-27 17:03:34 +08:00
parent d5d780218e
commit 0c4f396599
16 changed files with 445 additions and 300 deletions

10
App.vue
View File

@ -24,7 +24,7 @@
export default { export default {
globalData: { globalData: {
spread: 0, //广id spread: 0, //广id
channelId:0, channelId:0, //id
code: 0, code: 0,
isLogin: false, isLogin: false,
userInfo: {}, userInfo: {},
@ -116,13 +116,15 @@
case 1001: // case 1001: //
let value = this.$util.getUrlParams(decodeURIComponent(option.query.scene)); let value = this.$util.getUrlParams(decodeURIComponent(option.query.scene));
that.globalData.spread = value.spread?value.spread:''; that.globalData.spread = value.spread?value.spread:'';
// that.globalData.channelId = value.channelId?value.channelId:''; // id
that.globalData.channelId = value.channelId?value.channelId:'';
that.globalData = this.$util.formatMpQrCodeData(value); that.globalData = this.$util.formatMpQrCodeData(value);
break; break;
} }
} }
if (option.spread) that.globalData.spread = option.spread; if (option.spread) that.globalData.spread = option.spread;
// if (option.channelId) that.globalData.channelId = option.channelId; // id
if (option.channelId) that.globalData.channelId = option.channelId;
// #endif // #endif
// //
uni.getSystemInfo({ uni.getSystemInfo({
@ -157,6 +159,8 @@
// code // code
uni.setStorageSync('snsapiCode', code); uni.setStorageSync('snsapiCode', code);
let spread = that.globalData.spread ? that.globalData.spread : 0; let spread = that.globalData.spread ? that.globalData.spread : 0;
// id
let channelId = that.globalData.channelId ? that.globalData.channelId : 0;
Auth.auth(code, that.$Cache.get('SPREAD')) Auth.auth(code, that.$Cache.get('SPREAD'))
.then(res => { .then(res => {
uni.setStorageSync('snRouter', decodeURIComponent(decodeURIComponent(option.query uni.setStorageSync('snRouter', decodeURIComponent(decodeURIComponent(option.query

View File

@ -382,7 +382,7 @@ export function spread(puid)
return request.get("user/bindSpread?spreadPid="+ puid); return request.get("user/bindSpread?spreadPid="+ puid);
} }
/** /**
// * 静默绑定推广人@description // * 静默绑定推广人
// * @param {Object} channelId // * @param {Object} channelId
// */ // */
export function channel(channelId) export function channel(channelId)

View File

@ -83,10 +83,10 @@
}) })
}, },
jumpCon: function(id) { jumpCon: function(id) {
let type = this.productType==0?'normal':'video' // let type = this.productType==0?'normal':'video'
if (this.jump) { if (this.jump) {
uni.navigateTo({ uni.navigateTo({
url: `/pages/goods_details/index?id=${id}&type=${type}` url: `/pages/goods_details/index?id=${id}&type=${'normal'}`
}) })
} }
} }

View File

@ -2,13 +2,15 @@
// let domain = 'http://117.50.163.143:20410' // let domain = 'http://117.50.163.143:20410'
// let domain = 'http://117.50.215.20:20410' // let domain = 'http://117.50.215.20:20410'
let domain = 'http://192.168.2.14:8081' let domain = 'http://192.168.2.14:8081'
// let domain = 'http://106.75.49.247:20410'
module.exports = { module.exports = {
// 请求域名 格式: https://您的域名 // 请求域名 格式: https://您的域名
// #ifdef MP || APP-PLUS // #ifdef MP || APP-PLUS
// HTTP_REQUEST_URL:'', // HTTP_REQUEST_URL:'',
HTTP_REQUEST_URL: domain, HTTP_REQUEST_URL: domain,
// H5商城地址 // H5商城地址
// HTTP_H5_URL: 'http://117.50.215.20:20410', // HTTP_H5_URL: 'http://106.75.49.247:20410',
HTTP_H5_URL: 'http://192.168.2.14:8081', HTTP_H5_URL: 'http://192.168.2.14:8081',
// #endif // #endif
// #ifdef H5 // #ifdef H5

View File

@ -219,7 +219,8 @@
"async" : { "async" : {
"timeout" : 200000 "timeout" : 200000
}, },
"title" : "先享后付" "title" : "先享后付",
"template" : "template.html"
}, },
"plus" : { "plus" : {
"statusbar" : { "statusbar" : {

View File

@ -494,6 +494,8 @@
// id // id
if(options.spread) app.globalData.spread = options.spread; if(options.spread) app.globalData.spread = options.spread;
// id
// if(options.channelId) app.globalData.channelId = options.channelId;
var pages = getCurrentPages(); var pages = getCurrentPages();
if (pages.length <= 1) { if (pages.length <= 1) {
@ -509,7 +511,7 @@
this.id = app.globalData.id this.id = app.globalData.id
}else{ }else{
this.id = options.id; this.id = options.id;
} }
} }
options.startBargainUid == 'undefined' ? that.startBargainUid = 0 : that.startBargainUid = Number(options options.startBargainUid == 'undefined' ? that.startBargainUid = 0 : that.startBargainUid = Number(options
.startBargainUid); .startBargainUid);

View File

@ -272,13 +272,13 @@
} from '@/libs/login.js'; } from '@/libs/login.js';
import { silenceBindingSpread } from "@/utils"; import { silenceBindingSpread } from "@/utils";
import { spread } from "@/api/user"; import { spread } from "@/api/user";
export default { export default{
data() { data() {
return { return{
showSkeleton: true, // showSkeleton: true, //
isNodes: 0, //, isNodes: 0, //,
bgColor: { bgColor:{
'bgColor': '#333333', 'bgColor': '#333333',
'Color': '#fff', 'Color': '#fff',
'isDay': true, 'isDay': true,
'width': '44rpx', 'width': '44rpx',

View File

@ -393,7 +393,7 @@
let that = this; let that = this;
that.cartId = item.id; that.cartId = item.id;
that.product_id = item.productId; that.product_id = item.productId;
getProductDetail(item.productId).then(res => { getProductDetail(item.productId).then(res => {
uni.hideLoading(); uni.hideLoading();
that.attr.cartAttr = true; that.attr.cartAttr = true;
let productInfo = res.data.productInfo; let productInfo = res.data.productInfo;
@ -504,8 +504,7 @@
} }
}, },
attrVal(val) { attrVal(val) {
this.$set(this.attr.productAttr[val.indexw], 'index', this.attr.productAttr[val.indexw].attrValues[val this.$set(this.attr.productAttr[val.indexw], 'index', this.attr.productAttr[val.indexw].attrValues[val.indexn]);
.indexn]);
}, },
/** /**
* 购物车数量加和数量减 * 购物车数量加和数量减
@ -966,8 +965,7 @@
link: location.href, link: location.href,
imgUrl: data.img imgUrl: data.img
}; };
that.$wechat.wechatEvevt(["updateAppMessageShareData", "updateTimelineShareData"], that.$wechat.wechatEvevt(["updateAppMessageShareData", "updateTimelineShareData"],configAppMessage);
configAppMessage);
} }
}, },
returns: function() { returns: function() {

View File

@ -3,10 +3,10 @@
<view class='order-details'> <view class='order-details'>
<!-- 给header上与data上加on为退款订单--> <!-- 给header上与data上加on为退款订单-->
<view class='header bg_color' :class='isGoodsReturn ? "on":""'> <view class='header bg_color' :class='isGoodsReturn ? "on":""'>
<view class='picTxt acea-row row-middle'> <view class='picTxt acea-row row-middle' id="boxss">
<view class='pictrue' v-if="isGoodsReturn==false"> <!-- <view class='pictrue' v-if="isGoodsReturn==false">
<image :src="orderInfo.statusPic"></image> <image :src="orderInfo.statusPic"></image>
</view> </view> -->
<view class='data' :class='isGoodsReturn ? "on":""'> <view class='data' :class='isGoodsReturn ? "on":""'>
<view class='state'>{{orderInfo.orderStatusMsg}}</view> <view class='state'>{{orderInfo.orderStatusMsg}}</view>
<view v-if="orderInfo.refundReasonTime !== null">{{orderInfo.refundReasonTime}}</view> <view v-if="orderInfo.refundReasonTime !== null">{{orderInfo.refundReasonTime}}</view>
@ -107,8 +107,10 @@
<view>{{orderInfo.systemStore?orderInfo.systemStore.address + orderInfo.systemStore.detailedAddress:''}}</view> <view>{{orderInfo.systemStore?orderInfo.systemStore.address + orderInfo.systemStore.detailedAddress:''}}</view>
</view> </view>
<orderGoods :evaluate='evaluate' :productType="orderInfo.type" :orderId="order_id" :ids="id" :uniId="uniId" :cartInfo="cartInfo" <!-- 商品信息 -->
:jump="true"></orderGoods> <orderGoods :evaluate='evaluate' :productType="orderInfo.type" :orderId="order_id" :ids="id" :uniId="uniId" :cartInfo="cartInfo" :jump="true">
</orderGoods>
<!-- #ifndef MP --> <!-- #ifndef MP -->
<div class="goodCall borRadius14" @click="onClickService"> <div class="goodCall borRadius14" @click="onClickService">
<span class="iconfont icon-kefu"></span><span>联系客服</span> <span class="iconfont icon-kefu"></span><span>联系客服</span>
@ -420,7 +422,8 @@
if(this.$wechat.isWeixin()) this.payMode.pop(); if(this.$wechat.isWeixin()) this.payMode.pop();
// #endif // #endif
}, },
methods: { methods: {
// //
lijiqys(id, ids) { lijiqys(id, ids) {
this.$Cache.set('qyids', id) this.$Cache.set('qyids', id)
@ -553,8 +556,7 @@
if (res.data.refundStatus != 0) { if (res.data.refundStatus != 0) {
that.isGoodsReturn = true; that.isGoodsReturn = true;
}; };
if (that.orderInfo.shippingType == 2 && that.orderInfo.paid) that.markCode(res.data if (that.orderInfo.shippingType == 2 && that.orderInfo.paid) that.markCode(res.data.verifyCode);
.verifyCode);
if(that.orderInfo.refundStatus>0){ if(that.orderInfo.refundStatus>0){
uni.setNavigationBarColor({ uni.setNavigationBarColor({
frontColor: '#fff', frontColor: '#fff',
@ -778,7 +780,12 @@
transform: translateX(-50%); transform: translateX(-50%);
} }
#boxss{
display: block;
text-align: center;
padding-top: 50rpx;
box-sizing: border-box;
}
.qs-btn { .qs-btn {
width: auto; width: auto;

View File

@ -29,7 +29,7 @@
<view class="icon"> <view class="icon">
<image src="/static/images/edit.png" mode=""></image> <image src="/static/images/edit.png" mode=""></image>
</view> </view>
<view class="real_name"> <view class="real_name" @click="btnreal">
{{realname}} {{realname}}
</view> </view>
</view> </view>
@ -247,7 +247,8 @@
telephone_service_switch: '0' telephone_service_switch: '0'
}, // }, //
userInfo: {}, userInfo: {},
copyImage: '' // copyImage: '', //
identification:{}
} }
}, },
onLoad() { onLoad() {
@ -315,6 +316,7 @@
// #endif // #endif
}, },
methods: { methods: {
// //
getidentityq:function(){ getidentityq:function(){
let data = { let data = {
@ -323,10 +325,16 @@
getidentity(data).then(res=>{ getidentity(data).then(res=>{
if (res.message == '操作成功') { if (res.message == '操作成功') {
this.realname = '已实名' this.realname = '已实名'
this.identification = res.data
} }
}) })
}, },
//
btnreal(){
uni.navigateTo({
url: '/pages/users/order_improves/index?identification=' + JSON.stringify(this.identification),
})
},
//token,truefalse //token,truefalse
getTokenIsExist() { getTokenIsExist() {
tokenIsExistApi().then(res => { tokenIsExistApi().then(res => {
@ -555,6 +563,9 @@
border-radius: 20rpx; border-radius: 20rpx;
font-size: 12px; font-size: 12px;
color: #fff; color: #fff;
position: absolute;
top: -10rpx;
right: 0;
} }
page, page,
body { body {
@ -672,7 +683,7 @@
align-items: center; align-items: center;
font-size: 26rpx; font-size: 26rpx;
color: rgba(255, 255, 255, 0.6); color: rgba(255, 255, 255, 0.6);
position: relative;
image { image {
width: 22rpx; width: 22rpx;
height: 23rpx; height: 23rpx;
@ -698,6 +709,7 @@
.num { .num {
font-size: 42rpx; font-size: 42rpx;
font-weight: bold; font-weight: bold;
} }
.txt { .txt {

View File

@ -29,16 +29,16 @@
首期租金 首期租金
</view> </view>
</view> </view>
<view class="zongzu"> <!-- <view class="zongzu">
<text>{{sum}}</text> <text>{{sum}}</text>
<view class="wz"> <view class="wz">
总租金 总租金
</view> </view>
</view> </view> -->
<view class="edu"> <view class="edu">
<text>{{sum}}</text> <text>{{sum}}</text>
<view class="wz"> <view class="wz">
销售金额 金额
</view> </view>
</view> </view>
</view> </view>
@ -48,10 +48,10 @@
<text class="title">分期方式</text> <text class="gapwz">间隔{{fenqiobj.cycle}}</text> <text class="title">分期方式</text> <text class="gapwz">间隔{{fenqiobj.cycle}}</text>
</view> </view>
<view class="qishu"> <view class="qishu">
<text>期数</text> <text></text> <text>每期租金</text> <text>期数</text> <text>还款日</text> <text>还款金额</text>
</view> </view>
<view class="date" style="margin-top: 40rpx;" v-for="(item,index) in installmentlist" :key="index"> <view class="date" style="margin-top: 40rpx;" v-for="(item,index) in installmentlist" :key="index">
<text>{{item.installmentNumber}}</text> <text>间隔{{fenqiobj.cycle}}</text> <text> {{item.repaymentAmount}}</text> <text>{{item.installmentNumber}}/{{installmentlist.length}}</text> <text>日期{{item.repaymentDeadlineStr}}</text> <text>{{item.repaymentAmount}}</text>
</view> </view>
</view> </view>
@ -70,7 +70,7 @@
cart:[], cart:[],
hireshou: '', // hireshou: '', //
sum:0, sum:0,
num:0, // num:0, //
fenqiobj:{} fenqiobj:{}
} }
}, },
@ -78,9 +78,9 @@
this.fenqiobj = JSON.parse((option.fenqiobj)) this.fenqiobj = JSON.parse((option.fenqiobj))
this.cart = JSON.parse(option.cart) this.cart = JSON.parse(option.cart)
this.installmentlist = JSON.parse(option.list) this.installmentlist = JSON.parse(option.list)
console.log(this.installmentlist)
this.hireshou = this.installmentlist[0].repaymentAmount this.hireshou = this.installmentlist[0].repaymentAmount
}, },
methods: { methods: {
// //
@ -232,7 +232,9 @@
height: 140rpx; height: 140rpx;
padding-top: 36rpx; padding-top: 36rpx;
box-sizing: border-box; box-sizing: border-box;
position: fixed;
bottom: 0;
left: 0;
a { a {
text-decoration: none; text-decoration: none;
color: #fff; color: #fff;

View File

@ -67,13 +67,13 @@
<text>填写资料 加速审核</text> <text>填写资料 加速审核</text>
</view> </view>
<view class="rt"> <view class="rt">
<uni-view data-v-064d693c="" class="iconfont icon-jiantou"></uni-view> <uni-view data-v-064d693c="" style="font-size: 19px;" class="iconfont icon-jiantou"></uni-view>
</view> </view>
</view> </view>
<!-- 邮箱 --> <!-- 邮箱 -->
<view class="emils"> <!-- <view class="emils">
<text>邮箱</text> <input type="text" v-model="emitext" placeholder="请输入您的个人邮箱(必填)" /> <text>邮箱</text> <input type="text" v-model="emitext" placeholder="请输入您的个人邮箱(必填)" />
</view> </view> -->
<orderGoods :cartInfo="cartInfo" :orderProNum="orderProNum"></orderGoods> <orderGoods :cartInfo="cartInfo" :orderProNum="orderProNum"></orderGoods>
@ -96,7 +96,7 @@
</view> </view>
<checkbox-group @change="ChangeIntegral"> <checkbox-group @change="ChangeIntegral">
<checkbox :checked='useIntegral ? true : false' <checkbox :checked='useIntegral ? true : false'
:disabled="orderInfoVo.userIntegral==0 && !useIntegral" /> :disabled="orderInfoVo.userIntegral==0 && !useIntegral" @click="btnjf" />
</checkbox-group> </checkbox-group>
</view> </view>
</view> </view>
@ -144,7 +144,7 @@
value="" name="mark" placeholder='请添加备注150字以内'></textarea> value="" name="mark" placeholder='请添加备注150字以内'></textarea>
</view> </view>
</view> </view>
<view class='wrapper borRadius14'> <view class='wrapper borRadius14' v-if="orderInfoVo.payFee != 0">
<view class='item'> <view class='item'>
<a @click="btnment"> <a @click="btnment">
<view class="planjh"> <view class="planjh">
@ -402,7 +402,9 @@
installmentobj: {}, installmentobj: {},
downPaymentAmount: 0, downPaymentAmount: 0,
totalAmount: 0, totalAmount: 0,
identification:{} // identification:{}, //
zongmey:'',
}; };
}, },
@ -454,15 +456,14 @@
// this.installmentid = JSON.parse(localStorage.getItem('installments')).id // this.installmentid = JSON.parse(localStorage.getItem('installments')).id
// this.fenqiname = JSON.parse(localStorage.getItem('installments')).name // this.fenqiname = JSON.parse(localStorage.getItem('installments')).name
this.installmentobj = JSON.parse(this.$Cache.get('installments')) this.installmentobj = JSON.parse(this.$Cache.get('installments'))
this.getinstallmentpost()
this.getidentityq()
}, },
/** /**
* 生命周期函数--监听页面显示 * 生命周期函数--监听页面显示
*/ */
onShow: function() { onShow: function() {
// console.log(this.$Cache.get('improvescode')) // console.log(this.$Cache.get('improvescode'))
this.getidentityq()
let _this = this let _this = this
// wx.getLaunchOptionsSync // wx.getLaunchOptionsSync
this.textareaStatus = true; this.textareaStatus = true;
@ -479,12 +480,11 @@
}, },
methods: { methods: {
// //
getinstallmentpost: function() { getinstallmentpost: function() {
let data = { let data = {
preOrderNo: this.preOrderNo, payFee: this.zongmey,
uid: this.$store.getters.uid, // uid: this.$store.getters.uid,
comboId: this.installmentobj.id comboId: this.installmentobj.id
} }
getinstallment(data).then(res => { getinstallment(data).then(res => {
@ -496,6 +496,13 @@
this.totalAmount = parseFloat(this.totalAmount).toFixed(2) this.totalAmount = parseFloat(this.totalAmount).toFixed(2)
}) })
}, },
//
btnjf(){
// this.zongmey = this.orderInfoVo.payFee
this.getinstallmentpost()
},
// //
btnment() { btnment() {
uni.navigateTo({ uni.navigateTo({
@ -517,6 +524,11 @@
getloadPreOrder: function() { getloadPreOrder: function() {
loadPreOrderApi(this.preOrderNo).then(res => { loadPreOrderApi(this.preOrderNo).then(res => {
let orderInfoVo = res.data.orderInfoVo; let orderInfoVo = res.data.orderInfoVo;
this.zongmey = orderInfoVo.payFee
// console.log(this.zongmey,11)
this.getinstallmentpost()
this.orderInfoVo = orderInfoVo; this.orderInfoVo = orderInfoVo;
this.shopmey = this.orderInfoVo.proTotalFee // this.shopmey = this.orderInfoVo.proTotalFee //
if (orderInfoVo.addressId && this.addressChangeId === 0) { if (orderInfoVo.addressId && this.addressChangeId === 0) {
@ -596,7 +608,10 @@
this.orderInfoVo.useIntegral = data.useIntegral; this.orderInfoVo.useIntegral = data.useIntegral;
this.orderInfoVo.usedIntegral = data.usedIntegral; this.orderInfoVo.usedIntegral = data.usedIntegral;
this.orderInfoVo.surplusIntegral = data.surplusIntegral; this.orderInfoVo.surplusIntegral = data.surplusIntegral;
//this.orderInfoVo.userIntegral = data.userIntegral; // console.log(this.orderInfoVo.payFee,11)
this.zongmey = this.orderInfoVo.payFee
this.getinstallmentpost()
}).catch(err => { }).catch(err => {
return this.$util.Tips({ return this.$util.Tips({
title: err title: err
@ -712,6 +727,12 @@
that.car(); that.car();
}, 500); }, 500);
}, },
//
btnyhq(){
this.zongmey = this.orderInfoVo.payFee
console.log(111)
this.getinstallmentpost()
},
couponTap: function() { couponTap: function() {
this.coupon.coupon = true; this.coupon.coupon = true;
if (!this.coupon.list.length) this.getCouponList(); if (!this.coupon.list.length) this.getCouponList();
@ -1074,9 +1095,6 @@
// //
btncheaced() { btncheaced() {
// uni.navigateTo({
// url:'/pages/users/signin/index'
// })
if (this.checkeds) { if (this.checkeds) {
this.checkeds = false this.checkeds = false
} else { } else {
@ -1102,15 +1120,7 @@
let that = this, let that = this,
data = {}; data = {};
var aqq = /^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/ var aqq = /^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/
if (this.emitext == '') { if (this.checkeds == false) {
return this.$util.Tips({
title: '邮箱不能为空'
});
} else if (!aqq.test(this.emitext)) {
return this.$util.Tips({
title: '请填写正确的邮箱'
});
} else if (this.checkeds == false) {
return this.$util.Tips({ return this.$util.Tips({
title: '请勾选并同意政策' title: '请勾选并同意政策'
}); });
@ -1118,7 +1128,11 @@
return this.$util.Tips({ return this.$util.Tips({
title: '请填写身份信息' title: '请填写身份信息'
}); });
} else { } else if(!that.addressId && !that.shippingType){
return that.$util.Tips({
title: '请选择收货地址'
});
}else{
data = { data = {
realName: that.contacts, realName: that.contacts,
phone: that.contactsTel, phone: that.contactsTel,
@ -1150,17 +1164,18 @@
// #ifndef MP // #ifndef MP
that.payment(data); that.payment(data);
// #endif // #endif
//
let now = new Date(); let now = new Date();
let year = now.getFullYear(); // let year = now.getFullYear(); //
let month = now.getMonth() + 1; // 01 let month = now.getMonth() + 1; // 01
let day = now.getDate(); // let day = now.getDate(); //
let shi = now.toLocaleTimeString(); // let shi = now.toLocaleTimeString(); //
this.timeString = year + '-' + month + '-' + day + ' ' + shi this.timeString = year + '-' + month + '-' + day + ' ' + shi
this.shopobj.shopmey = this.shopmey this.shopobj.shopmey = this.orderInfoVo.payFee
this.shopobj.date = this.timeString this.shopobj.date = this.timeString
this.shopobj.orderNo = this.preOrderNo this.shopobj.orderNo = this.preOrderNo
console.log(this.shopobj)
uni.navigateTo({ uni.navigateTo({
url: '/pages/users/pay_success/index?shopobj=' + JSON.stringify(this.shopobj) url: '/pages/users/pay_success/index?shopobj=' + JSON.stringify(this.shopobj)
}) })
@ -1587,7 +1602,7 @@
.identity { .identity {
width: 100%; width: 100%;
display: flex; display: flex;
padding: 0 13px; padding: 0 26rpx;
border-bottom: 1px solid #F5F5F5; border-bottom: 1px solid #F5F5F5;
height: 120rpx; height: 120rpx;
// line-height: 120rpx; // line-height: 120rpx;

View File

@ -7,16 +7,16 @@
<text>真实姓名</text> <input type="text" v-model="realName" @blur="realNameinp" placeholder="请输入真实姓名" /> <text>真实姓名</text> <input type="text" v-model="realName" @blur="realNameinp" placeholder="请输入真实姓名" />
</view> </view>
<view class="name"> <view class="name">
<text>身份证号</text> <input type="text" v-model="idcard" @blur="idcardinp" placeholder="请输入身份证号" /> <text>身份证号</text> <input type="text" v-model="idcard" placeholder="请输入身份证号" />
</view> </view>
<view class="name"> <view class="name">
<text>手机号码</text> <input type="text" v-model="tel" @blur="telinp" placeholder="133****3635" /> <text>手机号码</text> <input type="text" v-model="tel" @blur="telinp" placeholder="请输入手机号" />
</view> </view>
</view> </view>
<!-- 文字提示 --> <!-- 文字提示 -->
<view class="modifytext"> <view class="modifytext">
<text>请上传本人真实有效的身份证原件</text> <text>未带身份证原件</text> <text>请上传本人真实有效的身份证原件</text> <text>上传身份证原件</text>
</view> </view>
<!-- 上传身份件 --> <!-- 上传身份件 -->
<view class="identity"> <view class="identity">
@ -89,7 +89,7 @@
</a> </a>
</view> </view>
</view> </view>
<!-- 4 --> <!-- 4 -->
<view class="emergency_contact" v-if="flaglxrs"> <view class="emergency_contact" v-if="flaglxrs">
<view class="name" @click="openPopupadd('bottomadd')"> <view class="name" @click="openPopupadd('bottomadd')">
@ -105,15 +105,15 @@
<text>联系人手机</text> <input type="text" v-model="teladds" @blur="telinpadds" placeholder="请输入联系人手机" /> <text>联系人手机</text> <input type="text" v-model="teladds" @blur="telinpadds" placeholder="请输入联系人手机" />
</view> </view>
<view class="addname" v-if="flaga"> <view class="addname" v-if="flaga">
<a href="javascript:;" @click="btnadds"> <a href="javascript:;" @click="btnadds">
<view class="add">+</view> <view class="add">+</view>
<text>继续添加(有助于提高审核成功率)</text> <text>继续添加(有助于提高审核成功率)</text>
</a> </a>
</view>
</view> </view>
</view>
<!-- 常用邮箱 --> <!-- 常用邮箱 -->
<view class="cye_mail"> <view class="cye_mail">
<view class="email"> <view class="email">
@ -122,12 +122,12 @@
<text class="bz">为保障您的权益,物流信息将发送至您的邮箱</text> <text class="bz">为保障您的权益,物流信息将发送至您的邮箱</text>
</view> </view>
<!-- 常用手机号 --> <!-- 常用手机号 -->
<view class="commontel"> <!-- <view class="commontel">
<view class="email"> <view class="email">
<text>常用手机号</text> <input type="text" v-model="telthre" @blur="telinpthre" placeholder="请输入常用手机号(必填)" /> <text>常用手机号</text> <input type="text" v-model="telthre" @blur="telinpthre" placeholder="请输入常用手机号(必填)" />
</view> </view>
<text class="bz">为尽快完成申核发货请输入能联系到您的常用手机号</text> <text class="bz">为尽快完成申核发货请输入能联系到您的常用手机号</text>
</view> </view> -->
<!-- 确定 --> <!-- 确定 -->
<a href="javascript:;" class="btntrue" @click="btnclick">确定</a> <a href="javascript:;" class="btntrue" @click="btnclick">确定</a>
@ -174,69 +174,69 @@
telone: '', telone: '',
teltwo: '', teltwo: '',
telthre: '', telthre: '',
lxrarr: ['父母', '子女', '兄弟', '姐妹','亲戚','朋友','配偶','同事'], lxrarr: ['父母', '子女', '兄弟', '姐妹', '亲戚', '朋友', '配偶', '同事'],
lxrmoren: '请选择您与联系人的关系 ', lxrmoren: '请选择您与联系人的关系 ',
lxrmorens: '请选择您与联系人的关系 ', lxrmorens: '请选择您与联系人的关系 ',
emitext: '', // emitext: '', //
shenfenpic: '', //base64 shenfenpic: '', //base64
shenfenpics: '', //base64 shenfenpics: '', //base64
flaglxr:false, flaglxr: false,
flaglxrs:false, flaglxrs: false,
flags:true, flags: true,
lxrmorenadd:'请选择您与联系人的关系 ', lxrmorenadd: '请选择您与联系人的关系 ',
lxrmorenadds:'请选择您与联系人的关系', lxrmorenadds: '请选择您与联系人的关系',
teladd:'', teladd: '',
teladds:'', teladds: '',
realNameadd:'', realNameadd: '',
realNameadds:'', realNameadds: '',
flaga:false, flaga: false,
personflag:false, personflag: false,
personflaga:false, personflaga: false,
personflagb:false, personflagb: false,
identification:{}, identification: {},
lxindex:'',// lxindex: '', //
lxindexs:'', lxindexs: '',
} }
}, },
onLoad(option) { onLoad(option) {
// //
if(JSON.parse(option.identification)){ if (JSON.parse(option.identification)) {
this.identification = JSON.parse(option.identification) this.identification = JSON.parse(option.identification)
this.realName = this.identification.realName this.realName = this.identification.realName
this.idcard = this.identification.idCardNumber this.idcard = this.identification.idCardNumber
this.tel = this.identification.commonPhoneNumber this.tel = this.identification.commonPhoneNumber
this.upLoadPositiveImg = this.identification.idCardBackPhoto.slice(21) this.upLoadReverseImg = this.identification.idCardBackPhoto.slice(21)
this.upLoadReverseImg = this.identification.idCardFrontPhoto this.upLoadPositiveImg = this.identification.idCardFrontPhoto.slice(21)
this.emitext = this.identification.email this.emitext = this.identification.email
this.telthre = this.identification.phoneNumber // this.telthre = this.identification.phoneNumber
this.lxindex = this.identification.userEmergencyContactsList[0].relationship this.lxindex = this.identification.userEmergencyContactsList[0].relationship
this.realNameone = this.identification.userEmergencyContactsList[0].contactName this.realNameone = this.identification.userEmergencyContactsList[0].contactName
this.telone = this.identification.userEmergencyContactsList[0].phoneNumber this.telone = this.identification.userEmergencyContactsList[0].phoneNumber
this.lxindexs = this.identification.userEmergencyContactsList[1].relationship this.lxindexs = this.identification.userEmergencyContactsList[1].relationship
this.realNametwo = this.identification.userEmergencyContactsList[1].contactName this.realNametwo = this.identification.userEmergencyContactsList[1].contactName
this.teltwo = this.identification.userEmergencyContactsList[1].phoneNumber this.teltwo = this.identification.userEmergencyContactsList[1].phoneNumber
if(this.lxindex == 0 || this.lxindexs == 0){ if (this.lxindex == 0 || this.lxindexs == 0) {
this.lxrmoren = '父母' this.lxrmoren = '父母'
this.lxrmorens = '父母' this.lxrmorens = '父母'
}else if(this.lxindex == 1 || this.lxindexs == 1){ } else if (this.lxindex == 1 || this.lxindexs == 1) {
this.lxrmoren = '子女' this.lxrmoren = '子女'
this.lxrmorens = '子女' this.lxrmorens = '子女'
}else if(this.lxindex == 2 || this.lxindexs == 2){ } else if (this.lxindex == 2 || this.lxindexs == 2) {
this.lxrmoren = '兄弟' this.lxrmoren = '兄弟'
this.lxrmorens = '兄弟' this.lxrmorens = '兄弟'
}else if(this.lxindex == 3 || this.lxindexs == 3){ } else if (this.lxindex == 3 || this.lxindexs == 3) {
this.lxrmoren = '姐妹' this.lxrmoren = '姐妹'
this.lxrmorens = '姐妹' this.lxrmorens = '姐妹'
}else if(this.lxindex == 4 || this.lxindexs == 4){ } else if (this.lxindex == 4 || this.lxindexs == 4) {
this.lxrmoren = '亲戚' this.lxrmoren = '亲戚'
this.lxrmorens = '亲戚' this.lxrmorens = '亲戚'
}else if(this.lxindex == 5 || this.lxindexs == 5){ } else if (this.lxindex == 5 || this.lxindexs == 5) {
this.lxrmoren = '朋友' this.lxrmoren = '朋友'
this.lxrmorens = '朋友' this.lxrmorens = '朋友'
}else if(this.lxindex == 6 || this.lxindexs == 6){ } else if (this.lxindex == 6 || this.lxindexs == 6) {
this.lxrmoren = '配偶' this.lxrmoren = '配偶'
this.lxrmorens = '配偶' this.lxrmorens = '配偶'
}else if(this.lxindex == 7 || this.lxindexs == 7){ } else if (this.lxindex == 7 || this.lxindexs == 7) {
this.lxrmoren = '同事' this.lxrmoren = '同事'
this.lxrmorens = '同事' this.lxrmorens = '同事'
} }
@ -291,21 +291,21 @@
}); });
} }
}, },
telinpadd(){ telinpadd() {
let photopatten = /^1[3456789]\d{9}$/ let photopatten = /^1[3456789]\d{9}$/
if (this.teladd == '') { if (this.teladd == '') {
return this.$util.Tips({ return this.$util.Tips({
title: '手机号不能为空' title: '手机号不能为空'
}); });
} else if (photopatten.test(this.teladd)) { } else if (photopatten.test(this.teladd)) {
} else { } else {
return this.$util.Tips({ return this.$util.Tips({
title: '请填写正确的手机号' title: '请填写正确的手机号'
}); });
} }
}, },
realNameinpadd(){ realNameinpadd() {
let that = this let that = this
let namepatten = /^[\u4e00-\u9fa5a-zA-Z\s\-]+$/ let namepatten = /^[\u4e00-\u9fa5a-zA-Z\s\-]+$/
if (this.realNameadd == '') { if (this.realNameadd == '') {
@ -313,7 +313,7 @@
title: '姓名不能为空' title: '姓名不能为空'
}); });
} else if (namepatten.test(this.realNameadd)) { } else if (namepatten.test(this.realNameadd)) {
} else { } else {
return that.$util.Tips({ return that.$util.Tips({
title: '请填写正确的姓名' title: '请填写正确的姓名'
@ -321,7 +321,7 @@
} }
}, },
// 4 // 4
realNameinpadds(){ realNameinpadds() {
let that = this let that = this
let namepatten = /^[\u4e00-\u9fa5a-zA-Z\s\-]+$/ let namepatten = /^[\u4e00-\u9fa5a-zA-Z\s\-]+$/
if (this.realNameadds == '') { if (this.realNameadds == '') {
@ -329,21 +329,21 @@
title: '姓名不能为空' title: '姓名不能为空'
}); });
} else if (namepatten.test(this.realNameadds)) { } else if (namepatten.test(this.realNameadds)) {
} else { } else {
return that.$util.Tips({ return that.$util.Tips({
title: '请填写正确的姓名' title: '请填写正确的姓名'
}); });
} }
}, },
telinpadds(){ telinpadds() {
let photopatten = /^1[3456789]\d{9}$/ let photopatten = /^1[3456789]\d{9}$/
if (this.teladds == '') { if (this.teladds == '') {
return this.$util.Tips({ return this.$util.Tips({
title: '手机号不能为空' title: '手机号不能为空'
}); });
} else if (photopatten.test(this.teladds)) { } else if (photopatten.test(this.teladds)) {
} else { } else {
return this.$util.Tips({ return this.$util.Tips({
title: '请填写正确的手机号' title: '请填写正确的手机号'
@ -351,20 +351,20 @@
} }
}, },
// //
idcardinp() { // idcardinp() {
let result = /^[1-9]\d{5}(18|19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])\d{3}([0-9]|X)$/ // let result = /^[1-9]\d{5}(18|19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])\d{3}([0-9]|X)$/
if (this.idcard == '') { // if (this.idcard == '') {
return this.$util.Tips({ // return this.$util.Tips({
title: '身份证不能为空' // title: ''
}); // });
} else if (result.test(this.idcard)) { // } else if (result.test(this.idcard)) {
} else { // } else {
return this.$util.Tips({ // return this.$util.Tips({
title: '请填写正确的身份证' // title: ''
}); // });
} // }
}, // },
// //
telinp() { telinp() {
let photopatten = /^1[3456789]\d{9}$/ let photopatten = /^1[3456789]\d{9}$/
@ -408,20 +408,20 @@
}); });
} }
}, },
telinpthre() { // telinpthre() {
let photopatten = /^1[3456789]\d{9}$/ // let photopatten = /^1[3456789]\d{9}$/
if (this.telthre == '') { // if (this.telthre == '') {
return this.$util.Tips({ // return this.$util.Tips({
title: '常用手机号不能为空' // title: ''
}); // });
} else if (photopatten.test(this.telthre)) { // } else if (photopatten.test(this.telthre)) {
} else { // } else {
return this.$util.Tips({ // return this.$util.Tips({
title: '请填写正确的手机号' // title: ''
}); // });
} // }
}, // },
// //
openPopup(e) { openPopup(e) {
this.$refs[e].open(); this.$refs[e].open();
@ -431,50 +431,44 @@
this.$refs[e].open(); this.$refs[e].open();
this.personflaga = true this.personflaga = true
}, },
openPopupadd(e){ openPopupadd(e) {
this.$refs[e].open(); this.$refs[e].open();
this.personflagb = true this.personflagb = true
}, },
// //
btnlxr(val,index) { btnlxr(val, index) {
this.lxindex = index this.lxindex = index
this.lxrmoren = val this.lxrmoren = val
if(this.lxrmoren == this.lxrmorens ||this.lxrmoren == this.lxrmorenadd || this.lxrmorens == this.lxrmorenadd){ this.personflag = false
return this.$util.Tips({
title: '紧急联系人关系重复'
});
}else{
this.personflag = false
}
}, },
btnlxrs(val,index) { btnlxrs(val, index) {
this.lxindexs = index this.lxindexs = index
this.lxrmorens = val this.lxrmorens = val
this.personflaga = false this.personflaga = false
}, },
btnlxradd(val){ btnlxradd(val) {
this.lxrmorenadd = val this.lxrmorenadd = val
this.personflagb = false this.personflagb = false
}, },
// //
emitextinp() { // emitextinp() {
let aqq = /^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/ // let aqq = /^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/
if (this.emitext == '') { // if (this.emitext == '') {
return this.$util.Tips({ // return this.$util.Tips({
title: '常用邮箱不能为空' // title: ''
}); // });
} else if (!aqq.test(this.emitext)) { // } else if (!aqq.test(this.emitext)) {
return this.$util.Tips({ // return this.$util.Tips({
title: '请填写正确的邮箱' // title: ''
}); // });
} // }
}, // },
// //
btnclick() { btnclick() {
let namepatten = /^[\u4e00-\u9fa5a-zA-Z\s\-]+$/ // let namepatten = /^[\u4e00-\u9fa5a-zA-Z\s\-]+$/ //
let result = /^[1-9]\d{5}(18|19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])\d{3}([0-9]|X)$/ // let result = /^[1-9]\d{5}(18|19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}[\dX]$/ //
let photopatten = /^1[3456789]\d{9}$/ // let photopatten = /^1[3456789]\d{9}$/ //
let aqq = /^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/ // let aqq = /^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/ //
if (this.realName == '') { if (this.realName == '') {
@ -489,10 +483,6 @@
return this.$util.Tips({ return this.$util.Tips({
title: '身份证不能为空' title: '身份证不能为空'
}) })
} else if (!result.test(this.idcard)) {
return this.$util.Tips({
title: '请填写正确的身份证'
});
} else if (this.tel == '') { } else if (this.tel == '') {
return this.$util.Tips({ return this.$util.Tips({
title: '手机号不能为空' title: '手机号不能为空'
@ -556,69 +546,109 @@
return this.$util.Tips({ return this.$util.Tips({
title: '请填写正确的邮箱' title: '请填写正确的邮箱'
}); });
} else if (this.telthre == '') { }else if (this.lxrmoren == '' || this.lxrmorens == '') {
return this.$util.Tips({
title: '常用手机号不能为空'
});
} else if (!photopatten.test(this.telthre)) {
return this.$util.Tips({
title: '请填写正确的手机号'
});
}else if(this.lxrmoren == '' || this.lxrmorens == ''){
return this.$util.Tips({ return this.$util.Tips({
title: '紧急联系人关系不能为空' title: '紧急联系人关系不能为空'
}) })
}else{ } else if (this.idcard == '') {
this.getList()
return this.$util.Tips({ return this.$util.Tips({
title: '申请成功', title: '身份证不能为空'
});
} else if (!result.test(this.idcard)) {
return this.$util.Tips({
title: '请填写正确的身份证'
});
}else if(this.flaglxr == true){
if(this.realNameadd == ''){
return this.$util.Tips({
title: '紧急联系人姓名不能为空'
});
}else if(!namepatten.test(this.realNameadd)){
return this.$util.Tips({
title: '请输入紧急联系人正确姓名'
});
}else if(this.teladd == ''){
return this.$util.Tips({
title: '紧急联系人手机号不能为空'
});
}else if(!photopatten.test(this.teladd)){
return this.$util.Tips({
title: '请输入正确紧急联系人手机号'
});
}else if(this.lxrmorenadd == '请选择您与联系人的关系 '){
return this.$util.Tips({
title: '请选择紧急联系人与您的关系'
});
}else{
let data = {
realName: this.realName,
idCardNumber: this.idcard,
phoneNumber: this.tel,
idCardFrontPhoto: this.upLoadPositiveImg,
idCardBackPhoto: this.upLoadReverseImg,
email: this.emitext,
commonPhoneNumber: this.tel,
uid: this.$store.getters.uid,
userEmergencyContactsList: [{
relationship: this.lxindex, //
contactName: this.realNameone, //
phoneNumber: this.telone, //
},
{
relationship: this.lxindexs, //
contactName: this.realNametwo, //
phoneNumber: this.teltwo, //
}
]
}
getInformation(data).then(res => {
let data = res.data
uni.navigateBack()
})
}
}else{
//
let data = {
realName: this.realName,
idCardNumber: this.idcard,
phoneNumber: this.tel,
idCardFrontPhoto: this.upLoadPositiveImg,
idCardBackPhoto: this.upLoadReverseImg,
email: this.emitext,
commonPhoneNumber: this.tel,
uid: this.$store.getters.uid,
userEmergencyContactsList: [{
relationship: this.lxindex, //
contactName: this.realNameone, //
phoneNumber: this.telone, //
},
{
relationship: this.lxindexs, //
contactName: this.realNametwo, //
phoneNumber: this.teltwo, //
}
]
}
getInformation(data).then(res => {
let data = res.data
uni.navigateBack()
}) })
} }
}, },
//
getList: function() {
let data = {
realName: this.realName,
idCardNumber: this.idcard,
phoneNumber: this.tel,
idCardFrontPhoto: this.upLoadPositiveImg,
idCardBackPhoto: this.upLoadReverseImg,
email: this.emitext,
commonPhoneNumber: this.telthre,
uid: this.$store.getters.uid,
userEmergencyContactsList:[
{
relationship:this.lxindex ,//
contactName: this.realNameone,//
phoneNumber: this.telone,//
},
{
relationship:this.lxindexs ,//
contactName: this.realNametwo,//
phoneNumber: this.teltwo,//
}
]
}
getInformation(data).then(res => {
let data = res.data;
//
// this.$Cache.set('improvescode', res.message);
uni.navigateBack()
})
},
// //
btnadd() { btnadd() {
this.flaglxr = true this.flaglxr = true
this.flags = false this.flags = false
this.flaga = true this.flaga = true
}, },
// //
btnadds() { btnadds() {
this.flaga = false this.flaga = false
this.flaglxrs = true this.flaglxrs = true
}, },
@ -698,6 +728,7 @@
padding: 20rpx 30rpx !important; padding: 20rpx 30rpx !important;
box-sizing: border-box; box-sizing: border-box;
color: gray; color: gray;
view:hover { view:hover {
background-color: aqua; background-color: aqua;
color: #000; color: #000;
@ -854,7 +885,7 @@
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
.jinj { .jinj {
width:320rpx; width: 320rpx;
} }
input { input {

View File

@ -35,7 +35,7 @@
</view> </view>
<view class='item' :class='orderStatus==8 ? "on": ""' @click="statusClick(8)"> <view class='item' :class='orderStatus==8 ? "on": ""' @click="statusClick(8)">
<view>使用中</view> <view>使用中</view>
<view class='num'>{{orderData.evaluatedCount || 0}}</view> <view class='num'>{{orderData.inUseCount || 0}}</view>
</view> </view>
<view class='item' :class='orderStatus==4 ? "on": ""' @click="statusClick(4)"> <view class='item' :class='orderStatus==4 ? "on": ""' @click="statusClick(4)">
<view>已完成</view> <view>已完成</view>

View File

@ -3,7 +3,7 @@
<view class="successbox"> <view class="successbox">
<image src="../../../static/images/success.png" mode=""></image> <image src="../../../static/images/success.png" mode=""></image>
<view class="title"> <view class="title">
申请成功请等待审核 申请成功请等待审核
</view> </view>
<view class="content"> <view class="content">
<view class="bd"> <view class="bd">
@ -22,6 +22,12 @@
<navigator url="../../../pages/users/order_list/index" class="ckdj">查看订单</navigator> <navigator url="../../../pages/users/order_list/index" class="ckdj">查看订单</navigator>
<navigator url="../../../pages/index/index" open-type="switchTab" class="fhsy">返回首页</navigator> <navigator url="../../../pages/index/index" open-type="switchTab" class="fhsy">返回首页</navigator>
</view> </view>
<!-- 加载logo -->
<view class="logobox" v-show="logoflag">
<image class="logoicon" :src="logoicon"></image>
<text>正在生成订单中请稍等...</text>
</view>
</view> </view>
</template> </template>
@ -29,86 +35,149 @@
export default { export default {
data() { data() {
return { return {
shopobj:{}, shopobj: {},
ordermo:'' ordermo: '',
logoflag:true,
logoicon: 'https://www.bing.com/th/id/OGC.2a900b3c36d322151e95758438f7969c?pid=1.7&rurl=http%3a%2f%2fimg.zcool.cn%2fcommunity%2f014d8456df99c332f875520fefa07d.gif&ehk=UeVN2KesER9OKAkq%2fTigaUKsvSNK%2bndZDjePMEecfmQ%3d',
} }
}, },
onLoad(option) { onLoad(option) {
this.shopobj = JSON.parse(option.shopobj) this.shopobj = JSON.parse(option.shopobj)
this.timer = setInterval(() => {
this.ordermo = this.$Cache.get('ordernobh')
this.logoflag = false
console.log(this.ordermo)
}, 3000); // 1
}, },
onShow() { onShow() {
this.ordermo = this.$Cache.get('ordernobh')
},
onUnload() {
//
clearTimeout(this.timer);
},
onBeforeUnload() {
//
clearInterval(this.timer);
},
created() {
}, },
methods: { methods: {
}, },
mounted() { mounted() {
} }
} }
</script> </script>
<style lang="less"> <style lang="less">
.Pay_success{
width: 100%; page {
margin-top: 200rpx; position: relative;
background-color: #fff; }
padding-bottom: 80rpx;
.successbox{ .logobox {
position: relative; width: 100%;
width: 100%; height: 100vh;
box-sizing: border-box; background-color: red;
padding: 0 40rpx; position: fixed;
image{ top: 0;
position: absolute; left: 0;
top: -65rpx; opacity: 1;
left: 50%; padding-top: 30%;
transform: translateX(-50%); box-sizing: border-box;
width: 138rpx; background-color:#000;
height: 138rpx; text-align: center;
} z-index: 1;
.title{ }
width: 100%; .logobox text{
text-align: center; display: block;
padding-top: 100rpx; color: #fff;
box-sizing: border-box; font-size: 14px;
font-weight: 700; z-index: 999;
line-height: 120rpx; position: absolute;
border-bottom: 1px solid #ccc; top: 50%;
} left: 50%;
.content{ transform: translateX(-50%);
.bd{ }
display: flex; .logoicon {
width: 100%; width: 100%;
justify-content: space-between; height: 500rpx;
margin-top: 20rpx; z-index: 99;
text{ position: absolute;
color: #666; top: 25%;
} left: 50%;
} transform: translateX(-50%);
} }
.ckdj{
width: 100%; .Pay_success {
height: 84rpx; width: 100%;
border: 1px solid #ccc; margin-top: 200rpx;
border-radius: 50rpx; background-color: #fff;
line-height: 84rpx; padding-bottom: 80rpx;
text-align: center;
margin-top: 50rpx; .successbox {
background-color: #42ca4d; position: relative;
color: #fff; width: 100%;
} box-sizing: border-box;
.fhsy{ padding: 0 40rpx;
width: 100%;
height: 84rpx; image {
border: 1px solid #ccc; position: absolute;
border-radius: 50rpx; top: -65rpx;
line-height: 84rpx; left: 50%;
text-align: center; transform: translateX(-50%);
margin-top: 50rpx; width: 138rpx;
} height: 138rpx;
} }
}
.title {
width: 100%;
text-align: center;
padding-top: 100rpx;
box-sizing: border-box;
font-weight: 700;
line-height: 120rpx;
border-bottom: 1px solid #ccc;
}
.content {
.bd {
display: flex;
width: 100%;
justify-content: space-between;
margin-top: 20rpx;
text {
color: #666;
}
}
}
.ckdj {
width: 100%;
height: 84rpx;
border: 1px solid #ccc;
border-radius: 50rpx;
line-height: 84rpx;
text-align: center;
margin-top: 50rpx;
background-color: #42ca4d;
color: #fff;
}
.fhsy {
width: 100%;
height: 84rpx;
border: 1px solid #ccc;
border-radius: 50rpx;
line-height: 84rpx;
text-align: center;
margin-top: 50rpx;
}
}
}
</style> </style>

View File

@ -4,9 +4,11 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"> <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1">
<title>CRMEB</title> <title>益瑞宝</title>
<meta name="Copyright" content="helang"> <meta name="Copyright" content="helang">
<!-- <link rel="shortcut icon" type="image/png" href="/uniapp-extend/static/logo.png"> -->
<link rel="shortcut icon" type="image/png" href="/static/images/yilogo.png">
<meta name="keywords" content="CRMEB"> <meta name="keywords" content="CRMEB">
<meta name="description" content="CRMEB"> <meta name="description" content="CRMEB">
<style type="text/css"> <style type="text/css">