canyin-project/yb_wm/unpackage/dist/build/mp-weixin/components/drag/notice.wxml
2024-11-01 16:07:54 +08:00

1 line
1.9 KiB
Plaintext

<view class="notice data-v-9f0938dc" style="{{'margin-top:'+(co.marginTop+u)+';'+('margin-bottom:'+(co.marginBottom+u)+';')+('margin-left:'+(co.marginLR+u)+';')+('margin-right:'+(co.marginLR+u)+';')}}"><view class="f-y-c p02 data-v-9f0938dc" style="{{'background:'+(co.colorBg)+';'+('border-radius:'+(co.circle+u)+';')}}"><view class="f-g-0 data-v-9f0938dc"><block wx:if="{{co.title}}"><view class="ggbt wei mr20 data-v-9f0938dc" style="{{'color:'+(co.color)+';'}}">{{co.title}}</view></block><block wx:else><block class="data-v-9f0938dc"><block wx:if="{{co.hand[0].img}}"><view class="limg mr20 data-v-9f0938dc"><mg-img vue-id="46be255e-1" m="aspectFit" src="{{co.hand[0].img}}" class="data-v-9f0938dc" bind:__l="__l"></mg-img></view></block><block wx:else><text class="iconfont icongg mt0 f38 mr10 data-v-9f0938dc"></text></block></block></block></view><view class="f-g-1 ngr b-s1 bs10 data-v-9f0938dc" style="{{'height:'+(notice?'70rpx':'')+';'}}"><block wx:if="{{type==1&&notice}}"><uni-notice-bar vue-id="46be255e-2" scrollable="{{true}}" single="{{true}}" color="{{ptype==1?co.colorWord:co.hand[0].img?tColor:'#8B5C42'}}" background-color="{{co.backgroundColor}}" text="{{notice}}" class="data-v-9f0938dc" bind:__l="__l"></uni-notice-bar></block><block wx:else><swiper class="wh data-v-9f0938dc" circular="true" vertical="true" autoplay="{{true}}" interval="2000"><block wx:for="{{nlist}}" wx:for-item="v" wx:for-index="i" wx:key="i"><block class="data-v-9f0938dc"><swiper-item data-event-opts="{{[['tap',[['goDl',['$0'],[[['nlist','',i]]]]]]]}}" class="f-c-xc data-v-9f0938dc" catchtap="__e"><view class="c6 f24 t-o-e data-v-9f0938dc" style="{{'color:'+(co.colorWord)+';'}}">{{v.title}}</view></swiper-item></block></block></swiper></block></view><block wx:if="{{arrow&&!notice}}"><text class="iconfont iconright data-v-9f0938dc" style="{{'color:'+(co.colorWord)+';'}}"></text></block></view></view>