supplierRegisreAlert.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <template name="alert">
  2. <view class="alert spec" :class="specClass">
  3. <!-- 运费弹窗说明 -->
  4. <view class="freight-alert">
  5. <view class="content clearfix">
  6. <view class="text">采美采购商城(隶属于采美365网)是美容行业一站式B2B采购交易服务平台,供应商入驻需平台审核。注册说明如下,请您仔细阅读:</view>
  7. <view class="text">1、本商城商品需绝对保证正品,谢绝非自营/自有品牌(以登记备案为准),代理商应出具授权书等说明文件,杜绝山寨、假冒伪劣等侵权、侵害他人利益的行为。</view>
  8. <view class="text">2、注册需要提供公司名称、营业执照、公司地址、联系人等基本信息。</view>
  9. <view class="text">3、供应商注册审核通过后需缴纳平台信息服务管理费用。</view>
  10. <view class="register-agree">
  11. <view class="agree-text" @tap.stop="agreeCheck()">
  12. <button class="checkbox iconfont" :class="[isCheck?'icon-gouxuan':'icon-weigouxuan']"></button>
  13. <text class="text">我已阅读供应商注册需知</text>
  14. </view>
  15. </view>
  16. <view class="text-btn">
  17. <view class="btn" :class="isCheck?'':'none'" @click.stop="hideAlert">确定</view>
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. </template>
  23. <script>
  24. import { cancelPrompt } from "@/api/use.js"
  25. export default{
  26. name:'alert',
  27. props:{
  28. clubStatus:{
  29. type:Number
  30. }
  31. },
  32. data() {
  33. return{
  34. isCheck:false
  35. }
  36. },
  37. created() {
  38. this.status = this.clubStatus
  39. },
  40. onLoad(){
  41. },
  42. methods:{
  43. hideAlert(){
  44. if(!this.isCheck){
  45. return
  46. }
  47. this.$parent.isSupplierAlert = false
  48. },
  49. agreeCheck() {
  50. this.isCheck = !this.isCheck
  51. }
  52. },
  53. onShow(){
  54. }
  55. }
  56. </script>
  57. <style lang="scss">
  58. /*弹窗*/
  59. .model-warp.none{
  60. display: none;
  61. }
  62. .model-warp.show{
  63. display: block;
  64. }
  65. .freight-alert{
  66. width: 100%;
  67. height: 100%;
  68. background: rgba(0,0,0,.5);
  69. position: fixed;
  70. top: 0;
  71. left: 0;
  72. z-index: 8888;
  73. transition: all 0.4s;
  74. &.none{
  75. display: none;
  76. }
  77. &.show{
  78. display: block;
  79. }
  80. .content{
  81. width: 580rpx;
  82. height: 720rpx;
  83. position: absolute;
  84. left: 0;
  85. right: 0;
  86. bottom: 0;
  87. top: 0;
  88. margin: auto;
  89. border-radius: 16rpx;
  90. padding: 30rpx;
  91. box-sizing: border-box;
  92. background-color: #FFFFFF;
  93. .text{
  94. line-height: 44rpx;
  95. font-size: $font-size-26;
  96. color: #666666;
  97. text-align: justify;
  98. }
  99. .register-agree{
  100. display: flex;
  101. flex-direction: column;
  102. align-items: center;
  103. margin: 20rpx 0;
  104. .agree-text{
  105. .checkbox{
  106. float: left;
  107. margin: 4rpx 6rpx 0 0;
  108. color: #999999;
  109. font-size: $font-size-34;
  110. &.icon-gouxuan{
  111. color: $color-system;
  112. }
  113. }
  114. font-size: $font-size-22;
  115. line-height: 44rpx;
  116. color: #999999;
  117. .text{
  118. color:#1890f9;
  119. }
  120. }
  121. }
  122. .text-btn{
  123. width: 100%;
  124. height: auto;
  125. margin-top: 20rpx;
  126. .btn{
  127. width: 420rpx;
  128. height: 84rpx;
  129. margin: 0 auto;
  130. background: $btn-confirm;
  131. line-height: 84rpx;
  132. font-size: $font-size-28;
  133. text-align: center;
  134. color: #FFFFFF;
  135. border-radius: 42rpx;
  136. padding: 0;
  137. &.none{
  138. background: #e1e1e1;
  139. color: #FFFFFF;
  140. }
  141. }
  142. }
  143. }
  144. }
  145. </style>