Browse Source

换aapid

test
Enzo 4 years ago
parent
commit
d04d65b84d
  1. 2
      manifest.json
  2. 4
      pages/goodsDetail/index.vue

2
manifest.json

@ -50,7 +50,7 @@
"quickapp" : {}, "quickapp" : {},
/* */ /* */
"mp-weixin" : { "mp-weixin" : {
"appid" : "wxb35ef055a4dd8ad4",
"appid" : "wxeb58570b5e04d147",
"setting" : { "setting" : {
"urlCheck" : false, "urlCheck" : false,
"es6" : false, "es6" : false,

4
pages/goodsDetail/index.vue

@ -3,7 +3,7 @@
<skeleton :loading="skeletonLoading" :row="12" :showAvatar="false" :showTitle="true"> <skeleton :loading="skeletonLoading" :row="12" :showAvatar="false" :showTitle="true">
<block v-if="isRight(goods_detail)"> <block v-if="isRight(goods_detail)">
<!-- 商品图片轮播 --> <!-- 商品图片轮播 -->
<swiper :current="current" :autoplay="true" :interval="2500" :indicator-dots="goods_detail.pictures.length > 1 ? true : false" :circular="true" class="swiper-box" indicator-active-color="#1998FE">
<swiper :current="current" :autoplay="false" :interval="2500" :indicator-dots="goods_detail.pictures.length > 1 ? true : false" :circular="true" class="swiper-box" indicator-active-color="#1998FE">
<swiper-item v-for="(item, index) in goods_detail.pictures" :key="index"> <swiper-item v-for="(item, index) in goods_detail.pictures" :key="index">
<image mode="aspectFill" :src="item" style="width: 100%; height: 100%;" @click="lookImg(index)"></image> <image mode="aspectFill" :src="item" style="width: 100%; height: 100%;" @click="lookImg(index)"></image>
</swiper-item> </swiper-item>
@ -49,7 +49,7 @@
</view> --> </view> -->
<!-- 商品详情 --> <!-- 商品详情 -->
<view class="goods-detail" v-if="goods_detail.know"> <view class="goods-detail" v-if="goods_detail.know">
<view class="lf-font-32 lf-font-bold lf-m-b-20">旅游须知</view>
<view class="lf-font-32 lf-font-bold lf-m-b-20">购买须知</view>
<rich-text :nodes="formatRichText(goods_detail.know)"></rich-text> <rich-text :nodes="formatRichText(goods_detail.know)"></rich-text>
<!-- <image class="goods-img" :src="item" v-for="(item, index) in goods_detail.content" :key="index" v-if="goods_detail.content_type == 'img'"></image> --> <!-- <image class="goods-img" :src="item" v-for="(item, index) in goods_detail.content" :key="index" v-if="goods_detail.content_type == 'img'"></image> -->
</view> </view>

Loading…
Cancel
Save