yunshangxie/unpackage/dist/dev/mp-weixin/pages/index/home.wxml

1 line
11 KiB
Plaintext
Raw Normal View History

2024-05-31 18:06:24 +08:00
<view style="background-color:rgb(235, 244, 247);" class="data-v-14a6ab35"><tn-nav-bar vue-id="ffa1871e-1" isBack="{{false}}" bottomShadow="{{true}}" backgroundColor="#FFFFFF" class="data-v-14a6ab35" bind:__l="__l" vue-slots="{{['default']}}"><view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left data-v-14a6ab35"><view style="text-shadow:1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;width:100%;" class="data-v-14a6ab35"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" style="text-align:center;font-size:32rpx;" bindtap="__e" class="data-v-14a6ab35"><text class="data-v-14a6ab35">{{HomeTitle}}</text></view></view></view></tn-nav-bar><view style="{{'padding-top:'+(vuex_custom_bar_height+'px')+';'}}" class="data-v-14a6ab35"><view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-between data-v-14a6ab35" style="padding-top:30rpx;"><view data-event-opts="{{[['tap',[['openUrl',['/pages/index/search']]]]]}}" class="tn-color-gray--dark data-v-14a6ab35" style="width:100%;margin:0rpx 30rpx 0 30rpx;border-radius:100rpx;padding-left:6rpx;background-color:#ffffff;" bindtap="__e"><tn-notice-bar vue-id="ffa1871e-2" list="{{searlist}}" mode="vertical" leftIconName="search" duration="{{6000}}" class="data-v-14a6ab35" bind:__l="__l"></tn-notice-bar></view><view class="tn-flex data-v-14a6ab35" style="margin:0px 30rpx 0rpx 0rpx;"><tn-button vue-id="ffa1871e-3" backgroundColor="#ffffff" fontColor="#666666" shape="round" width="140rpx" height="70rpx" data-event-opts="{{[['^click',[['openUrl',['/pages/index/search']]]]]}}" bind:click="__e" class="data-v-14a6ab35" bind:__l="__l" vue-slots="{{['default']}}">搜索</tn-button></view></view><swiper class="card-swiper data-v-14a6ab35" style="height:365rpx;" current="0" mode="dot" circular="{{true}}" duration="500" interval="5000" autoplay="{{true}}" data-event-opts="{{[['change',[['cardSwiper',['$event']]]]]}}" bindchange="__e"><block wx:for="{{carousel_list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="{{['data-v-14a6ab35',cardCur==index?'cur':'']}}" style="padding:0px 28rpx;height:380rpx;"><block wx:if="{{item.type==2}}"><video style="width:100%;border-radius:15rpx;height:100%;" id="myVideo" src="{{apiImgUrl+item.image}}" controls="{{false}}" loop="{{true}}" autoplay="{{true}}" object-fit="contain" data-event-opts="{{[['error',[['videoErrorCallback',['$event']]]]]}}" muted="{{true}}" binderror="__e" class="data-v-14a6ab35"></video></block><block wx:if="{{item.type==1}}"><image style="width:100%;height:380rpx;border-radius:15rpx;" src="{{apiImgUrl+item.image}}" mode="aspectFit" class="data-v-14a6ab35"></image></block></swiper-item></block></swiper><view class="indication data-v-14a6ab35"><block wx:for="{{carousel_list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-14a6ab35"><view class="{{['spot','data-v-14a6ab35',cardCur==index?'active':'']}}"></view></block></block></view></view><view class="tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center data-v-14a6ab35" style="padding:0px 28rpx;"><view data-event-opts="{{[['tap',[['openUrl',['/pages/index/pizz_info?id='+association_id]]]]]}}" style="position:relative;padding:20rpx;border-radius:16rpx;height:270rpx;width:100%;background:linear-gradient(275.57deg, rgba(193, 237, 217, 1) 1.39%, rgba(188, 237, 216, 1) 112.49%);" bindtap="__e" class="data-v-14a6ab35"><view style="font-size:32rpx;" class="data-v-14a6ab35">协会简介</view><view style="font-size:22rpx;margin-top:10rpx;" class="data-v-14a6ab35">Association introduction</view><image style="width:150rpx;height:150rpx;position:absolute;right:10rpx;bottom:0;" src="/static/48098165.png" class="data-v-14a6ab35"></image></view><view style="width:100%;margin-left:20rpx;" class="data-v-14a6ab35"><view data-event-opts="{{[['tap',[['openUrl',['/pages/index/service?type='+1]]]]]}}" style="position:relative;padding:20rpx;border-radius:16rpx;height:130rpx;background:linear-gradient(96.63deg, rgba(189, 224, 249, 1) 11.78%, rgba(205, 233, 251, 1) 103.76%);" bindtap="__e" class="data-v-14a