99 lines
2.4 KiB
Plaintext
99 lines
2.4 KiB
Plaintext
<!--packageH/starMusic/starMusicIndex/starMusicIndex.wxml-->
|
|
|
|
<import src="../../../wxParse/wxParse.wxml" />
|
|
<view class="header">
|
|
<view class="header_content">
|
|
<view class="inputWrapper">
|
|
<view class="input">
|
|
<icon class="iconfont icon-all_search_2"></icon>
|
|
<input placeholder="搜索商品" model:value="{{searchText}}" confirm-type="search" bindconfirm="onSearch" ></input>
|
|
</view>
|
|
</view>
|
|
<view class="explain" bindtap="setExplainFlag" >活动说明</view>
|
|
</view>
|
|
<view class="brand">
|
|
<swiper class="my-swipe"
|
|
autoplay="3000"
|
|
wx:if="{{slide.length>0}}">
|
|
<swiper-item wx:for="{{slide}}" wx:key="index">
|
|
<image src="{{item.thumb}}" mode="aspectFill"></image>
|
|
</swiper-item>
|
|
</swiper>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="items" wx:if="{{listData.length>0}}">
|
|
<view class="item" wx:for="{{listData}}" wx:key="goods_id">
|
|
<view class="face">
|
|
<image src="{{item.thumb}}" ></image>
|
|
</view>
|
|
<view class="container">
|
|
<view class="name">
|
|
{{item.title}}
|
|
</view>
|
|
<view class="money">
|
|
<text class="c1">¥</text>
|
|
<text class="c2">{{item.min_price}}</text>
|
|
<text class="c3" wx:if="{{market_price}}">¥{{item.market_price}}</text>
|
|
</view>
|
|
<view class="num">
|
|
<icon class="iconfont icon-fx_haoyou"></icon>
|
|
<text class="text">{{item.limit_num}}人</text>
|
|
</view>
|
|
</view>
|
|
<view class="btn" bindtap="gotoStarMusicGoodsDetails" data-goodsid="{{item.goods_id}}">去参团 <icon class="iconfont icon-member_right"></icon></view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="float">
|
|
<view class="btn" bindtap="gotoStarMusicOpenGroup">
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/star_music_open_group.png" ></image>
|
|
</view>
|
|
<view class="btn" bindtap="gotoStarMusicMy">
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/star_music_my.png" ></image>
|
|
</view>
|
|
</view>
|
|
|
|
<van-popup custom-style="width: 680rpx; border-radius: 49rpx;" show="{{explainFlag}}" bind:close="setExplainFlag">
|
|
<view class="explainWrapper">
|
|
<view class="header">
|
|
<view style="line-height: 70rpx;">说明</view>
|
|
<icon class="iconfont icon-guanbi" catchtap="setExplainFlag"></icon>
|
|
</view>
|
|
<view class="content">
|
|
<!-- <rich-text nodes="{{share.explain}}"></rich-text> -->
|
|
<block wx:if="{{article.nodes}}">
|
|
<template is="wxParse" data="{{wxParseData:article.nodes}}" />
|
|
</block>
|
|
</view>
|
|
</view>
|
|
</van-popup>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|