toJoin.vue 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. <template>
  2. <view class="all">
  3. <u-navbar title="我要加盟"></u-navbar>
  4. <view class="main">
  5. <view class="main-content">
  6. <p class="title">适合对象</p>
  7. <view class="text">
  8. 已经在经营充电桩业务的商家,可以申请加入“<text style="color: #e14173;">51充电联盟</text>”。
  9. </view>
  10. <p class="title">平台能为您提供:</p>
  11. <view class="text-box">
  12. <p>1.便捷的找桩、充电服务,提升用户体验。</p>
  13. <p>2.获得更多的用户资源和运营支持,提高市场竞争力。</p>
  14. <p>3.良好的平台背书,提高公信力</p>
  15. </view>
  16. </view>
  17. <view class="application-form ">
  18. <view class="name">
  19. <p>申请人姓名</p>
  20. <u-input placeholder=""></u-input>
  21. </view>
  22. <view class="tel">
  23. <p>联系电话</p>
  24. <u-input placeholder=""></u-input>
  25. </view>
  26. <view class="place">
  27. <p>自有电桩地点</p>
  28. <textarea class="textarea" placeholder="填写详细位置"></textarea>
  29. </view>
  30. <view class="type">
  31. <p>场地类型</p>
  32. <view class="checkbox">
  33. <view class="">
  34. <u-checkbox-group @change="checkboxGroupChange" active-color="#00B962">
  35. <u-checkbox
  36. @change="checkboxChange"
  37. v-model="item.checked"
  38. v-for="(item, index) in typeList" :key="index"
  39. :name="item.name"
  40. >{{item.name}}</u-checkbox>
  41. </u-checkbox-group>
  42. </view>
  43. </view>
  44. </view>
  45. <view class="want">
  46. <p>自由电桩数量</p>
  47. <view class="radio-box">
  48. <view class="">
  49. <u-radio-group v-model="value" @change="radioGroupChange" active-color="#00B962">
  50. <u-radio
  51. @change="radioChange"
  52. v-for="(item, index) in numlist" :key="index"
  53. :name="item.name"
  54. :disabled="item.disabled"
  55. >
  56. {{item.name}}
  57. </u-radio>
  58. </u-radio-group>
  59. </view>
  60. </view>
  61. </view>
  62. <view class="hint">
  63. *请保持手机畅通,我们将安排专人与您联系。您也可以拨打
  64. <text class="tel-num">400-8899-619</text>查询申请审核进度!
  65. </view>
  66. <u-button type="warning">提交申请</u-button>
  67. </view>
  68. </view>
  69. </view>
  70. </template>
  71. <script>
  72. export default{
  73. data() {
  74. return {
  75. elderMode:false,
  76. typeList: [
  77. {
  78. name: '电动汽车充电桩(快充)',
  79. checked: false,
  80. disabled: false
  81. },
  82. {
  83. name: '电动汽车充电桩(慢充)',
  84. checked: false,
  85. disabled: false
  86. },
  87. {
  88. name: '电动摩托/自行车充电桩',
  89. checked: false,
  90. disabled: false
  91. }
  92. ],
  93. numlist: [
  94. {
  95. name: '5台以内',
  96. disabled: false
  97. },
  98. {
  99. name: '5~10台',
  100. disabled: false
  101. },
  102. {
  103. name: '10台以上',
  104. disabled: false
  105. }
  106. ],
  107. // u-radio-group的v-model绑定的值如果设置为某个radio的name,就会被默认选中
  108. value: 'orange',
  109. };
  110. },
  111. methods:{
  112. theme(type) {
  113. if(type == 'elder')
  114. {
  115. document.getElementsByTagName('body')[0].setAttribute('data-theme',type);
  116. let data = {
  117. "font-size":'32rpx',
  118. "font-weight":'bold!important'
  119. };
  120. this.titleStyle = data;
  121. }
  122. else
  123. {
  124. document.getElementsByTagName('body')[0].setAttribute('data-theme',type);
  125. let data = {
  126. "font-size":'28rpx'
  127. };
  128. this.titleStyle = data;
  129. }
  130. }
  131. },
  132. onReady(){
  133. this.elderMode = this.carhelp.get('getElderModeClass') == '长辈模式';
  134. if(this.elderMode)
  135. this.theme('elder')
  136. else
  137. this.theme('standard')
  138. }
  139. }
  140. </script>
  141. <style>
  142. page {
  143. background:url(../../static/img/earth_@2.png) no-repeat top center #00b962 ;
  144. background-size: 100%;
  145. background-position: 50% 4%
  146. }
  147. </style>
  148. <style lang="scss" scoped>
  149. @import "@/_theme.scss";
  150. .all{
  151. @include themeify{
  152. font-size: themed('font-size1');
  153. }
  154. }
  155. .main {
  156. width: 100%;
  157. margin-top: 131px;
  158. @include themeify{
  159. line-height: themed('font-size5');
  160. }
  161. /* line-height: 20px;*/
  162. border-radius: 16px;
  163. padding: 0 28px 85px;
  164. .main-content {
  165. padding:24px 24px;
  166. background-color: #fff;
  167. border-radius: 16px;
  168. .title{
  169. /* height: 18px;*/
  170. color: rgba(16, 16, 16, 100);
  171. @include themeify{
  172. font-size: themed('font-size4');
  173. height: themed('font-size4');
  174. }
  175. /* font-size: 18px;*/
  176. font-weight: 600;
  177. }
  178. .text{
  179. margin-top: 12px;
  180. margin-bottom: 24px;
  181. }
  182. .text-box{
  183. margin-top: 12px;
  184. p{
  185. margin-top: 10px;
  186. @include themeify{
  187. line-height: themed('font-size7');
  188. }
  189. /* line-height: 24px;*/
  190. text-align: justify;
  191. }
  192. }
  193. }
  194. .application-form{
  195. background-color: #fff;
  196. border-radius: 16px;
  197. margin-top: 24px;
  198. padding: 24px;
  199. .u-input{
  200. border-radius: 50px;
  201. background-color: rgba(232, 236, 234, 100);
  202. margin-top: 12px;
  203. }
  204. /deep/.uni-input-input{
  205. margin-left: 10px;
  206. }
  207. p{
  208. @include themeify{
  209. font-size: themed('font-size4');
  210. line-height: themed('font-size4');
  211. height: themed('font-size4');
  212. }
  213. /* height: 18px;
  214. line-height: 18px;*/
  215. color: rgba(16, 16, 16, 100);
  216. /* font-size: 18px;*/
  217. }
  218. .tel,.place,.type,.want{
  219. margin-top: 24px;
  220. }
  221. .textarea{
  222. width: 72.2vw;
  223. height: 100px;
  224. border-radius: 22px;
  225. background-color: rgba(232, 236, 234, 100);
  226. margin-top: 12px;
  227. .uni-textarea-placeholder{
  228. padding: 12px;
  229. }
  230. /deep/.uni-textarea-textarea{
  231. margin: 10px;
  232. }
  233. }
  234. .type{
  235. .checkbox{
  236. margin-top: 12px;
  237. /deep/.u-checkbox{
  238. margin-top: 4px;
  239. }
  240. }
  241. }
  242. .want{
  243. .radio-box{
  244. margin-top: 12px;
  245. }
  246. /deep/.u-radio{
  247. width: 50% !important;
  248. margin-top: 4px;
  249. }
  250. }
  251. .hint{
  252. margin-top: 12px;
  253. @include themeify{
  254. font-size: themed('font-size2');
  255. line-height: themed('font-size5');
  256. }
  257. /* font-size: 14px;
  258. line-height: 20px;*/
  259. text-align: justify;
  260. .tel-num{
  261. color: #9FC7FF;
  262. }
  263. }
  264. /deep/.u-btn{
  265. border-radius: 50px ;
  266. margin-top: 24px;
  267. }
  268. }
  269. }
  270. </style>