微信小程序开发,实现手机号注册的功能模块,去除了网络请求,网络请求的地方可以使用wx提供的网络请求的API完成。[效果展示][目录结构][贴代码]register.wxmlview class="contai ...
微信小程序开发,实现手机号注册的功能模块,去除了网络请求,网络请求的地方可以使用wx提供的网络请求的API完成。
[效果展示]
[目录结构]
[贴代码]
register.wxml
[html] view plain copy
<view class="container" style="height: {{windowHeight}}px">
<!--第一步-->
<view wx:if="{{step == 1}}" id="firstStep_Pad" class="container" style="height:auto;">
<text class="grayLineHeng" style="margin-top:55rpx" />
<view style="width:{{windowWidth}}px;" class="container-hang">
<text style="color:#c9c9c9;margin:33rpx 0 33rpx 0; width:460rpx;text-align:center;">国家/地区</text>
<text class="grayLineShu" style="height:auto"></text>
<text style="color:#000;width:100%;text-align: center;margin-top:33rpx">{{location}}</text>
</view>
<text class="grayLineHeng" />
<view class="container-hang" style="width:{{windowWidth}}px;">
<image src="{{icon_phone}}" style="width:49rpx; height: 49rpx; margin:28rpx"/>