uniapp 改写uni-data-picker级联选择器(带搜索和多选)新增列出选择和删除功能-前端-E先生的博客
Java
MySQL
大数据
Python
前端
黑科技
大语言模型
    首页 >> 互联网 >> 前端

uniapp 改写uni-data-picker级联选择器(带搜索和多选)新增列出选择和删除功能

[导读]:uni-data-picker二开,搜索功能...

image.png
本地文件修改就修改如图黄色所标记 

uni-data-picker.vue   

//这个页面就添加了搜索的代码 showSearch  搜索这个 就能看到在哪里添加的了


<template>
  <view class="uni-data-tree">
    <view class="uni-data-tree-input" @click="handleInput">
      <slot :options="options" :data="inputSelected" :error="errorMessage">
        <view class="input-value" :class="{ 'input-value-border': border }">
          <text v-if="errorMessage" class="selected-area error-text">{{
            errorMessage
          }}</text>
          <view v-else-if="loading && !isOpened" class="selected-area">
            <uni-load-more
              class="load-more"
              :contentText="loadMore"
              status="loading"
            ></uni-load-more>
          </view>
          <scroll-view
            v-else-if="inputSelected.length"
            class="selected-area"
            scroll-x="true"
          >
            <view class="selected-list">
              <view
                class="selected-item"
                v-for="(item, index) in inputSelected"
                :key="index"
              >
                <text class="text-color">{{ item.text }}</text
                ><text
                  v-if="index < inputSelected.length - 1"
                  class="input-split-line"
                  >{{ split }}</text
                >
              </view>
            </view>
          </scroll-view>
          <text v-else class="selected-area placeholder">{{
            placeholder
          }}</text>
          <view
            v-if="clearIcon && !readonly && inputSelected.length"
            class="icon-clear"
            @click.stop="clear"
          >
            <uni-icons type="clear" color="#c0c4cc" size="24"></uni-icons>
          </view>
          <view
            class="arrow-area"
            v-if="(!clearIcon || !inputSelected.length) && !readonly"
          >
            <view class="input-arrow"></view>
          </view>
        </view>
      </slot>
    </view>
    <view
      class="uni-data-tree-cover"
      v-if="isOpened"
      @click="handleClose"
    ></view>
    <view class="uni-data-tree-dialog" v-if="isOpened">
      <view class="uni-popper__arrow"></view>
      <view class="dialog-caption">
        <view class="title-area">
          <text class="dialog-title">{{ popupTitle }}</text>
        </view>
        <view class="dialog-close" @click="handleClose">
          <view class="dialog-close-plus" data-id="close"></view>
          <view
            class="dialog-close-plus dialog-close-rotate"
            data-id="close"
          ></view>
        </view>
      </view>
      <data-picker-view
        class="picker-view"
        ref="pickerView"
        v-model="dataValue"
        :localdata="localdata"
        :preload="preload"
        :collection="collection"
        :field="field"
        :orderby="orderby"
        :where="where"
        :step-searh="stepSearh"
        :self-field="selfField"
        :parent-field="parentField"
        :managed-mode="true"
        :map="map"
        :showSearch="showSearch"
        :ellipsis="ellipsis"
        @change="onchange"
        @datachange="ondatachange"
        @nodeclick="onnodeclick"
      >
      </data-picker-view>
    </view>
  </view>
</template>
<script>
import dataPicker from '../uni-data-pickerview/uni-data-picker.js';
import DataPickerView from '../uni-data-pickerview/uni-data-pickerview.vue';
/**
 * DataPicker 级联选择
 * @description 支持单列、和多列级联选择。列数没有限制,如果屏幕显示不全,顶部tab区域会左右滚动。
 * @tutorial https://ext.dcloud.net.cn/plugin?id=3796
 * @property {String} popup-title 弹出窗口标题
 * @property {Array} localdata 本地数据,参考
 * @property {Boolean} border = [true|false] 是否有边框
 * @property {Boolean} readonly = [true|false] 是否仅读
 * @property {Boolean} preload = [true|false] 是否预加载数据
 * @value true 开启预加载数据,点击弹出窗口后显示已加载数据
 * @value false 关闭预加载数据,点击弹出窗口后开始加载数据
 * @property {Boolean} step-searh = [true|false] 是否分布查询
 * @value true 启用分布查询,仅查询当前选中节点
 * @value false 关闭分布查询,一次查询出所有数据
 * @property {String|DBFieldString} self-field 分布查询当前字段名称
 * @property {String|DBFieldString} parent-field 分布查询父字段名称
 * @property {String|DBCollectionString} collection 表名
 * @property {String|DBFieldString} field 查询字段,多个字段用 `,` 分割
 * @property {String} orderby 排序字段及正序倒叙设置
 * @property {String|JQLString} where 查询条件
 * @event {Function} popupshow 弹出的选择窗口打开时触发此事件
 * @event {Function} popuphide 弹出的选择窗口关闭时触发此事件
 */
export default {
  name: 'UniDataPicker',
  emits: [
    'popupopened',
    'popupclosed',
    'nodeclick',
    'input',
    'change',
    'update:modelValue',
    'inputclick',
  ],
  mixins: [dataPicker],
  components: {
    DataPickerView,
  },
  props: {
    options: {
      type: [Object, Array],
      default() {
        return {};
      },
    },
    popupTitle: {
      type: String,
      default: '请选择',
    },
    placeholder: {
      type: String,
      default: '请选择',
    },
    heightMobile: {
      type: String,
      default: '',
    },
    readonly: {
      type: Boolean,
      default: false,
    },
    clearIcon: {
      type: Boolean,
      default: true,
    },
    border: {
      type: Boolean,
      default: true,
    },
    split: {
      type: String,
      default: '/',
    },
    ellipsis: {
      type: Boolean,
      default: true,
    },
    showSearch: {
      type: Boolean,
      default: false,
    },
  },
  data() {
    return {
      isOpened: false,
      inputSelected: [],
    };
  },
  created() {
    this.$nextTick(() => {
      this.load();
    });
  },
  watch: {
    localdata: {
      handler() {
        this.load();
      },
      deep: true,
    },
  },
  methods: {
    clear() {
      this._dispatchEvent([]);
    },
    onPropsChange() {
      this._treeData = [];
      this.selectedIndex = 0;
      this.load();
    },
    load() {
      if (this.readonly) {
        this._processReadonly(this.localdata, this.dataValue);
        return;
      }
      // 回显本地数据
      if (this.isLocalData) {
        this.loadData();
        this.inputSelected = this.selected.slice(0);
      } else if (this.isCloudDataList || this.isCloudDataTree) {
        // 回显 Cloud 数据
        this.loading = true;
        this.getCloudDataValue()
          .then((res) => {
            this.loading = false;
            this.inputSelected = res;
          })
          .catch((err) => {
            this.loading = false;
            this.errorMessage = err;
          });
      }
    },
    show() {
      this.isOpened = true;
      setTimeout(() => {
        this.$refs.pickerView.updateData({
          treeData: this._treeData,
          selected: this.selected,
          selectedIndex: this.selectedIndex,
        });
      }, 200);
      this.$emit('popupopened');
    },
    hide() {
      this.isOpened = false;
      this.$emit('popupclosed');
    },
    handleInput() {
      if (this.readonly) {
        this.$emit('inputclick');
        return;
      }
      this.show();
    },
    handleClose(e) {
      this.hide();
    },
    onnodeclick(e) {
      this.$emit('nodeclick', e);
    },
    ondatachange(e) {
      this._treeData = this.$refs.pickerView._treeData;
    },
    onchange(e) {
      this.hide();
      this.$nextTick(() => {
        this.inputSelected = e;
      });
      this._dispatchEvent(e);
    },
    _processReadonly(dataList, value) {
      var isTree = dataList.findIndex((item) => {
        return item.children;
      });
      if (isTree > -1) {
        let inputValue;
        if (Array.isArray(value)) {
          inputValue = value[value.length - 1];
          if (typeof inputValue === 'object' && inputValue.value) {
            inputValue = inputValue.value;
          }
        } else {
          inputValue = value;
        }
        this.inputSelected = this._findNodePath(inputValue, this.localdata);
        return;
      }
      if (!this.hasValue) {
        this.inputSelected = [];
        return;
      }
      let result = [];
      for (let i = 0; i < value.length; i++) {
        var val = value[i];
        var item = dataList.find((v) => {
          return v.value == val;
        });
        if (item) {
          result.push(item);
        }
      }
      if (result.length) {
        this.inputSelected = result;
      }
    },
    _filterForArray(data, valueArray) {
      var result = [];
      for (let i = 0; i < valueArray.length; i++) {
        var value = valueArray[i];
        var found = data.find((item) => {
          return item.value == value;
        });
        if (found) {
          result.push(found);
        }
      }
      return result;
    },
    _dispatchEvent(selected) {
      let item = {};
      if (selected.length) {
        var value = new Array(selected.length);
        for (var i = 0; i < selected.length; i++) {
          value[i] = selected[i].value;
        }
        item = selected[selected.length - 1];
      } else {
        item.value = '';
      }
      if (this.formItem) {
        this.formItem.setValue(item.value);
      }
      this.$emit('input', item.value);
      this.$emit('update:modelValue', item.value);
      this.$emit('change', {
        detail: {
          value: selected,
        },
      });
    },
  },
};
</script>
<style>
.uni-data-tree {
  flex: 1;
  position: relative;
  font-size: 14px;
}
.error-text {
  color: #dd524d;
}
.input-value {
  /* #ifndef APP-NVUE */
  display: flex;
  /* #endif */
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  font-size: 14px;
  /* line-height: 35px; */
  padding: 0 10px;
  padding-right: 5px;
  overflow: hidden;
  height: 35px;
  /* #ifndef APP-NVUE */
  box-sizing: border-box;
  /* #endif */
}
.input-value-border {
  border: 1px solid #e5e5e5;
  border-radius: 5px;
}
.selected-area {
  flex: 1;
  overflow: hidden;
  /* #ifndef APP-NVUE */
  display: flex;
  /* #endif */
  flex-direction: row;
}
.load-more {
  /* #ifndef APP-NVUE */
  margin-right: auto;
  /* #endif */
  /* #ifdef APP-NVUE */
  width: 40px;
  /* #endif */
}
.selected-list {
  /* #ifndef APP-NVUE */
  display: flex;
  /* #endif */
  flex-direction: row;
  flex-wrap: nowrap;
  /* padding: 0 5px; */
}
.selected-item {
  flex-direction: row;
  /* padding: 0 1px; */
  /* #ifndef APP-NVUE */
  white-space: nowrap;
  /* #endif */
}
.text-color {
  color: #333;
}
.placeholder {
  color: grey;
  font-size: 12px;
}
.input-split-line {
  opacity: 0.5;
}
.arrow-area {
  position: relative;
  width: 20px;
  /* #ifndef APP-NVUE */
  margin-bottom: 5px;
  margin-left: auto;
  display: flex;
  /* #endif */
  justify-content: center;
  transform: rotate(-45deg);
  transform-origin: center;
}
.input-arrow {
  width: 7px;
  height: 7px;
  border-left: 1px solid #999;
  border-bottom: 1px solid #999;
}
.uni-data-tree-cover {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  /* #ifndef APP-NVUE */
  display: flex;
  /* #endif */
  flex-direction: column;
  z-index: 100;
}
.uni-data-tree-dialog {
  position: fixed;
  left: 0;
  /* #ifndef APP-NVUE */
  top: 20%;
  /* #endif */
  /* #ifdef APP-NVUE */
  top: 200px;
  /* #endif */
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  /* #ifndef APP-NVUE */
  display: flex;
  /* #endif */
  flex-direction: column;
  z-index: 102;
  overflow: hidden;
  /* #ifdef APP-NVUE */
  width: 750rpx;
  /* #endif */
}
.dialog-caption {
  position: relative;
  /* #ifndef APP-NVUE */
  display: flex;
  /* #endif */
  flex-direction: row;
  /* border-bottom: 1px solid #f0f0f0; */
}
.title-area {
  /* #ifndef APP-NVUE */
  display: flex;
  /* #endif */
  align-items: center;
  /* #ifndef APP-NVUE */
  margin: auto;
  /* #endif */
  padding: 0 10px;
}
.dialog-title {
  /* font-weight: bold; */
  line-height: 44px;
}
.dialog-close {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  /* #ifndef APP-NVUE */
  display: flex;
  /* #endif */
  flex-direction: row;
  align-items: center;
  padding: 0 15px;
}
.dialog-close-plus {
  width: 16px;
  height: 2px;
  background-color: #666;
  border-radius: 2px;
  transform: rotate(45deg);
}
.dialog-close-rotate {
  position: absolute;
  transform: rotate(-45deg);
}
.picker-view {
  flex: 1;
  overflow: hidden;
}
.icon-clear {
  display: flex;
  align-items: center;
}
/* #ifdef H5 */
@media all and (min-width: 768px) {
  .uni-data-tree-cover {
    background-color: transparent;
  }
  .uni-data-tree-dialog {
    position: absolute;
    top: 55px;
    height: auto;
    min-height: 400px;
    max-height: 50vh;
    background-color: #fff;
    border: 1px solid #ebeef5;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: unset;
  }
  .dialog-caption {
    display: none;
  }
  .icon-clear {
    /* margin-right: 5px; */
  }
}
/* #endif */
/* picker 弹出层通用的指示小三角, todo:扩展至上下左右方向定位 */
/* #ifndef APP-NVUE */
.uni-popper__arrow,
.uni-popper__arrow::after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 6px;
}
.uni-popper__arrow {
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.03));
  top: -6px;
  left: 10%;
  margin-right: 3px;
  border-top-width: 0;
  border-bottom-color: #ebeef5;
}
.uni-popper__arrow::after {
  content: ' ';
  top: 1px;
  margin-left: -6px;
  border-top-width: 0;
  border-bottom-color: #fff;
}
/* #endif */
</style>

uni-data-pickerview.vue

//这个页面添加了uni-combox 组件 及他的方法handleInput  参数 candidates 这个页面 我做了处理 想要细节了解的可以私聊我 免费讲解过程 听绕的 有好的方法的 也可以私聊共同交流

<template>
  <view>
    <uni-combox
      v-if="showSearch"
      :candidates="candidates"
      placeholder="输入搜索内容"
      @input="handleInput"
    ></uni-combox>
    <scroll-view v-if="!isCloudDataList" scroll-x="true">
      <view>
        <view
         
          v-for="(item, index) in selected"
          :key="index"
          :class="{
            'selected-item-active': index == selectedIndex,
          }"
          @click="handleSelect(index)"
        >
          <text>{{ item.text || '' }}</text>
        </view>
      </view>
    </scroll-view>
    <view>
      <scroll-view :scroll-y="true">
        <view
         
          :class="{ 'is-disabled': !!item.disable }"
          v-for="(item, j) in dataList[selectedIndex]"
          :key="j"
          @click="handleNodeClick(item, selectedIndex, j)"
        >
          <text>{{ item[map.text] }}</text>
          <view
           
            v-if="
              selected.length > selectedIndex &&
              item[map.value] == selected[selectedIndex].value
            "
          ></view>
        </view>
      </scroll-view>
      <view v-if="loading">
        <uni-load-more
         
          :contentText="loadMore"
          status="loading"
        ></uni-load-more>
      </view>
      <view v-if="errorMessage">
        <text>{{ errorMessage }}</text>
      </view>
    </view>
  </view>
</template>
<script>
import dataPicker from './uni-data-picker.js';
/**
 * DataPickerview
 * @description uni-data-pickerview
 * @tutorial https://ext.dcloud.net.cn/plugin?id=3796
 * @property {Array} localdata 本地数据,参考
 * @property {Boolean} step-searh = [true|false] 是否分布查询
 * @value true 启用分布查询,仅查询当前选中节点
 * @value false 关闭分布查询,一次查询出所有数据
 * @property {String|DBFieldString} self-field 分布查询当前字段名称
 * @property {String|DBFieldString} parent-field 分布查询父字段名称
 * @property {String|DBCollectionString} collection 表名
 * @property {String|DBFieldString} field 查询字段,多个字段用 `,` 分割
 * @property {String} orderby 排序字段及正序倒叙设置
 * @property {String|JQLString} where 查询条件
 */
export default {
  name: 'UniDataPickerView',
  emits: ['nodeclick', 'change', 'datachange', 'update:modelValue'],
  mixins: [dataPicker],
  props: {
    managedMode: {
      type: Boolean,
      default: false,
    },
    ellipsis: {
      type: Boolean,
      default: true,
    },
    showSearch: {
      type: Boolean,
      default: false,
    },
  },
  data() {
    return {
      candidates: [],
      nodeList: [],
    };
  },
  created() {
    if (!this.managedMode) {
      this.$nextTick(() => {
        this.loadData();
      });
    }
  },
  methods: {
    //搜索框选择员工
    handleInput(e) {
      let index = this.candidates.indexOf(e);
      let node = this.nodeList[index];
      if (node != undefined) {
        let arr = [];
        if (this.localdata && Array.isArray(this.localdata)) {
          this.localdata.forEach((item) => {
            if (item.children && Array.isArray(item.children)) {
              item.children.some((itemC) => {
                if (itemC.children && Array.isArray(itemC.children)) {
                  return itemC.children.some((itemCh) => {
                    if (node.value == itemCh.value) {
                      const object1 = { text: item.text, value: item.value };
                      const object2 = { text: itemC.text, value: itemC.value };
                      const object3 = {
                        text: itemCh.text,
                        value: itemCh.value,
                      };
                      arr.push(object1, object2, object3);
                      return true; // Stop further iterations
                    }
                    return false;
                  });
                } else {
                  return item.children.some((itemC) => {
                    if (node.value == itemC.value) {
                      const object1 = { text: item.text, value: item.value };
                      const object2 = { text: itemC.text, value: itemC.value };
                      arr.push(object1, object2);
                      return true; // Stop further iterations
                    }
                    return false;
                  });
                }
              });
            }
          });
        }
        // uni.setStorageSync('nodeId', node);
        this._dispatchEvent(arr);
        this.$emit('nodeclick', node);
      }
      // console.log(this.selectedIndex, 'selectedIndexIIIII');
      // console.log(this.dataList[this.selectedIndex], 'dataList[selectedIndex]');
      // const indexJ = this.dataList[this.selectedIndex].findIndex(
      //   (item) => item.text === e
      // );
    },
    //点击选择组别
    // handleClick(item) {
    //   let text = item.text;
    //   for (let i in this.nodeList) {
    //     if (this.nodeList[i].parent_value == text) {
    //       this.$emit('nodeclick', this.nodeList[i]);
    //     }
    //   }
    //   this._dispatchEvent();
    // },
    onPropsChange() {
      this._treeData = [];
      this.selectedIndex = 0;
      this.$nextTick(() => {
        this.load();
      });
    },
    load() {
      if (this.isLocaldata) {
        this.loadData();
      } else if (this.dataValue.length) {
        this.getTreePath((res) => {
          this.loadData();
        });
      }
    },
    handleSelect(index) {
      this.selectedIndex = index;
    },
    handleNodeClick(item, i, j) {
      if (item.disable) {
        return;
      }
      const node = this.dataList[i][j];
      const text = node[this.map.text];
      const value = node[this.map.value];
      if (i < this.selected.length - 1) {
        this.selected.splice(i, this.selected.length - i);
        this.selected.push({
          text,
          value,
        });
      } else if (i === this.selected.length - 1) {
        this.selected.splice(i, 1, {
          text,
          value,
        });
      }
      if (node.isleaf) {
        this.onSelectedChange(node, node.isleaf);
        return;
      }
      const { isleaf, hasNodes } = this._updateBindData();
      // 本地数据
      if (this.isLocalData) {
        this.onSelectedChange(node, !hasNodes || isleaf);
      } else if (this.isCloudDataList) {
        // Cloud 数据 (单列)
        this.onSelectedChange(node, true);
      } else if (this.isCloudDataTree) {
        // Cloud 数据 (树形)
        if (isleaf) {
          this.onSelectedChange(node, node.isleaf);
        } else if (!hasNodes) {
          // 请求一次服务器以确定是否为叶子节点
          this.loadCloudDataNode((data) => {
            if (!data.length) {
              node.isleaf = true;
            } else {
              this._treeData.push(...data);
              this._updateBindData(node);
            }
            this.onSelectedChange(node, node.isleaf);
          });
        }
      }
    },
    updateData(data) {
      let curTreeData = data.treeData;
      this.candidates = [];
      this.nodeList = [];
      for (let i in curTreeData) {
        if (curTreeData[i].parent_value) {
          this.candidates.push(curTreeData[i].text);
          this.nodeList.push(curTreeData[i]);
        }
      }
      this._treeData = data.treeData;
      this.selected = data.selected;
      if (!this._treeData.length) {
        this.loadData();
      } else {
        //this.selected = data.selected
        this._updateBindData();
      }
    },
    onDataChange() {
      this.$emit('datachange');
    },
    onSelectedChange(node, isleaf) {
      if (isleaf) {
        this._dispatchEvent();
      }
      if (node) {
        this.$emit('nodeclick', node);
      }
    },
    _dispatchEvent(val) {
      if (val) {
        this.$emit('change', val);
      } else {
        this.$emit('change', this.selected.slice(0));
      }
    },
  },
};
</script>
<style>
$uni-primary: #007aff !default;
.uni-data-pickerview {
  flex: 1;
  /* #ifndef APP-NVUE */
  display: flex;
  /* #endif */
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}
.error-text {
  color: #dd524d;
}
.loading-cover {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5);
  /* #ifndef APP-NVUE */
  display: flex;
  /* #endif */
  flex-direction: column;
  align-items: center;
  z-index: 1001;
}
.load-more {
  /* #ifndef APP-NVUE */
  margin: auto;
  /* #endif */
}
.error-message {
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 15px;
  opacity: 0.9;
  z-index: 102;
}
/* #ifdef APP-NVUE */
.selected-area {
  width: 750rpx;
}
/* #endif */
.selected-list {
  /* #ifndef APP-NVUE */
  display: flex;
  flex-wrap: nowrap;
  /* #endif */
  flex-direction: row;
  padding: 0 5px;
  border-bottom: 1px solid #f8f8f8;
}
.selected-item {
  margin-left: 10px;
  margin-right: 10px;
  padding: 12px 0;
  text-align: center;
  /* #ifndef APP-NVUE */
  white-space: nowrap;
  /* #endif */
}
.selected-item-text-overflow {
  width: 168px;
  /* fix nvue */
  overflow: hidden;
  /* #ifndef APP-NVUE */
  width: 6em;
  white-space: nowrap;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  /* #endif */
}
.selected-item-active {
  border-bottom: 2px solid $uni-primary;
}
.selected-item-text {
  color: $uni-primary;
}
.tab-c {
  position: relative;
  flex: 1;
  /* #ifndef APP-NVUE */
  display: flex;
  /* #endif */
  flex-direction: row;
  overflow: hidden;
}
.list {
  flex: 1;
}
.item {
  padding: 12px 15px;
  /* border-bottom: 1px solid #f0f0f0; */
  /* #ifndef APP-NVUE */
  display: flex;
  /* #endif */
  flex-direction: row;
  justify-content: space-between;
}
.is-disabled {
  opacity: 0.5;
}
.item-text {
  /* flex: 1; */
  color: #333333;
}
.item-text-overflow {
  width: 280px;
  /* fix nvue */
  overflow: hidden;
  /* #ifndef APP-NVUE */
  width: 20em;
  white-space: nowrap;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  /* #endif */
}
.check {
  margin-right: 5px;
  border: 2px solid $uni-primary;
  border-left: 0;
  border-top: 0;
  height: 12px;
  width: 6px;
  transform-origin: center;
  /* #ifndef APP-NVUE */
  transition: all 0.3s;
  /* #endif */
  transform: rotate(45deg);
}
</style>




本文来自E先生的博客,如若转载,请注明出处:https://www.javajz.cn

留言区

联系人:
手   机:
内   容:
验证码:

历史留言

欢迎加Easy的QQ