闫增涛
2024-09-18 c96612e8a63ecef9590be0f8b5199277ec94e5b9
packageDomain/pages/publickBookForm/index.wxml
@@ -1,103 +1,218 @@
<view class="container" style="height:calc(100vh + {{keyboardHeight ? (keyboardHeight + 'px'):'0'}});padding-bottom:calc(180rpx +  {{keyboardHeight ?  120 + 'px':0}}) ">
  <scroll-view class="scroll content" scroll-y>
    <view class="tips"> 诚挚的欢迎您投稿出书,并郑重承诺:我们将认真审阅所有的来稿,以令人信服的效率、质量和稿酬择优出版! </view>
<view class="container">
  <scroll-view class="scroll content" scroll-y="{{true}}" bindscroll="scroll">
    <view class="tips">
      诚挚的欢迎您投稿出书,并郑重承诺:我们将认真审阅所有的来稿,以令人信服的效率、质量和稿酬择优出版!
    </view>
    <view class="page-body">
      <view class=" baseInfoBox">
      <view class="baseInfoBox">
        <view class="from-item">
          <view class="label"> <text class="icon">*</text>选题名称: </view>
          <view class="item-content">
            <t-textarea placeholder="丛书要列出总名称和各本书的名称" value="{{teacherInfo.topicName}}" disableDefaultPadding="{{true}}" autosize="{{autosize}}" bindchange="onTopicNameInput" />
            <t-textarea
              placeholder="丛书要列出总名称和各本书的名称"
              value="{{teacherInfo.topicName}}"
              disableDefaultPadding="{{true}}"
              autosize="{{autosize}}"
              bindchange="onTopicNameInput"
              bindkeyboardheightchange="bindkeyboardheightchange"
            />
          </view>
        </view>
        <view class="from-item">
          <view class="label"> <text class="icon">*</text>申报人: </view>
          <view class="item-content">
            <t-input placeholder="请输入申报人姓名" borderless value="{{teacherInfo.declarer}}" bindchange="onDeclarerInput" />
            <t-input
              placeholder="请输入申报人姓名"
              borderless
              value="{{teacherInfo.declarer}}"
              bindchange="onDeclarerInput"
              bindkeyboardheightchange="bindkeyboardheightchange"
            />
          </view>
        </view>
        <view class="from-item">
          <view class="label"> <text class="icon">*</text>申报单位: </view>
          <view class="item-content">
            <t-input placeholder="请输入申报单位" borderless value="{{teacherInfo.declarationUnit}}" bindchange="ondeclarationUnitInput" />
            <t-input
              placeholder="请输入申报单位"
              borderless
              value="{{teacherInfo.declarationUnit}}"
              bindchange="ondeclarationUnitInput"
              bindkeyboardheightchange="bindkeyboardheightchange"
            />
          </view>
        </view>
        <view class="from-item">
          <view class="label"> <text class="icon">*</text>学科专业: </view>
          <view class="item-content">
            <t-input placeholder="请输入学科专业" borderless value="{{teacherInfo.disciplineMajor}}" bindchange="onDisciplineMajorInput" />
            <t-input
              placeholder="请输入学科专业"
              borderless
              value="{{teacherInfo.disciplineMajor}}"
              bindchange="onDisciplineMajorInput"
              bindkeyboardheightchange="bindkeyboardheightchange"
            />
          </view>
        </view>
        <view class="from-item">
          <view class="label"> <text class="icon">*</text>作者基本情况: </view>
          <view class="item-content">
            <t-textarea placeholder="姓名、职务、研究领域、思想倾向、师德师风、学术水平、研究成果等" value="{{teacherInfo.authorBasicInformation}}" disableDefaultPadding="{{true}}" autosize="{{autosize}}" bindchange="onAuthorBasicInfoInput" />
            <t-textarea
              placeholder="姓名、职务、研究领域、思想倾向、师德师风、学术水平、研究成果等"
              value="{{teacherInfo.authorBasicInformation}}"
              disableDefaultPadding="{{true}}"
              autosize="{{autosize}}"
              bindchange="onAuthorBasicInfoInput"
              bindkeyboardheightchange="bindkeyboardheightchange"
            />
          </view>
        </view>
        <view class="from-item">
          <view class="label"> <text class="icon">*</text>手机号: </view>
          <view class="item-content">
            <t-input placeholder="输入手机号码" borderless value="{{teacherInfo.phone}}" type="number" tips="{{phoneError ? '手机号输入不正确' : ''}}" bindchange="onPhoneInput" />
            <t-input
              placeholder="输入手机号码"
              borderless
              value="{{teacherInfo.phone}}"
              type="number"
              tips="{{phoneError ? '手机号输入不正确' : ''}}"
              bindchange="onPhoneInput"
              bindkeyboardheightchange="bindkeyboardheightchange"
            />
          </view>
        </view>
        <view class="from-item">
          <view class="label"> <text class="icon">*</text>邮箱: </view>
          <view class="item-content">
            <t-input placeholder="输入邮箱" borderless value="{{teacherInfo.email}}" tips="{{emailError ? '邮箱输入不正确' : ''}}" bindchange="onEmailInput" />
            <t-input
              placeholder="输入邮箱"
              borderless
              value="{{teacherInfo.email}}"
              tips="{{emailError ? '邮箱输入不正确' : ''}}"
              bindchange="onEmailInput"
              bindkeyboardheightchange="bindkeyboardheightchange"
            />
          </view>
        </view>
        <view class="from-item">
          <view class="label"> <text class="icon">*</text>读者对象: </view>
          <view class="item-content">
            <t-input placeholder="定位、范围、数量等" borderless value="{{teacherInfo.targetReaders}}" bindchange="onTargetReadersInput" />
            <t-input
              placeholder="定位、范围、数量等"
              borderless
              value="{{teacherInfo.targetReaders}}"
              bindchange="onTargetReadersInput"
              bindkeyboardheightchange="bindkeyboardheightchange"
            />
          </view>
        </view>
        <view class="from-item">
          <view class="label"> <text class="icon">*</text>选题特色: </view>
          <view class="item-content">
            <t-textarea placeholder="选题背景、主要内容、出版价值等" value="{{teacherInfo.topicFeatures}}" disableDefaultPadding="{{true}}" autosize="{{autosize}}" bindchange="onTopicFeaturesInput" />
            <t-textarea
              placeholder="选题背景、主要内容、出版价值等"
              value="{{teacherInfo.topicFeatures}}"
              disableDefaultPadding="{{true}}"
              autosize="{{autosize}}"
              bindchange="onTopicFeaturesInput"
              bindkeyboardheightchange="bindkeyboardheightchange"
            />
          </view>
        </view>
        <view class="from-item">
          <view class="label"> <text class="empty"></text>选题学术影响与预期社会效益: </view>
          <view class="label">
            <text class="empty"></text>选题学术影响与预期社会效益:
          </view>
          <view class="item-content">
            <t-textarea placeholder="选题学术影响与预期社会效益" value="{{teacherInfo.topicImpactAndExpected}}" disableDefaultPadding="{{true}}" autosize="{{autosize}}" bindchange="onTopicImpactAndExpectedInput" />
            <t-textarea
              placeholder="选题学术影响与预期社会效益"
              value="{{teacherInfo.topicImpactAndExpected}}"
              disableDefaultPadding="{{true}}"
              autosize="{{autosize}}"
              bindchange="onTopicImpactAndExpectedInput"
              bindkeyboardheightchange="bindkeyboardheightchange"
            />
          </view>
        </view>
        <view class="from-item">
          <view class="label"> <text class="empty"></text>选题的进度安排: </view>
          <view class="label">
            <text class="empty"></text>选题的进度安排:
          </view>
          <view class="item-content">
            <t-textarea placeholder="预计来稿时间、出版时间等" value="{{teacherInfo.topicProgress}}" disableDefaultPadding="{{true}}" autosize="{{autosize}}" bindchange="onTopicProgressInput" />
            <t-textarea
              placeholder="预计来稿时间、出版时间等"
              value="{{teacherInfo.topicProgress}}"
              disableDefaultPadding="{{true}}"
              autosize="{{autosize}}"
              bindchange="onTopicProgressInput"
              bindkeyboardheightchange="bindkeyboardheightchange"
            />
          </view>
        </view>
        <view class="from-item">
          <view class="label"> <text class="empty"></text>市场分析: </view>
          <view class="item-content">
            <t-textarea placeholder="市场需求、与同类书的差异和优势、定价标准、预计销量、盈亏分析等,是否有出版资助费" value="{{teacherInfo.marketAnalysis}}" disableDefaultPadding="{{true}}" autosize="{{autosize}}" bindchange="onMarketAnalysisInput" />
            <t-textarea
              placeholder="市场需求、与同类书的差异和优势、定价标准、预计销量、盈亏分析等,是否有出版资助费"
              value="{{teacherInfo.marketAnalysis}}"
              disableDefaultPadding="{{true}}"
              autosize="{{autosize}}"
              bindchange="onMarketAnalysisInput"
              bindkeyboardheightchange="bindkeyboardheightchange"
            />
          </view>
        </view>
        <view class="from-item">
          <view class="label"> <text class="empty"></text>营销与宣传推广计划: </view>
          <view class="label">
            <text class="empty"></text>营销与宣传推广计划:
          </view>
          <view class="item-content">
            <t-textarea placeholder="市场需求、与同类书的差异和优势、定价标准、预计销量、盈亏分析等,是否有出版资助费" value="{{teacherInfo.marketingAndPromotionPlan}}" disableDefaultPadding="{{true}}" autosize="{{autosize}}" bindchange="onMarketingAndPromotionPlanInput" />
            <t-textarea
              placeholder="市场需求、与同类书的差异和优势、定价标准、预计销量、盈亏分析等,是否有出版资助费"
              value="{{teacherInfo.marketingAndPromotionPlan}}"
              disableDefaultPadding="{{true}}"
              autosize="{{autosize}}"
              bindchange="onMarketingAndPromotionPlanInput"
              bindkeyboardheightchange="bindkeyboardheightchange"
            />
          </view>
        </view>
        <view class="from-item">
          <view class="label"> <text class="empty"></text>配套数字资源开发方案: </view>
          <view class="label">
            <text class="empty"></text>配套数字资源开发方案:
          </view>
          <view class="item-content">
            <t-textarea placeholder="配套数字资源名称、类型、内容、经费预算、效益分析等" value="{{teacherInfo.digitalResourceDevelopmentPlan}}" disableDefaultPadding="{{true}}" autosize="{{autosize}}" bindchange="ondigitalResourceInput" />
            <t-textarea
              placeholder="配套数字资源名称、类型、内容、经费预算、效益分析等"
              value="{{teacherInfo.digitalResourceDevelopmentPlan}}"
              disableDefaultPadding="{{true}}"
              autosize="{{autosize}}"
              bindchange="ondigitalResourceInput"
              bindkeyboardheightchange="bindkeyboardheightchange"
            />
          </view>
        </view>
        <view class="from-item">
          <view class="label"> <text class="empty"></text>存在的其他问题: </view>
          <view class="label">
            <text class="empty"></text>存在的其他问题:
          </view>
          <view class="item-content">
            <t-textarea placeholder="请输入其他问题" value="{{teacherInfo.otherExistingIssues}}" disableDefaultPadding="{{true}}" autosize="{{autosize}}" bindchange="onOtherExistingIssuesInput" />
            <t-textarea
              placeholder="请输入其他问题"
              value="{{teacherInfo.otherExistingIssues}}"
              disableDefaultPadding="{{true}}"
              autosize="{{autosize}}"
              bindchange="onOtherExistingIssuesInput"
              bindkeyboardheightchange="bindkeyboardheightchange"
            />
          </view>
        </view>
        <view class="btn-area">
          <button class="submit" bindtap="submit" loading="{{loading}}">提交</button>
          <button class="submit" bindtap="submit" loading="{{loading}}">
            提交
          </button>
        </view>
      </view>
    </view>
  </scroll-view>
</view>
</view>