Commit b820eab5 by 李伟康

修复

1 parent a9a228d5
import { preReleaseAppId } from '~/config'
const target = ['ip', 'dev', 'uat', 'prod', 'preRelease']
let index = 1
let index = 2
/**
*
......
......@@ -38,7 +38,7 @@ Page({
if (data.status == -1) {
return wx.showModal({
title: '温馨提示',
content: '问卷已结束。',
content: '问卷活动已结束。',
showCancel: false,
confirmText: '返回首页',
confirmColor: '#3772EC',
......
{
"usingComponents": {
"gl-radio":"./components/Radio/Radio",
"gl-checkbox":"./components/Checkbox/Checkbox",
"gl-select":"./components/Select/Select",
"gl-cascader":"./components/Cascader/Cascader",
"gl-radio": "./components/Radio/Radio",
"gl-checkbox": "./components/Checkbox/Checkbox",
"gl-select": "./components/Select/Select",
"gl-cascader": "./components/Cascader/Cascader",
"van-field": "@vant/weapp/field/index",
"finish":"./components/Finish/Finish"
"finish": "./components/Finish/Finish",
"gl-textarea": "/components/GlTextarea/GlTextarea"
}
}
\ No newline at end of file
......@@ -99,4 +99,8 @@
padding: 0 !important;
height: 100%;
overflow-y: scroll;
}
.van-field__body--textarea,.van-field__control{
height: 100% !important;
}
\ No newline at end of file
......@@ -16,7 +16,7 @@
<gl-checkbox data="{{item.data}}" num="{{index}}" bindchange="change" />
</block>
<block wx:elif="{{item.type == 3}}">
<van-field type="textarea" autosize placeholder="请输入" border="{{ false }}" bindblur="blur" maxlength="{{item.maxLength}}" data-num="{{index}}" />
<gl-textarea placeholder="请输入" maxlength="{{item.maxLength}}" data-num="{{index}}" bindblur="blur"></gl-textarea>
</block>
<block wx:elif="{{item.type == 4}}">
<gl-select data="{{item.data}}" title="{{item.text}}" num="{{index}}" bindchange="change" />
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!