浏览代码

fix: 修复form submit

carver 2 年之前
父节点
当前提交
d2dbdf8e12
共有 1 个文件被更改,包括 10 次插入11 次删除
  1. 10 11
      antbuilder/industry/hospitalV2/components/hospital-project/index.axml

+ 10 - 11
antbuilder/industry/hospitalV2/components/hospital-project/index.axml

@@ -81,18 +81,17 @@
             </block>
           </view>
         </view>
-        
-      </form>
-    </view>
-    <!-- 预约按钮 -->
-    <view class="project-button">
-      <view class="project-button-out">
-        <view class="title-out">
-          <view class="title">费用</view>
-          <view class="money">¥ {{ projectItem.nucleicItemFee ? projectItem.nucleicItemFee : '0.00'}}</view>
+        <!-- 预约按钮 -->
+        <view class="project-button">
+          <view class="project-button-out">
+            <view class="title-out">
+              <view class="title">费用</view>
+              <view class="money">¥ {{ projectItem.nucleicItemFee ? projectItem.nucleicItemFee : '0.00'}}</view>
+            </view>
+            <button disabled="{{disabled}}" loading="{{ loading }}" class="button" size="default" type="primary" formType="submit">{{onlinePay ? '预约并支付' : '立即预约'}}</button>
+          </view>
         </view>
-        <button disabled="{{disabled}}" loading="{{ loading }}" class="button" size="default" type="primary" formType="submit">{{onlinePay ? '预约并支付' : '立即预约'}}</button>
-      </view>
+      </form>
     </view>
     
     <!-- 选择就诊人 -->