Commit 807dd899 authored by 程新智's avatar 程新智 👽

手机号禁用

parent 556519f3
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
<input <input
type="text" type="text"
class="input" class="input"
:disabled="item.disabled"
placeholder-class="plaClass" placeholder-class="plaClass"
:placeholder="item.placeholder" :placeholder="item.placeholder"
v-model="item.rules.value" v-model="item.rules.value"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div class="time__content"> <div class="time__content">
<div class="time__top"> <div class="time__top">
<div> <div>
<image src="@/static/shop/item.jpg" /> <!-- <image src="@/static/shop.jpg" /> -->
</div> </div>
<div> <div>
<div> <div>
...@@ -189,6 +189,8 @@ export default { ...@@ -189,6 +189,8 @@ export default {
border-bottom: 1rpx solid rgba(0, 0, 0, .1); border-bottom: 1rpx solid rgba(0, 0, 0, .1);
>div:nth-of-type(1) { >div:nth-of-type(1) {
width: 110rpx;
height: 110rpx;
image { image {
width: 110rpx; width: 110rpx;
height: 110rpx; height: 110rpx;
......
...@@ -61,6 +61,7 @@ export default { ...@@ -61,6 +61,7 @@ export default {
placeholder: "请填写", placeholder: "请填写",
label: "手机号", // 提示输入名 label: "手机号", // 提示输入名
type: "text", //类型 type: "text", //类型
disabled: true, //是否禁用
rules: { rules: {
name: "mobile", //字段名 即提交给后端的字段 name: "mobile", //字段名 即提交给后端的字段
value: "12563996933", value: "12563996933",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment