Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
0378f59264
2 changed files with 8 additions and 8 deletions
  1. 6
      pages/agent/address/index.wxml
  2. 10
      pages/home/certificate/index.js

6
pages/agent/address/index.wxml

@ -5,10 +5,10 @@
<view class="bg-white flex flex-justify"> <view class="bg-white flex flex-justify">
<view style="padding: 32rpx;"> <view style="padding: 32rpx;">
<view style="font-size: 48rpx;">请补充</view>
<view style="font-size: 56rpx;">您的工厂发货信息</view>
<view style="font-size: 36rpx;">请补充</view>
<view style="font-size: 46rpx;">您的工厂发货信息</view>
</view> </view>
<image src="/assets/image/tabBj.png" style="width:210rpx;height:174rpx"></image>
<image src="/assets/image/tabBj.png" style="width:310rpx;height:258rpx"></image>
</view> </view>
<view class="cu-form-group"> <view class="cu-form-group">
<view class="title" style="min-width: 200rpx;">工厂全称:</view> <view class="title" style="min-width: 200rpx;">工厂全称:</view>

10
pages/home/certificate/index.js

@ -3,14 +3,14 @@ import { certificateImage } from "../../api/user"
const util = require('../../../utils/util') const util = require('../../../utils/util')
const app = getApp() const app = getApp()
let monthList = [{ text: '1000吨以下', value: 1 }, { text: '1000-2000吨', value: 2 }, { text: '2000吨以上', value: 3 }]
let expriseList = [{ text: '1年以下', value: 1 }, { text: '1-5年', value: 2 }, { text: '5-10年', value: 3 }, { text: '10年以上', value: 4 }]
Page({ Page({
/** /**
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
monthList: [{ text: '1000吨以下', value: 1 }, { text: '1000-2000吨', value: 2 }, { text: '2000吨以上', value: 3 }],
expriseList: [{ text: '1年以下', value: 1 }, { text: '1-5年', value: 2 }, { text: '5-10年', value: 3 }, { text: '10年以上', value: 4 }],
form: { identityAuthToken: null },
form: { },
flag: false, // 是否不可以编辑, false:可编辑;true:不可编辑 flag: false, // 是否不可以编辑, false:可编辑;true:不可编辑
disabled: true, disabled: true,
imgList: [null] imgList: [null]
@ -25,9 +25,9 @@ Page({
showPicker: function (e) { showPicker: function (e) {
this.pickerView = this.pickerView || this.selectComponent('#picker-view') this.pickerView = this.pickerView || this.selectComponent('#picker-view')
if(e.currentTarget.id == 'shipmentPerMonth'){ if(e.currentTarget.id == 'shipmentPerMonth'){
this.pickerView.showPicker(this.data.monthList, null, 1)
this.pickerView.showPicker(monthList, null, 1)
} else if(e.currentTarget.id == 'experienceTag'){ } else if(e.currentTarget.id == 'experienceTag'){
this.pickerView.showPicker(this.data.expriseList, null, 2)
this.pickerView.showPicker(expriseList, null, 2)
} }
}, },
onPickerChange: function ({detail}) { onPickerChange: function ({detail}) {

Loading…
Cancel
Save