| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136 |
- <template>
- <view class="container">
- <view class="vheigh"></view>
- <view class="bg"><image src="../../static/img/mybg.png" mode=""></image></view>
- <view class="user-section flex">
- <view class="detail" @click="navTo('/pages/set/userinfo')">
- <view class="portrait-box"><image class="portrait" :src="userInfo.avatar || '/static/error/missing-face.png'"></image></view>
- <view class="info-box">
- <view class="username">{{ userInfo.nickname || '游客' }}</view>
- <view class="phone" v-if="userInfo.phone">{{ userInfo.phone | hiddenphone }}</view>
- </view>
- </view>
- <view class="config">
- <view class="setting"><image src="../../static/icon/set.png" mode=""></image></view>
- <view class="config-font">VIP会员</view>
- </view>
- </view>
- <view class="list-top"></view>
- <view class="balance">
- <view class="balance-main">
- <view class="tj-item" @click="navTo('/pages/money/wallet')">
- <view class="tj-img"><image src="../../static/icon/my1.png" mode=""></image></view>
- <view class="tj-num">¥2000</view>
- <view class="tj-font">我的余额</view>
- </view>
- <view class="tj-item" @click="navTo('/user/page/scoreAccumulate')">
- <view class="tj-img"><image src="../../static/icon/my2.png" mode=""></image></view>
- <view class="tj-num">¥2000</view>
- <view class="tj-font">我的佣金</view>
- </view>
- <view class="tj-item" @click="navTo('/user/page/scoreAccumulate')">
- <view class="tj-img"><image src="../../static/icon/my3.png" mode=""></image></view>
- <view class="tj-num">¥2000</view>
- <view class="tj-font">我的积分</view>
- </view>
- <view class="tj-item" @click="navTo('/user/page/extension')">
- <view class="tj-img"><image src="../../static/icon/my4.png" mode=""></image></view>
- <view class="tj-num">¥2000</view>
- <view class="tj-font">我的推广</view>
- </view>
- </view>
- </view>
- <view class="cover-container">
- <view class="item-box">
- <view class="user-item">
- <text>我的工具</text>
- <!-- <text class="iconfont iconenter" @click="loadMore()"></text> -->
- </view>
- <view class="order-section">
- <view class="order-item" @click="navTo('/pages/tool/entity?type=1')" hover-class="common-hover" :hover-stay-time="50" v-if="isAdmin">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/ffstk.png" mode="aspectFit"></image></view>
- <text>发放实体卡</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <view class="order-item" @click="navTo('/pages/tool/entity?type=2')" hover-class="common-hover" :hover-stay-time="50" v-if="isAdmin">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/hxstk.png" mode="aspectFit"></image></view>
- <text>核销实体卡</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <view class="order-item" @click="navTo('/user/page/revenueCenter')" hover-class="common-hover" :hover-stay-time="50" v-if="isAdmin">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/u9.png" mode="aspectFit"></image></view>
- <text>收益报告</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <view class="order-item" @click="navTo('/user/page/dlcenter')" hover-class="common-hover" :hover-stay-time="50" v-if="isArea_admin">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/dl.png" mode="aspectFit"></image></view>
- <text>代理收益</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <view class="order-item" @click="navTo('/user/page/recommend')" hover-class="common-hover" :hover-stay-time="50" v-if="isAdmin">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/u10.png" mode="aspectFit"></image></view>
- <text>推荐充值</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <view class="order-item" @click="navTo('/user/page/storeCommission')" hover-class="common-hover" :hover-stay-time="50" v-if="isAdmin">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/s-cms.png" mode="aspectFit"></image></view>
- <text>门店佣金</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <!-- <view class="order-item" @click="navTo('/pages/tool/phoneBill')" hover-class="common-hover"
- :hover-stay-time="50" >
- <view class="o-ic">
- <view class="icon">
- <image class="icon-img" src="/static/icon/phone.png" mode="aspectFit"></image>
- </view>
- <text>话费充值</text>
- </view>
- <view class="order-img">
- <image src="../../static/img/img74.png" mode=""></image>
- </view>
- </view> -->
- <view class="order-item" @click="navTo('/user/page/award')" hover-class="common-hover" :hover-stay-time="50">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/gryj.png" mode="aspectFit"></image></view>
- <text>个人佣金</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <view class="order-item" @click="readQr()" hover-class="common-hover" :hover-stay-time="50" v-if="!isAdmin">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/1-my.png" mode="aspectFit"></image></view>
- <text>扫码充值</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <view class="order-item" @click="navTo('/user/page/wipe')" hover-class="common-hover" :hover-stay-time="50" v-if="isAdmin">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/u6.png" mode="aspectFit"></image></view>
- <text>提货管理</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <view class="order-item" @click="navTo('/user/page/delivery')" hover-class="common-hover" :hover-stay-time="50" v-if="isAdmin">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/u12.png" mode="aspectFit"></image></view>
- <text>送货管理</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <view class="order-item" @click="navTo('/user/page/refundAdmin?state=0&isUser=' + isUser)" hover-class="common-hover" :hover-stay-time="50" v-if="isAdmin">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/u7.png" mode="aspectFit"></image></view>
- <text>退货管理</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <view class="order-item" @click="navTo('/user/page/depositAdmin')" hover-class="common-hover" :hover-stay-time="50" v-if="isAdmin">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/u11.png" mode="aspectFit"></image></view>
- <text>押金管理</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <view class="order-item" @click="navTo('/pages/set/point')" hover-class="common-hover" :hover-stay-time="50" v-if="isAdmin">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/5-my.png" mode="aspectFit"></image></view>
- <text>自提点管理</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <view class="order-item" @click="navTo('/pages/set/address')" hover-class="common-hover" :hover-stay-time="50">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/3-my.png" mode="aspectFit"></image></view>
- <text>收货地址</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <view class="order-item" @click="navTo('/user/page/shareQrCode')" hover-class="common-hover" :hover-stay-time="50">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/2-my.png" mode="aspectFit"></image></view>
- <text>推广海报</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <view class="order-item" hover-class="common-hover" :hover-stay-time="50" @click="showPopup">
- <!-- <view class="icon" v-if="userIdentity"><image class="icon-img" src="/static/icon/u8.png" mode="aspectFit"></image></view> -->
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/4-my.png" mode="aspectFit"></image></view>
- <text>联系客服</text>
- </view>
- <!-- <view class="txt">
- 联系客服
- </view> -->
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- <!-- <view class="order-item" hover-class="common-hover" :hover-stay-time="50">
- <view class="icon"><image class="icon-img" src="/static/icon/u4.png" mode="aspectFit"></image></view>
- <text>关于我们</text>
- </view> -->
- <view class="order-item" hover-class="common-hover" :hover-stay-time="50" @click="showBind">
- <view class="o-ic">
- <view class="icon"><image class="icon-img" src="/static/icon/ztd.png" mode="aspectFit"></image></view>
- <text>绑定管理账号</text>
- </view>
- <view class="order-img"><image src="../../static/img/img74.png" mode=""></image></view>
- </view>
- </view>
- </view>
- </view>
- <uni-popup ref="popup" type="center">
- <view class="popup-box">
- <view class="img"><image src="https://37shop.liuniu946.com/front/img/img009.png" mode=""></image></view>
- <view class="mian">
- <view class="delivery">
- <view class="title">已经为您定制专属客服</view>
- <image src="https://37shop.liuniu946.com/front/img/img010.png" mode=""></image>
- </view>
- <view class="nocancel">{{ text }}</view>
- <view class="comfirm-box">
- <view class="cancel" @click="cancel">取消</view>
- <view class="comfirm" @click="comfirm(text)">复制微信</view>
- </view>
- </view>
- </view>
- </uni-popup>
- <uni-popup ref="popupadmin" type="center">
- <view class="bind-admin-wappper">
- <view class="title">绑定管理账号</view>
- <view class="admin-item">
- <view class="item-name">账号</view>
- <view class="item-val"><input type="text" v-model="adminName" placeholder="请输入管理账号" /></view>
- </view>
- <view class="admin-item">
- <view class="item-name">密码</view>
- <view class="item-val"><input type="password" v-model="adminPsw" placeholder="请输入管理密码" /></view>
- </view>
- <view class="btn-wrapper">
- <view class="btn" @click="adminClose">取消</view>
- <view class="btn btn1" @click="adminQr">确定</view>
- </view>
- </view>
- </uni-popup>
- <uni-popup ref="popupStk" type="center">
- <view class="stk-tc">
- <image src="https://zccy.liuniu946.com/static/img/gift-bg.png" mode="" class="gift-bg"></image>
- <view class="gift-bg-mb"></view>
- <image src="https://zccy.liuniu946.com/static/img/stk-gift.png" mode="" class="gift"></image>
- <view class="" style="height: 145rpx;"></view>
- <view class="tc-tit">{{ type == 1 ? '实体卡发放' : '实体卡核销' }}</view>
- <input type="text" class="tc-inp" placeholder="请输入卡号" v-model="code" />
- <input type="text" class="tc-inp tc-inp-km" placeholder="请输入卡密" v-model="password" v-if="type == 2" />
- <view class="tc-btn" @click="gonew">{{ type == 1 ? '立即发放' : '立即核销' }}</view>
- <view class="" style="height: 50rpx;"></view>
- </view>
- </uni-popup>
- </view>
- </template>
- <script>
- import { mapState, mapMutations } from 'vuex';
- import uniList from '@/components/uni-list/uni-list.vue';
- import uniListItem from '@/components/uni-list-item/uni-list-item.vue';
- import uniPopup from '@/components/uni-popup/uni-popup.vue';
- import { getArticleDetail } from '@/api/index.js';
- import { orderData, getUserInfo, getSpreadCount, bindAdmin, sendStk, checkStk } from '@/api/user.js';
- import { saveUrl, interceptor } from '@/utils/loginUtils.js';
- import uniCopy from '@/js_sdk/xb-copy/uni-copy.js';
- export default {
- components: {
- uniList,
- uniListItem
- },
- data() {
- return {
- coverTransform: 'translateY(0px)',
- coverTransition: '0s',
- moving: false,
- userDowm: 0, //卡片升级专属高度
- userMaxDowm: 0, //卡片最高高度,
- userIdentity: false, //是否展示管理页面
- text: '',
- isUser: 0,
- integral: '', //积分获取
- mycount: 0,
- adminName: '',
- adminPsw: '',
- isAdmin: false,
- isArea_admin: false,
- code: '',
- password: '',
- type: '',
- uping: false
- };
- },
- onShow() {
- this.getWx(5);
- console.log(this.userInfo);
- // 判断是否已经登录
- if (this.hasLogin) {
- this.loadBaseData();
- // this.getSpreadCount();
- console.log(this.userInfo);
- }
- },
- // #ifndef MP
- // onNavigationBarButtonTap(e) {
- // const index = e.index;
- // if (index === 0) {
- // this.navTo('/pages/set/set');
- // } else if (index === 1) {
- // // #ifdef APP-PLUS
- // const pages = getCurrentPages();
- // const page = pages[pages.length - 1];
- // const currentWebview = page.$getAppWebview();
- // currentWebview.hideTitleNViewButtonRedDot({
- // index
- // });
- // // #endif
- // uni.navigateTo({
- // url: '/pages/user/notice'
- // });
- // }
- // },
- // #endif
- computed: {
- ...mapState('user', ['userInfo', 'orderInfo', 'hasLogin'])
- },
- filters: {
- hiddenphone(value) {
- return value.substring(0, 3) + '****' + value.substring(7, 12);
- }
- },
- methods: {
- ...mapMutations('user', ['setUserInfo', 'setOrderInfo']),
- // 获取微信客服
- getWx(id) {
- getArticleDetail({}, id).then(({ data }) => {
- console.log(data, 'wx');
- this.text = data.synopsis;
- });
- },
- // 加载初始数据
- loadBaseData() {
- getUserInfo({})
- .then(({ data }) => {
- this.setUserInfo(data);
- // this.getSpreadCount()
- console.log(data, '++++++++++++');
- if (this.userInfo.store_info.length != 0) {
- this.isAdmin = true;
- }
- if (data.store_info instanceof Array) {
- if (this.userInfo.store_info.length == 0) {
- this.isAdmin = false;
- } else {
- this.isAdmin = true;
- }
- }
- if (Object.prototype.toString.call(data.store_info) === '[object Object]') {
- this.isAdmin = true;
- }
- this.isArea_admin = data.area_admin == 0 ? false : true;
- // 获取用户数据完毕后在获取订单数据防止多次跳转到登录页
- orderData({})
- .then(({ data }) => {
- this.setOrderInfo(data);
- console.log(this.orderInfo);
- })
- .catch(e => {
- this.setOrderInfo({
- complete_count: 0, //完成
- received_count: 0, //待收货
- unshipped_count: 0, //待发货
- order_count: 0, //订单总数
- unpaid_count: 0 //待付款
- });
- });
- })
- .catch(e => {
- console.log(e);
- });
- },
- /**
- * 统一跳转接口,拦截未登录路由
- * navigator标签现在默认没有转场动画,所以用view
- */
- navTo(url) {
- if (!this.hasLogin) {
- // 保存地址
- saveUrl();
- // 登录拦截
- interceptor();
- } else {
- uni.navigateTo({
- url
- });
- }
- },
- changeIdentity() {
- this.userIdentity = !this.userIdentity;
- if (this.isUser === 0) {
- this.isUser = 1;
- } else if (this.isUser === 1) {
- this.isUser = 0;
- }
- },
- showPopup() {
- this.$refs.popup.open();
- },
- cancel() {
- this.$refs.popup.close();
- },
- comfirm(text) {
- console.log(text);
- const result = uniCopy(text);
- if (result === false) {
- uni.showToast({
- title: '不支持'
- });
- } else {
- uni.showToast({
- title: '复制成功',
- icon: 'none'
- });
- }
- this.$refs.popup.close();
- },
- getSpreadCount() {
- getSpreadCount({}, 4).then(res => {
- // console.log(res,'提现++++++')
- this.mycount = res.data.count;
- console.log(this.mycount, '提现++++++');
- });
- },
- showBind() {
- if (!this.hasLogin) {
- // 保存地址
- saveUrl();
- // 登录拦截
- interceptor();
- } else {
- this.$refs.popupadmin.open();
- }
- },
- adminQr() {
- if (!this.adminName) {
- return this.$api.msg('请输入管理账号');
- }
- if (!this.adminPsw) {
- return this.$api.msg('请输入管理密码');
- }
- uni.showLoading({
- title: '提交绑定...',
- mask: true
- });
- // bindAdmin
- console.log(this.adminName, this.adminPsw, 'dddddddddddddddddd');
- bindAdmin({
- admin_account: this.adminName,
- admin_password: this.adminPsw
- })
- .then(res => {
- console.log(res, 'bindAdmin+++++++++++++++++++++');
- uni.hideLoading();
- this.$refs.popupadmin.close();
- this.$api.msg('绑定成功');
- this.loadBaseData();
- })
- .catch(err => {
- console.log(err);
- this.$refs.popupadmin.close();
- });
- },
- adminClose() {
- this.adminName = '';
- this.adminPsw = '';
- this.$refs.popupadmin.close();
- },
- // 扫描支付
- readQr() {
- let obj = this;
- if (!this.hasLogin) {
- // 保存地址
- saveUrl();
- // 登录拦截
- interceptor();
- } else {
- // #ifndef H5
- uni.scanCode({
- success(e) {
- // console.log(e,'e++++++++++++')
- uni.navigateTo({
- url: '/user/page/pay' + e.result
- });
- }
- });
- // #endif
- // #ifdef H5
- this.weichatObj.scanQRCode({
- needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
- scanType: ['qrCode', 'barCode'], // 可以指定扫二维码还是一维码,默认二者都有
- success: function(res) {
- uni.navigateTo({
- url: '/user/page/pay' + res.result
- });
- }
- });
- // #endif
- }
- },
- openStk(type) {
- this.type = type;
- this.$refs.popupStk.open();
- },
- gonew() {
- let obj = this;
- if (obj.uping) {
- return;
- }
- if (obj.code == '') {
- return obj.$api.msg('请输入卡号');
- }
- if (obj.type == 2) {
- if (obj.password == '') {
- return obj.$api.msg('请输入卡密');
- }
- }
- obj.uping = true;
- if (obj.type == 1) {
- sendStk({
- code: obj.code
- })
- .then(res => {
- obj.$refs.popupStk.close();
- uni.showToast({
- title: '发放成功',
- duration: 2000
- });
- obj.uping = false;
- })
- .catch(err => {
- obj.uping = false;
- });
- } else if (obj.type == 2) {
- checkStk({
- code: obj.code,
- password: obj.password
- })
- .then(res => {
- obj.$refs.popupStk.close();
- uni.showToast({
- title: '核销成功',
- duration: 2000
- });
- obj.uping = false;
- })
- .catch(err => {
- obj.uping = false;
- });
- }
- }
- /**
- * 获取个人用户信息
- */
- // getUserInfo() {
- // console.log('getuserInfo')
- // let that = this;
- // getUserInfo().then(res => {
- // that.userInfo = res.data,
- // that.is_promoter = res.data.is_promoter
- // that.extension_status = res.data.extension_status
- // });
- // },
- }
- };
- </script>
- <style lang="scss">
- page,
- .container {
- height: auto;
- min-height: 100%;
- background-color: #ffffff;
- }
- %flex-center {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- %section {
- display: flex;
- justify-content: space-around;
- align-content: center;
- background: #fff;
- border-radius: 10rpx;
- }
- .bg {
- position: absolute;
- top: 0;
- left: 0;
- height: 400rpx;
- width: 100%;
- image {
- width: 100%;
- height: 100%;
- }
- }
- .user-section {
- padding: 112rpx 42rpx 0 38rpx;
- position: relative;
- z-index: 10;
- .detail {
- display: flex;
- align-items: center;
- .portrait-box {
- height: 120rpx;
- width: 120rpx;
- .portrait {
- width: 100%;
- height: 100%;
- border: 4rpx solid #fff;
- border-radius: 50%;
- }
- }
- .info-box {
- margin-left: 20rpx;
- line-height: 1;
- .username {
- font-size: 32rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #ffffff;
- }
- .phone {
- font-size: 25rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #ffffff;
- margin-top: 18rpx;
- }
- }
- }
- .config {
- width: 161rpx;
- height: 51rpx;
- background: #ffffff;
- border-radius: 25rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- line-height: 1;
- .setting {
- width: 25rpx;
- height: 36rpx;
- image {
- width: 25rpx;
- height: 36rpx;
- }
- }
- .config-font {
- margin-left: 10rpx;
- font-size: 25rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #ee2f72;
- }
- }
- }
- .list-top {
- position: relative;
- z-index: 10;
- margin-top: 50rpx;
- width: 750rpx;
- height: 20rpx;
- background: #ffffff;
- border-radius: 30rpx 30rpx 0px 0px;
- }
- .cover-container {
- background: $page-color-base;
- // margin-top: -150rpx;
- // padding: 0 30rpx;
- position: relative;
- background: #f5f5f5;
- padding-bottom: 20rpx;
- .arc {
- position: absolute;
- left: 0;
- top: -34rpx;
- width: 100%;
- height: 36rpx;
- }
- }
- .tj-sction {
- @extend %section;
- .tj-item {
- @extend %flex-center;
- flex-direction: column;
- height: 140rpx;
- font-size: $font-sm;
- color: #75787d;
- }
- .num {
- font-size: $font-lg;
- color: $font-color-dark;
- margin-bottom: 8rpx;
- }
- }
- .item-box {
- // border-radius: 10rpx;
- background-color: white;
- margin-top: 20rpx;
- .box-title {
- line-height: 1;
- padding: 30rpx;
- .title {
- font-size: $font-lg;
- font-weight: bold;
- }
- .link {
- font-size: $font-base - 2rpx;
- color: $font-color-light;
- }
- }
- .order-section {
- padding: 28rpx;
- padding-bottom: 0;
- .order-item {
- display: flex;
- justify-content: space-between;
- width: 100%;
- height: 120rpx;
- border-radius: 10rpx;
- font-size: $font-sm;
- color: $font-color-dark;
- .o-ic {
- margin: auto 0;
- display: flex;
- .icon {
- margin-right: 20rpx;
- image {
- width: 52rpx;
- height: 43rpx;
- }
- }
- text {
- color: #3b3b3b;
- font-size: 30rpx;
- font-family: SourceHanSansCN-Regular;
- }
- }
- .order-img {
- margin: auto 0;
- // margin: auto 50rpx;
- image {
- width: 16rpx;
- height: 28rpx;
- }
- }
- }
- .iconfont {
- font-size: 48rpx;
- margin-bottom: 18rpx;
- color: #fa436a;
- }
- .icon-shouhoutuikuan {
- font-size: 44rpx;
- }
- }
- }
- .history-section {
- // padding: 30rpx 0 0;
- margin-top: 20rpx;
- background: #fff;
- border-radius: 10rpx;
- .sec-header {
- display: flex;
- align-items: center;
- font-size: $font-base;
- color: $font-color-dark;
- line-height: 40rpx;
- margin-left: 30rpx;
- padding-top: 30rpx;
- .iconfont {
- font-size: 44rpx;
- color: $color-red;
- margin-right: 16rpx;
- line-height: 40rpx;
- }
- }
- .h-list {
- white-space: nowrap;
- padding: 30rpx 30rpx 0;
- .h-list-image {
- display: inline-block;
- width: 160rpx;
- height: 160rpx;
- margin-right: 20rpx;
- border-radius: 10rpx;
- }
- }
- }
- .user-item {
- font-size: 30rpx;
- font-weight: bold;
- color: #666666;
- border-bottom: 1px #f5f5f5 solid;
- padding: 25rpx 20rpx 26rpx 20rpx;
- display: flex;
- justify-content: space-between;
- text {
- }
- }
- .balance {
- position: relative;
- z-index: 10;
- background: #ffffff;
- .balance-main {
- display: flex;
- padding-top: 40rpx;
- color: #ffffff;
- .tj-item {
- display: flex;
- flex-direction: column;
- flex-grow: 1;
- text-align: center;
- font-size: 26rpx;
- font-weight: 500;
- color: #3b3b3b;
- line-height: 1;
- .tj-img {
- image {
- width: 112rpx;
- height: 112rpx;
- }
- }
- .tj-num {
- font-size: 25rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #363636;
- }
- .tj-font {
- margin-top: 10rpx;
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #363636;
- }
- }
- .jg {
- width: 2rpx;
- height: 81rpx;
- margin-top: 18rpx;
- background-color: #c5868a;
- }
- }
- }
- .foot-wrapper {
- width: 373rpx;
- height: 79rpx;
- background: #ffffff;
- box-shadow: 0px 3px 10px 0px rgba(180, 183, 187, 0.8);
- border-radius: 11rpx;
- margin: 46rpx auto 20rpx;
- text-align: center;
- line-height: 79rpx;
- font-size: 30rpx;
- font-weight: bold;
- color: #901b21;
- }
- .popup-box {
- width: 522rpx;
- height: 605rpx;
- background-color: #ffffff;
- border-radius: 20rpx;
- position: relative;
- .img {
- position: relative;
- top: -56rpx;
- left: 0;
- width: 522rpx;
- height: 132rpx;
- display: flex;
- justify-content: center;
- image {
- border-radius: 20rpx 20rpx 0 0;
- width: 450rpx;
- height: 132rpx;
- }
- }
- .mian {
- margin-top: -44rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- // padding: 32rpx 32rpx;
- background-color: #ffffff;
- border-radius: 0 0 20rpx 20rpx;
- text-align: center;
- .delivery {
- font-size: 40rpx;
- color: #333333;
- display: flex;
- align-items: center;
- flex-direction: column;
- .title {
- }
- image {
- margin-top: 48rpx;
- width: 172rpx;
- height: 160rpx;
- }
- }
- .nocancel {
- font-size: 32rpx;
- color: #333333;
- margin-top: 14rpx;
- }
- .comfirm-box {
- margin-top: 52rpx;
- display: flex;
- // margin-bottom: 32rpx;
- // justify-content: space-around;
- .cancel {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 197rpx;
- height: 74rpx;
- border: 1px solid #dcc786;
- border-radius: 38rpx;
- font-size: 32rpx;
- color: #605128;
- }
- .comfirm {
- margin-left: 32rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 197rpx;
- height: 74rpx;
- background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
- border-radius: 38px;
- font-size: 32rpx;
- color: #605128;
- }
- }
- }
- }
- .bind-admin-wappper {
- width: 600rpx;
- height: 682rpx;
- border-radius: 20rpx;
- background-color: #fff;
- .title {
- padding-top: 70rpx;
- font-size: 42rpx;
- text-align: center;
- font-family: PingFang SC;
- font-weight: 500;
- color: #ffa200;
- }
- .admin-item {
- .item-name {
- padding-top: 55rpx;
- padding-bottom: 20rpx;
- font-size: 32rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- padding-left: 68rpx;
- }
- .item-val {
- width: 470rpx;
- height: 70rpx;
- line-height: 70rpx;
- margin: 0 auto;
- background: #ffffff;
- border: 1px solid #999999;
- border-radius: 6px;
- outline: none;
- input {
- padding-left: 20rpx;
- display: block;
- height: 70rpx;
- line-height: 70rpx;
- }
- }
- }
- .btn-wrapper {
- margin-top: 60rpx;
- display: flex;
- justify-content: space-between;
- height: 50rpx;
- padding: 0 65rpx;
- .btn {
- // margin-right: 22rpx;
- text-align: center;
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: 500;
- line-height: 70rpx;
- color: #666666;
- width: 224rpx;
- height: 70rpx;
- border-radius: 6rpx;
- border: 1px solid #999999;
- }
- .btn1 {
- color: #fff;
- background-color: #ff6600;
- }
- }
- }
- .icon-img {
- width: 52rpx;
- height: 43rpx;
- }
- .stk-tc {
- width: 560rpx;
- // height: 550rpx;
- background-color: #fff;
- border-radius: 20rpx;
- position: relative;
- .gift,
- .gift-bg,
- .gift-bg-mb {
- position: absolute;
- left: 0;
- right: 0;
- margin: auto;
- }
- .tc-tit,
- .tc-inp,
- .tc-btn {
- margin: auto;
- }
- .gift {
- top: -93rpx;
- width: 177rpx;
- height: 186rpx;
- }
- .gift-bg-mb {
- top: 0;
- width: 456rpx;
- height: 90rpx;
- background-color: #fff;
- }
- .gift-bg {
- top: -90rpx;
- width: 456rpx;
- height: 180rpx;
- }
- .tc-tit {
- font-weight: bold;
- color: #333333;
- font-size: 36rpx;
- text-align: center;
- }
- .tc-inp {
- display: block;
- margin: 20rpx auto;
- width: 440rpx;
- height: 70rpx;
- background-color: #f5f5f5;
- top: 210rpx;
- padding-left: 20rpx;
- border-radius: 15rpx;
- font-size: 32rpx;
- }
- .tc-inp-km {
- top: 305rpx;
- }
- .tc-btn {
- width: 405rpx;
- height: 86rpx;
- margin-top: 45rpx;
- background-color: #901b21;
- border-radius: 43rpx;
- text-align: center;
- color: #fff;
- line-height: 86rpx;
- font-size: 36rpx;
- }
- }
- </style>
|