|
|
@@ -8,6 +8,11 @@
|
|
|
:style="'opacity:' + opacity"
|
|
|
ref="header"
|
|
|
>
|
|
|
+ <router-link
|
|
|
+ to="/"
|
|
|
+ class="iconfont icon-xiangzuo"
|
|
|
+ style="color: #000000; font-size: 20px; padding-right: 35px;"
|
|
|
+ ></router-link>
|
|
|
<div
|
|
|
class="item"
|
|
|
:class="navActive === index ? 'on' : ''"
|
|
|
@@ -177,6 +182,10 @@
|
|
|
</div>
|
|
|
<user-evaluation :reply="reply" v-if="replyCount"></user-evaluation>
|
|
|
</div>
|
|
|
+ <div class="product-intro" id="title3">
|
|
|
+ <div class="title">产品介绍</div>
|
|
|
+ <div class="conter" v-html="storeInfo.description"></div>
|
|
|
+ </div>
|
|
|
<div class="superior" v-if="goodList.length > 0" id="title2">
|
|
|
<div class="title acea-row row-center-wrapper">
|
|
|
<img src="@assets/images/ling.png" />
|
|
|
@@ -222,10 +231,6 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</div>
|
|
|
- <div class="product-intro" id="title3">
|
|
|
- <div class="title">产品介绍</div>
|
|
|
- <div class="conter" v-html="storeInfo.description"></div>
|
|
|
- </div>
|
|
|
<div style="height:1.2rem;"></div>
|
|
|
<div class="footer acea-row row-between-wrapper">
|
|
|
<div class="item" @click="$router.push({ path: '/customer/list/' + id })">
|
|
|
@@ -283,17 +288,13 @@
|
|
|
class="generate-posters acea-row row-middle"
|
|
|
:class="posters ? 'on' : ''"
|
|
|
>
|
|
|
- <div
|
|
|
- class="item"
|
|
|
- v-if="weixinStatus === true"
|
|
|
- @click="setShareInfoStatus"
|
|
|
- >
|
|
|
+ <div class="item" @click="setShareInfoStatus">
|
|
|
<div class="iconfont icon-weixin3"></div>
|
|
|
<div class="">发送给朋友</div>
|
|
|
</div>
|
|
|
<div class="item" @click="setPosterImageStatus">
|
|
|
- <div class="iconfont icon-haibao"></div>
|
|
|
- <div class="">生成海报</div>
|
|
|
+ <div class="iconfont icon-weixin3"></div>
|
|
|
+ <div class="">发送到朋友圈</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div
|
|
|
@@ -591,7 +592,7 @@ import { swiper, swiperSlide } from "vue-awesome-swiper";
|
|
|
import "@assets/css/swiper.min.css";
|
|
|
import ProductConSwiper from "@components/ProductConSwiper";
|
|
|
import UserEvaluation from "@components/UserEvaluation";
|
|
|
-import ShareRedPackets from "@components/ShareRedPackets";
|
|
|
+// import ShareRedPackets from "@components/ShareRedPackets";
|
|
|
import CouponPop from "@components/CouponPop";
|
|
|
import ProductWindow from "@components/ProductWindow";
|
|
|
import StorePoster from "@components/StorePoster";
|
|
|
@@ -626,7 +627,6 @@ export default {
|
|
|
swiperSlide,
|
|
|
ProductConSwiper,
|
|
|
UserEvaluation,
|
|
|
- ShareRedPackets,
|
|
|
CouponPop,
|
|
|
ProductWindow,
|
|
|
StorePoster,
|
|
|
@@ -887,8 +887,14 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
setShareInfoStatus: function() {
|
|
|
- this.shareInfoStatus = !this.shareInfoStatus;
|
|
|
- this.posters = false;
|
|
|
+ if (isWeixin()) {
|
|
|
+ this.shareInfoStatus = !this.shareInfoStatus;
|
|
|
+ this.posters = false;
|
|
|
+ } else {
|
|
|
+ this.posters = false;
|
|
|
+ console.log("todo wechat friend");
|
|
|
+ // todo wechat send to friend
|
|
|
+ }
|
|
|
},
|
|
|
shareCode: function(value) {
|
|
|
var that = this;
|
|
|
@@ -898,10 +904,11 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
setPosterImageStatus: function() {
|
|
|
- var sTop = document.body || document.documentElement;
|
|
|
- sTop.scrollTop = 0;
|
|
|
- this.posterImageStatus = !this.posterImageStatus;
|
|
|
+ // var sTop = document.body || document.documentElement;
|
|
|
+ // sTop.scrollTop = 0;
|
|
|
+ // this.posterImageStatus = !this.posterImageStatus;
|
|
|
this.posters = false;
|
|
|
+ console.log("todo wechat friends");
|
|
|
},
|
|
|
//产品详情接口;
|
|
|
productCon: function() {
|