cuiqian2004
2024-07-22 9ae83a12c2b9c764e28760fb9c3c09fe697c8990
pages/modal/3018.vue
@@ -1,5 +1,5 @@
<template>
   <view class="content">
   <view class="uni-page-modal-3018">
      <view class="v-area" v-for="(classattr,index) in classAttrList">
         <div class="class_attr_title" style="display: none;">
            <div class="title_line"></div>
@@ -254,8 +254,11 @@
         </div>
      </view>
      <button type="default" @tap="cancel" class="btn_cancel">{{translateSys('cancel')}}</button>
      <view class="v-bottom"><button type="default" @tap="cancel"
            class="btn_cancel">{{translateSys('cancel')}}</button>
      <button type="default" @tap="sava" class="btn_add">{{title}}</button>
      </view>
      <!-- 普通弹窗 top bottom center left right -->
      <view>
         <uni-popup class="view-popup" ref="popup" background-color="#fff" @change="popupChange">
@@ -338,8 +341,11 @@
            popupParam: {},
         }
      },
      mounted() {
         console.log("3018 mounted");
      },
      onLoad(options) {
         // console.log(options);
         console.log("3018", options);
         uni.setNavigationBarTitle({
            title: options.titlename
         }); //设置顶部标题 
@@ -363,8 +369,7 @@
         }
         if (!param.Edit_dlg.Name) {
            uni.showModal({
               title: this.translateSys('tip')
               ",
               title: this.translateSys('tip'),
               content: this.translate('function_not_edit_dlg'),
               showCancel: false,
               confirmText: this.translateSys('cancel')
@@ -950,7 +955,6 @@
                     for (var j = 0; j < attr.length; j++) {
                        var ar = attr[j];
                        req.push(this.formatAttr(ar))
                     }
                  }
                  var info = {
@@ -1246,7 +1250,7 @@
         },
         add() {
            uni.showLoading({
               title: this.translateSys("loading")
               title: this.translateSys("loading"),
               mask: true
            });
            var req = [];
@@ -2347,7 +2351,25 @@
      }
   }
</script>
<style>
<style lang="less">
   .uni-page-modal-3018 {
      display: flex;
      height: calc(100vh - 30rpx);
      width: 720rpx;
      flex-direction: column !important;
      padding: 15rpx;
      .v-area {
         width: 100%;
         flex-direction: column !important;
      }
      .v-bottom {
         display: block;
         width: calc(100% - 30rpx);
         padding: 10rpx 15rpx 20rpx 15rpx;
      }
   .class_attr_title {
      font-size: 44rpx;
      padding-bottom: 22rpx;
@@ -2658,8 +2680,8 @@
      /* float: right; */
      display: inline-block;
   }
</style>
<style>
   .touch-item {
      background-color: #F8F9FC;
      display: flex;
@@ -2703,4 +2725,5 @@
      -webkit-transform: translateX(0);
      transform: translateX(0);
   }
   }
</style>