<web-view style="" src="{{src}}" >
<cover-view wx:if="{{loding&&goodsid&&goodsid!='null'}}" class="bottom-right" bindtap="showChoose" data-status="buy">预约登记</cover-view>
<cover-view class="hei" wx:if="{{hideChoose}}" bindtap="hideChoose"></cover-view>
<cover-view class="tc" wx:if="{{hideChoose}}">
<cover-view class="tc-main">
<cover-view class="tc-main-top">
<cover-view class="tc-main-top-left">
<cover-image src="{{url}}{{showGoods.picture}}"></cover-image>
</cover-view>
<cover-view class="tc-main-top-right">
<cover-view class="tc-main-top-right-top">
{{showGoods.name}}
</cover-view>
<cover-view class="tc-main-top-right-bottom">
<cover-view class="tc-main-top-right-bottom-left">
¥{{showGoods.vipprice}}
</cover-view>
</cover-view>
</cover-view>
</cover-view>
<cover-view style="overflow:hidden" wx:for="{{specifcationList}}" wx:key="spcifcation" wx:for-index="sindex" data-sindex="{{sindex}}" data-speindex='{{sindex}}' bindtap="chooseFather">
<cover-view class="tc-main-middle">
{{item.name}}
</cover-view>
<cover-view class="tc-main-middle-main" style="{{item.choose == '1' ? 'background:#00923f;color:#fff':''}}" wx:for="{{item.specifcationValueList}}" wx:key="specifcationValue" wx:for-index="svindex" data-svindex="{{svindex}}" data-spevalueindex='{{svindex}}' bindtap="chooseSon">
{{item.name}}
</cover-view>
</cover-view>
</cover-view>
<cover-view class="tc-bottom" bindtap="{{status == 'buy' ? 'buy' : 'addCaritem'}}">
确认
</cover-view>
</cover-view>
</web-view>
不建议这样使用
web-view里面还插入原生组件?这是段神奇的代码啊?
不是直接用src里面的h5网页控制的么?