123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092 |
- <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: {
- 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(error => {
- 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>
|