index.wxml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!-- nova-shop/pages/cates/article-detail/index.wxml -->
  2. <nav type="back" background-color="#ffffff" title="{{title}}" />
  3. <block wx:if="{{showheader}}">
  4. <view class="title">{{article.title}}</view>
  5. <view class="date">
  6. {{article.author.nickname}}
  7. <span class="date_text">| {{article.date}}| {{article.pageView}}阅读</span>
  8. </view>
  9. </block>
  10. <view class="article_info">
  11. <!--<view class="hred_cont" wx:if="{{article.image || article.video}}">
  12. <video wx:if="{{article.video}}" class="cont" src="{{article.video}}" />
  13. <image wx:if="{{article.image}}" class="cont" src="{{article.image}}" />
  14. </view>-->
  15. <view class="desc" wx:if="{{article.desc}}">{{article.desc}}</view>
  16. <block wx:if="{{article && article.content}}">
  17. <view class="article_info_content">
  18. <rich-text nodes="{{article.content}}" style="width: 92%;height: 100%; margin: 0 auto;"></rich-text>
  19. </view>
  20. </block>
  21. <block wx:if="{{!article.content}}">
  22. <view class="article_no_content">暂无内容</view>
  23. </block>
  24. </view>
  25. <button wx:if="{{showfoot && type == 'open-shop'}}" class="open_button" bindtap="shopsubmit">
  26. 立即开店
  27. </button>
  28. <view class="shop-mask" catchtouchmove="shoppreventTouchMove" wx:if="{{twoModal}}">
  29. <view class="shop-modalDlg" wx:if="{{twoModal}}">
  30. <block wx:if="{{tives == 1}}">
  31. <text class='modalDlg-txtt'>填写信息,我们会马上联系你</text>
  32. <view class="input-txt">姓名</view>
  33. <input value="{{name}}" data-name="name" class="input" placeholder-class="shop-input" placeholder="请输入您的姓名" bindblur="blur" />
  34. <view class="input-txt">手机号</view>
  35. <input value="{{mobile}}" class="input" data-name="mobile" placeholder-class="shop-input" placeholder="请输入您的手机号" bindblur="blur" />
  36. <image src="https://file-cloud.fmode.cn/lb486SzXLP/20211104/i717lg055104.png" class="ruleHide" bindtap="hideRule" />
  37. <button class="confirm-next" data-tives="2" bindtap="nextstep">下一步</button>
  38. </block>
  39. <block wx:if="{{tives == 2}}">
  40. <text class='modalDlg-txtt'>填写信息,我们会马上联系你</text>
  41. <view class="input-txt">公司名字</view>
  42. <input value="{{company}}" class="input" data-name="company" placeholder-class="shop-input" placeholder="请输入公司名称" bindinput="userNameInput" />
  43. <view class="input-txt">所在地区</view>
  44. <picker class="input-address" mode="region" bindchange="bindRegionChange" value="{{region}}" custom-item="{{customItem}}">
  45. <view class="shop-inputs">{{region[0]}} {{region[1]}} {{region[2]}}</view>
  46. </picker>
  47. <view class="input-txt">意向产品</view>
  48. <input value="{{product}}" data-name="product" class="input" placeholder-class="shop-input" placeholder="请选择" bindinput="userNameInput" />
  49. <image src="https://file-cloud.fmode.cn/lb486SzXLP/20211104/i717lg055104.png" class="ruleHide" bindtap="hideRule" />
  50. <image src="https://file-cloud.fmode.cn/lb486SzXLP/20211115/3oofva031047.png" class="return" data-tives="1" bindtap="prostep" />
  51. <button class="confirm-next" bindtap="submit">立即提交</button>
  52. </block>
  53. </view>
  54. </view>