<!-- nova-shop/pages/cates/article-detail/index.wxml -->
<nav type="back" background-color="#ffffff" title="{{title}}" />
<block wx:if="{{showheader}}">
    <view class="title">{{article.title}}</view>
    <view class="date">
        {{article.author.nickname}}
        <span class="date_text">| {{article.date}}| {{article.pageView}}阅读</span>
    </view>
</block>
<view class="article_info">
    <!--<view class="hred_cont" wx:if="{{article.image || article.video}}">
        <video wx:if="{{article.video}}" class="cont" src="{{article.video}}" />
        <image wx:if="{{article.image}}" class="cont" src="{{article.image}}" />
    </view>-->
    <view class="desc" wx:if="{{article.desc}}">{{article.desc}}</view>
    <block wx:if="{{article && article.content}}">
        <view class="article_info_content">
            <rich-text nodes="{{article.content}}" style="width: 92%;height: 100%; margin: 0 auto;"></rich-text>
        </view>
    </block>
    <block wx:if="{{!article.content}}">
        <view class="article_no_content">暂无内容</view>
    </block>
</view>
<button wx:if="{{showfoot && type == 'open-shop'}}" class="open_button" bindtap="shopsubmit">
    立即开店
</button>
<view class="shop-mask" catchtouchmove="shoppreventTouchMove" wx:if="{{twoModal}}">
    <view class="shop-modalDlg" wx:if="{{twoModal}}">
        <block wx:if="{{tives == 1}}">
            <text class='modalDlg-txtt'>填写信息，我们会马上联系你</text>
            <view class="input-txt">姓名</view>
            <input value="{{name}}" data-name="name" class="input" placeholder-class="shop-input" placeholder="请输入您的姓名" bindblur="blur" />
            <view class="input-txt">手机号</view>
            <input value="{{mobile}}" class="input" data-name="mobile" placeholder-class="shop-input" placeholder="请输入您的手机号" bindblur="blur" />
            <image src="https://file-cloud.fmode.cn/lb486SzXLP/20211104/i717lg055104.png" class="ruleHide" bindtap="hideRule" />
            <button class="confirm-next" data-tives="2" bindtap="nextstep">下一步</button>
        </block>
        <block wx:if="{{tives == 2}}">
            <text class='modalDlg-txtt'>填写信息，我们会马上联系你</text>
            <view class="input-txt">公司名字</view>
            <input value="{{company}}" class="input" data-name="company" placeholder-class="shop-input" placeholder="请输入公司名称" bindinput="userNameInput" />
            <view class="input-txt">所在地区</view>
            <picker class="input-address" mode="region" bindchange="bindRegionChange" value="{{region}}" custom-item="{{customItem}}">
                <view class="shop-inputs">{{region[0]}} {{region[1]}} {{region[2]}}</view>
            </picker>
            <view class="input-txt">意向产品</view>
            <input value="{{product}}" data-name="product" class="input" placeholder-class="shop-input" placeholder="请选择" bindinput="userNameInput" />
            <image src="https://file-cloud.fmode.cn/lb486SzXLP/20211104/i717lg055104.png" class="ruleHide" bindtap="hideRule" />
            <image src="https://file-cloud.fmode.cn/lb486SzXLP/20211115/3oofva031047.png" class="return" data-tives="1" bindtap="prostep" />
            <button class="confirm-next" bindtap="submit">立即提交</button>
        </block>
    </view>
</view>