900 lines
24 KiB
Vue
900 lines
24 KiB
Vue
<template>
|
|
<view class="page page-container">
|
|
<view class="m-panel-bd">
|
|
<view class="m-media-box m-media-box-small-appmsg">
|
|
<view :class="{ 'm-cells': 1, iconBoxLattice: false }">
|
|
<navigator url="/member/member/data" class="m-cell m-cell-access">
|
|
<view class="m-cell-hd" style="color: #db384c">
|
|
<label class="iconfont zc zc-yaoqinghaoyou"></label>
|
|
</view>
|
|
<view class="m-cell-bd m-cell-primary">
|
|
<p>{{ __("基本信息") }}</p>
|
|
</view>
|
|
<text class="m-cell-ft"></text>
|
|
</navigator>
|
|
|
|
<navigator
|
|
url="/member/member/bindphone"
|
|
class="m-cell m-cell-access"
|
|
>
|
|
<view class="m-cell-hd" style="color: #db384c">
|
|
<label class="iconfont zc zc-mobile"></label>
|
|
</view>
|
|
<view class="m-cell-bd m-cell-primary">
|
|
<p>{{ __("登录密码") }}</p>
|
|
</view>
|
|
<text class="m-cell-ft"></text>
|
|
</navigator>
|
|
<!--
|
|
<navigator
|
|
url="/member/member/paypwd"
|
|
v-if="isShowMoney"
|
|
class="m-cell m-cell-access"
|
|
>
|
|
<view class="m-cell-hd" style="color: #db384c">
|
|
<label class="iconfont zc zc-mima"></label>
|
|
</view>
|
|
<view class="m-cell-bd m-cell-primary">
|
|
<p>{{ __("支付密码") }}</p>
|
|
</view>
|
|
<text class="m-cell-ft"></text>
|
|
</navigator>
|
|
-->
|
|
<navigator
|
|
url="/member/member/certification"
|
|
class="m-cell m-cell-access"
|
|
v-if="true"
|
|
>
|
|
<view class="m-cell-hd" style="color: #db384c">
|
|
<label class="iconfont zc zc-shimingrenzheng"></label>
|
|
</view>
|
|
<view class="m-cell-bd m-cell-primary">
|
|
<p>{{ __("实名认证") }}</p>
|
|
</view>
|
|
<text class="m-cell-ft"></text>
|
|
</navigator>
|
|
|
|
<navigator
|
|
url="/member/member/certifiedsns"
|
|
class="m-cell m-cell-access"
|
|
v-if="Config.SNS_ENABLE && false"
|
|
>
|
|
<view class="m-cell-hd" style="color: #db384c">
|
|
<label class="iconfont zc zc-shimingrenzheng"></label>
|
|
</view>
|
|
<view class="m-cell-bd m-cell-primary">
|
|
<p>{{ __("认证会员") }}</p>
|
|
</view>
|
|
<text class="m-cell-ft"></text>
|
|
</navigator>
|
|
|
|
<navigator
|
|
url="/member/member/protocol?id=withdraw_protocols_description"
|
|
class="m-cell m-cell-access"
|
|
v-if="false"
|
|
>
|
|
<view class="m-cell-hd" style="color: #db384c">
|
|
<label class="iconfont zc zc-daipingjia"></label>
|
|
</view>
|
|
<view class="m-cell-bd m-cell-primary">
|
|
<p>{{ __("提现协议") }}</p>
|
|
</view>
|
|
<text class="m-cell-ft"></text>
|
|
</navigator>
|
|
<!--
|
|
<navigator
|
|
url="/member/cash/bankcard-list"
|
|
class="m-cell m-cell-access"
|
|
v-if="true"
|
|
>
|
|
<view class="m-cell-hd" style="color: #db384c">
|
|
<label class="iconfont zc zc-yinhangqia"></label>
|
|
</view>
|
|
<view class="m-cell-bd m-cell-primary">
|
|
<p>{{ __("提现账户") }}</p>
|
|
</view>
|
|
<text class="m-cell-ft"></text>
|
|
</navigator>
|
|
-->
|
|
<navigator
|
|
url="/member/member/protocol?id=reg_description&no_btn=1"
|
|
class="m-cell m-cell-access"
|
|
v-if="true"
|
|
>
|
|
<view class="m-cell-hd" style="color: #db384c">
|
|
<label class="iconfont zc zc-daipingjia"></label>
|
|
</view>
|
|
<view class="m-cell-bd m-cell-primary">
|
|
<p>{{ __("隐私政策") }}</p>
|
|
</view>
|
|
<text class="m-cell-ft"></text>
|
|
</navigator>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="m-panel-bd">
|
|
<view class="m-media-box m-media-box-small-appmsg">
|
|
<view :class="{ 'm-cells': 1, iconBoxLattice: false }">
|
|
<navigator
|
|
url="/member/member/logout?id=1000"
|
|
class="m-cell m-cell-access"
|
|
>
|
|
<view class="m-cell-hd" style="color: #db384c">
|
|
<label class="iconfont zc zc-zhuxiao"></label>
|
|
</view>
|
|
<view class="m-cell-bd m-cell-primary">
|
|
<p>{{ __("账号注销") }}</p>
|
|
</view>
|
|
<text class="m-cell-ft"></text>
|
|
</navigator>
|
|
<navigator url="/member/member/feedback" class="m-cell m-cell-access">
|
|
<view class="m-cell-hd" style="color: #db384c">
|
|
<label class="iconfont zc zc-yijianfankui"></label>
|
|
</view>
|
|
<view class="m-cell-bd m-cell-primary">
|
|
<p>{{ __("用户反馈") }}</p>
|
|
</view>
|
|
<text class="m-cell-ft"></text>
|
|
</navigator>
|
|
<navigator url="/pagesub/index/about" class="m-cell m-cell-access">
|
|
<view class="m-cell-hd" style="color: #db384c">
|
|
<label class="iconfont zc zc-guanyu"></label>
|
|
</view>
|
|
<view class="m-cell-bd m-cell-primary">
|
|
<p>{{ __("关于我们") }}</p>
|
|
</view>
|
|
<text class="m-cell-ft"></text>
|
|
</navigator>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="m-panel-bd" v-if="logoutFlag">
|
|
<view class="m-media-box m-media-box-small-appmsg">
|
|
<view :class="{ 'm-cells': 1, iconBoxLattice: false }">
|
|
<view class="m-cell m-cell-access" @click="cleanCache">
|
|
<view class="m-cell-hd" style="color: #db384c">
|
|
<label class="iconfont zc zc-logout"></label>
|
|
</view>
|
|
<view class="m-cell-bd m-cell-primary">
|
|
<label>{{ __("退出登录") }}</label>
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
<label
|
|
style="color: #717171; margin-right: 8rpx; float: right"
|
|
v-if="PersonalCenterList.type != 2"
|
|
>{{ currentSize }}KB</label
|
|
>
|
|
<!-- #endif -->
|
|
</view>
|
|
<text class="m-cell-ft"></text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="m-tips" style="margin: 30rpx 0" v-if="!IsChannel">
|
|
<view class="m-tips-logo">
|
|
<image
|
|
lazy-load
|
|
mode="aspectFit"
|
|
src="/static/images/logo_tech.png"
|
|
></image>
|
|
</view>
|
|
<view class="m-tips-str"
|
|
>{{ __("商城套件系统提供技术支持") }} {{ versionNumber }}</view
|
|
>
|
|
</view>
|
|
<view class="m-tips" style="margin: 30rpx 0" v-else>
|
|
<view class="m-tips-str">{{ versionName }}{{ versionNumber }}</view>
|
|
</view>
|
|
<view
|
|
class="msk"
|
|
v-if="isGetnum && isStorage && isFlagPhoto && isWexinMobile"
|
|
>
|
|
<view class="model">
|
|
<view class="hint">
|
|
<view class="title">{{ __("绑定手机号") }}</view>
|
|
<view class="content">{{
|
|
__("您当前尚未绑定手机号,建议您绑定以获得更多优惠资讯")
|
|
}}</view>
|
|
</view>
|
|
<view class="operation">
|
|
<view class="cancel" @click="cancel">{{ __("取消") }}</view>
|
|
<button
|
|
class="success"
|
|
bindgetphonenumber="getPhoneNumber"
|
|
open-type="getPhoneNumber"
|
|
>
|
|
{{ __("确定") }}
|
|
</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapState, mapMutations } from "vuex";
|
|
|
|
export default {
|
|
data: function () {
|
|
return {
|
|
Info: "",
|
|
UserInfo: {
|
|
user_nickname: "新用户",
|
|
user_avatar:
|
|
"https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/demodata/assets/data/avatar.png",
|
|
},
|
|
resource: {
|
|
user_points: 100,
|
|
},
|
|
versionNumber: "",
|
|
versionName: "",
|
|
IsChannel: true,
|
|
PersonalCenterList: {},
|
|
isMembership: true,
|
|
isCoupon: true,
|
|
isCutPrice: true,
|
|
isECashCard: true,
|
|
isMemDist: true,
|
|
isFightGrp: true,
|
|
isAbtVendor: true,
|
|
currentSize: 0,
|
|
limitSize: 0,
|
|
|
|
isStorage: false,
|
|
isGetnum: false,
|
|
logoutFlag: 1,
|
|
isShowMoney: true,
|
|
};
|
|
},
|
|
computed: mapState([
|
|
"Config",
|
|
"StateCode",
|
|
"notice",
|
|
"plantformInfo",
|
|
"shopInfo",
|
|
"userInfo",
|
|
"hasLogin",
|
|
]),
|
|
onLoad: function (opt) {
|
|
uni.setNavigationBarTitle({
|
|
title: this.__("用户设置"),
|
|
});
|
|
|
|
var that = this;
|
|
|
|
// #ifdef MP-WEIXIN
|
|
that.logoutFlag = 1;
|
|
// #endif
|
|
|
|
// #ifdef H5
|
|
if (that.$.isWeixin()) {
|
|
that.logoutFlag = 1;
|
|
}
|
|
// #endif
|
|
|
|
this.forceUserInfo(function (user) {});
|
|
|
|
this.getPlantformInfo(function (plantformInfo) {
|
|
//如果启用了支付方式
|
|
if (that.$.inArray(plantformInfo.payment_channel_code_row, "money")) {
|
|
that.isShowMoney = true;
|
|
} else {
|
|
that.isShowMoney = false;
|
|
}
|
|
});
|
|
|
|
that.load();
|
|
},
|
|
|
|
onShow: function (opt) {
|
|
let that = this;
|
|
/*
|
|
const info = that.$.storage.info();
|
|
|
|
this.setData({
|
|
currentSize: Math.round(info.currentSize * 100) / 100,
|
|
limitSize: Math.round(info.limitSize / 1024 * 100) / 100
|
|
})
|
|
*/
|
|
|
|
this.setData({
|
|
UserInfo: this.userInfo,
|
|
});
|
|
|
|
this.showCartNum();
|
|
},
|
|
methods: {
|
|
...mapMutations([
|
|
"login",
|
|
"logout",
|
|
"getPlantformInfo",
|
|
"forceUserInfo",
|
|
"getUserInfo",
|
|
"showCartNum",
|
|
]),
|
|
load: function () {
|
|
var that = this;
|
|
|
|
this.getPlantformInfo(function (plantformInfo) {
|
|
that.setData({
|
|
//IsChannel: this.shopInfo.IsChannel,
|
|
versionNumber: plantformInfo.version,
|
|
versionName: plantformInfo.name,
|
|
});
|
|
});
|
|
|
|
var that = this,
|
|
params = {
|
|
/*store_id: this.shopInfo.store_id*/
|
|
};
|
|
|
|
//判断系统,调取对应网址
|
|
var url = this.Config.URL.store.menu;
|
|
url = this.Config.URL.center_menu;
|
|
|
|
that.$.request({
|
|
url: url,
|
|
data: params,
|
|
ajaxCache: {
|
|
timeout: this.Config.CACHE_EXPIRE,
|
|
},
|
|
success: function (data, status, msg, code) {
|
|
that.setData({
|
|
PersonalCenterList: data.menu,
|
|
});
|
|
},
|
|
});
|
|
|
|
that.$.getStorage({
|
|
key: "cancel",
|
|
success: function (e) {
|
|
e.data == "yes"
|
|
? that.setData({
|
|
isStorage: false,
|
|
})
|
|
: that.setData({
|
|
isStorage: true,
|
|
});
|
|
},
|
|
fail: function (e) {
|
|
that.setData({
|
|
isStorage: true,
|
|
});
|
|
},
|
|
});
|
|
},
|
|
|
|
cancel: function () {
|
|
let that = this;
|
|
this.setData({
|
|
isGetnum: false,
|
|
}),
|
|
that.$.setStorage({
|
|
key: "cancel",
|
|
data: "yes",
|
|
});
|
|
},
|
|
|
|
getPhoneNumber: function (e) {
|
|
var that = this;
|
|
that.$.login({
|
|
success: function (n) {
|
|
var r = {
|
|
//vendorId: that.cf.storeId,
|
|
userId: that.userInfo.Id,
|
|
encryptData: e.detail.encryptedData,
|
|
encryptDataIV: e.detail.iv,
|
|
code: n.code,
|
|
};
|
|
that.$.xsr(
|
|
that.$.makeUrl(user.UpdateUserWexinMobile, r),
|
|
function (e) {
|
|
e.Code == 0 &&
|
|
((that.userInfo.Phone = e.Info),
|
|
that.setData({
|
|
isGetnum: false,
|
|
}));
|
|
}
|
|
);
|
|
},
|
|
});
|
|
},
|
|
|
|
selectAddress: function (e) {
|
|
var that = this;
|
|
that.$.gopage("/member/address/list");
|
|
/*that.$.chooseAddress({
|
|
success: function (that)
|
|
{
|
|
that.$.navigateTo("/member/address/list");
|
|
}, fail: function (that)
|
|
{
|
|
that.$.navigateTo("/member/address/list");
|
|
}
|
|
})*/
|
|
},
|
|
|
|
goTabBar: function (e) {
|
|
var that = this;
|
|
that.$.goToTabBar(that, e.currentTarget.dataset.url);
|
|
},
|
|
|
|
cleanCache: function (e) {
|
|
var that = this;
|
|
const index = e.currentTarget.dataset.index;
|
|
const path = e.currentTarget.dataset.path;
|
|
|
|
that.$.confirm(
|
|
that.__("确定要退出登录吗?"),
|
|
function (data) {
|
|
if (data.confirm) {
|
|
that.$.request({
|
|
url: that.Config.URL.logout,
|
|
success: function (data, status, msg, code) {
|
|
// #ifdef APP-PLUS
|
|
plus.navigator.removeAllCookie();
|
|
// #endif
|
|
|
|
// #ifdef H5
|
|
var date = new Date();
|
|
date.setTime(date.getTime() - 10000);
|
|
var keys = document.cookie.match(/[^ =;]+(?=\=)/g);
|
|
if (keys) {
|
|
for (var i = keys.length; i--; )
|
|
document.cookie =
|
|
keys[i] + "=0; expire=" + date.toGMTString() + "; path=/";
|
|
}
|
|
// #endif
|
|
|
|
that.$Socket.nclose();
|
|
that.$.storage.removeItem("uid");
|
|
that.$.storage.removeItem("ukey");
|
|
|
|
const language = uni.getStorageSync("selang");
|
|
|
|
that.$.storage.clear();
|
|
|
|
//如果不在允许的语言内,可重置
|
|
uni.setStorageSync("selang", language);
|
|
|
|
// #ifdef MP-WEIXIN
|
|
var info = that.$.storage.info();
|
|
|
|
that.setData({
|
|
currentSize: Math.round(info.currentSize * 100) / 100,
|
|
limitSize: Math.round((info.limitSize / 1024) * 100) / 100,
|
|
});
|
|
// #endif
|
|
|
|
that.$Socket.nclose();
|
|
//退出登录
|
|
that.logout(true);
|
|
},
|
|
});
|
|
}
|
|
},
|
|
true
|
|
);
|
|
},
|
|
distributionWeStore: function (e) {
|
|
var that = this;
|
|
that.$.gopage("/pagesub/westore/index");
|
|
|
|
//let url = that.$.sprintf('%s/tmpl/member/plantform_invite.html?u_id=%d&opener=uni&sss=ssss', that.Config.WapSiteUrl, that.userInfo.user_id);
|
|
//that.$.gopage("/pagesub/webpage/webpage?u=" + encodeURIComponent(url) + "&tn=" + '推广中心' + "&tc=" + '#f30213' + "&tb=" + 'white')
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
@import "../../styles/_variables.scss";
|
|
|
|
.member-top {
|
|
-webkit-animation: changeBg 20s infinite;
|
|
animation: changeBg 20s infinite;
|
|
background-color: #f30213;
|
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhE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M/jYXo6ReB5+kXgeXpNxW7+QGaJMQFymoTmAAAAABJRU5ErkJggg==");
|
|
background-size: cover;
|
|
text-align: center;
|
|
width: 100%;
|
|
/*height: 11rem;*/
|
|
|
|
overflow: hidden;
|
|
height: 480rpx;
|
|
/* 320 */
|
|
|
|
color: #fff;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
@-webkit-keyframes changeBg {
|
|
0% {
|
|
background-color: #f30213;
|
|
}
|
|
|
|
90% {
|
|
background-color: #f30213;
|
|
}
|
|
|
|
10% {
|
|
background-color: #fb6e52;
|
|
}
|
|
|
|
20% {
|
|
background-color: #ffce55;
|
|
}
|
|
|
|
30% {
|
|
background-color: #a0d468;
|
|
}
|
|
|
|
40% {
|
|
background-color: #48cfae;
|
|
}
|
|
|
|
50% {
|
|
background-color: #4fc0e8;
|
|
}
|
|
|
|
60% {
|
|
background-color: #5d9cec;
|
|
}
|
|
|
|
70% {
|
|
background-color: #ac92ed;
|
|
}
|
|
|
|
80% {
|
|
background-color: #ec87bf;
|
|
}
|
|
}
|
|
|
|
@keyframes changeBg {
|
|
0% {
|
|
background-color: #f30213;
|
|
}
|
|
|
|
90% {
|
|
background-color: #f30213;
|
|
}
|
|
|
|
10% {
|
|
background-color: #fb6e52;
|
|
}
|
|
|
|
20% {
|
|
background-color: #ffce55;
|
|
}
|
|
|
|
30% {
|
|
background-color: #a0d468;
|
|
}
|
|
|
|
40% {
|
|
background-color: #48cfae;
|
|
}
|
|
|
|
50% {
|
|
background-color: #4fc0e8;
|
|
}
|
|
|
|
60% {
|
|
background-color: #5d9cec;
|
|
}
|
|
|
|
70% {
|
|
background-color: #ac92ed;
|
|
}
|
|
|
|
80% {
|
|
background-color: #ec87bf;
|
|
}
|
|
}
|
|
|
|
.m-banner-img {
|
|
width: 100%;
|
|
/*height: 200rpx;*/
|
|
vertical-align: top;
|
|
position: relative;
|
|
}
|
|
|
|
.m-user-info {
|
|
position: absolute;
|
|
top: 115rpx;
|
|
width: 140rpx;
|
|
height: 140rpx;
|
|
text-align: center;
|
|
left: 50%;
|
|
margin-left: -70rpx;
|
|
z-index: 3;
|
|
color: #666;
|
|
}
|
|
|
|
.m-user-info image {
|
|
width: 140rpx;
|
|
height: 140rpx;
|
|
border-radius: 120rpx;
|
|
border: 1px solid #fff;
|
|
vertical-align: middle;
|
|
box-shadow: 0px 2rpx 15rpx rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.m-user-info text {
|
|
line-height: 70rpx;
|
|
display: block;
|
|
font-size: 28rpx;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.m-user-info .Phone {
|
|
width: 140rpx;
|
|
height: 140rpx;
|
|
border-radius: 120rpx;
|
|
border: 1px solid #fff;
|
|
vertical-align: middle;
|
|
box-shadow: 0px 2rpx 15rpx rgba(0, 0, 0, 0.35);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.m-user-info .NickName {
|
|
line-height: 70rpx;
|
|
display: block;
|
|
font-size: 28rpx;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.member-order-tab {
|
|
font-size: 12px;
|
|
text-align: center;
|
|
background: rgba(0, 0, 0, 0.1);
|
|
line-height: 20px;
|
|
/*box-shadow: 0px 0rpx 10rpx rgba(0, 0, 0, 0.35);*/
|
|
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.i-type {
|
|
font-size: 40rpx;
|
|
}
|
|
|
|
.m-cell-hd {
|
|
text-align: center;
|
|
line-height: 56rpx;
|
|
}
|
|
|
|
.member-order-tab .g-flex-item {
|
|
padding: 28rpx 0 20rpx 0;
|
|
}
|
|
|
|
.member-order-tab .g-flex-item:active {
|
|
background-color: #ececec;
|
|
}
|
|
|
|
.my_od {
|
|
border-left: 1px solid #dfdfdf;
|
|
}
|
|
|
|
.all_order {
|
|
position: relative;
|
|
display: block;
|
|
}
|
|
|
|
.m-panel-bd {
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.m-panel-bd label {
|
|
vertical-align: middle;
|
|
font-size: 50rpx;
|
|
margin: 0rpx 10rpx;
|
|
}
|
|
|
|
.m-cell-primary {
|
|
font-size: 14px;
|
|
margin-top: 10rpx;
|
|
|
|
label {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
.m-animate-img {
|
|
width: 100%;
|
|
height: 250rpx;
|
|
overflow: hidden;
|
|
-webkit-animation: imageAnimation 15s linear infinite alternate;
|
|
animation: imageAnimation 15s linear infinite alternate;
|
|
webkit-backface-visibility: hidden;
|
|
-webkit-filter: blur(5px);
|
|
filter: blur(5px);
|
|
margin-top: -20px;
|
|
}
|
|
|
|
.m-animate-warp {
|
|
overflow: hidden;
|
|
height: 200rpx;
|
|
-webkit-animation: imageAnimation 15s linear infinite alternate;
|
|
animation: imageAnimation 15s linear infinite alternate;
|
|
}
|
|
|
|
@-webkit-keyframes imageAnimation {
|
|
0% {
|
|
background-position: 0 0;
|
|
}
|
|
|
|
100% {
|
|
background-position: 0 100%;
|
|
}
|
|
}
|
|
|
|
@keyframes imageAnimation {
|
|
0% {
|
|
background-position: 0 0;
|
|
}
|
|
|
|
100% {
|
|
background-position: 0 100%;
|
|
}
|
|
}
|
|
|
|
.iconBoxLattice .m-cell {
|
|
display: inline-block;
|
|
width: 25%;
|
|
box-sizing: border-box;
|
|
text-align: center;
|
|
border-right: 1rpx solid #f8f8f8;
|
|
border-bottom: 1rpx solid #f8f8f8;
|
|
}
|
|
|
|
.iconBoxLattice .m-cell .iconfont {
|
|
font-size: 60rpx;
|
|
}
|
|
|
|
.iconBoxLattice .m-cell::before {
|
|
border: none;
|
|
}
|
|
|
|
.iconBoxLattice .m-cell p {
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.iconBoxLattice .m-cell label {
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.iconBoxLattice .m-cell label.iconfont {
|
|
font-size: 60rpx;
|
|
}
|
|
|
|
.iconBoxLattice .m-cell image {
|
|
display: inline-block !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
width: 60rpx !important;
|
|
height: 60rpx !important;
|
|
}
|
|
|
|
.iconBoxLattice .m-cell-ft {
|
|
display: none;
|
|
}
|
|
|
|
.msk {
|
|
position: fixed;
|
|
top: 0;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.model {
|
|
width: 80%;
|
|
height: 290rpx;
|
|
background: #fff;
|
|
border-radius: 6rpx;
|
|
margin: auto;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.hint {
|
|
height: 200rpx;
|
|
display: flex;
|
|
flex-flow: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: relative;
|
|
}
|
|
|
|
.hint::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
border-bottom: 1px solid #e5e5e5;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
width: 200%;
|
|
height: 200%;
|
|
-webkit-transform: scale(0.5);
|
|
transform: scale(0.5);
|
|
-webkit-transform-origin: left top;
|
|
transform-origin: left top;
|
|
}
|
|
|
|
.hint .title {
|
|
font-size: 36rpx;
|
|
}
|
|
|
|
.hint .content {
|
|
width: 80%;
|
|
color: #999999;
|
|
font-size: 30rpx;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.operation {
|
|
height: 90rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.cancel,
|
|
.success {
|
|
flex: 1;
|
|
background: #fff;
|
|
height: 90rpx;
|
|
font-size: 36rpx;
|
|
}
|
|
|
|
button::after {
|
|
line-height: none;
|
|
}
|
|
|
|
.cancel {
|
|
position: relative;
|
|
text-align: center;
|
|
line-height: 90rpx;
|
|
}
|
|
|
|
.success {
|
|
color: #3cc51f;
|
|
padding: 0;
|
|
}
|
|
|
|
.cancel::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
border-right: 2px solid #e5e5e5;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
width: 200%;
|
|
height: 200%;
|
|
-webkit-transform: scale(0.5);
|
|
transform: scale(0.5);
|
|
-webkit-transform-origin: left top;
|
|
transform-origin: left top;
|
|
}
|
|
|
|
.m-cell-bd label {
|
|
margin: 0rpx 5rpx;
|
|
}
|
|
</style> |