supplierRegisreAlert.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. import { cancelPrompt } from "@/services/use.js"
  26. export default{
  27. name:'alert',
  28. props:{
  29. clubStatus:{
  30. type:Number
  31. }
  32. },
  33. data() {
  34. return{
  35. isCheck:false
  36. }
  37. },
  38. created() {
  39. this.status = this.clubStatus
  40. },
  41. onLoad(){
  42. },
  43. methods:{
  44. hideAlert(){
  45. if(!this.isCheck){
  46. return
  47. }
  48. this.$parent.isSupplierAlert = false
  49. },
  50. agreeCheck() {
  51. this.isCheck = !this.isCheck
  52. }
  53. },
  54. onShow(){
  55. }
  56. }
  57. </script>
  58. <style lang="scss">
  59. /*弹窗*/
  60. .model-warp.none{
  61. display: none;
  62. }
  63. .model-warp.show{
  64. display: block;
  65. }
  66. .freight-alert{
  67. width: 100%;
  68. height: 100%;
  69. background: rgba(0,0,0,.5);
  70. position: fixed;
  71. top: 0;
  72. left: 0;
  73. z-index: 8888;
  74. transition: all 0.4s;
  75. &.none{
  76. display: none;
  77. }
  78. &.show{
  79. display: block;
  80. }
  81. .content{
  82. width: 580rpx;
  83. height: 770rpx;
  84. position: absolute;
  85. left: 0;
  86. right: 0;
  87. bottom: 0;
  88. top: 0;
  89. margin: auto;
  90. border-radius: 16rpx;
  91. padding: 0 30rpx 30rpx 30rpx;
  92. box-sizing: border-box;
  93. background-color: #FFFFFF;
  94. .title{
  95. line-height: 80rpx;
  96. font-size: $font-size-30;
  97. color: #333333;
  98. text-align: center;
  99. font-weight: bold;
  100. }
  101. .text{
  102. line-height: 44rpx;
  103. font-size: $font-size-26;
  104. color: #666666;
  105. text-align: justify;
  106. }
  107. .register-agree{
  108. display: flex;
  109. flex-direction: column;
  110. align-items: center;
  111. margin: 20rpx 0;
  112. .agree-text{
  113. .checkbox{
  114. float: left;
  115. margin: 4rpx 6rpx 0 0;
  116. color: #999999;
  117. font-size: $font-size-34;
  118. &.icon-gouxuan{
  119. color: $color-system;
  120. }
  121. }
  122. font-size: $font-size-22;
  123. line-height: 44rpx;
  124. color: #999999;
  125. .text{
  126. color:#1890f9;
  127. }
  128. }
  129. }
  130. .text-btn{
  131. width: 100%;
  132. height: auto;
  133. margin-top: 20rpx;
  134. .btn{
  135. width: 420rpx;
  136. height: 84rpx;
  137. margin: 0 auto;
  138. background: $btn-confirm;
  139. line-height: 84rpx;
  140. font-size: $font-size-28;
  141. text-align: center;
  142. color: #FFFFFF;
  143. border-radius: 42rpx;
  144. padding: 0;
  145. &.none{
  146. background: #e1e1e1;
  147. color: #FFFFFF;
  148. }
  149. }
  150. }
  151. }
  152. }
  153. </style>