xcx/pages/sp/sp-xq/sp-xq.wxml

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<view class='conter'>
  <!--轮播图-->
  <swiper class="banner" indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-color="#fff" indicator-active-color="#00a99f">
    <swiper-item>
      <image src="{{imgUrl}}{{info.img_url}}" class="slide-image" />
    </swiper-item>
    <block wx:for="{{info.albums}}" wx:key="{{item.id}}">
      <swiper-item>
        <image src="{{item.original_path}}" class="slide-image" />
      </swiper-item>
    </block>
  </swiper>
  <!--产品价格销量-->
  <view class='cp-xl'>
    <text>¥ {{info.fields.sell_price}}</text>
    <text>{{info.title}}</text>
    <text>销量:{{info.fields.sales}}件</text>
  </view>
  <!--产品详情-->
  <view class='cp-xq'>
    <text>商品详情</text>
    <view class='cp-xq-conter'>
      <import src="/wxParse/wxParse.wxml" />
      <view class="wxParse">
        <template is="wxParse" data="{{wxParseData:article_content.nodes}}"></template>
      </view>
    </view>
  </view>

</view>

<!--底部导航-->
<view class="botoom">
  <view class='botoom-view1'>
    <navigator url="/pages/index/index" open-type="navigate">
      <image src='{{imgUrl}}/image/sy-cp.png' />
      <text>首页</text>
    </navigator>
    <navigator url="/pages/gwc/gwc" open-type="navigate">
      <image src='{{imgUrl}}/image/gwc-cp.png' />
      <text>购物车</text>
    </navigator>
  </view>
  <view class='botoom-view2' bindtap='jrgwc'>
    <navigator>
      <text>加入购物车</text>
    </navigator>
    <navigator bindtap='ljgm'>
      <text>立即购买</text>
    </navigator>
  </view>
</view>
<!--加入购物车提醒
<view class="{{gwcts?'gwcts1':'gwcts2'}}"style='z-index:9999'>
  <view class='gwcts-conter'>
  <icon type="success_no_circle" size="40" color="red" />
  <text>成功添加购物车,请在购物车查看~</text>
  </view>
</view>-->
<!--加入购物车购买-->
后面还有 82 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。