修改援助样式,新增人员所在单位
This commit is contained in:
parent
3ad21ea708
commit
a164ec227b
|
@ -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"
|
||||
>
|
||||
|
|
|
@ -18,6 +18,14 @@
|
|||
type="textarea"
|
||||
border="{{ false }}"
|
||||
/>
|
||||
<van-field
|
||||
value="{{detail.company}}"
|
||||
label="所在单位"
|
||||
readonly
|
||||
autosize="{{true}}"
|
||||
type="textarea"
|
||||
border="{{ false }}"
|
||||
/>
|
||||
<van-field
|
||||
value="{{detail.synopsis}}"
|
||||
label="简介"
|
||||
|
@ -40,6 +48,6 @@
|
|||
<mp-html content="{{detail.detail}}" />
|
||||
</view>
|
||||
</van-cell-group>
|
||||
<view style="margin-top: 40rpx;margin-left: 30rpx;margin-bottom: 30rpx;">
|
||||
<view style="margin-top: 40rpx;margin-left: 30rpx;margin-bottom: 30rpx;margin-right: 30rpx;">
|
||||
<van-button type="info" block class="save" bind:click="connect">去联系</van-button>
|
||||
</view>
|
Loading…
Reference in New Issue
Block a user