1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096 |
- <template>
- <view class="app">
- <view class="app-top">
- <view class="atop1">
- <view class="top2-bg">
- <view class="top3-bg">
- </view>
- </view>
- </view>
- <view class="atop2"></view>
- </view>
- <view class=" mtop">
- <view class="top-body">
- <view class="statusBar" :style="'height:' + statusBarHeight + 'px'"></view>
- <view class="panel">
- <view class="inputIndex">
- <navigator url="../goods/list">
- <view class="inputText">
- <text class="text">请输入关键词搜索</text>
- </view>
- </navigator>
- </view>
- <image src="/static/img/ic_information.png" class="information"></image>
- </view>
- </view>
- </view>
- <view class="app-body">
- <uv-swiper height='300rpx' class="swiper-img" :list="topData.banner" radius='20rpx' keyName="img" indicatorActiveColor="#DB292B" indicatorInactiveColor="#B7B7B7" img-mode="scaleToFill"></uv-swiper>
- <view class="grid-bg">
- <!--九宫格-->
- <view class="grid gridItem" v-if="sysData.is_audit == 0">
- <view class="item" @tap="tapOpen2" data-url="/pages/user/order/index">
- <image class="icon" mode="aspectFill" src="/static/ad/1.png"></image>
- <text class="label">提货订单</text>
- </view>
- <view class="item" @tap="$refs.customer.open()">
- <image class="icon" mode="aspectFill" src="/static/ad/2.png"></image>
- <text class="label">联系客服</text>
- </view>
- <view class="item" @tap="tapOpen" data-url="/pages/merchant/list">
- <image class="icon" mode="aspectFill" src="/static/ad/3.png"></image>
- <text class="label">附近门店</text>
- </view>
- <view class="item" @tap="tapOpen2" data-url="/pages/guild/order/order">
- <image class="icon" mode="aspectFill" src="/static/ad/4.png"></image>
- <text class="label">抢购订单</text>
- </view>
- <view v-if="showData" class="item" @tap="tapOpen" data-url="/pages/news/about">
- <image class="icon" mode="aspectFill" src="/static/ad/5.png"></image>
- <text class="label">关于我们</text>
- </view>
- </view>
- <!--消息通知-->
- <view class="news-panel" v-if="showData">
- <image src="/static/img/news-icon.png" class="icon"></image>
- <text class="label">消息通知</text>
- <maoScroll class="box-panel" :data="topData.notice" :showNum="1" :lineHeight="15"
- :animationScroll="800" :animation="4000">
- <template v-slot="{line}">
- <text @tap="tapOpen" :data-url="'../news/index?id=' + line.id" class="line">{{ line.title }}
- </text>
- </template>
- </maoScroll>
- <image @tap="tapNews" src="/static/img/news-right.png" class="icon-right"></image>
- </view>
- </view>
- <view v-if="sysData.is_audit == 0">
- <!--CBB潮贝抢货通道-->
- <view class="team-buy" @tap="tapOpen" data-url="/pages/guild/itemIndex" v-if="guData!= null">
- <image class="teamBg" src="@/static/img/indexChatBg1.png" mode="widthFix"></image>
- <view class="team-show">
- <view class="labelBox">
- <text class="label">{{ guData.name }}</text>
- </view>
- <view class="guNicknameBox">
- <text class="guNickname">
- 总监:{{ guData.nickname }}
- </text>
- </view>
- </view>
- </view>
- </view>
- <!--提货好物-->
- <view class="goods">
- <view class="top">
- <image class="topBgImg" src="@/static/img/index_item_bg.png" mode="widthFix"></image>
- <image class="icon" src="/static/img/img01.png"></image>
- <view class="topTitle">
- <text class="label">货款提货</text>
- <view class="more" @tap="tapOpen" data-url="../goods/list">
- <text class="text">查看更多></text>
- </view>
- </view>
- </view>
- <view class="goods-items">
- <view @tap="tapOpen" :data-url="'../goods/index?id=' + item.id" class="item"
- v-for="(item,index) in topData.product">
- <image :src="item.img" mode="aspectFill" class="nimg"></image>
- <text class="title">
- {{ item.title }}
- </text>
- <view class="iview">
- <view class="score">
- <text class='goods-name'>
- {{ item.commission }}
- </text>
- <text class="tag" v-if="sysData.is_audit == 0">积分</text>
- <text class="tag" v-else>参考价</text>
- </view>
- <view class="fx-g1"></view>
- <text class="btn" v-if="sysData.is_audit == 0">提货</text>
- </view>
- </view>
- </view>
- </view>
- <!--最新门店-->
- <view class="shop" v-if="sysData.is_audit == 0">
- <view class="top">
- <image class="topBgImg" src="@/static/img/index_item_bg.png" mode="widthFix"></image>
- <image class="icon" src="/static/img/img02.png"></image>
- <view class="topTitle">
- <text class="label">易趣C果园({{300+merchantCount}}家)</text>
- <view class="more" @tap="tapOpen" data-url="../merchant/list">
- <text class="text">查看更多></text>
- </view>
- </view>
- </view>
- <view class="shop-items">
- <view class="item" @tap="tapOpen" :data-url="'../merchant/index?id=' + item.id"
- v-for="item in merchantData">
- <image :src="item.logo" class="img" mode="aspectFill"></image>
- <view class="info">
- <view class="iview-top">
- <text class="title">{{ item.name }}</text>
- <view class="ii">
- <image class="shopTipIcon" src="/static/img/shop-small-location.png"></image>
- <text class="iiText">
- 距离{{ item.dis_km }}
- </text>
- </view>
- </view>
- <view class="address">
- <image src="/static/img/address-shop.png" class="icon"></image>
- <text class="value">{{ item.address }}</text>
- </view>
- <view class="tel">
- <image src="/static/img/tel-shop.png" class="icon"></image>
- <text class="value">{{ item.tel }}</text>
- </view>
- <view class="business">
- <text class='businessText'>
- 营业时间: {{ item.business }}
- </text>
- </view>
- <view class="wiget">
- <view class="witem" @tap.stop="tapTel(item)">
- <image class="witeIcon" src="/static/img/shop-tel.png"></image>
- <text class="text">电话</text>
- </view>
- <view class="witem" @tap.stop="tapLbs(item)">
- <image class="witeIcon" src="/static/img/shop-location.png"></image>
- <text class="text">导航</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <customer-wiget ref="customer"></customer-wiget>
- <view class="popwin" v-if="isGg && showData">
- <view class="bg"></view>
- <view class="body">
- <image src="/static/img/index_bg.png" class="bgimg"></image>
- <view class="inner-top"></view>
- <view class="inner">
- <text class="inner-title">
- {{title}}
- </text>
- <scroll-view scroll-y class="max-he">
- <uv-parse :content="content"></uv-parse>
- </scroll-view>
- <view class="foot">
- <view class="btnBox">
- <text class="btn" @tap="tapYGdBtn">未阅读,去查看></text>
- </view>
- </view>
- </view>
- <view class="m-close">
- <image src="/static/img/btn-close.png" @tap="isGg = false" class="icon"></image>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- import maoScroll from '@/components/mao-scroll/mao-scroll.nvue';
- import customerWiget from '@/components/ui-public/customer-wiget.nvue';
- import upApp from "@/library/upapp.js"
- import {
- mapState,
- mapMutations
- } from 'vuex';
- import request from '@/library/Request.js'
- import utils from "@/library/utils/Comm.js"
- export default {
- computed: {
- ...mapState(['user', 'lbs', 'sysData', 'showData']),
- },
- components: {
- maoScroll,
- customerWiget
- },
- watch: {
- showData(newValue, oldValue) {
- this.isShowInit(newValue);
- }
- },
- data() {
- return {
- statusBarHeight: 20,
- windowHeight: 0,
- topData: {
- banner: [],
- notice: [],
- product: []
- },
- content: "",
- title: '',
- isGg: false,
- gGid: 0,
- merchantData: [],
- guData: null,
- merchantCount: 0,
- page: {
- page: 1,
- isLoad: false,
- isFoot: false
- },
- wenAr: {},
- isLoad: false,
- maxheight: 0, //滚轮页面高度
- }
- },
- onLoad() {
- this.initView();
- this.isShowInit(false);
- upApp();
- },
- onReady() {
- const that = this;
- uni.getSystemInfo({
- success: (resu) => {
- try {
- // console.log(resu,'resu')
- that.statusBarHeight = resu.statusBarHeight;
- // that.windowHeight = resu.windowHeight
- } catch (err) {
- console.log(err)
- }
- }
- });
- },
- onReachBottom() {
- if (this.page.isFoot || this.page.isLoad) {
- return;
- }
- this.page.page++;
- this.getData();
- },
- methods: {
- // ...mapMutations(['setSys', 'getGps']),
- AllApp() {
- return getApp()
- },
- isShowInit(type) {
- // console.log(type,'type11111111111111')
- uni.setTabBarItem({
- index: 1,
- visible: type,
- });
- uni.setTabBarItem({
- index: 2,
- visible: type,
- })
- },
- initView: function() {
- const that = this
- request
- .post("indexInit")
- .then(res => {
- // console.log(res,'resssss')
- uni.hideLoading();
- if (res.code == 200) {
- this.isLoad = true;
- this.topData = res.data;
- this.getData(true);
- //获取文票系统
- this.wenpiao();
- if (this.user != null) {
- //获取自己场馆
- this.getGu();
- }
- let gongId = uni.getStorageSync('gonggao') || '';
- if (this.topData.notice.length > 0 && gongId != this.topData.notice[0].id) {
- this.gGid = this.topData.notice[0].id;
- this.getNoticPop(this.topData.notice[0].id);
- }
- }
- })
- .catch(err => {
- utils.Tip("加载失败,重新点击尝试!" + JSON.stringify(error));
- uni.hideLoading();
- });
- this.initSys();
- },
- /**
- * 基本逻辑
- */
- initSys: function() {
- const that = this;
- if (plus != null) {
- plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
- let versionCode = wgtinfo.versionCode;
- request.post("sysInit", {
- code: versionCode
- })
- .then(res => {
- if (res.code == 200) {
- that.$store.commit('setSys', res.data)
- if (res.data.is_audit == 0) {
- that.$store.commit('getGps', {
- page: that,
- fn: (res) => {
- console.log(res);
- that.getData(true);
- },
- err: (err) => {
- that.getData(true);
- }
- })
- }
- }
- });
- });
- }
- },
- /**
- * 重要提示
-
- * @param {Object} id
- */
- getNoticPop: function(id) {
- request
- .post("getContent", {
- id: id
- })
- .then(res => {
- // console.log(res);
- if (res.code == 200) {
- this.title = res.data.title;
- this.content = res.data.content;
- // console.log(this.content, 'this.content')
- this.isGg = true;
- }
- })
- .catch(err => {
- utils.Tip("网络错误,请稍后尝试");
- });
- },
- /**
- * 确认阅读公告
- */
- tapYGdBtn: function() {
- this.isGg = false;
- uni.setStorageSync('gonggao', this.gGid);
- uni.navigateTo({
- url: '../news/index?id=' + this.gGid
- });
- },
- wenpiao: function() {
- request
- .get("tradeweb")
- .then(res => {
- uni.hideLoading();
- if (res.code == 200) {
- this.wenAr = res.data;
- }
- });
- },
- /**
- * 最新门店
- */
- getData: function(isPull = false) {
- if (this.page.isLoad) return;
- this.page.isLoad = true;
- var post = {};
- post.page = this.page.page;
- //gps位置
- if (this.lbs != null) {
- post.lat = utils.isDefine(this.lbs.latitude) ? this.lbs.latitude : 0;
- post.lng = utils.isDefine(this.lbs.longitude) ? this.lbs.longitude : 0;
- }
- request
- .post("merchants", post)
- .then(res => {
- uni.hideLoading();
- if (res.code == 200) {
- this.merchantData = res.data.result;
- this.merchantCount = res.data.count;
- this.page.isFoot = true;
- this.isLoad = true;
- }
- })
- .catch(error => {
- console.log(error);
- uni.hideLoading();
- utils.Tip("加载失败,重新点击尝试!");
- });
- },
- getGu: function() {
- request
- .get("indexGu")
- .then(res => {
- uni.hideLoading();
- if (res.code == 200) {
- this.guData = res.data.guData;
- }
- });
- },
- /**
- * 更多
- */
- tapNews: function() {
- uni.navigateTo({
- url: "../news/list"
- });
- },
- /**
- * 打开
- * @param {Object} ev
- */
- tapOpen: function(ev) {
- let url = ev.currentTarget.dataset.url;
- console.log(url,'url')
- utils.navigateTo(url);
- },
- /**
- * 打开
- * @param {Object} ev
- */
- tapOpen2: function(ev) {
- let url = ev.currentTarget.dataset.url;
- if (!utils.isDefine(this.user)) {
- uni.navigateTo({
- url: "/pages/login/index"
- });
- return;
- }
- utils.navigateTo(url);
- },
- /**
- * 拨打电话
- */
- tapTel: function(item) {
- if (item.tel == null) {
- utils.showAlert({
- title: "系统提示",
- content: "暂无联系方式"
- });
- return;
- }
- const info = uni.getSystemInfoSync();
- if (info.platform == 'android') {
- uni.showModal({
- content: "确认拨打" + item.tel,
- confirmText: "确定",
- cancelText: "取消",
- success: (res) => {
- if (res.confirm) {
- this.$store.dispatch('permission/requestPermissions', 'CALL_PHONE').then(
- res => {
- if (res !== 1) return;
- uni.makePhoneCall({
- phoneNumber: item.tel,
- fail: (res) => {
- console.log("aaaaa");
- uni.showModal({
- content: JSON.stringify(res)
- });
- },
- complete: (xx) => {
- console.log(xx);
- console.log("ad");
- }
- });
- });
- }
- }
- });
- } else {
- uni.makePhoneCall({
- phoneNumber: item.tel,
- });
- }
- },
- tapLbs: function(item) {
- uni.openLocation({
- latitude: Number(item.lat),
- longitude: Number(item.lng),
- name: item.name,
- address: item.address,
- scale: 12,
- success: function() {
- console.log('success');
- },
- fail: function(res) {
- },
- })
- },
- }
- }
- </script>
- <style lang="scss">
- .swiper-box {}
- .app {
- background-color: #FEF7F5;
- }
- .mtop {
- margin-top: -500rpx;
- width: 750rpx;
-
- .top-body {
- .panel {
- flex: 1;
- flex-direction: row;
- align-items: center;
- padding: 20rpx 30rpx;
-
- .inputIndex {
- flex: 1;
- z-index: 2;
- padding-right: 20rpx;
-
- .inputText {
- background-color: #FFF;
- border-radius: 100px;
- line-height: 1;
- padding: 20rpx;
- }
-
- .text {
- font-size: 24rpx;
- color: rgba(170, 170, 170, 1);
- }
- }
-
- .index-img {
- width: 80rpx;
- height: 48rpx;
- }
-
- .information {
- width: 38rpx;
- height: 38rpx;
- }
- }
- }
-
- }
- .app-top {
- height: 500rpx;
- width: 750rpx;
- .atop1 {
- height: 500rpx;
- .top2-bg {
- height: 500rpx;
- width: 750rpx;
- background-image: linear-gradient(to right, #FEA9C8, #FFA18E);
- .top3-bg {
- height: 500rpx;
- width: 750rpx;
- background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #FEF7F5);
- }
- }
- }
- .atop2 {
- background: #fff;
- }
- }
- //消息信息
- .grid-bg {
- padding: 0 32rpx;
- margin-top: 20rpx;
- .gridItem {
- background-color: #FFF;
- padding: 20rpx 0;
- border-radius: 20rpx;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- }
- //9宫格
- .grid {
- .item {
- width: 140rpx;
- flex: 1;
- align-items: center;
- .icon {
- width: 90rpx;
- height: 90rpx;
- }
- .label {
- font-size: 12px;
- color: #0C1732;
- margin-top: 16rpx;
- }
- }
- }
- //消息通知
- .news-panel {
- padding: 15rpx 20rpx;
- background-color: #FFF;
- margin-top: 20rpx;
- border-radius: 20rpx;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- .box-panel {
- flex: 1;
- }
- .titleBorder {
- border: 1px solid #000;
- }
- .icon {
- width: 28rpx;
- height: 28rpx;
- }
- .label {
- margin: 0px 10rpx;
- font-weight: bold;
- font-size: 26rpx;
- color: #FF4C4C;
- }
- .icon-right {
- width: 30rpx;
- height: 6rpx;
- }
- .line {
- height: 15px;
- line-height: 15px;
- color: #575656;
- font-size: 26rpx;
- text-overflow: ellipsis;
- lines: 1;
- }
- }
- }
- //抢货通道
- .team-buy {
- margin: 15rpx 10rpx 0rpx 30rpx;
- height: 240rpx;
- width: 690rpx;
- .teamBg {
- width: 690rpx;
- height: 240rpx;
- }
- .team-show {
- color: #fff;
- padding-top: 40rpx;
- margin-top: -200rpx;
- align-items: center;
- justify-content: center;
- .labelBox {
- padding-top: 20rpx;
- .label {
- line-height: 45rpx;
- font-weight: bold;
- font-size: 45rpx;
- color: #FFF;
- }
- }
- .guNicknameBox {
- margin-top: 20rpx;
- padding: 8rpx 30rpx;
- background-color: #fffdf1;
- border: 1px solid #EDC299;
- border-radius: 100rpx;
- box-shadow: 4rpx 4rpx 10rpx 2rpx #FCD3BF inset;
- }
- .guNickname {
- font-weight: bold;
- font-size: 28rpx;
- color: #EA3616;
- }
- }
- }
- .top {
- padding-top: 30rpx;
- position: relative;
- height: 123rpx;
- .topBgImg {
- width: 690rpx;
- height: 74rpx;
- }
- .icon {
- width: 96rpx;
- height: 110rpx;
- position: absolute;
- top: 0rpx;
- left: 0;
- z-index: 999;
- }
- .topTitle {
- margin-top: -60rpx;
- flex: 1;
- position: relative;
- flex-direction: row;
- padding-left: 86rpx;
- padding-right: 50rpx;
- justify-content: space-between;
- .label {
- color: #fff;
- font-weight: bold;
- font-size: 34rpx;
- margin-left: 12rpx;
- padding-top: 10rpx;
- }
- .more {
- padding-top: 20rpx;
- .text {
- color: #FFF;
- font-size: 24rpx;
- }
- }
- }
- }
- //产品中心
- .goods {
- padding: 0rpx 30rpx 30rpx;
- .goods-items {
- border: 2px solid rgba(255, 51, 44, 1);
- border-bottom-left-radius: 20rpx;
- border-bottom-right-radius: 20rpx;
- padding: 20rpx;
- margin-top: -24rpx;
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: space-between;
- .item {
- width: 310rpx;
- margin-bottom: 20rpx;
- box-shadow: 0px 0px 20px 0px rgba(50, 50, 52, 0.1);
- border-radius: 20rpx;
- background-color: #FFF;
- .nimg {
- flex: 1;
- height: 310rpx;
- border-radius: 20rpx 20rpx 0 0;
- }
- .title {
- padding: 20rpx 20rpx 0;
- text-overflow: ellipsis;
- lines: 2;
- color: #333333;
- font-weight: bold;
- font-size: 30rpx;
- }
- .iview {
- padding: 20rpx 20rpx;
- flex-direction: row;
- justify-content: space-between;
- .score {
- flex-direction: row;
- align-items: flex-end;
- .goods-name {
- color: #FF4C4C;
- font-weight: bold;
- font-size: 36rpx;
- }
- .tag {
- font-weight: bold;
- font-size: 18rpx;
- color: #FF4C4C;
- }
- }
- .btn {
- background-image: linear-gradient(143.2747deg, #FF6A00, #EE0979);
- border-radius: 40rpx;
- padding: 10rpx 28rpx;
- font-size: 22rpx;
- color: #FFFFFF;
- }
- }
- }
- }
- }
- //最新门店
- .shop {
- padding: 20rpx 30rpx;
- .shop-items {
- border: 2px solid rgba(255, 51, 44, 1);
- border-bottom-left-radius: 20rpx;
- border-bottom-right-radius: 20rpx;
- padding: 20rpx;
- .item {
- margin-top: 30rpx;
- flex-direction: row;
- .img {
- width: 180rpx;
- height: 180rpx;
- border-radius: 10rpx;
- }
- .info {
- position: relative;
- margin-left: 20rpx;
- width: 440rpx;
- border-bottom: 1px solid #F8F8F8;
- align-items: flex-start;
- .iview-top {
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- .title {
- font-weight: bold;
- font-size: 34rpx;
- color: #333333;
- width: 300rpx;
- text-overflow: ellipsis;
- lines: 1;
- }
- .ii {
- flex-direction: row;
- .shopTipIcon {
- width: 20rpx;
- height: 28rpx;
- margin-right: 8rpx
- }
- .iiText {
- font-weight: 400;
- font-size: 22rpx;
- color: #666666;
- }
- }
- }
- .address {
- flex-direction: row;
- margin-top: 20rpx;
- .icon {
- width: 28rpx;
- height: 28rpx;
- }
- .value {
- width: 400rpx;
- text-overflow: ellipsis;
- lines: 1;
- font-size: 22rpx;
- color: #666666;
- opacity: 0.5;
- padding-left: 10rpx;
- }
- }
- .tel {
- flex-direction: row;
- margin-top: 16rpx;
- .icon {
- width: 28rpx;
- height: 28rpx;
- }
- .value {
- font-size: 22rpx;
- color: #666666;
- opacity: 0.5;
- margin-left: 10rpx;
- }
- }
- .business {
- background: rgba(252, 243, 240, 0.8);
- border-radius: 16rpx 16rpx 16rpx 0px;
- padding: 10rpx 10rpx;
- margin-bottom: 20rpx;
- .businessText {
- font-weight: bold;
- font-size: 24rpx;
- color: #FF6F0F;
- }
- }
- .wiget {
- position: absolute;
- flex-direction: row;
- justify-content: space-between;
- right: 0;
- bottom: 20rpx;
- width: 120rpx;
- .wline {
- margin: 0px 24rpx;
- height: 40rpx;
- width: 1px;
- background: #eee;
- }
- .witem {
- align-items: center;
- .witeIcon {
- width: 46rpx;
- height: 46rpx;
- }
- .text {
- font-size: 28rpx;
- color: #666666;
- margin-top: 8rpx;
- }
- }
- }
- }
- }
- }
- }
- /**弹出框 **/
- .popwin {
- position: fixed;
- width: 750rpx;
- top: 0;
- left: 0;
- bottom: 0;
- z-index: 88;
- justify-content: center;
- align-items: center;
- }
- .popwin .bg {
- background: rgba(0, 0, 0, 0.5);
- width: 750rpx;
- position: absolute;
- left: 0;
- top: 0;
- bottom: 0;
- }
- .popwin .body {
- position: relative;
- border-radius: 8px;
- width: 600rpx;
- align-items: center;
- }
- .popwin .body .bgimg {
- width: 600rpx;
- height: 900rpx;
- position: absolute;
- top: 0;
- bottom: 0;
- }
- .popwin .body .inner {
- position: relative;
- z-index: 99;
- width: 670rpx;
- padding: 0px 40rpx;
- align-items: center;
- }
- .inner-title {
- color: #FC2D47;
- padding: 25rpx 0rpx;
- font-size: 36rpx;
- font-weight: bold;
- }
- .inner-top {
- height: 225rpx
- }
- .max-he {
- height: 322rpx;
- margin: 0 20rpx;
- width: 500rpx;
- }
- .foot {
- height: 195rpx;
- width: 337rpx;
- margin-top: 60rpx;
- }
- .popwin .btnBox {
- height: 66rpx;
- align-items: center;
- justify-content: center;
- background-image: linear-gradient(0deg, #FAC37B, #FFF5B0);
- box-shadow: 2px 7px 7px 0px rgba(161, 23, 36, 0.4);
- border-radius: 15rpx;
- .btn {
- font-size: 38rpx;
- color: #97000E;
- }
- }
- .popwin .m-close {
- margin-top: 10px;
- }
- .popwin .m-close .icon {
- width: 120rpx;
- height: 120rpx;
- }
- .app-body {
- .swiper-img {
- margin: 0 30rpx;
- }
- }
- </style>
|