闫增涛
2024-03-22 986d4798a9dad75b6ae617e52ea2918dfacd3708
packageBookService/pages/bookServices/examination/questionList/index.js
@@ -15,6 +15,19 @@
    currentIndex: {
      type: Number,
      value: 1
    },
    isNight: {
      type: Boolean,
      value: false
    },
    answerType: {
      type: String,
      value: ''
    }
  },
  observers: {
    'questionList': function (newValue) {
      console.log(newValue);
    }
  },
  created() {
@@ -25,6 +38,7 @@
   */
  data: {
    inputstyle: 'border: 2rpx solid rgba(220,220,220,1);border-radius: 12rpx;',
    shortAnswer: 'font-size: 28rpx',
    placeholderstyle: "font-size:28rpx",
    current: 2,
    autoplay: true,
@@ -41,7 +55,6 @@
  methods: {
    // 切换题目
    changeSwiper(e) {
      console.log(e);
      this.setData({
        showIndex: e.detail.current
      })