ui
叶富雄
2026-03-14 b34744f5bb68ed1ba7d1dd5251298a42e4aaaf9c
pages/ginfo/ginfo.vue
@@ -1,10 +1,10 @@
<template>
   <view>
      <view class="banner">
         <image class="backLeft" src="/static/imgs/blackleft.png"  @click="$util.goBack"></image>
         <image class="backLeft" src="/static/imgs/blackleft.png" mode="" @click="$util.goBack"></image>
         <swiper class="swiper" circular @change="durationChange" :indicator-dots="indicatorDots" :indicator-color="indicatorColor" :autoplay="autoplay" :indicator-active-color="indicatorActiveColor" :interval="interval" :duration="duration">
            <swiper-item v-for="(item, index) in goodsData.banner" :key="index">
               <image lazy-load :src="item" ></image>
            <swiper-item v-for="(item, index) in goodsData.banner">
               <image lazy-load :src="item" mode=""></image>
            </swiper-item>
         </swiper>
         <view class="bannerIndex">{{bannerIndex}}/{{goodsData.bannerCount}}</view>
@@ -17,7 +17,7 @@
            <text>积分:{{goodsData.points}}</text>
         </view>
         <view class="collect" @tap="collectGoods">
            <image :src="goodsData.collect == 1 ? '/static/imgs/colls.png' : '/static/imgs/coll.png'" ></image>
            <image :src="goodsData.collect == 1 ? '/static/imgs/colls.png' : '/static/imgs/coll.png'" mode=""></image>
         </view>
      </view>
      <view class="gInfo-title">商品详情</view>
@@ -25,19 +25,19 @@
      <view class="gBtn">
         <view class="gBtn-view" @tap="$util.goSwitch('/pages/index/index')">
            <view class="">
               <image src="/static/imgs/home.png" ></image>
               <image src="/static/imgs/home.png" mode=""></image>
               <view>首页</view>
            </view>
         </view>
         <view class="gBtn-view" @tap="goKefu">
            <view class="">
               <image src="/static/imgs/message.png" ></image>
               <image src="/static/imgs/message.png" mode=""></image>
               <view>客服</view>
            </view>
         </view>
         <view class="gBtn-view" @tap="addCarts">
            <view class="">
               <image src="/static/imgs/carts.png" ></image>
               <image src="/static/imgs/carts.png" mode=""></image>
               <view>购物车</view>
            </view>
         </view>