修改援助样式,新增人员所在单位
This commit is contained in:
@@ -3,6 +3,8 @@ import { alertInfo } from "../../utils/index";
|
||||
import request from '../../utils/request'
|
||||
|
||||
const { OK } = request;
|
||||
const result = wx.getAccountInfoSync();
|
||||
const { envVersion } = result.miniProgram;
|
||||
|
||||
// pages/home/components/home-swiper/index.js
|
||||
Component({
|
||||
@@ -28,8 +30,8 @@ Component({
|
||||
data: {
|
||||
indicatorDots: true,
|
||||
vertical: false,
|
||||
autoplay: false,
|
||||
interval: 2000,
|
||||
autoplay: true,
|
||||
interval: 6000,
|
||||
duration: 500,
|
||||
list: [],
|
||||
},
|
||||
@@ -53,7 +55,7 @@ Component({
|
||||
wx.navigateToMiniProgram({
|
||||
appId: data.appid,
|
||||
path: data.wxPath,
|
||||
envVersion: "trial"
|
||||
envVersion: envVersion
|
||||
})
|
||||
break;
|
||||
case 2:
|
||||
|
@@ -1,9 +1,10 @@
|
||||
<!--pages/home/components/home-swiper/index.wxml-->
|
||||
<swiper
|
||||
indicator-dots="{{indicatorDots}}"
|
||||
indicator-dots="{{list.length > 1}}"
|
||||
autoplay="{{autoplay}}"
|
||||
interval="{{interval}}"
|
||||
duration="{{duration}}"
|
||||
circular="{{true}}"
|
||||
wx:if="{{list.length}}"
|
||||
style="height: 288rpx"
|
||||
>
|
||||
|
Reference in New Issue
Block a user