supplierRegisreAlert.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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="title">供应商注册需知</view>
  7. <view class="text">采美采购商城(隶属于采美365网)是美容行业一站式B2B采购交易服务平台,供应商入驻需平台审核。注册说明如下,请您仔细阅读:</view>
  8. <view class="text">1、本商城商品需绝对保证正品,谢绝非自营/自有品牌(以登记备案为准),代理商应出具授权书等说明文件,杜绝山寨、假冒伪劣等侵权、侵害他人利益的行为。</view>
  9. <view class="text">2、注册需要提供公司名称、营业执照、公司地址、联系人等基本信息。</view>
  10. <view class="text">3、供应商注册审核通过后需缴纳平台信息服务管理费用。</view>
  11. <view class="register-agree">
  12. <view class="agree-text" @tap.stop="agreeCheck()">
  13. <button class="checkbox iconfont" :class="[isCheck?'icon-gouxuan':'icon-weigouxuan']"></button>
  14. <text class="text">我已阅读供应商注册需知</text>
  15. </view>
  16. </view>
  17. <view class="text-btn">
  18. <view class="btn" :class="isCheck?'':'none'" @click.stop="hideAlert">确定</view>
  19. </view>
  20. </view>
  21. </view>
  22. </view>
  23. </template>
  24. <script>
  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: 770rpx;
  83. position: absolute;
  84. left: 0;
  85. right: 0;
  86. bottom: 0;
  87. top: 0;
  88. margin: auto;
  89. border-radius: 16rpx;
  90. padding: 0 30rpx 30rpx 30rpx;
  91. box-sizing: border-box;
  92. background-color: #FFFFFF;
  93. .title{
  94. line-height: 80rpx;
  95. font-size: $font-size-30;
  96. color: #333333;
  97. text-align: center;
  98. font-weight: bold;
  99. }
  100. .text{
  101. line-height: 44rpx;
  102. font-size: $font-size-26;
  103. color: #666666;
  104. text-align: justify;
  105. }
  106. .register-agree{
  107. display: flex;
  108. flex-direction: column;
  109. align-items: center;
  110. margin: 20rpx 0;
  111. .agree-text{
  112. .checkbox{
  113. float: left;
  114. margin: 4rpx 6rpx 0 0;
  115. color: #999999;
  116. font-size: $font-size-34;
  117. &.icon-gouxuan{
  118. color: $color-system;
  119. }
  120. }
  121. font-size: $font-size-22;
  122. line-height: 44rpx;
  123. color: #999999;
  124. .text{
  125. color:#1890f9;
  126. }
  127. }
  128. }
  129. .text-btn{
  130. width: 100%;
  131. height: auto;
  132. margin-top: 20rpx;
  133. .btn{
  134. width: 420rpx;
  135. height: 84rpx;
  136. margin: 0 auto;
  137. background: $btn-confirm;
  138. line-height: 84rpx;
  139. font-size: $font-size-28;
  140. text-align: center;
  141. color: #FFFFFF;
  142. border-radius: 42rpx;
  143. padding: 0;
  144. &.none{
  145. background: #e1e1e1;
  146. color: #FFFFFF;
  147. }
  148. }
  149. }
  150. }
  151. }
  152. </style>