提交 13ae858e 编写于 作者: 芊里

快速登录解构赋值去掉

上级 1dc56d7b
<template> <template>
<view class="quick-login-box"> <view class="quick-login-box">
<view class="item" v-for="({id,logo,text,path},index) in servicesList" :key="index" @click="path?to(path):login(id,false)"> <view class="item" v-for="(item,index) in servicesList" :key="index" @click="item.path?to(item.path):login(item.id,false)">
<image class="logo" :src="logo" mode="widthFix"></image> <image class="logo" :src="item.logo" mode="widthFix"></image>
<text class="login-title">{{text}}</text> <text class="login-title">{{item.text}}</text>
</view> </view>
</view> </view>
</template> </template>
......
<template> <template>
<view class="wrap"> <view class="wrap">
<!-- <uni-nav-bar left-icon="back" left-text="返回" right-text="菜单" title="导航栏组件"></uni-nav-bar> -->
<view class="wrap-content"> <view class="wrap-content">
<view class="content"> <view class="content">
<!-- 顶部文字 --> <!-- 顶部文字 -->
...@@ -11,12 +10,12 @@ ...@@ -11,12 +10,12 @@
<uni-forms-item name="phone"> <uni-forms-item name="phone">
<uni-easyinput type="number" class="phone-input-box" :inputBorder="false" <uni-easyinput type="number" class="phone-input-box" :inputBorder="false"
v-model="formData.phone" maxlength="11" placeholder="请输入手机号"> v-model="formData.phone" maxlength="11" placeholder="请输入手机号">
<template slot="left">
<!-- 当前仅支持中国大陆手机号 --> <!-- 当前仅支持中国大陆手机号 -->
<!-- <picker mode="selector" :range="phoneArea" @change="selectPhoneArea"> --> <!-- <template slot="left">
<!-- <text class="phone-area" @click="selectPhoneArea">{{currenPhoneArea}}</text> --> <picker mode="selector" :range="phoneArea" @change="selectPhoneArea">
<!-- </picker> --> <text class="phone-area" @click="selectPhoneArea">{{currenPhoneArea}}</text>
</template> </picker>
</template> -->
</uni-easyinput> </uni-easyinput>
</uni-forms-item> </uni-forms-item>
<button class="send-btn-box" :disabled="!canGetShortMsg" :type="canGetShortMsg?'primary':'default'" <button class="send-btn-box" :disabled="!canGetShortMsg" :type="canGetShortMsg?'primary':'default'"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册