Files
wdsxh/unpackage/dist/dev/mp-weixin/pages/component/diy/infoCardDiy.wxml
2026-04-29 15:33:58 +08:00

1 line
1010 B
Plaintext

<view class="diy-info-card" style="{{'padding:'+(paddingTop+' '+paddingLeft)+';'+('background:'+(showStyle.background)+';')+('border-radius:'+(itemBorderRadius)+';')}}"><image class="card-image" style="{{'border-radius:'+(borderRadius)+';'}}" mode="aspectFill" src="{{$root.m0}}"></image><view class="card-box"><view class="title">{{showParams.title}}</view><view class="content">{{showParams.content}}</view><block wx:if="{{showParams.link&&showParams.link.type=='Service'}}"><button class="btn clear" style="{{'background:'+(showStyle.btnBackground)+';'+('border-radius:'+(btnBorderRadius)+';')+('color:'+(showStyle.btnColor)+';')}}" open-type="contact">{{showParams.btnTxt}}</button></block><block wx:else><view data-event-opts="{{[['tap',[['onClick',['$0'],['showParams.link']]]]]}}" class="btn" style="{{'background:'+(showStyle.btnBackground)+';'+('border-radius:'+(btnBorderRadius)+';')+('color:'+(showStyle.btnColor)+';')}}" bindtap="__e"><text>{{showParams.btnTxt}}</text></view></block></view></view>