supplierRegisreAlert.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <template name="alert">
  2. <view class="alert spec" :class="specClass">
  3. <!-- 运费弹窗说明 -->
  4. <view class="freight-alert" @click.stop="unBindUpgrade">
  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="register-agree">
  10. <view class="agree-text" @tap.stop="agreeCheck()">
  11. <button class="checkbox iconfont" :class="[isCheck?'icon-gouxuan':'icon-weigouxuan']"></button>
  12. <text class="text">我已阅读供应商注册需知</text>
  13. </view>
  14. </view>
  15. <view class="text-btn">
  16. <view class="btn" :class="isCheck?'':'none'" @click.stop="hideAlert">确定</view>
  17. </view>
  18. </view>
  19. </view>
  20. </view>
  21. </template>
  22. <script>
  23. import { cancelPrompt } from "@/api/use.js"
  24. export default{
  25. name:'alert',
  26. props:{
  27. clubStatus:{
  28. type:Number
  29. }
  30. },
  31. data() {
  32. return{
  33. isCheck:false
  34. }
  35. },
  36. created() {
  37. this.status = this.clubStatus
  38. },
  39. onLoad(){
  40. },
  41. methods:{
  42. hideAlert(){
  43. if(!this.isCheck){
  44. return
  45. }
  46. this.$parent.isSupplierAlert = false
  47. },
  48. agreeCheck() {
  49. this.isCheck = !this.isCheck
  50. }
  51. },
  52. onShow(){
  53. }
  54. }
  55. </script>
  56. <style lang="scss">
  57. /*弹窗*/
  58. .model-warp.none{
  59. display: none;
  60. }
  61. .model-warp.show{
  62. display: block;
  63. }
  64. .freight-alert{
  65. width: 100%;
  66. height: 100%;
  67. background: rgba(0,0,0,.5);
  68. position: fixed;
  69. top: 0;
  70. left: 0;
  71. z-index: 8888;
  72. transition: all 0.4s;
  73. &.none{
  74. display: none;
  75. }
  76. &.show{
  77. display: block;
  78. }
  79. .content{
  80. width: 580rpx;
  81. height: 650rpx;
  82. position: absolute;
  83. left: 0;
  84. right: 0;
  85. bottom: 0;
  86. top: 0;
  87. margin: auto;
  88. border-radius: 16rpx;
  89. padding: 30rpx;
  90. box-sizing: border-box;
  91. background-color: #FFFFFF;
  92. .text{
  93. line-height: 44rpx;
  94. font-size: $font-size-26;
  95. color: #666666;
  96. text-align: justify;
  97. }
  98. .register-agree{
  99. display: flex;
  100. flex-direction: column;
  101. align-items: center;
  102. margin: 20rpx 0;
  103. .agree-text{
  104. .checkbox{
  105. float: left;
  106. margin: 4rpx 6rpx 0 0;
  107. color: #999999;
  108. font-size: $font-size-34;
  109. &.icon-gouxuan{
  110. color: $color-system;
  111. }
  112. }
  113. font-size: $font-size-22;
  114. line-height: 44rpx;
  115. color: #999999;
  116. .text{
  117. color:#1890f9;
  118. }
  119. }
  120. }
  121. .text-btn{
  122. width: 100%;
  123. height: auto;
  124. margin-top: 20rpx;
  125. .btn{
  126. width: 420rpx;
  127. height: 84rpx;
  128. margin: 0 auto;
  129. background: $btn-confirm;
  130. line-height: 84rpx;
  131. font-size: $font-size-28;
  132. text-align: center;
  133. color: #FFFFFF;
  134. border-radius: 42rpx;
  135. padding: 0;
  136. &.none{
  137. background: #e1e1e1;
  138. color: #FFFFFF;
  139. }
  140. }
  141. }
  142. }
  143. }
  144. </style>