Commit 09f2a502 authored by 聂春风's avatar 聂春风

updata:引导new

parent 5c9429ad
......@@ -90,6 +90,38 @@
padding-bottom: 32px;
border-radius: 12px;
}
.home .guider-bg {
position: absolute;
width: 100%;
height: 100%;
top: -80px;
left: -20px;
padding: 20px;
padding-top: 80px;
background-color: #fff;
border-radius: 20px;
.guider-btn{
pointer-events: all;
position: absolute;
left: 0;
top: 0;
width: 750px;
height: 300px;
z-index: 1;
&::after{
display: block;
content: '';
width: 383px;
height: 216px;
background: url("//yun.duiba.com.cn/h5/miniprogram/kejiji/web/dianji-tip-2.png") no-repeat center;
background-size: 100% 100%;
position: absolute;
z-index: 2;
right: 75px;
top: 350px;
}
}
}
.home{
border-radius: 20px;
width: 670px;
......
<template>
<div class="page" :class="{hiding:hiding}">
<!-- <div class="tip">{{tip}}</div> -->
<section class="today-news" :class="{hiding:hiding}">
<section class="today-news">
<div class="title">今日早报</div>
<a class="home nocolor" @click="showToday">
<div class="f-shadow">
......@@ -13,12 +13,15 @@
<div class="tip2"><div class="nums">2</div>{{subTitle2}}</div>
<div class="go-more"></div>
</div>
<div class="guider-bg" v-if="hiding">
<div class="guider-btn"></div>
</div>
</a>
</section>
<section class="activity">
<div class="title" :class="{hiding:hiding}">展业活动</div>
<div class="act-shadow" v-for="(item, index) in activitLyist" :key="index" :class="{'hiding':hiding&&index>0}">
<div class="act-shadow" v-for="(item, index) in activitLyist" :key="index" :class="{'hiding':hiding}">
<div class="act-img" :style="{'background-image': 'url(' + item.pic + ')'}"></div>
<div class="act-info">
<div class="act-title">{{item.title}}</div>
......@@ -156,12 +159,15 @@ export default {
// src: this.src
// })
// })
let url = formatUrl('/pages/news/news_today/main', {
let params = {
scid: id,
n: Math.random(),
title: this.title,
src: this.src
})
};
if(step) params.shareGuide = true;
let url = formatUrl('/pages/news/news_today/main', params);
wx.miniProgram.navigateTo({
url: url
......@@ -356,9 +362,6 @@ export default {
}
else{
let url = `/pages/share/main?scid=${id}`;
if(step){
url = url + "&shareGuide=true";
}
wx.miniProgram.navigateTo({url: url});
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment