修改页面
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
// export const dev_host = 'https://app.wanjiashangchao.com'; // 开发环境域名
|
||||
export const dev_host = 'https://ltstore.stnav.com'; // 开发环境域名
|
||||
export const mock_host = 'https://ltstore.stnav.com'; // MOCK环境域名
|
||||
// export const mock_host = 'http://mock.zhongbenruanjian.com'; // MOCK环境域名
|
||||
export const dev_host = 'https://app.wanjiashangchao.com'; //线上环境域名
|
||||
// export const dev_host = 'https://ltstore.stnav.com'; // 开发环境域名
|
||||
export const mock_host = 'http://mock.zhongbenruanjian.com'; // MOCK环境域名
|
||||
export const product_host = 'http://zbphp.zhongbenzx.com'; // 生产环境域名
|
||||
export const WEBSOCKET = 'wss://zbphp.zhongbenzx.com/socket/';
|
||||
export const PAAS_URL = 'https://yufabu.saizhuge.net'; // paas域名
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
"name" : "萬家商超",
|
||||
"appid" : "__UNI__21B1139",
|
||||
"description" : "萬家商超",
|
||||
"versionName" : "1.1.4",
|
||||
"versionCode" : 114,
|
||||
"versionName" : "1.1.7",
|
||||
"versionCode" : 117,
|
||||
"transformPx" : false,
|
||||
"app-plus" : {
|
||||
"usingComponents" : true,
|
||||
|
||||
846
pages/dpxq/immediatePayment/immediatePayment copy.vue
Normal file
846
pages/dpxq/immediatePayment/immediatePayment copy.vue
Normal file
@ -0,0 +1,846 @@
|
||||
<template>
|
||||
<view class="page" v-if="token" :style="themeColor">
|
||||
<view class="flex benben-position-layout flex flex-wrap align-center immediatePayment_flex_0"
|
||||
:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
|
||||
<view class='flex flex-wrap align-center justify-between flex-sub immediatePayment_fd0_0'>
|
||||
<view v-if="source == 'app'" class='flex flex-wrap align-center'>
|
||||
<!-- <text class='fu-iconfont2 immediatePayment_fd0_0_c0_c0'></text> -->
|
||||
<button class="fu-iconfont2 immediatePayment_fd0_0_c0_c0" style="background: #fff;"
|
||||
open-type="launchApp" app-parameter="wechat"></button>
|
||||
</view>
|
||||
<view v-else class='flex flex-wrap align-center' @tap.stop="popupShow1684575594621=true">
|
||||
<text class='fu-iconfont2 immediatePayment_fd0_0_c0_c0'></text>
|
||||
<!-- <button class="fu-iconfont2 immediatePayment_fd0_0_c0_c0" style="background: #fff;" open-type="launchApp" app-parameter="wechat"></button> -->
|
||||
</view>
|
||||
<view class='flex flex-wrap align-stretch justify-center flex-sub'>
|
||||
<text class='immediatePayment_fd0_0_c1_c0'>支付</text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center immediatePayment_fd0_0_c2'>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
|
||||
<!---flex布局flex布局开始-->
|
||||
<view class="flex flex-direction flex-wrap align-center benben-flex-layout immediatePayment_flex_1">
|
||||
<view class='flex flex-wrap align-end'>
|
||||
<text class='immediatePayment_fd1_0_c0'>¥</text>
|
||||
<template v-if="isDeduct == 0">
|
||||
<text class='immediatePayment_fd1_0_c1' v-if="!is_agreem">{{pay_moeny}}</text>
|
||||
<text class='immediatePayment_fd1_0_c1'
|
||||
v-else>{{Number(pay_moeny)-Number(deduct_money) > 0 ? (Number(pay_moeny)-Number(deduct_money)).toFixed(2) : 0}}</text>
|
||||
</template>
|
||||
|
||||
<template v-if="isDeduct == 1">
|
||||
<text class='immediatePayment_fd1_0_c1' v-if="!is_agreem">{{oldMoney}}</text>
|
||||
<text class='immediatePayment_fd1_0_c1'
|
||||
v-else>{{Number(oldMoney)-Number(deduct_money) > 0 ? (Number(oldMoney)-Number(deduct_money)).toFixed(2) : 0}}</text>
|
||||
</template>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center immediatePayment_fd1_1'>
|
||||
<text class='immediatePayment_fd1_1_c0'>支付剩余时间:</text>
|
||||
<benben-countdown class='' :time-type='true' :count-time="time" @timeEnd="handleTimeEnd">
|
||||
<template #default="{ d, h, i, s }">
|
||||
<text class='immediatePayment_fd1_1_c1_c2'>{{h}}</text>
|
||||
|
||||
<text class='immediatePayment_fd1_1_c1_c3'>:</text>
|
||||
|
||||
<text class='immediatePayment_fd1_1_c1_c4'>{{i}}</text>
|
||||
|
||||
<text class='immediatePayment_fd1_1_c1_c5'>:</text>
|
||||
|
||||
<text class='immediatePayment_fd1_1_c1_c6'>{{s}}</text>
|
||||
|
||||
<text></text>
|
||||
</template>
|
||||
</benben-countdown>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!---flex布局flex布局结束-->
|
||||
<!---flex布局flex布局开始-->
|
||||
<!-- && source != 'app' -->
|
||||
<view class="flex benben-flex-layout flex-wrap align-center immediatePayment_flex_2" v-if="score > 0">
|
||||
<view class='flex flex-wrap align-center justify-between flex-sub immediatePayment_fd2_0'>
|
||||
<view class='flex flex-direction flex-sub flex-wrap'>
|
||||
<text class='immediatePayment_fd2_0_c0_c0'>使用抵用券抵扣<text
|
||||
class="text-sm">(当前可用抵用券:{{user_score}})</text></text>
|
||||
<text class='immediatePayment_fd2_0_c1_c0'>抵扣{{deduct_money}}</text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center'>
|
||||
<benben-flex-switch-new class-name='flex flex immediatePayment_fd2_0_c1_c1' v-model="is_agreem"
|
||||
:disabled='Number(deduct_money) <= 0 || isdeduction == 1 || source == "app"' :auto='true'>
|
||||
<template v-slot:checked>
|
||||
|
||||
<view class='flex flex position-relative align-center'>
|
||||
<image class='immediatePayment_checkfd2_0_c1_c1_c0_c0' mode="aspectFit"
|
||||
:src='STATIC_URL+"85.png"'>
|
||||
</image>
|
||||
</view>
|
||||
|
||||
</template>
|
||||
<template v-slot:unchecked>
|
||||
|
||||
<view class='flex flex position-relative justify-end align-center'>
|
||||
<image class='immediatePayment_noCheckfd2_0_c1_c1_c1_c0' mode="aspectFit"
|
||||
:src='STATIC_URL+"123.png"'>
|
||||
</image>
|
||||
</view>
|
||||
|
||||
</template>
|
||||
</benben-flex-switch-new>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!---flex布局flex布局结束-->
|
||||
|
||||
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout immediatePayment_flex_3">
|
||||
<view class='flex flex-direction flex-wrap align-stretch immediatePayment_fd3_0'>
|
||||
<view class='flex flex-wrap align-center immediatePayment_fd3_0_c0'>
|
||||
<text class='immediatePayment_fd3_0_c0_c0'>选择支付方式</text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center'>
|
||||
<benben-select-diy ref="showSelectPopup1684574445816"
|
||||
class-name='flex flex-direction flex-wrap align-stretch flex immediatePayment_fd3_0_c1_c0'
|
||||
:items.sync="select_pay" v-model="select_id" default-type="value" default-label="name"
|
||||
:allow-cancel='true' type="radio" :disabled='false'>
|
||||
<template v-for='(item,key0) in select_pay'>
|
||||
<view v-if="item.isSelected" class='flex align-center flex immediatePayment_fd3_0_c1_c0_c0'
|
||||
:key="key0" @tap="$refs.showSelectPopup1684574445816.tapHandle(key0)">
|
||||
<image class='immediatePayment_fd3_0_c1_c0_c0_c0' mode="aspectFit" :src='item.image'>
|
||||
</image>
|
||||
<text class='immediatePayment_fd3_0_c1_c0_c0_c1'>{{item.name}}</text>
|
||||
<image class='immediatePayment_fd3_0_c1_c0_c0_c2' mode="aspectFit"
|
||||
:src='STATIC_URL+"85.png"'></image>
|
||||
</view>
|
||||
<view v-else class='flex align-center flex immediatePayment_fd3_0_c1_c0_c1' :key="key0"
|
||||
@tap="$refs.showSelectPopup1684574445816.tapHandle(key0)">
|
||||
<image class='immediatePayment_fd3_0_c1_c0_c1_c0' mode="aspectFit" :src='item.image'>
|
||||
</image>
|
||||
<text class='immediatePayment_fd3_0_c1_c0_c1_c1'>{{item.name}}</text>
|
||||
<image class='immediatePayment_fd3_0_c1_c0_c1_c2' mode="aspectFit"
|
||||
:src='STATIC_URL+"179.png"'></image>
|
||||
</view>
|
||||
</template>
|
||||
</benben-select-diy>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<view class="flex flex-direction flex-wrap align-center benben-position-layout flex immediatePayment_flex_4">
|
||||
<button class='immediatePayment_fd4_0' @tap.stop="determineAskforFunc()">立即支付</button>
|
||||
|
||||
</view>
|
||||
<view :style="{height: '127rpx'}"></view>
|
||||
<benben-popup v-model="popupShow1684575594621" :mask="true" mode='center'>
|
||||
<!---flex布局flex布局开始-->
|
||||
<view class="flex flex-direction align-center benben-flex-layout immediatePayment_flex_5">
|
||||
<text class='immediatePayment_fd5_0'>确认离开收银台?</text>
|
||||
<text class='immediatePayment_fd5_1'>您的订单还未完成支付,请尽快支付</text>
|
||||
<view class='flex flex-wrap align-center immediatePayment_fd5_2'>
|
||||
<button class='immediatePayment_fd5_2_c0' @tap.stop="handleJumpDiy" data-type="switchTab"
|
||||
:data-url="`/pages/tabBar/myOrder/myOrder`">确认离开</button>
|
||||
<button class='immediatePayment_fd5_2_c1' @tap.stop="popupShow1684575594621=false">继续支付</button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!---flex布局flex布局结束-->
|
||||
|
||||
</benben-popup>
|
||||
|
||||
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
import {
|
||||
LOGIN_PAGE_URL,
|
||||
SYSTEM_CONFIG,
|
||||
ACCEPT_PLATFORM
|
||||
} from '@/common/config.js'
|
||||
export default {
|
||||
components: {},
|
||||
|
||||
|
||||
data() {
|
||||
return {
|
||||
orderMoney: 0,
|
||||
"popupShow1684575594621": false,
|
||||
time: 0,
|
||||
"is_agreem": false,
|
||||
score: 0,
|
||||
"select_pay": [{
|
||||
"name": "微信支付",
|
||||
"value": "1",
|
||||
"image": "https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/1d066923b9b33614a9df47ea787e5af9.png"
|
||||
},
|
||||
|
||||
// {
|
||||
// "name": "余额支付",
|
||||
// "value": "3",
|
||||
// "image": "https://zhongben-crm.oss-cn-zhangjiakou.aliyuncs.com/uploads/images/20220615/6188e5b4967f1b162ee2c0c93fd7cf94.png"
|
||||
// },
|
||||
],
|
||||
"select_id": "1",
|
||||
"pay_moeny": "",
|
||||
"state": "",
|
||||
sn: '',
|
||||
deduct_money: "",
|
||||
user_score: "",
|
||||
payTimer: null,
|
||||
source: '',
|
||||
token: '',
|
||||
isdeduction: '',
|
||||
score: 0,
|
||||
isDeduct: 0,
|
||||
oldMoney: 0
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
themeColor() {
|
||||
return this.$store.getters.themeColor
|
||||
},
|
||||
|
||||
},
|
||||
watch: {},
|
||||
onLoad(options) {
|
||||
let {
|
||||
money,
|
||||
state,
|
||||
time,
|
||||
sn,
|
||||
source,
|
||||
isdeduction,
|
||||
score
|
||||
} = options
|
||||
if (money !== undefined) this.pay_moeny = money
|
||||
if (state !== undefined) this.state = state
|
||||
if (time !== undefined) this.time = time
|
||||
if (sn !== undefined) this.sn = sn
|
||||
if (source !== undefined) this.source = source
|
||||
if (isdeduction !== undefined) this.isdeduction = isdeduction
|
||||
if (score !== undefined) this.score = score
|
||||
|
||||
// if (is_agreem !== undefined) this.is_agreem = is_agreem
|
||||
// console.log('is_agreem=', is_agreem)
|
||||
// if (this.source != 'app') {
|
||||
// this.is_agreem = this.isdeduction == 1
|
||||
// }
|
||||
|
||||
// #ifdef APP-PLUS
|
||||
this.select_pay.push({
|
||||
"name": "支付宝支付",
|
||||
"value": "2",
|
||||
"image": "https://zhongben-crm.oss-cn-zhangjiakou.aliyuncs.com/uploads/images/20220615/6188e5b4967f1b162ee2c0c93fd7cf94.png"
|
||||
})
|
||||
// #endif
|
||||
},
|
||||
onUnload() {
|
||||
if (this.payTimer) {
|
||||
clearInterval(this.payTimer);
|
||||
}
|
||||
},
|
||||
onReady() {
|
||||
|
||||
},
|
||||
onShow() {
|
||||
this.token = global.token || ''
|
||||
if (!this.token) {
|
||||
uni.navigateTo({
|
||||
url: LOGIN_PAGE_URL
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
this.getInfo();
|
||||
this.get64a62b3d77830()
|
||||
},
|
||||
onHide() {
|
||||
|
||||
},
|
||||
onResize() {
|
||||
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
onReachBottom(e) {
|
||||
|
||||
},
|
||||
onPageScroll(e) {
|
||||
|
||||
},
|
||||
methods: {
|
||||
handleTimeEnd() {
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
},
|
||||
getInfo() {
|
||||
this.$api
|
||||
.post(global.apiUrls.post5c78c4772da97, {
|
||||
user_id: (global.userInfo && global.userInfo.id) || 0
|
||||
})
|
||||
.then(res => {
|
||||
res = res.data;
|
||||
if (res.code == 1) {
|
||||
this.score = res.data.score - 0;
|
||||
}
|
||||
});
|
||||
},
|
||||
get64a62b3d77830() {
|
||||
this.$api.post(global.apiUrls.get64a62b3d77830, {
|
||||
order_sn: this.sn
|
||||
}).then(res => {
|
||||
res = res.data;
|
||||
if (res.code == 1) {
|
||||
this.deduct_money = res.data.deduct_money
|
||||
this.user_score = res.data.user_score
|
||||
console.log('res.data.is_deduct=', res.data.is_deduct)
|
||||
if (res.data.is_deduct == 1) {
|
||||
this.is_agreem = true
|
||||
this.isDeduct = 1
|
||||
this.oldMoney = res.data.order_money
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
//判断自取
|
||||
determineAskforFunc() {
|
||||
let that = this;
|
||||
console.log(that.is_agreem)
|
||||
if (that.is_agreem) {
|
||||
this.get64a633e0099ce()
|
||||
} else {
|
||||
this.paySure()
|
||||
// this.post6757f462c15d3()
|
||||
}
|
||||
|
||||
return
|
||||
},
|
||||
post6757f462c15d3() {
|
||||
this.$api.post(global.apiUrls.post6757f462c15d3, {
|
||||
order_sn: this.sn
|
||||
}).then(res => {
|
||||
if (res.data.code == 1) {
|
||||
if (res.data.data.is_pay == 1) {
|
||||
this.isdeduction = 1
|
||||
this.paySure()
|
||||
} else {
|
||||
this.$urouter.redirectTo(
|
||||
`/pages/dpxq/paymentResults/paymentResults?pay=5&state=${this.state}&sn=${this.sn}`
|
||||
);
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
get64a633e0099ce() {
|
||||
this.$api.post(global.apiUrls.get64a633e0099ce, {
|
||||
order_sn: this.sn
|
||||
}).then(res => {
|
||||
if (res.data.code == 1) {
|
||||
if (res.data.data.is_pay == 1) {
|
||||
this.paySure()
|
||||
} else {
|
||||
this.$urouter.redirectTo(
|
||||
`/pages/dpxq/paymentResults/paymentResults?pay=5&state=${this.state}&sn=${this.sn}`
|
||||
);
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
|
||||
paySure() {
|
||||
let that = this;
|
||||
if (that.select_id == 3) {
|
||||
this.$api.post(global.apiUrls.postPayOrder, {
|
||||
order_sn: this.sn
|
||||
})
|
||||
.then(res => {
|
||||
if (res.data.code == 1) {
|
||||
that.$urouter.redirectTo(
|
||||
`/pages/dpxq/paymentResults/paymentResults?pay=${that.select_id}&state=${that.state}&sn=${that.sn}`
|
||||
);
|
||||
} else {
|
||||
this.$message.info(res.data.msg)
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
console.log("err: ", err);
|
||||
})
|
||||
|
||||
} else {
|
||||
uni.showLoading({
|
||||
title: '正在支付',
|
||||
mask: true
|
||||
})
|
||||
|
||||
let paytype = that.select_id == '1' ? 3 : 2
|
||||
let url = that.select_id == '1' ? global.apiUrls.wxPay : global.apiUrls.aliPay;
|
||||
let params = {
|
||||
order_sn: this.sn
|
||||
}
|
||||
if (this.select_id == 1) {
|
||||
params.wxpaytype = 'AppPay'
|
||||
// #ifdef MP-WEIXIN
|
||||
params.wxpaytype = 'MiniPay'
|
||||
// #endif
|
||||
}
|
||||
// // #ifdef MP-WEIXIN
|
||||
// paytype = 'mini'
|
||||
// // #endif
|
||||
that.$api.post(url, params).then(res => {
|
||||
|
||||
console.log(res)
|
||||
uni.hideLoading()
|
||||
res = res.data
|
||||
if (res.code == 1) {
|
||||
console.log('支付', res);
|
||||
|
||||
if (that.select_id == 2) {
|
||||
// uni.requestPayment({
|
||||
// provider: 'alipay',
|
||||
// orderInfo: res.data, //微信、支付宝订单数据
|
||||
// success: function(res) {
|
||||
// uni.showToast({ title: '支付成功~', icon: 'none' });
|
||||
// that.$urouter.redirectTo(`/pages/dpxq/paymentResults/paymentResults?pay=${that.select_id}&state=${that.state}&sn=${that.sn}`);
|
||||
// },
|
||||
// fail: function(err) {
|
||||
// console.log('fail:' + JSON.stringify(err));
|
||||
// }
|
||||
// });
|
||||
// #ifdef APP
|
||||
plus.runtime.openWeb(res.data.result.payCode);
|
||||
// #endif
|
||||
if (that.payTimer) {
|
||||
clearInterval(that.payTimer);
|
||||
}
|
||||
that.payTimer = setInterval(function() {
|
||||
console.log(2);
|
||||
that.$api.get(global.apiUrls.getOrderDetail, {
|
||||
order_sn: that.sn
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res.data.data)
|
||||
if (res.data.code == 1) {
|
||||
let payStatus = res.data.data.status - 0;
|
||||
console.log(payStatus);
|
||||
if (payStatus > 0) {
|
||||
clearInterval(that.payTimer);
|
||||
uni.redirectTo({
|
||||
url: `/pages/dpxq/paymentResults/paymentResults?pay=${that.select_id}&state=${that.state}&sn=${that.sn}`
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
console.log(err)
|
||||
});
|
||||
// clearInterval(this.payTimer)
|
||||
}, 5000)
|
||||
} else {
|
||||
// console.log(JSON.stringify(res.data.result));
|
||||
// #ifdef APP-PLUS
|
||||
plus.share.getServices(function(res) {
|
||||
console.log(res, '<--res')
|
||||
var sweixin = null;
|
||||
for (var i = 0; i < res.length; i++) {
|
||||
var t = res[i];
|
||||
if (t.id == 'weixin') {
|
||||
sweixin = t;
|
||||
}
|
||||
}
|
||||
if (sweixin) {
|
||||
console.log(1);
|
||||
let payMoney = Number(that.pay_moeny) - (that.is_agreem ? Number(
|
||||
that.deduct_money) : 0)
|
||||
sweixin.launchMiniProgram({
|
||||
id: 'gh_2d502cf377f1', //这里写你的小程序原始id(以gh开头)
|
||||
type: 0, //这里是不同的环境(默认0正式 2体验)
|
||||
path: `/pages/dpxq/immediatePayment/immediatePayment?source=app&state=${that.state}&money=${payMoney}&time=${that.time}&sn=${that.sn}&isdeduction=${that.is_agreem ? 1 : 2}` //这里是指定页的路径,如需传参直接字符串拼接(首页可以省略)
|
||||
}, function(res) {
|
||||
console.log(234);
|
||||
console.log(JSON.stringify(res));
|
||||
if (that.payTimer) {
|
||||
clearInterval(that.payTimer);
|
||||
}
|
||||
that.payTimer = setInterval(function() {
|
||||
console.log(2);
|
||||
that.$api.get(global.apiUrls
|
||||
.getOrderDetail, {
|
||||
order_sn: that.sn
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res.data.data)
|
||||
if (res.data.code == 1) {
|
||||
let payStatus = res.data
|
||||
.data.status - 0;
|
||||
console.log(payStatus);
|
||||
if (payStatus > 0) {
|
||||
clearInterval(that
|
||||
.payTimer);
|
||||
uni.redirectTo({
|
||||
url: `/pages/dpxq/paymentResults/paymentResults?pay=${that.select_id}&state=${that.state}&sn=${that.sn}`
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
console.log(err)
|
||||
});
|
||||
// clearInterval(this.payTimer)
|
||||
}, 3000)
|
||||
}, function(err) {
|
||||
console.log(JSON.stringify(err));
|
||||
});
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: '您还没有安装微信',
|
||||
icon: 'none'
|
||||
});
|
||||
}
|
||||
}, function(res) {
|
||||
console.log(JSON.stringify(res));
|
||||
});
|
||||
// `/pages/dpxq/immediatePayment/immediatePayment?state=${info.pick_type}&money=${info.payable_money}&time=${info.surplus_pay_time}&sn=${info.order_sn}`
|
||||
// uni.requestPayment({
|
||||
// provider: 'wxpay',
|
||||
// orderInfo: res.data.result.payCode, //微信、支付宝订单数据
|
||||
// success: function(res) {
|
||||
// uni.showToast({ title: '支付成功~', icon: 'none' });
|
||||
// that.$urouter.redirectTo(`/pages/dpxq/paymentResults/paymentResults?pay=${that.select_id}&state=${that.state}&sn=${that.sn}`);
|
||||
// },
|
||||
// fail: function(err) {
|
||||
// console.log('fail:' + JSON.stringify(err));
|
||||
// }
|
||||
// });
|
||||
// #endif
|
||||
// #ifdef MP-WEIXIN
|
||||
uni.requestPayment({
|
||||
provider: 'wxpay',
|
||||
timeStamp: res.data.result.payCode.timeStamp,
|
||||
nonceStr: res.data.result.payCode.nonceStr,
|
||||
package: res.data.result.payCode.package,
|
||||
signType: res.data.result.payCode.signType,
|
||||
paySign: res.data.result.payCode.paySign,
|
||||
success: res => {
|
||||
uni.showToast({
|
||||
title: '支付成功~',
|
||||
icon: 'none'
|
||||
});
|
||||
that.$urouter.redirectTo(
|
||||
`/pages/dpxq/paymentResults/paymentResults?source=${this.source}&pay=${this.select_id}&state=${this.state}&sn=${that.sn}`
|
||||
);
|
||||
},
|
||||
fail: err => {
|
||||
console.log('fail:' + JSON.stringify(err));
|
||||
}
|
||||
});
|
||||
// #endif
|
||||
}
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.data.msg,
|
||||
icon: 'none'
|
||||
});
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
console.log(err);
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.page {
|
||||
width: 100vw;
|
||||
overflow-x: hidden;
|
||||
min-height: calc(100vh - var(--window-bottom));
|
||||
background: rgba(246, 247, 249, 1);
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
|
||||
.immediatePayment_flex_0 {
|
||||
background: #fff;
|
||||
width: 750rpx;
|
||||
height: 88rpx;
|
||||
overflow: hidden;
|
||||
z-index: 10;
|
||||
top: 0rpx;
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
|
||||
.immediatePayment_fd0_0_c2 {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd0_0_c1_c0 {
|
||||
font-size: 36rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 88rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd0_0_c0_c0 {
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 88rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd0_0 {
|
||||
margin: 0rpx 32rpx 0rpx 32rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_flex_1 {
|
||||
padding: 72rpx 0rpx 120rpx 0rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd1_1_c1_c6 {
|
||||
color: #666666;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
line-height: 24rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd1_1_c1_c5 {
|
||||
color: #666666;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
line-height: 24rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd1_1_c1_c4 {
|
||||
color: #666666;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
line-height: 24rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd1_1_c1_c3 {
|
||||
color: #666666;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
line-height: 24rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd1_1_c1_c2 {
|
||||
color: #666666;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
line-height: 24rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd1_1_c0 {
|
||||
color: #666666;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
line-height: 24rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd1_1 {
|
||||
margin: 16rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd1_0_c1 {
|
||||
color: #E32121;
|
||||
font-size: 64rpx;
|
||||
font-weight: 500;
|
||||
line-height: 64rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd1_0_c0 {
|
||||
color: #E32121;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_flex_2 {
|
||||
padding: 0rpx 32rpx 0rpx 32rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_noCheckfd2_0_c1_c1_c1_c0 {
|
||||
border-radius: 24rpx 24rpx 24rpx 24rpx;
|
||||
width: 36rpx;
|
||||
height: 36rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_checkfd2_0_c1_c1_c0_c0 {
|
||||
width: 36rpx;
|
||||
height: 36rpx;
|
||||
border-radius: 24rpx 24rpx 24rpx 24rpx;
|
||||
}
|
||||
|
||||
::v-deep .immediatePayment_fd2_0_c1_c1 {
|
||||
margin: 0rpx 0rpx 0rpx 24rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd2_0_c1_c0 {
|
||||
color: red;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
line-height: 42rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd2_0_c0_c0 {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
line-height: 42rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd2_0 {
|
||||
background: rgba(255, 255, 255, 1);
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
background-size: 100% auto !important;
|
||||
padding: 32rpx 32rpx 32rpx 24rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_flex_3 {
|
||||
padding: 32rpx 30rpx 2rpx 32rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd3_0_c1_c0_c1_c2 {
|
||||
width: 36rpx;
|
||||
height: 36rpx;
|
||||
margin: 0rpx 0rpx 0rpx auto;
|
||||
border-radius: 18rpx 18rpx 18rpx 18rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd3_0_c1_c0_c1_c1 {
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.immediatePayment_fd3_0_c1_c0_c1_c0 {
|
||||
width: 52rpx;
|
||||
height: 52rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
margin: 0rpx 16rpx 0rpx 0rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd3_0_c1_c0_c1 {
|
||||
border-bottom: 1px solid #eee;
|
||||
padding: 28rpx 0rpx 28rpx 0rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd3_0_c1_c0_c0_c2 {
|
||||
width: 36rpx;
|
||||
height: 36rpx;
|
||||
margin: 0rpx 0rpx 0rpx auto;
|
||||
border-radius: 18rpx 18rpx 18rpx 18rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd3_0_c1_c0_c0_c1 {
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.immediatePayment_fd3_0_c1_c0_c0_c0 {
|
||||
width: 52rpx;
|
||||
height: 52rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
margin: 0rpx 16rpx 0rpx 0rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd3_0_c1_c0_c0 {
|
||||
border-bottom: 1px solid #eee;
|
||||
padding: 28rpx 0rpx 28rpx 0rpx;
|
||||
}
|
||||
|
||||
::v-deep .immediatePayment_fd3_0_c1_c0 {
|
||||
width: 622rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd3_0_c0_c0 {
|
||||
font-size: 32rpx;
|
||||
font-weight: 700;
|
||||
color: #333;
|
||||
margin: 0rpx 0rpx 8rpx 0rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd3_0_c0 {
|
||||
border-bottom: 1px solid #eee;
|
||||
padding: 40rpx 0rpx 24rpx 0rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd3_0 {
|
||||
background: rgba(255, 255, 255, 1);
|
||||
padding: 0rpx 32rpx 0rpx 32rpx;
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
|
||||
.immediatePayment_flex_4 {
|
||||
width: 750rpx;
|
||||
height: 127rpx;
|
||||
overflow: hidden;
|
||||
z-index: 10;
|
||||
bottom: calc(0rpx + var(--window-bottom));
|
||||
}
|
||||
|
||||
.immediatePayment_fd4_0 {
|
||||
background: rgba(255, 147, 0, 1);
|
||||
border-radius: 44rpx 44rpx 44rpx 44rpx;
|
||||
font-size: 32rpx;
|
||||
color: #fff;
|
||||
width: 686rpx;
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.immediatePayment_flex_5 {
|
||||
background: rgba(255, 255, 255, 1);
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
padding: 40rpx 24rpx 0 24rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd5_2_c1 {
|
||||
background: rgba(255, 255, 255, 1);
|
||||
font-size: 28rpx;
|
||||
color: rgba(255, 147, 0, 1);
|
||||
padding: 0rpx 61rpx 0rpx 61rpx;
|
||||
margin: 0rpx 0rpx 0rpx 12rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd5_2_c0 {
|
||||
border-right: 1px solid #eee;
|
||||
background: rgba(255, 255, 255, 1);
|
||||
font-size: 28rpx;
|
||||
color: rgba(153, 153, 153, 1);
|
||||
padding: 0rpx 61rpx 0rpx 61rpx;
|
||||
margin: 0rpx 12rpx 0rpx 0rpx;
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
|
||||
.immediatePayment_fd5_2 {
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.immediatePayment_fd5_1 {
|
||||
line-height: 52rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
margin: 40rpx 0rpx 40rpx 0rpx;
|
||||
}
|
||||
|
||||
.immediatePayment_fd5_0 {
|
||||
line-height: 44rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
}
|
||||
</style>
|
||||
@ -361,6 +361,7 @@
|
||||
title: '正在支付',
|
||||
mask: true
|
||||
})
|
||||
|
||||
let paytype = that.select_id == '1' ? 3 : 2
|
||||
let url = that.select_id == '1' ? global.apiUrls.wxPay : global.apiUrls.aliPay;
|
||||
let params = {
|
||||
@ -382,6 +383,7 @@
|
||||
res = res.data
|
||||
if (res.code == 1) {
|
||||
console.log('支付', res);
|
||||
|
||||
if (that.select_id == 2) {
|
||||
// uni.requestPayment({
|
||||
// provider: 'alipay',
|
||||
@ -422,7 +424,7 @@
|
||||
console.log(err)
|
||||
});
|
||||
// clearInterval(this.payTimer)
|
||||
}, 3000)
|
||||
}, 5000)
|
||||
} else {
|
||||
// console.log(JSON.stringify(res.data.result));
|
||||
// #ifdef APP-PLUS
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="page" :style="themeColor">
|
||||
<view class="flex benben-position-layout flex flex-wrap align-center certifiedMerchant_flex_0"
|
||||
:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
|
||||
:style="{ height: (88 + StatusBarRpx) + 'rpx', paddingTop: StatusBarRpx + 'rpx' }">
|
||||
<view class='flex flex-wrap align-center justify-between flex-sub certifiedMerchant_fd0_0'>
|
||||
<view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
|
||||
<text class='fu-iconfont2 certifiedMerchant_fd0_0_c0_c0' @tap.stop="handleJumpDiy" data-type="back"
|
||||
@ -15,10 +15,10 @@
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
|
||||
<view :style="{ height: (88 + StatusBarRpx) + 'rpx' }"></view>
|
||||
<!---flex布局flex布局开始-->
|
||||
<view class="flex benben-flex-layout flex-wrap align-center">
|
||||
<image class='certifiedMerchant_fd1_0' mode="aspectFill" :src='STATIC_URL+"141.png"'></image>
|
||||
<image class='certifiedMerchant_fd1_0' mode="aspectFill" :src='STATIC_URL + "141.png"'></image>
|
||||
</view>
|
||||
|
||||
<!---flex布局flex布局结束-->
|
||||
@ -34,56 +34,72 @@
|
||||
<view class='flex flex-wrap align-center justify-between certifiedMerchant_fd2_0_c1'>
|
||||
<text class='certifiedMerchant_fd2_0_c1_c0'>店铺名称</text>
|
||||
<input class='certifiedMerchant_fd2_0_c1_c1' type="text" placeholder="请输入店铺名称" confirm-type="done"
|
||||
:maxlength="11" placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx" v-model="shopNames" />
|
||||
:maxlength="11" placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"
|
||||
v-model="shopNames" />
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center justify-between certifiedMerchant_fd2_0_c2'>
|
||||
<text class='certifiedMerchant_fd2_0_c2_c0'>店铺LOGO</text>
|
||||
<view class='flex flex-wrap align-center' @tap="soloChooseImage('shopLogo','shopLogo',false,false)">
|
||||
<image class='certifiedMerchant_fd2_0_c2_c1_c0' mode="aspectFill" :src='shopLogo?shopLogo:"/static/39.png"'>
|
||||
<view class='flex flex-wrap align-center'
|
||||
@tap="soloChooseImage('shopLogo', 'shopLogo', false, false)">
|
||||
<image class='certifiedMerchant_fd2_0_c2_c1_c0' mode="aspectFill"
|
||||
:src='shopLogo ? shopLogo : "/static/39.png"'>
|
||||
</image>
|
||||
<image class='certifiedMerchant_fd2_0_c2_c1_c1' mode="aspectFit" :src='STATIC_URL+"142.png"'>
|
||||
<image class='certifiedMerchant_fd2_0_c2_c1_c1' mode="aspectFit" :src='STATIC_URL + "142.png"'>
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center justify-between certifiedMerchant_fd2_0_c3' @tap.stop="handleJumpDiy"
|
||||
data-type="navigateTo" :data-url="`/pages/my/siteClassification/siteClassification`">
|
||||
<view class='flex flex-wrap align-center justify-between certifiedMerchant_fd2_0_c3'
|
||||
@tap.stop="handleJumpDiy" data-type="navigateTo"
|
||||
:data-url="`/pages/my/siteClassification/siteClassification`">
|
||||
<text class='certifiedMerchant_fd2_0_c3_c0'>店铺分类</text>
|
||||
<view class='flex flex-wrap align-center'>
|
||||
<input class='certifiedMerchant_fd2_0_c3_c1_c0' type="text" placeholder="请选择" confirm-type="done"
|
||||
:maxlength="20" :disabled='true' placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"
|
||||
<input class='certifiedMerchant_fd2_0_c3_c1_c0' type="text" placeholder="请选择"
|
||||
confirm-type="done" :maxlength="20" :disabled='true'
|
||||
placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"
|
||||
v-model="shopclassification" />
|
||||
<image class='certifiedMerchant_fd2_0_c3_c1_c1' mode="aspectFit" :src='STATIC_URL+"142.png"'>
|
||||
<image class='certifiedMerchant_fd2_0_c3_c1_c1' mode="aspectFit" :src='STATIC_URL + "142.png"'>
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center justify-between certifiedMerchant_fd2_0_c3' @tap.stop="handleSelectorType"
|
||||
data-type="navigateTo" :data-url="`/pages/my/siteClassification/siteClassification`">
|
||||
<view class='flex flex-wrap align-center justify-between certifiedMerchant_fd2_0_c3'
|
||||
@tap.stop="handleSelectorType" data-type="navigateTo"
|
||||
:data-url="`/pages/my/siteClassification/siteClassification`">
|
||||
<text class='certifiedMerchant_fd2_0_c3_c0'>店铺类型</text>
|
||||
<view class='flex flex-wrap align-center'>
|
||||
<text class="certifiedMerchant_fd2_0_c3_c1_c0" :class="shopType ? 'text-333' : 'text-999'">{{shopType ? shopType : '请选择'}}</text>
|
||||
<image class='certifiedMerchant_fd2_0_c3_c1_c1' mode="aspectFit" :src='STATIC_URL+"142.png"'>
|
||||
<text class="certifiedMerchant_fd2_0_c3_c1_c0" :class="shopType ? 'text-333' : 'text-999'">{{
|
||||
shopType ?
|
||||
shopType : '请选择' }}</text>
|
||||
<image class='certifiedMerchant_fd2_0_c3_c1_c1' mode="aspectFit" :src='STATIC_URL + "142.png"'>
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center justify-between certifiedMerchant_fd2_0_c3' @tap.stop="handleSelector"
|
||||
data-type="navigateTo" :data-url="`/pages/my/siteClassification/siteClassification`">
|
||||
<view class='flex flex-wrap align-center justify-between certifiedMerchant_fd2_0_c3'
|
||||
@tap.stop="handleSelector" data-type="navigateTo"
|
||||
:data-url="`/pages/my/siteClassification/siteClassification`">
|
||||
<text class='certifiedMerchant_fd2_0_c3_c0'>抽佣比例</text>
|
||||
<view class='flex flex-wrap align-center'>
|
||||
<input class='certifiedMerchant_fd2_0_c3_c1_c0' type="text" placeholder="请选择" confirm-type="done"
|
||||
:maxlength="20" :disabled='true' placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"
|
||||
<input class='certifiedMerchant_fd2_0_c3_c1_c0' type="text" placeholder="请选择"
|
||||
confirm-type="done" :maxlength="20" :disabled='true'
|
||||
placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"
|
||||
:value="scoreRate ? `${scoreRate}%` : ''" />
|
||||
<image class='certifiedMerchant_fd2_0_c3_c1_c1' mode="aspectFit" :src='STATIC_URL+"142.png"'>
|
||||
<image class='certifiedMerchant_fd2_0_c3_c1_c1' mode="aspectFit" :src='STATIC_URL + "142.png"'>
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center justify-between certifiedMerchant_fd2_0_c1'>
|
||||
<text class='certifiedMerchant_fd2_0_c1_c0'>信用代码</text>
|
||||
<input class='certifiedMerchant_fd2_0_c1_c1' type="text" placeholder="请输入企业信用代码" confirm-type="done"
|
||||
placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"
|
||||
v-model="license_number" />
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center justify-between certifiedMerchant_fd2_0_c4'
|
||||
@tap.stop="showMulLinkageThreePicker">
|
||||
<text class='certifiedMerchant_fd2_0_c4_c0'>店铺地址</text>
|
||||
<view class='flex flex-wrap align-center'>
|
||||
<input class='certifiedMerchant_fd2_0_c4_c1_c0' type="text" placeholder="请选择" confirm-type="done"
|
||||
:maxlength="20" :disabled='true' placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"
|
||||
v-model="shopAdress" />
|
||||
<image class='certifiedMerchant_fd2_0_c4_c1_c1' mode="aspectFit" :src='STATIC_URL+"142.png"'>
|
||||
<input class='certifiedMerchant_fd2_0_c4_c1_c0' type="text" placeholder="请选择"
|
||||
confirm-type="done" :maxlength="20" :disabled='true'
|
||||
placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx" v-model="shopAdress" />
|
||||
<image class='certifiedMerchant_fd2_0_c4_c1_c1' mode="aspectFit" :src='STATIC_URL + "142.png"'>
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
@ -98,35 +114,38 @@
|
||||
<view class='flex flex-wrap align-center justify-between certifiedMerchant_fd2_0_c6'>
|
||||
<text class='certifiedMerchant_fd2_0_c6_c0'>身份证</text>
|
||||
<view class='flex flex-wrap align-center'>
|
||||
<input class='certifiedMerchant_fd2_0_c6_c1_c0' type="idcard" placeholder="请输入18位身份证号码" confirm-type="done"
|
||||
:maxlength="18" placeholder-style="color:#999;font-size:28rpx" v-model="IdCard" />
|
||||
<input class='certifiedMerchant_fd2_0_c6_c1_c0' type="idcard" placeholder="请输入18位身份证号码"
|
||||
confirm-type="done" :maxlength="18" placeholder-style="color:#999;font-size:28rpx"
|
||||
v-model="IdCard" />
|
||||
</view>
|
||||
</view>
|
||||
<view class='flex flex-direction flex-wrap align-stretch justify-between certifiedMerchant_fd2_0_c7'>
|
||||
<text class='certifiedMerchant_fd2_0_c7_c0'>请上传身份证正反面</text>
|
||||
<view v-if="!idfront" @tap="soloChooseImage('idfront','idfront',false,false)"
|
||||
<view v-if="!idfront" @tap="soloChooseImage('idfront', 'idfront', false, false)"
|
||||
class="upload position-relative certifiedMerchant_fd2_0_c7_c1">
|
||||
<image class=" certifiedMerchant_fd2_0_c7_c1_image" mode="aspectFill" :src="STATIC_URL+'144.png'"></image>
|
||||
<image class=" certifiedMerchant_fd2_0_c7_c1_image" mode="aspectFill"
|
||||
:src="STATIC_URL + '144.png'"></image>
|
||||
</view>
|
||||
|
||||
<view class="position-relative" style="margin-top: 20rpx;" v-else>
|
||||
<text v-if="idfront != ''" @tap="idfront = ''"
|
||||
class='fu-iconfont2 position-absolute certifiedMerchant_fd2_0_c9_c0_icon'></text>
|
||||
<image @tap="soloChooseImage('idfront','idfront',false,false)" class="certifiedMerchant_fd2_0_c9_c0_image1"
|
||||
mode="aspectFill" :src="idfront"></image>
|
||||
<image @tap="soloChooseImage('idfront', 'idfront', false, false)"
|
||||
class="certifiedMerchant_fd2_0_c9_c0_image1" mode="aspectFill" :src="idfront"></image>
|
||||
</view>
|
||||
|
||||
<text class='certifiedMerchant_fd2_0_c7_c2'>身份证正面</text>
|
||||
</view>
|
||||
<view class='flex flex-direction flex-wrap align-stretch justify-between'>
|
||||
<view @tap="soloChooseImage('idopposite','idopposite',false,false)"
|
||||
<view @tap="soloChooseImage('idopposite', 'idopposite', false, false)"
|
||||
class="upload position-relative certifiedMerchant_fd2_0_c8_c0" v-if="!idopposite">
|
||||
<image class=" certifiedMerchant_fd2_0_c8_c0_image" mode="aspectFill" :src="STATIC_URL+'288.png'"></image>
|
||||
<image class=" certifiedMerchant_fd2_0_c8_c0_image" mode="aspectFill"
|
||||
:src="STATIC_URL + '288.png'"></image>
|
||||
</view>
|
||||
<view class="position-relative" v-else>
|
||||
<text v-if="idopposite != ''" @tap="idopposite = ''"
|
||||
class='fu-iconfont2 position-absolute certifiedMerchant_fd2_0_c9_c0_icon'></text>
|
||||
<image @tap="soloChooseImage('idopposite','idopposite',false,false)"
|
||||
<image @tap="soloChooseImage('idopposite', 'idopposite', false, false)"
|
||||
class="certifiedMerchant_fd2_0_c9_c0_image1" mode="aspectFill" :src="idopposite"></image>
|
||||
</view>
|
||||
|
||||
@ -138,14 +157,15 @@
|
||||
<text class='certifiedMerchant_fd2_0_c9_c1'>营业执照</text>
|
||||
</view> -->
|
||||
<view class='flex flex-direction flex-wrap align-stretch justify-between'>
|
||||
<view @tap="soloChooseImage('business','business',false,false)"
|
||||
<view @tap="soloChooseImage('business', 'business', false, false)"
|
||||
class="upload position-relative certifiedMerchant_fd2_0_c8_c0" v-if="!business">
|
||||
<image class=" certifiedMerchant_fd2_0_c8_c0_image" mode="aspectFill" :src="STATIC_URL+'145.png'"></image>
|
||||
<image class=" certifiedMerchant_fd2_0_c8_c0_image" mode="aspectFill"
|
||||
:src="STATIC_URL + '145.png'"></image>
|
||||
</view>
|
||||
<view class="position-relative" v-else>
|
||||
<text v-if="business != ''" @tap="business = ''"
|
||||
class='fu-iconfont2 position-absolute certifiedMerchant_fd2_0_c9_c0_icon'></text>
|
||||
<image @tap="soloChooseImage('business','business',false,false)"
|
||||
<image @tap="soloChooseImage('business', 'business', false, false)"
|
||||
class="certifiedMerchant_fd2_0_c9_c0_image1" mode="aspectFill" :src="business"></image>
|
||||
</view>
|
||||
|
||||
@ -185,7 +205,8 @@
|
||||
<text class='certifiedMerchant_fd3_0_c0_c1'>为保证平台用户安全性,需要您进行实名认证,实名认证通过之后即可登录并在平台进行营业</text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center certifiedMerchant_fd3_0_c1'>
|
||||
<button class='flex-sub certifiedMerchant_fd3_0_c1_c0' @tap.stop="submitInformationFunc()">提交信息认证</button>
|
||||
<button class='flex-sub certifiedMerchant_fd3_0_c1_c0'
|
||||
@tap.stop="submitInformationFunc()">提交信息认证</button>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center justify-center'>
|
||||
<benben-flex-switch-new class-name='flex flex certifiedMerchant_fd3_0_c2_c0' v-model="isAgreement"
|
||||
@ -193,7 +214,8 @@
|
||||
<template v-slot:checked>
|
||||
|
||||
<view class='flex flex position-relative align-center'>
|
||||
<image class='certifiedMerchant_checkfd3_0_c2_c0_c0_c0' mode="aspectFit" :src='STATIC_URL+"33.png"'>
|
||||
<image class='certifiedMerchant_checkfd3_0_c2_c0_c0_c0' mode="aspectFit"
|
||||
:src='STATIC_URL + "33.png"'>
|
||||
</image>
|
||||
</view>
|
||||
|
||||
@ -201,7 +223,8 @@
|
||||
<template v-slot:unchecked>
|
||||
|
||||
<view class='flex flex position-relative justify-end align-center'>
|
||||
<image class='certifiedMerchant_noCheckfd3_0_c2_c0_c1_c0' mode="aspectFit" :src='STATIC_URL+"123.png"'>
|
||||
<image class='certifiedMerchant_noCheckfd3_0_c2_c0_c1_c0' mode="aspectFit"
|
||||
:src='STATIC_URL + "123.png"'>
|
||||
</image>
|
||||
</view>
|
||||
|
||||
@ -214,24 +237,25 @@
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view :style="{height: '365rpx'}"></view>
|
||||
<view :style="{ height: '365rpx' }"></view>
|
||||
<w-picker :visible.sync="visible" mode="selector" default-type="name" :default-props="defaultProps"
|
||||
:options="rateList" @confirm="onConfirm($event,'selector')" @cancel="onCancel" ref="selector"></w-picker>
|
||||
:options="rateList" @confirm="onConfirm($event, 'selector')" @cancel="onCancel" ref="selector"></w-picker>
|
||||
<w-picker :visible.sync="visible" mode="selector" default-type="name" :default-props="defaultProps"
|
||||
:options="shopTypeList" @confirm="onConfirm($event,'type')" @cancel="onCancel" ref="selectorType"></w-picker>
|
||||
:options="shopTypeList" @confirm="onConfirm($event, 'type')" @cancel="onCancel"
|
||||
ref="selectorType"></w-picker>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
import wPicker from '@/pages/my/components/w-picker/w-picker.vue'
|
||||
import UploadImage from '@/common/utils/upload-image.js'
|
||||
import amapFile from '@/common/amap-wx.js';
|
||||
import {
|
||||
import wPicker from '@/pages/my/components/w-picker/w-picker.vue'
|
||||
import UploadImage from '@/common/utils/upload-image.js'
|
||||
import amapFile from '@/common/amap-wx.js';
|
||||
import {
|
||||
GAODE_KEY
|
||||
} from '@/common/config.js';
|
||||
import {
|
||||
} from '@/common/config.js';
|
||||
import {
|
||||
validate
|
||||
} from '@/common/utils/validate.js'
|
||||
export default {
|
||||
} from '@/common/utils/validate.js'
|
||||
export default {
|
||||
components: {
|
||||
wPicker
|
||||
},
|
||||
@ -256,6 +280,7 @@
|
||||
"IdCard": "",
|
||||
"idopposite": "",
|
||||
"idfront": "",
|
||||
"license_number": "",
|
||||
business: '',
|
||||
foodLicense: '',
|
||||
"license": [],
|
||||
@ -416,6 +441,7 @@
|
||||
this.shopAdress = res.data.data.address;
|
||||
this.detailAddress = res.data.data.address_address;
|
||||
this.IdCard = res.data.data.id_card;
|
||||
this.license_number = res.data.data.license_number;
|
||||
this.idfront = res.data.data.id_front;
|
||||
this.shopType = res.data.data.store_type;
|
||||
this.idopposite = res.data.data.id_back;
|
||||
@ -448,11 +474,11 @@
|
||||
uni.chooseImage({
|
||||
count: 1, // 默认3
|
||||
sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有
|
||||
success: function(res) {
|
||||
success: function (res) {
|
||||
self.uploading = true
|
||||
// 开始上传
|
||||
new UploadImage(res.tempFiles, {
|
||||
complete: function(res) {
|
||||
complete: function (res) {
|
||||
self.uploading = false
|
||||
if (id) self.$set(obj, id, res[0].id)
|
||||
if (path) self.$set(obj1, path, res[0].path)
|
||||
@ -488,6 +514,10 @@
|
||||
this.$message.info('请选择抽佣比例');
|
||||
return false;
|
||||
}
|
||||
if (!validate(this.license_number, 'require')) {
|
||||
this.$message.info('请输入商家信用代码');
|
||||
return false;
|
||||
}
|
||||
if (!validate(this.shopAdress, 'require')) {
|
||||
this.$message.info('请选择店铺地址');
|
||||
return false;
|
||||
@ -534,6 +564,7 @@
|
||||
id_front: this.idfront,
|
||||
id_back: this.idopposite,
|
||||
license_image: this.business,
|
||||
license_number: this.license_number,
|
||||
address: this.shopAdress,
|
||||
address_province: this.province,
|
||||
address_city: this.city,
|
||||
@ -569,56 +600,57 @@
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.text-999 {
|
||||
.text-999 {
|
||||
color: #999 !important;
|
||||
}
|
||||
.page {
|
||||
}
|
||||
|
||||
.page {
|
||||
width: 100vw;
|
||||
overflow-x: hidden;
|
||||
min-height: calc(100vh - var(--window-bottom));
|
||||
background: rgba(255, 255, 255, 1);
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
.iNeedFeedback_fd1_3_c1_c02 {
|
||||
.iNeedFeedback_fd1_3_c1_c02 {
|
||||
font-size: 24rpx;
|
||||
color: rgba(191, 191, 191, 1);
|
||||
font-weight: 400;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.iNeedFeedback_fd1_3_c1_c01 {
|
||||
.iNeedFeedback_fd1_3_c1_c01 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
// margin: 0rpx 24rpx 24rpx 0rpx;
|
||||
// border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.iNeedFeedback_fd1_3_c1_c001 {
|
||||
.iNeedFeedback_fd1_3_c1_c001 {
|
||||
width: 160rpx;
|
||||
height: 160rpx;
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.iNeedFeedback_fd1_3_c1_c000 {
|
||||
.iNeedFeedback_fd1_3_c1_c000 {
|
||||
top: 0rpx;
|
||||
right: 0rpx;
|
||||
z-index: 10;
|
||||
color: #ff5536;
|
||||
}
|
||||
}
|
||||
|
||||
.iNeedFeedback_fd1_3_c1_c00 {
|
||||
.iNeedFeedback_fd1_3_c1_c00 {
|
||||
margin: 0rpx 24rpx 24rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.iNeedFeedback_fd1_3_c1_c0 {
|
||||
.iNeedFeedback_fd1_3_c1_c0 {
|
||||
padding: 24rpx 0rpx 0rpx 24rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_flex_0 {
|
||||
.certifiedMerchant_flex_0 {
|
||||
background: #fff;
|
||||
width: 750rpx;
|
||||
height: 88rpx;
|
||||
@ -626,315 +658,315 @@
|
||||
z-index: 10;
|
||||
top: 0rpx;
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd0_0_c2 {
|
||||
.certifiedMerchant_fd0_0_c2 {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd0_0_c1_c0 {
|
||||
.certifiedMerchant_fd0_0_c1_c0 {
|
||||
font-size: 36rpx;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd0_0_c0_c0 {
|
||||
.certifiedMerchant_fd0_0_c0_c0 {
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 88rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd0_0 {
|
||||
.certifiedMerchant_fd0_0 {
|
||||
margin: 0rpx 32rpx 0rpx 32rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd1_0 {
|
||||
.certifiedMerchant_fd1_0 {
|
||||
width: 750rpx;
|
||||
height: 280rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_flex_2 {
|
||||
.certifiedMerchant_flex_2 {
|
||||
background: #fff;
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c9_c1 {
|
||||
.certifiedMerchant_fd2_0_c9_c1 {
|
||||
color: #999999;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
line-height: 30rpx;
|
||||
margin: 24rpx 0rpx 32rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c9_c0_image {
|
||||
.certifiedMerchant_fd2_0_c9_c0_image {
|
||||
width: 90rpx;
|
||||
height: 81rpx;
|
||||
margin: 145rpx 0rpx 0rpx 300rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c9_c0_icon {
|
||||
.certifiedMerchant_fd2_0_c9_c0_icon {
|
||||
top: 0rpx;
|
||||
right: 0rpx;
|
||||
z-index: 10;
|
||||
color: #ff5536;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c9_c0 {
|
||||
.certifiedMerchant_fd2_0_c9_c0 {
|
||||
// background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/43.png) no-repeat, #eee;
|
||||
width: 686rpx;
|
||||
height: 365rpx;
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c9_c0_image1 {
|
||||
.certifiedMerchant_fd2_0_c9_c0_image1 {
|
||||
width: 686rpx;
|
||||
height: 365rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c8_c1 {
|
||||
.certifiedMerchant_fd2_0_c8_c1 {
|
||||
color: #999999;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
line-height: 30rpx;
|
||||
text-align: center;
|
||||
margin: 24rpx 0rpx 32rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c8_c0_image {
|
||||
.certifiedMerchant_fd2_0_c8_c0_image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
// margin: 145rpx 0rpx 0rpx 300rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c8_c0_icon {
|
||||
.certifiedMerchant_fd2_0_c8_c0_icon {
|
||||
top: 0rpx;
|
||||
right: 0rpx;
|
||||
z-index: 10;
|
||||
color: #ff5536;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c8_c0 {
|
||||
.certifiedMerchant_fd2_0_c8_c0 {
|
||||
// background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/42.png) no-repeat, #eee;
|
||||
width: 686rpx;
|
||||
height: 365rpx;
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c7_c2 {
|
||||
.certifiedMerchant_fd2_0_c7_c2 {
|
||||
color: #999999;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
line-height: 30rpx;
|
||||
text-align: center;
|
||||
margin: 20rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c7_c1_image {
|
||||
.certifiedMerchant_fd2_0_c7_c1_image {
|
||||
// width: 90rpx;
|
||||
// height: 81rpx;
|
||||
// margin: 150rpx 0rpx 0rpx 300rpx;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c7_c1_icon {
|
||||
.certifiedMerchant_fd2_0_c7_c1_icon {
|
||||
top: 0rpx;
|
||||
right: 0rpx;
|
||||
z-index: 10;
|
||||
color: #ff5536;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c7_c1 {
|
||||
.certifiedMerchant_fd2_0_c7_c1 {
|
||||
background: rgba(248, 249, 251, 1);
|
||||
margin: 24rpx 0rpx 20rpx 0rpx;
|
||||
background-size: 100% auto !important;
|
||||
width: 686rpx;
|
||||
height: 365rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c7_c0 {
|
||||
.certifiedMerchant_fd2_0_c7_c0 {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c7 {
|
||||
.certifiedMerchant_fd2_0_c7 {
|
||||
padding: 32rpx 0rpx 32rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c6_c1_c0 {
|
||||
.certifiedMerchant_fd2_0_c6_c1_c0 {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c6_c0 {
|
||||
.certifiedMerchant_fd2_0_c6_c0 {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c6 {
|
||||
.certifiedMerchant_fd2_0_c6 {
|
||||
border-bottom: 1px solid rgba(238, 238, 238, 1);
|
||||
padding: 32rpx 0rpx 32rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_input_fd2_0_c5_c1 {
|
||||
.certifiedMerchant_input_fd2_0_c5_c1 {
|
||||
width: 686%;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #333;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c5_c1 {
|
||||
.certifiedMerchant_fd2_0_c5_c1 {
|
||||
background: rgba(246, 246, 246, 1);
|
||||
width: 686rpx;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
padding: 16rpx 16rpx 16rpx 16rpx;
|
||||
margin: 16rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c5_c0 {
|
||||
.certifiedMerchant_fd2_0_c5_c0 {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c5 {
|
||||
.certifiedMerchant_fd2_0_c5 {
|
||||
border-bottom: 1px solid rgba(238, 238, 238, 1);
|
||||
padding: 32rpx 0rpx 32rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c4_c1_c1 {
|
||||
.certifiedMerchant_fd2_0_c4_c1_c1 {
|
||||
width: 14rpx;
|
||||
height: 26rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
margin: 0rpx 0rpx 0rpx 16rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c4_c1_c0 {
|
||||
.certifiedMerchant_fd2_0_c4_c1_c0 {
|
||||
text-align: right;
|
||||
color: #333;
|
||||
font-size: 32rrpx;
|
||||
font-weight: 400;
|
||||
line-height: 45rrpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c4_c0 {
|
||||
.certifiedMerchant_fd2_0_c4_c0 {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c4 {
|
||||
.certifiedMerchant_fd2_0_c4 {
|
||||
border-bottom: 1px solid rgba(238, 238, 238, 1);
|
||||
padding: 32rpx 0rpx 32rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c3_c1_c1 {
|
||||
.certifiedMerchant_fd2_0_c3_c1_c1 {
|
||||
width: 14rpx;
|
||||
height: 26rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
margin: 0rpx 0rpx 0rpx 16rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c3_c1_c0 {
|
||||
.certifiedMerchant_fd2_0_c3_c1_c0 {
|
||||
text-align: right;
|
||||
color: #333;
|
||||
font-size: 32rrpx;
|
||||
font-weight: 400;
|
||||
line-height: 45rrpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c3_c0 {
|
||||
.certifiedMerchant_fd2_0_c3_c0 {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c3 {
|
||||
.certifiedMerchant_fd2_0_c3 {
|
||||
border-bottom: 1px solid rgba(238, 238, 238, 1);
|
||||
padding: 32rpx 0rpx 32rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c2_c1_c1 {
|
||||
.certifiedMerchant_fd2_0_c2_c1_c1 {
|
||||
width: 14rpx;
|
||||
height: 26rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
margin: 0rpx 0rpx 0rpx 16rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c2_c1_c0 {
|
||||
.certifiedMerchant_fd2_0_c2_c1_c0 {
|
||||
width: 88rpx;
|
||||
height: 88rpx;
|
||||
border-radius: 100rpx 100rpx 100rpx 100rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c2_c0 {
|
||||
.certifiedMerchant_fd2_0_c2_c0 {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c2 {
|
||||
.certifiedMerchant_fd2_0_c2 {
|
||||
border-bottom: 1px solid rgba(238, 238, 238, 1);
|
||||
padding: 32rpx 0rpx 32rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c1_c1 {
|
||||
.certifiedMerchant_fd2_0_c1_c1 {
|
||||
text-align: right;
|
||||
color: #333;
|
||||
font-size: 32rrpx;
|
||||
font-weight: 400;
|
||||
line-height: 45rrpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c1_c0 {
|
||||
.certifiedMerchant_fd2_0_c1_c0 {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c1 {
|
||||
.certifiedMerchant_fd2_0_c1 {
|
||||
border-bottom: 1px solid rgba(238, 238, 238, 1);
|
||||
padding: 32rpx 0rpx 32rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c0_c1 {
|
||||
.certifiedMerchant_fd2_0_c0_c1 {
|
||||
text-align: right;
|
||||
color: #333;
|
||||
font-size: 32rrpx;
|
||||
font-weight: 400;
|
||||
line-height: 45rrpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c0_c0 {
|
||||
.certifiedMerchant_fd2_0_c0_c0 {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0_c0 {
|
||||
.certifiedMerchant_fd2_0_c0 {
|
||||
border-bottom: 1px solid rgba(238, 238, 238, 1);
|
||||
padding: 32rpx 0rpx 32rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd2_0 {
|
||||
.certifiedMerchant_fd2_0 {
|
||||
padding: 0rpx 32rpx 0rpx 32rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_flex_3 {
|
||||
.certifiedMerchant_flex_3 {
|
||||
background: rgba(248, 248, 248, 1);
|
||||
width: 750rpx;
|
||||
height: 365rpx;
|
||||
@ -942,66 +974,66 @@
|
||||
z-index: 10;
|
||||
bottom: calc(0rpx + var(--window-bottom));
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd3_0_c2_c2 {
|
||||
.certifiedMerchant_fd3_0_c2_c2 {
|
||||
color: #59A6F4;
|
||||
font-size: 24rpx;
|
||||
font-weight: 400;
|
||||
line-height: 32rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd3_0_c2_c1 {
|
||||
.certifiedMerchant_fd3_0_c2_c1 {
|
||||
color: rgba(153, 153, 153, 1);
|
||||
font-size: 24rpx;
|
||||
font-weight: 400;
|
||||
line-height: 32rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_noCheckfd3_0_c2_c0_c1_c0 {
|
||||
.certifiedMerchant_noCheckfd3_0_c2_c0_c1_c0 {
|
||||
border-radius: 24rpx 24rpx 24rpx 24rpx;
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_checkfd3_0_c2_c0_c0_c0 {
|
||||
.certifiedMerchant_checkfd3_0_c2_c0_c0_c0 {
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
border-radius: 24rpx 24rpx 24rpx 24rpx;
|
||||
}
|
||||
}
|
||||
|
||||
::v-deep .certifiedMerchant_fd3_0_c2_c0 {
|
||||
::v-deep .certifiedMerchant_fd3_0_c2_c0 {
|
||||
margin: 0rpx 16rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd3_0_c1_c0 {
|
||||
.certifiedMerchant_fd3_0_c1_c0 {
|
||||
background: rgba(255, 147, 0, 1);
|
||||
border-radius: 44rpx 44rpx 44rpx 44rpx;
|
||||
font-size: 32rpx;
|
||||
color: #fff;
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd3_0_c1 {
|
||||
.certifiedMerchant_fd3_0_c1 {
|
||||
margin: 40rpx 0rpx 32rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd3_0_c0_c1 {
|
||||
.certifiedMerchant_fd3_0_c0_c1 {
|
||||
color: #F54848;
|
||||
font-size: 24rpx;
|
||||
font-weight: 400;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd3_0_c0_c0 {
|
||||
.certifiedMerchant_fd3_0_c0_c0 {
|
||||
color: #F54848;
|
||||
font-size: 24rpx;
|
||||
font-weight: 400;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.certifiedMerchant_fd3_0 {
|
||||
.certifiedMerchant_fd3_0 {
|
||||
padding: 24rpx 32rpx 0rpx 32rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
:class="{ 'checkTitlefd1_0': tabls == '4', 'flex flex-wrap align-center myOrder_titlefd1_0_c7': true }"
|
||||
@tap="tabClick(4)" :id="`benben_tabsfd1_0-title-item-${'4'}`">
|
||||
|
||||
<text>待评价</text>
|
||||
<text>已完成</text>
|
||||
<text v-if="detailsnum && detailsnum.to_be_evaluated > 0">({{detailsnum.to_be_evaluated}})</text>
|
||||
</view>
|
||||
</view>
|
||||
@ -280,7 +280,7 @@
|
||||
case 6:
|
||||
return '待到店自提';
|
||||
case 7:
|
||||
return '待评价';
|
||||
return '已评价';
|
||||
case 8:
|
||||
return '已完成';
|
||||
case -1:
|
||||
|
||||
@ -49,7 +49,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="myPage_user">
|
||||
<view class="myPage_user" >
|
||||
<view class='flex flex-wrap align-center justify-between flex-sub myPage_fd0_1'
|
||||
@tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/`">
|
||||
<view class='flex flex-wrap align-center flex-sub' @tap.stop="handleJumpDiy" data-type="navigateTo"
|
||||
@ -69,13 +69,14 @@
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center justify-center myPage_fd0_1_c1' @tap.stop="handleJumpDiy"
|
||||
data-type="navigateTo" :data-url="`/pages/xtsz/payCode/payCode`">
|
||||
<image class='myPage_fd0_1_c1_c1' mode="aspectFit" :src='STATIC_URL + "my_pay_ercode.png"' style="margin-right: 10rpx;width:32rpx;height:32rpx;"></image>
|
||||
<image class='myPage_fd0_1_c1_c1' mode="aspectFit" :src='STATIC_URL + "my_pay_ercode.png"'
|
||||
style="margin-right: 10rpx;width:32rpx;height:32rpx;"></image>
|
||||
<text class='myPage_fd0_1_c1_c0'>付款码</text>
|
||||
<!-- <image class='myPage_fd0_1_c1_c1' mode="aspectFit" :src='STATIC_URL+"150.png"'></image> -->
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout ">
|
||||
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout" >
|
||||
<view class='flex flex-wrap align-center justify-around myPage_fd1_0'>
|
||||
<view class='flex flex-direction flex-wrap align-center' @tap.stop="handleJumpDiy"
|
||||
data-type="navigateTo" :data-url="`/pages/my/pointsDetails/pointsDetails`">
|
||||
@ -239,9 +240,12 @@
|
||||
|
||||
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout myPage_flex_3">
|
||||
<view class='flex flex-direction flex-wrap align-stretch myPage_fd3_0'>
|
||||
<view class='flex flex-wrap align-center justify-between myPage_menu' @tap.stop="toTakeoutMiNiProgram" data-type="navigateTo" :data-url="`/pages/xtsz/aboutUs/aboutUs`">
|
||||
<view class='flex flex-wrap align-center justify-between myPage_menu'
|
||||
@tap.stop="toTakeoutMiNiProgram" data-type="navigateTo"
|
||||
:data-url="`/pages/xtsz/aboutUs/aboutUs`">
|
||||
<view class="flex align-center myPage_menu_item">
|
||||
<image :src='STATIC_URL + "my_paotui_icon2.png"' style="width:44rpx;height: 44rpx;;"></image>
|
||||
<image :src='STATIC_URL + "my_paotui_icon2.png"' style="width:44rpx;height: 44rpx;;">
|
||||
</image>
|
||||
<text>跑腿服务</text>
|
||||
</view>
|
||||
<view>
|
||||
@ -249,7 +253,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="myPage_menu_line"></view>
|
||||
<view class='flex flex-wrap align-center justify-between myPage_menu' v-if="shopStatus == -1 && isPublish" @tap.stop="handleJumpDiy" data-type="navigateTo"
|
||||
<view class='flex flex-wrap align-center justify-between myPage_menu'
|
||||
v-if="shopStatus == -1 && isPublish" @tap.stop="handleJumpDiy" data-type="navigateTo"
|
||||
:data-url="`/pages/my/merchantSettlement/merchantSettlement`">
|
||||
<view class="flex align-center myPage_menu_item">
|
||||
<image :src='STATIC_URL + "my_shop_icon.png"' style="width:44rpx;height: 44rpx;;"></image>
|
||||
@ -259,7 +264,10 @@
|
||||
<uv-icon name="arrow-right" size="32rpx"></uv-icon>
|
||||
</view>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center justify-between myPage_menu' v-if="(shopStatus == 2 || shopStatus == 0 || shopStatus == 1) && isPublish" @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/my/certificationAudit/certificationAudit?stateUS=${shopStatus}`">
|
||||
<view class='flex flex-wrap align-center justify-between myPage_menu'
|
||||
v-if="(shopStatus == 2 || shopStatus == 0 || shopStatus == 1) && isPublish"
|
||||
@tap.stop="handleJumpDiy" data-type="navigateTo"
|
||||
:data-url="`/pages/my/certificationAudit/certificationAudit?stateUS=${shopStatus}`">
|
||||
<view class="flex align-center myPage_menu_item">
|
||||
<image :src='STATIC_URL + "my_shop_icon.png"' style="width:44rpx;height: 44rpx;;"></image>
|
||||
<text>商家入驻</text>
|
||||
@ -292,10 +300,10 @@
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
import {
|
||||
import {
|
||||
validate
|
||||
} from '@/common/utils/validate.js'
|
||||
export default {
|
||||
} from '@/common/utils/validate.js'
|
||||
export default {
|
||||
components: {},
|
||||
|
||||
|
||||
@ -469,10 +477,10 @@ export default {
|
||||
title: "萬家商超",
|
||||
summary: "我正在使用萬家商超,赶紧跟我一起来体验呀!",
|
||||
imageUrl: "https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/logo.png",
|
||||
success: function (res) {
|
||||
success: function(res) {
|
||||
console.log("success:" + JSON.stringify(res));
|
||||
},
|
||||
fail: function (err) {
|
||||
fail: function(err) {
|
||||
console.log("fail:" + JSON.stringify(err));
|
||||
}
|
||||
});
|
||||
@ -601,81 +609,116 @@ export default {
|
||||
|
||||
// 跳转小程序
|
||||
toTakeoutMiNiProgram() {
|
||||
console.log(123)
|
||||
// #ifdef MP-WEIXIN
|
||||
uni.navigateToMiniProgram({
|
||||
appId: 'wxc71d195244088eac',
|
||||
path: '/pages/index/index',
|
||||
success(res) {
|
||||
console.log('打开成功');
|
||||
},
|
||||
fail(err) {
|
||||
console.error('跳转失败', err);
|
||||
}
|
||||
})
|
||||
// #endif
|
||||
|
||||
|
||||
if (!plus.share) {
|
||||
alert("当前环境不支持 plus.share");
|
||||
return;
|
||||
}
|
||||
// #ifdef APP-PLUS
|
||||
plus.share.getServices(function(res) {
|
||||
var sweixin = null;
|
||||
for (var i = 0; i < res.length; i++) {
|
||||
var t = res[i];
|
||||
if (t.id == 'weixin') {
|
||||
sweixin = t;
|
||||
}
|
||||
}
|
||||
};
|
||||
if (sweixin) {
|
||||
sweixin.launchMiniProgram({
|
||||
id: 'gh_cfa37ff43af6', // 小程序原始id
|
||||
path: '/pages/index/index',
|
||||
type: 0
|
||||
});
|
||||
} else {
|
||||
plus.nativeUI.alert('当前环境不支持微信操作!');
|
||||
}
|
||||
}, function(res) {
|
||||
console.log(12321321313)
|
||||
console.log(JSON.stringify(res));
|
||||
});
|
||||
// #endif
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.page {
|
||||
.page {
|
||||
width: 100vw;
|
||||
overflow-x: hidden;
|
||||
min-height: calc(100vh - var(--window-bottom));
|
||||
// background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/2.png) no-repeat, rgba(248, 248, 248, 1);
|
||||
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/my_bg2.png) no-repeat, rgba(248, 248, 248, 1);
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_flex_0 {
|
||||
.myPage_flex_0 {
|
||||
padding: 0rpx 0rpx 0rpx 25rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd0_1_c1_c1 {
|
||||
.myPage_fd0_1_c1_c1 {
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
margin: 0rpx 0rpx 0rpx 16rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd0_1_c1_c0 {
|
||||
.myPage_fd0_1_c1_c0 {
|
||||
// color: #FFFFFF;
|
||||
color: #fff;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
line-height: 28rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd0_1_c1 {
|
||||
.myPage_fd0_1_c1 {
|
||||
// background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/149.png) no-repeat, transparent;
|
||||
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/my_pay_ercode_bg.png) no-repeat, transparent;
|
||||
width: 178rpx;
|
||||
height: 90rpx;
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_user {
|
||||
.myPage_user {
|
||||
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/my_user_bg.png) no-repeat, transparent;
|
||||
background-size: 100% auto;
|
||||
background-size: 100% 100%;
|
||||
margin: 20rpx 40rpx 0;
|
||||
padding: 36rpx 0 20rpx;
|
||||
// border-radius: 42rpx 0rpx 0rpx 42rpx;
|
||||
// background-size: 100% auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd0_1_c0_c1_c0_c0_c0 {
|
||||
.myPage_fd0_1_c0_c1_c0_c0_c0 {
|
||||
color: #333;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd0_1_c0_c1 {
|
||||
.myPage_fd0_1_c0_c1 {
|
||||
margin: 0rpx 0rpx 0rpx 24rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd0_1_c0_c0_c0 {
|
||||
.myPage_fd0_1_c0_c0_c0 {
|
||||
width: 128rpx;
|
||||
height: 128rpx;
|
||||
border-radius: 100rpx 100rpx 100rpx 100rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd0_1 {
|
||||
.myPage_fd0_1 {
|
||||
/* #ifdef MP-WEIXIN */
|
||||
margin: 0rpx 0rpx 0rpx 0rpx;
|
||||
/* #endif */
|
||||
@ -683,102 +726,102 @@ export default {
|
||||
margin: 48rpx 0rpx 0rpx 0rpx;
|
||||
/* #endif */
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd0_0_c1_c0 {
|
||||
.myPage_fd0_0_c1_c0 {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd0_0_c0_c1 {
|
||||
.myPage_fd0_0_c0_c1 {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd0_0_c0_c0 {
|
||||
.myPage_fd0_0_c0_c0 {
|
||||
position: absolute;
|
||||
right: -9rpx;
|
||||
top: -8rpx;
|
||||
z-index: 10;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd0_0_c0 {
|
||||
.myPage_fd0_0_c0 {
|
||||
margin: 0rpx 24rpx 0rpx 0rpx;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd0_0 {
|
||||
.myPage_fd0_0 {
|
||||
padding: 0rpx 32rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd0_01 {
|
||||
.myPage_fd0_01 {
|
||||
padding: 60rpx 32rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_flex_1 {
|
||||
.myPage_flex_1 {
|
||||
|
||||
padding: 40rpx 32rpx 0rpx 32rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd1_0_c2_c1 {
|
||||
.myPage_fd1_0_c2_c1 {
|
||||
color: #121212;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
margin: 13rpx 0rpx 0rpx 0rpx;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd1_0_c2_c0_c0 {
|
||||
.myPage_fd1_0_c2_c0_c0 {
|
||||
color: #121212;
|
||||
font-size: 40rpx;
|
||||
font-weight: 700;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd1_0_c1_c1 {
|
||||
.myPage_fd1_0_c1_c1 {
|
||||
color: #121212;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
margin: 13rpx 0rpx 0rpx 0rpx;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd1_0_c1_c0_c0 {
|
||||
.myPage_fd1_0_c1_c0_c0 {
|
||||
color: #121212;
|
||||
font-size: 40rpx;
|
||||
font-weight: 700;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd1_0_c0_c1 {
|
||||
.myPage_fd1_0_c0_c1 {
|
||||
color: #121212;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
margin: 13rpx 0rpx 0rpx 0rpx;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd1_0_c0_c0_c0 {
|
||||
.myPage_fd1_0_c0_c0_c0 {
|
||||
color: #121212;
|
||||
font-size: 40rpx;
|
||||
font-weight: 700;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd1_0 {
|
||||
.myPage_fd1_0 {
|
||||
// background: #FFFFFF;
|
||||
// background: linear-gradient(359deg, #FD8218 0%, #FFAB38 100%);
|
||||
// border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
padding: 32rpx 0rpx 32rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_flex_2 {
|
||||
.myPage_flex_2 {
|
||||
padding: 0rpx 32rpx 0rpx 32rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1_c1_c2_c0_c2 {
|
||||
.myPage_fd2_1_c1_c2_c0_c2 {
|
||||
width: 33.3%;
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
@ -789,9 +832,9 @@ export default {
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1_c1_c2_c0_c1 {
|
||||
.myPage_fd2_1_c1_c2_c0_c1 {
|
||||
width: 33.3%;
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
@ -802,9 +845,9 @@ export default {
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1_c1_c2_c0_c0 {
|
||||
.myPage_fd2_1_c1_c2_c0_c0 {
|
||||
width: 33.3%;
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
@ -815,22 +858,22 @@ export default {
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1_c1_c2_c0 {
|
||||
.myPage_fd2_1_c1_c2_c0 {
|
||||
margin: 32rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1_c1_c1_c2 {
|
||||
.myPage_fd2_1_c1_c1_c2 {
|
||||
// max-width: 168rpx;
|
||||
width: 33.3%;
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
line-height: 52rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1_c1_c1_c1 {
|
||||
.myPage_fd2_1_c1_c1_c1 {
|
||||
// max-width: 168rpx;
|
||||
width: 33.3%;
|
||||
font-size: 28rpx;
|
||||
@ -841,9 +884,9 @@ export default {
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1_c1_c1_c0 {
|
||||
.myPage_fd2_1_c1_c1_c0 {
|
||||
// max-width: 168rpx;
|
||||
width: 33.3%;
|
||||
color: #333333;
|
||||
@ -855,88 +898,88 @@ export default {
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1_c1_c1 {
|
||||
.myPage_fd2_1_c1_c1 {
|
||||
margin: 40rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1_c1_c0_c0 {
|
||||
.myPage_fd2_1_c1_c0_c0 {
|
||||
color: #FFFFFF;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
line-height: 52rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1_c1 {
|
||||
.myPage_fd2_1_c1 {
|
||||
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/157.png) no-repeat, #eee;
|
||||
margin: 41rpx 0rpx 0rpx 0rpx;
|
||||
border-radius: 32rpx 32rpx 32rpx 32rpx;
|
||||
background-size: 100% 100% !important;
|
||||
padding: 33rpx 32rpx 32rpx 32rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.share {
|
||||
.share {
|
||||
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/156.png) no-repeat, transparent;
|
||||
// background: url(../../../static/share_bg.png) no-repeat, transparent;
|
||||
width: 284rpx;
|
||||
height: 88rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
background-size: 100% 100% !important;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1_c0_c1_c1 {
|
||||
.myPage_fd2_1_c0_c1_c1 {
|
||||
width: 284rpx;
|
||||
height: 88rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1_c0_c1_c0 {
|
||||
.myPage_fd2_1_c0_c1_c0 {
|
||||
width: 284rpx;
|
||||
height: 88rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1_c0_c1 {
|
||||
.myPage_fd2_1_c0_c1 {
|
||||
margin: 60rpx 0rpx 0rpx 0rpx;
|
||||
padding: 0rpx 18rpx 0rpx 18rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1_c0_c0_c0 {
|
||||
.myPage_fd2_1_c0_c0_c0 {
|
||||
width: 286rpx;
|
||||
height: 286rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1_c0 {
|
||||
.myPage_fd2_1_c0 {
|
||||
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/153.png) no-repeat, rgba(253, 174, 79, 1);
|
||||
background-size: 100% auto !important;
|
||||
border-radius: 40rpx 40rpx 40rpx 40rpx;
|
||||
padding: 50rpx 0rpx 41rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_1 {
|
||||
.myPage_fd2_1 {
|
||||
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/152.png) no-repeat, #eee;
|
||||
border-radius: 40rpx 40rpx 40rpx 40rpx;
|
||||
// background-size: 100% auto !important;
|
||||
padding: 32rpx 34rpx 32rpx 34rpx;
|
||||
margin: 24rpx 0rpx 0rpx 0rpx;
|
||||
background-size: cover;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd2_0_c0 {
|
||||
.myPage_fd2_0_c0 {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_flex_3 {
|
||||
.myPage_flex_3 {
|
||||
border-radius: 24rpx 24rpx 0rpx 0rpx;
|
||||
padding: 24rpx 32rpx 0rpx 32rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c7_c1 {
|
||||
.myPage_fd3_0_c0_c7_c1 {
|
||||
margin: 18rpx 0rpx 0rpx 0rpx;
|
||||
font-size: 24rpx;
|
||||
-webkit-line-clamp: 1;
|
||||
@ -945,19 +988,19 @@ export default {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
max-width: 97rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c7_c0 {
|
||||
.myPage_fd3_0_c0_c7_c0 {
|
||||
width: 55rpx;
|
||||
height: 55rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c7 {
|
||||
.myPage_fd3_0_c0_c7 {
|
||||
margin: 30rpx 37rpx 8rpx 37rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c6_c1 {
|
||||
.myPage_fd3_0_c0_c6_c1 {
|
||||
margin: 18rpx 0rpx 0rpx 0rpx;
|
||||
font-size: 24rpx;
|
||||
max-width: 97rpx;
|
||||
@ -966,19 +1009,19 @@ export default {
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c6_c0 {
|
||||
.myPage_fd3_0_c0_c6_c0 {
|
||||
width: 55rpx;
|
||||
height: 55rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c6 {
|
||||
.myPage_fd3_0_c0_c6 {
|
||||
margin: 30rpx 37rpx 8rpx 37rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c5_c1 {
|
||||
.myPage_fd3_0_c0_c5_c1 {
|
||||
margin: 18rpx 0rpx 0rpx 0rpx;
|
||||
font-size: 24rpx;
|
||||
-webkit-line-clamp: 1;
|
||||
@ -987,19 +1030,19 @@ export default {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
max-width: 97rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c5_c0 {
|
||||
.myPage_fd3_0_c0_c5_c0 {
|
||||
width: 55rpx;
|
||||
height: 55rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c5 {
|
||||
.myPage_fd3_0_c0_c5 {
|
||||
margin: 30rpx 37rpx 8rpx 37rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c4_c1 {
|
||||
.myPage_fd3_0_c0_c4_c1 {
|
||||
margin: 18rpx 0rpx 0rpx 0rpx;
|
||||
font-size: 24rpx;
|
||||
-webkit-line-clamp: 1;
|
||||
@ -1008,19 +1051,19 @@ export default {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
max-width: 97rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c4_c0 {
|
||||
.myPage_fd3_0_c0_c4_c0 {
|
||||
width: 55rpx;
|
||||
height: 55rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c4 {
|
||||
.myPage_fd3_0_c0_c4 {
|
||||
margin: 30rpx 37rpx 8rpx 37rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c3_c1 {
|
||||
.myPage_fd3_0_c0_c3_c1 {
|
||||
margin: 18rpx 0rpx 0rpx 0rpx;
|
||||
font-size: 24rpx;
|
||||
-webkit-line-clamp: 1;
|
||||
@ -1029,19 +1072,19 @@ export default {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
max-width: 97rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c3_c0 {
|
||||
.myPage_fd3_0_c0_c3_c0 {
|
||||
width: 55rpx;
|
||||
height: 55rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c3 {
|
||||
.myPage_fd3_0_c0_c3 {
|
||||
margin: 30rpx 37rpx 8rpx 37rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c2_c1 {
|
||||
.myPage_fd3_0_c0_c2_c1 {
|
||||
margin: 18rpx 0rpx 0rpx 0rpx;
|
||||
font-size: 24rpx;
|
||||
-webkit-line-clamp: 1;
|
||||
@ -1050,19 +1093,19 @@ export default {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
max-width: 97rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c2_c0 {
|
||||
.myPage_fd3_0_c0_c2_c0 {
|
||||
width: 55rpx;
|
||||
height: 55rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c2 {
|
||||
.myPage_fd3_0_c0_c2 {
|
||||
margin: 30rpx 37rpx 8rpx 37rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c1_c1 {
|
||||
.myPage_fd3_0_c0_c1_c1 {
|
||||
margin: 18rpx 0rpx 0rpx 0rpx;
|
||||
font-size: 24rpx;
|
||||
-webkit-line-clamp: 1;
|
||||
@ -1071,19 +1114,19 @@ export default {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
max-width: 97rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c1_c0 {
|
||||
.myPage_fd3_0_c0_c1_c0 {
|
||||
width: 55rpx;
|
||||
height: 55rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c1 {
|
||||
.myPage_fd3_0_c0_c1 {
|
||||
margin: 30rpx 37rpx 8rpx 37rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c0_c1 {
|
||||
.myPage_fd3_0_c0_c0_c1 {
|
||||
margin: 18rpx 0rpx 0rpx 0rpx;
|
||||
font-size: 24rpx;
|
||||
max-width: 97rpx;
|
||||
@ -1092,90 +1135,90 @@ export default {
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c0_c0 {
|
||||
.myPage_fd3_0_c0_c0_c0 {
|
||||
width: 55rpx;
|
||||
height: 55rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0_c0_c0 {
|
||||
.myPage_fd3_0_c0_c0 {
|
||||
margin: 30rpx 37rpx 8rpx 37rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd3_0 {
|
||||
.myPage_fd3_0 {
|
||||
background: rgba(255, 255, 255, 1);
|
||||
background-size: 100% auto !important;
|
||||
border-radius: 24rpx 24rpx 24rpx 24rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_flex_4 {
|
||||
.myPage_flex_4 {
|
||||
padding: 24rpx 32rpx 0rpx 32rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd4_0_c1_c1 {
|
||||
.myPage_fd4_0_c1_c1 {
|
||||
color: #FFFFFF;
|
||||
font-size: 24rpx;
|
||||
font-weight: 400;
|
||||
line-height: 24rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd4_0_c1_c0 {
|
||||
.myPage_fd4_0_c1_c0 {
|
||||
color: #FFFFFF;
|
||||
font-size: 24rpx;
|
||||
font-weight: 400;
|
||||
line-height: 24rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd4_0_c1 {
|
||||
.myPage_fd4_0_c1 {
|
||||
margin: 28rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd4_0_c0_c1 {
|
||||
.myPage_fd4_0_c0_c1 {
|
||||
color: #FFFFFF;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
line-height: 32rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd4_0_c0_c0 {
|
||||
.myPage_fd4_0_c0_c0 {
|
||||
color: #FFFFFF;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
line-height: 32rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_fd4_0 {
|
||||
.myPage_fd4_0 {
|
||||
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/158.png) no-repeat, #eee;
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
background-size: 100% auto !important;
|
||||
padding: 27rpx 32rpx 25rpx 32rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_menu {
|
||||
.myPage_menu {
|
||||
padding: 34rpx 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_menu_item text:last-child {
|
||||
.myPage_menu_item text:last-child {
|
||||
font-size: 30rpx;
|
||||
color: #333;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_menu_line {
|
||||
.myPage_menu_line {
|
||||
border: 1px solid #F5F5F5;
|
||||
margin: 0 44rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_tools {
|
||||
.myPage_tools {
|
||||
color: #121212;
|
||||
font-size: 32rpx;
|
||||
margin-left: 37rpx;
|
||||
padding-top: 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.myPage_menu_center {
|
||||
.myPage_menu_center {
|
||||
padding-bottom: 20rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@ -74,14 +74,39 @@
|
||||
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout nearbyMerchants_flex_3">
|
||||
<view class='flex flex-wrap align-center nearbyMerchants_fd3_0' v-for="(item, index) in list" style="position: relative;"
|
||||
:key="index">
|
||||
<view class="point-bg">
|
||||
<view class="point-bg-txt">积分{{item.score_rate}}%</view>
|
||||
</view>
|
||||
<!-- <image class='point-bg' mode="scaleToFill" src='https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/point_bg.png'
|
||||
style="width: 140rpx;height: 100rpx;z-index: 9999999999999;">
|
||||
</image> -->
|
||||
<image
|
||||
class="point-bg"
|
||||
src="https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/point_bg.png"
|
||||
:style="{
|
||||
position: 'absolute',
|
||||
top: '-32rpx',
|
||||
left: '-32rpx',
|
||||
width: '120rpx',
|
||||
height: '112rpx',
|
||||
zIndex: 10
|
||||
}"
|
||||
>
|
||||
<!-- 文字内容需要单独用 view 包裹 -->
|
||||
<text class="point-bg-txt" :style="{
|
||||
position: 'absolute',
|
||||
fontSize: '16rpx',
|
||||
top: '-54rpx',
|
||||
left: '8rpx',
|
||||
width: '112rpx',
|
||||
height: '112rpx',
|
||||
zIndex: 10
|
||||
}">积分{{item.score_rate}}%</text>
|
||||
</image>
|
||||
|
||||
<view class='flex flex-direction flex-wrap align-start' @click.stop="handleToDetail(item)"
|
||||
style="position: relative;">
|
||||
<view class='flex flex-wrap align-center'>
|
||||
<image class='nearbyMerchants_fd3_0_c0_c1_c0' mode="aspectFill" :src='item.logo'></image>
|
||||
</view>
|
||||
|
||||
<!-- <image class="nearbyMerchants_fd3_0_c0_c0001" :src='STATIC_URL+"23.png"' mode="widthFix">
|
||||
</image> -->
|
||||
<!-- <view class='flex flex-wrap align-center justify-center nearbyMerchants_fd3_0_c0_c0'
|
||||
@ -845,6 +870,19 @@
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
|
||||
|
||||
.point-bg {
|
||||
/* 注意:nvue 中不需要设置 background 相关属性 */
|
||||
resize-mode: cover; /* 替代 background-size: cover */
|
||||
}
|
||||
|
||||
.point-bg-txt {
|
||||
transform: rotate(315deg);
|
||||
font-size: 20rpx;
|
||||
color: #ffffff;
|
||||
margin-left: 12rpx;
|
||||
margin-top: 32rpx;
|
||||
}
|
||||
.nearbyMerchants_flex_0 {
|
||||
background: rgba(255, 147, 0, 1);
|
||||
width: 750rpx;
|
||||
@ -1332,22 +1370,4 @@
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.point-bg {
|
||||
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/point_bg.png) no-repeat;
|
||||
background-size: cover;
|
||||
position: absolute;
|
||||
top: -32rpx;
|
||||
left: -32rpx;
|
||||
z-index: 10;
|
||||
width: 112rpx;
|
||||
height: 112rpx;
|
||||
}
|
||||
|
||||
.point-bg-txt {
|
||||
transform: rotate(315deg);
|
||||
font-size: 20rpx;
|
||||
color: #fff;
|
||||
margin-left: 12rpx;
|
||||
margin-top: 32rpx;
|
||||
}
|
||||
</style>
|
||||
1354
pages/tabBar/nearbyMerchants/nearbyMerchants2.nvue
Normal file
1354
pages/tabBar/nearbyMerchants/nearbyMerchants2.nvue
Normal file
File diff suppressed because it is too large
Load Diff
29
pages/tabBar/nearbyMerchants/nearbyMerchants3.nvue
Normal file
29
pages/tabBar/nearbyMerchants/nearbyMerchants3.nvue
Normal file
@ -0,0 +1,29 @@
|
||||
<template>
|
||||
<view style="width: 100px; height: 100px; position: relative;">
|
||||
<view class="point-bg"></view>
|
||||
<text class="point-bg-txt">积分10%</text>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
/* 无 scoped 或使用 ::v-deep */
|
||||
.point-bg {
|
||||
background: url('https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/point_bg.png') no-repeat;
|
||||
background-size: cover;
|
||||
position: absolute;
|
||||
top: -16px;
|
||||
left: -16px;
|
||||
z-index: 10;
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
}
|
||||
.point-bg-txt {
|
||||
-webkit-transform: rotate(315deg);
|
||||
transform: rotate(315deg);
|
||||
font-size: 10px;
|
||||
color: red;
|
||||
margin-left: 6px;
|
||||
margin-top: 16px;
|
||||
display: inline-block; /* 确保 transform 生效 */
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user