修改小程序bug
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
<u--form labelPosition="left" :model="model">
|
||||
<u-form-item label="公司名称" prop="userInfo.name" borderBottom>
|
||||
<u--input v-model="model.userInfo.name" border="none" placeholder="请输入您的名称"
|
||||
placeholderStyle="color: #CCCCCC;font-size: 24rpx;"></u--input>
|
||||
placeholderStyle="color: #CCCCCC;font-size: 24rpx;" :disabled="disabled"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="公司电话" prop="userInfo.phone" borderBottom>
|
||||
<u--input v-model="model.userInfo.phone" border="none" placeholder="请输入您的电话"
|
||||
placeholderStyle="color: #CCCCCC;font-size: 24rpx;">
|
||||
placeholderStyle="color: #CCCCCC;font-size: 24rpx;" :disabled="disabled">
|
||||
</u--input>
|
||||
</u-form-item>
|
||||
</u--form>
|
||||
@@ -19,6 +19,7 @@
|
||||
name: "myForm",
|
||||
data() {
|
||||
return {
|
||||
disabled: false,
|
||||
model: {
|
||||
userInfo: {
|
||||
name: '',
|
||||
@@ -27,6 +28,9 @@
|
||||
},
|
||||
};
|
||||
},
|
||||
options: {
|
||||
styleIsolation: 'shared', // 解除样式隔离
|
||||
},
|
||||
created() {
|
||||
// if (uni.getStorageSync('com_mobile') && uni.getStorageSync('com_name')) {
|
||||
// this.model.userInfo.name = uni.getStorageSync('com_name')
|
||||
@@ -36,6 +40,8 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
<style scoped>
|
||||
/deep/.u-input__content__field-wrapper__field {
|
||||
background-color: #fff !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user