@@ -8,10 +8,11 @@ | |||
*.json | |||
# 忽略 dist 目录(通常编译后的文件会放在 dist 目录中) | |||
/dist/ | |||
dist/ | |||
# 忽略 node_modules 目录 | |||
/node_modules/ | |||
node_modules/ | |||
# 忽略 HBuilderX 生成的 unpackage 目录 | |||
/unpackage/ | |||
unpackage/ | |||
.DS_Store |
@@ -9,9 +9,9 @@ | |||
<view class="form-box"> | |||
<u--form labelPosition="left" :model="form" :rules="rules" ref="uForm"> | |||
<!-- <u-form-item label="号码" prop="userInfo.name" borderBottom> | |||
<u-form-item label="号码" prop="userInfo.name" borderBottom> | |||
<u-input v-model="form.userInfo.phone" border="none" placeholder="请输入手机号" type="number"></u-input> | |||
</u-form-item> --> | |||
</u-form-item> | |||
<u-form-item label="验证码" prop="userInfo.name" borderBottom labelWidth="60"> | |||
<u--input v-model="form.userInfo.code" border="none" placeholder="请输入验证码" type="number"></u--input> | |||
<u-code :seconds="seconds" @end="end" @start="start" ref="uCode" | |||
@@ -1,4 +1,4 @@ | |||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["node-modules/uview-ui/components/u--input/u--input"],{260:function(n,e,t){"use strict";t.r(e);var u=t(261),r=t(263);for(var i in r)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(i);var o,c=t(32),d=Object(c["default"])(r["default"],u["render"],u["staticRenderFns"],!1,null,null,null,!1,u["components"],o);d.options.__file="node_modules/uview-ui/components/u--input/u--input.vue",e["default"]=d.exports},261:function(n,e,t){"use strict";t.r(e);var u=t(262);t.d(e,"render",(function(){return u["render"]})),t.d(e,"staticRenderFns",(function(){return u["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return u["recyclableRender"]})),t.d(e,"components",(function(){return u["components"]}))},262:function(n,e,t){"use strict";var u;t.r(e),t.d(e,"render",(function(){return r})),t.d(e,"staticRenderFns",(function(){return o})),t.d(e,"recyclableRender",(function(){return i})),t.d(e,"components",(function(){return u}));var r=function(){var n=this,e=n.$createElement;n._self._c;n._isMounted||(n.e0=function(e){return n.$emit("focus",e)},n.e1=function(e){return n.$emit("blur",e)},n.e2=function(e){return n.$emit("keyboardheightchange",e)},n.e3=function(e){return n.$emit("change",e)},n.e4=function(e){return n.$emit("input",e)},n.e5=function(e){return n.$emit("confirm",e)})},i=!1,o=[];r._withStripped=!0},263:function(n,e,t){"use strict";t.r(e);var u=t(264),r=t.n(u);for(var i in u)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return u[n]}))}(i);e["default"]=r.a},264:function(n,e,t){"use strict";(function(n){var u=t(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=u(t(257)),i=function(){t.e("node-modules/uview-ui/components/u-input/u-input").then(function(){return resolve(t(252))}.bind(null,t)).catch(t.oe)},o={name:"u--input",mixins:[n.$u.mpMixin,r.default,n.$u.mixin],components:{uvInput:i}};e.default=o}).call(this,t(2)["default"])}}]); | |||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["node-modules/uview-ui/components/u--input/u--input"],{260:function(n,e,t){"use strict";t.r(e);var u=t(261),r=t(263);for(var i in r)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(i);var o,c=t(32),d=Object(c["default"])(r["default"],u["render"],u["staticRenderFns"],!1,null,null,null,!1,u["components"],o);d.options.__file="node_modules/uview-ui/components/u--input/u--input.vue",e["default"]=d.exports},261:function(n,e,t){"use strict";t.r(e);var u=t(262);t.d(e,"render",(function(){return u["render"]})),t.d(e,"staticRenderFns",(function(){return u["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return u["recyclableRender"]})),t.d(e,"components",(function(){return u["components"]}))},262:function(n,e,t){"use strict";var u;t.r(e),t.d(e,"render",(function(){return r})),t.d(e,"staticRenderFns",(function(){return o})),t.d(e,"recyclableRender",(function(){return i})),t.d(e,"components",(function(){return u}));var r=function(){var n=this,e=n.$createElement;n._self._c;n._isMounted||(n.e0=function(e){return n.$emit("focus",e)},n.e1=function(e){return n.$emit("blur",e)},n.e2=function(e){return n.$emit("keyboardheightchange",e)},n.e3=function(e){return n.$emit("change",e)},n.e4=function(e){return n.$emit("input",e)},n.e5=function(e){return n.$emit("confirm",e)})},i=!1,o=[];r._withStripped=!0},263:function(n,e,t){"use strict";t.r(e);var u=t(264),r=t.n(u);for(var i in u)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return u[n]}))}(i);e["default"]=r.a},264:function(n,e,t){"use strict";(function(n){var u=t(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=u(t(257)),i=function(){Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-input/u-input")]).then(function(){return resolve(t(252))}.bind(null,t)).catch(t.oe)},o={name:"u--input",mixins:[n.$u.mpMixin,r.default,n.$u.mixin],components:{uvInput:i}};e.default=o}).call(this,t(2)["default"])}}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u--input/u--input.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u--input/u--input-create-component', | |||
@@ -3,6 +3,7 @@ | |||
"usingComponents": { | |||
"u--form": "/node-modules/uview-ui/components/u--form/u--form", | |||
"u-form-item": "/node-modules/uview-ui/components/u-form-item/u-form-item", | |||
"u-input": "/node-modules/uview-ui/components/u-input/u-input", | |||
"u--input": "/node-modules/uview-ui/components/u--input/u--input", | |||
"u-code": "/node-modules/uview-ui/components/u-code/u-code", | |||
"u-button": "/node-modules/uview-ui/components/u-button/u-button", | |||
@@ -1 +1 @@ | |||
<view class="app-container"><view class="main"><view class="img-box"><image class="img_login" showLoading="{{true}}" src="{{img_login}}" mode="widthFix"></image></view><view class="login-box"><view class="form-box"><u--form class="vue-ref" vue-id="6b4b36ba-1" labelPosition="left" model="{{form}}" rules="{{rules}}" data-ref="uForm" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('6b4b36ba-2')+','+('6b4b36ba-1')}}" label="验证码" prop="userInfo.name" borderBottom="{{true}}" labelWidth="60" bind:__l="__l" vue-slots="{{['default','right']}}"><u--input bind:input="__e" vue-id="{{('6b4b36ba-3')+','+('6b4b36ba-2')}}" border="none" placeholder="请输入验证码" type="number" value="{{form.userInfo.code}}" data-event-opts="{{[['^input',[['__set_model',['$0','code','$event',[]],['form.userInfo']]]]]}}" bind:__l="__l"></u--input><u-code class="vue-ref" vue-id="{{('6b4b36ba-4')+','+('6b4b36ba-2')}}" seconds="{{seconds}}" data-ref="uCode" data-event-opts="{{[['^end',[['end']]],['^start',[['start']]],['^change',[['codeChange']]]]}}" bind:end="__e" bind:start="__e" bind:change="__e" bind:__l="__l"></u-code><u-button vue-id="{{('6b4b36ba-5')+','+('6b4b36ba-2')}}" slot="right" color="#f8f8f8" type="default" size="normal" data-event-opts="{{[['^click',[['getCode']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><u--text vue-id="{{('6b4b36ba-6')+','+('6b4b36ba-5')}}" color="#333" text="{{tips}}" bind:__l="__l"></u--text></u-button></u-form-item></u--form></view><view class="action-box"><view class="btn-box"><u-button vue-id="6b4b36ba-7" color="{{bgthemeColor}}" type="info" size="large" data-event-opts="{{[['^click',[['login',['phone']]]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><text class="{{['black',!checked?'gray':'']}}">手机号码登录</text></u-button></view><view class="btn-box"><u-button vue-id="6b4b36ba-8" color="{{bgthemeColor}}" type="info" size="large" data-event-opts="{{[['^click',[['login',['wx']]]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><text class="{{['black',!checked?'gray':'']}}">微信一键登录</text></u-button></view></view><view class="agree-box"><u-checkbox-group vue-id="6b4b36ba-9" bind:__l="__l" vue-slots="{{['default']}}"><u-checkbox vue-id="{{('6b4b36ba-10')+','+('6b4b36ba-9')}}" shape="circle" size="20" value="{{checked}}" data-event-opts="{{[['^change',[['onChange']]],['^input',[['__set_model',['','checked','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-checkbox></u-checkbox-group><view class="agree-text">同意<text data-event-opts="{{[['tap',[['onUserAgreement',['$event']]]]]}}" class="blue" bindtap="__e">用户协议</text>和<text class="blue">隐私协议</text></view></view></view></view></view> | |||
<view class="app-container"><view class="main"><view class="img-box"><image class="img_login" showLoading="{{true}}" src="{{img_login}}" mode="widthFix"></image></view><view class="login-box"><view class="form-box"><u--form class="vue-ref" vue-id="6b4b36ba-1" labelPosition="left" model="{{form}}" rules="{{rules}}" data-ref="uForm" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('6b4b36ba-2')+','+('6b4b36ba-1')}}" label="号码" prop="userInfo.name" borderBottom="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('6b4b36ba-3')+','+('6b4b36ba-2')}}" border="none" placeholder="请输入手机号" type="number" value="{{form.userInfo.phone}}" data-event-opts="{{[['^input',[['__set_model',['$0','phone','$event',[]],['form.userInfo']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('6b4b36ba-4')+','+('6b4b36ba-1')}}" label="验证码" prop="userInfo.name" borderBottom="{{true}}" labelWidth="60" bind:__l="__l" vue-slots="{{['default','right']}}"><u--input bind:input="__e" vue-id="{{('6b4b36ba-5')+','+('6b4b36ba-4')}}" border="none" placeholder="请输入验证码" type="number" value="{{form.userInfo.code}}" data-event-opts="{{[['^input',[['__set_model',['$0','code','$event',[]],['form.userInfo']]]]]}}" bind:__l="__l"></u--input><u-code class="vue-ref" vue-id="{{('6b4b36ba-6')+','+('6b4b36ba-4')}}" seconds="{{seconds}}" data-ref="uCode" data-event-opts="{{[['^end',[['end']]],['^start',[['start']]],['^change',[['codeChange']]]]}}" bind:end="__e" bind:start="__e" bind:change="__e" bind:__l="__l"></u-code><u-button vue-id="{{('6b4b36ba-7')+','+('6b4b36ba-4')}}" slot="right" color="#f8f8f8" type="default" size="normal" data-event-opts="{{[['^click',[['getCode']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><u--text vue-id="{{('6b4b36ba-8')+','+('6b4b36ba-7')}}" color="#333" text="{{tips}}" bind:__l="__l"></u--text></u-button></u-form-item></u--form></view><view class="action-box"><view class="btn-box"><u-button vue-id="6b4b36ba-9" color="{{bgthemeColor}}" type="info" size="large" data-event-opts="{{[['^click',[['login',['phone']]]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><text class="{{['black',!checked?'gray':'']}}">手机号码登录</text></u-button></view><view class="btn-box"><u-button vue-id="6b4b36ba-10" color="{{bgthemeColor}}" type="info" size="large" data-event-opts="{{[['^click',[['login',['wx']]]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><text class="{{['black',!checked?'gray':'']}}">微信一键登录</text></u-button></view></view><view class="agree-box"><u-checkbox-group vue-id="6b4b36ba-11" bind:__l="__l" vue-slots="{{['default']}}"><u-checkbox vue-id="{{('6b4b36ba-12')+','+('6b4b36ba-11')}}" shape="circle" size="20" value="{{checked}}" data-event-opts="{{[['^change',[['onChange']]],['^input',[['__set_model',['','checked','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-checkbox></u-checkbox-group><view class="agree-text">同意<text data-event-opts="{{[['tap',[['onUserAgreement',['$event']]]]]}}" class="blue" bindtap="__e">用户协议</text>和<text class="blue">隐私协议</text></view></view></view></view></view> |