Skip to content

Commit 7849815

Browse files
committed
2 parents 6438aaa + 655d168 commit 7849815

File tree

6 files changed

+213
-15
lines changed

6 files changed

+213
-15
lines changed
Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<!--pages/information/basicInformation/basicInformation.wxml-->
2-
<text>pages/information/basicInformation/basicInformation.wxml</text>
2+
<!-- <text>pages/information/basicInformation/basicInformation.wxml</text>
33
<view class='page'>
44
<textarea class='text' bindinput="input" placeholder="快递简要描述,不少于{{minContentLength}}字" maxlength='{{maxContentLength}}' show-confirm-bar='false' auto-height/>
55

66
<!-- /// -->
7-
<view class="add-form">
7+
<!-- <view class="add-form">
88
<view class="form-item">
99
<input class="input" bindinput="bindinputName" placeholder="快递收货人名" value="{{address.author_parcel_name}}" auto-focus/>
1010
</view>
1111

1212
<view class="form-item">
1313
<input class="input" bindinput="bindinputBlockNum" placeholder="投递区域" value="{{address.blockNum}}" auto-focus/>
1414
<!--先改简了 <input class="input" value="{{address.full_region}}" disabled="true" bindtap="chooseRegion" placeholder="楼号"/> -->
15-
</view>
15+
<!-- </view>
1616
<view class="form-item">
1717
<input class="input" bindinput="bindinputPickup_code" placeholder="取货码" value="{{address.Pickup_code}}"/>
1818
</view>
@@ -21,23 +21,23 @@
2121
</view>
2222
<view class="form-item">
2323
<input class="input" bindinput="bindinputMobile" value="{{address.mobile}}" placeholder="手机号码"/>
24-
</view>
24+
</view> -->
2525

2626
<!-- <view class="form-item">
2727
<input class="input" bindinput="bindinputNote" value="{{address.note}}" placeholder="短信粘贴" />
2828
</view> -->
2929

30-
<textarea class="message-input" value="{{address.note}}" placeholder="短信粘贴" placeholder-class="message-content" maxlength="{{maxlength}}" focus="{{focus}}" auto-height="{{auto-height}}" show-confirm-bar="{{show-confirm-bar}}"></textarea>
30+
<!-- <textarea class="message-input" value="{{address.note}}" placeholder="短信粘贴" placeholder-class="message-content" maxlength="{{maxlength}}" focus="{{focus}}" auto-height="{{auto-height}}" show-confirm-bar="{{show-confirm-bar}}"></textarea>
3131

3232
<!-- <view class="form-default">
3333
<text bindtap="bindIsDefault" class="default-input {{address.is_default == 1 ? 'selected' : ''}}">设为默认地址</text>
3434
</view> -->
3535

36-
<view class="kongyihang">
36+
<!-- <view class="kongyihang">
3737
<text>\n</text>
3838
</view>
3939

40-
</view>
40+
</view> -->
4141
<!-- /// -->
4242

4343
<!-- <view class="image_content">
@@ -48,6 +48,17 @@
4848
<image bindtap="chooseimage" class="moment_img" src='../../images/add.png'></image>
4949
</view>
5050
</view> -->
51-
51+
<!--
5252
<button class='send-publish' bindtap="send">发布</button>
53-
</view>
53+
</view> -->
54+
55+
<view class="infoContainer">
56+
<input placeholder="昵称" class="inputText" placeholder-class="placeholderText"></input>
57+
<input placeholder="个人简介" class="inputText" placeholder-class="placeholderText"></input>
58+
<input placeholder="所属行业" class="inputText" placeholder-class="placeholderText"></input>
59+
<input placeholder="国家/地区" class="inputText" placeholder-class="placeholderText"></input>
60+
</view>
61+
62+
<button class="nextButton" bindtap="startFunction">
63+
<view class="nextText">保存</view>
64+
</button>

miniprogram/pages/information/basicInformation/basicInformation.wxss

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,86 @@
120120
.default-input.selected{
121121
background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/sprites/checkbox-sed825af9d3-a6b8540d42.png) 0 -192rpx no-repeat;
122122
background-size: 38rpx 486rpx;
123+
}
124+
.infoContainer {
125+
display: flex;
126+
flex-direction: column;
127+
justify-content: center;
128+
align-items: center;
129+
/* vertical-align: center; */
130+
}
131+
132+
.nextButton {
133+
position: absolute;
134+
left: 16px;
135+
top: 628px;
136+
137+
display: flex;
138+
flex-direction: column;
139+
justify-content: center;
140+
align-items: center;
141+
padding: 11px 137px;
142+
gap: 10px;
143+
144+
height: fit-content;
145+
width: 343px;
146+
147+
background: #4F80FF;
148+
border-radius: 10px;
149+
}
150+
151+
.nextText {
152+
font-family: 'PingFang SC';
153+
font-style: normal;
154+
font-weight: 600;
155+
font-size: 17px;
156+
line-height: 24px;
157+
/* identical to box height */
158+
159+
text-align: center;
160+
161+
color: #FFFFFF;
162+
}
163+
164+
.inputText {
165+
margin-top: 4px;
166+
display: flex;
167+
flex-direction: column;
168+
justify-content: flex-end;
169+
/* align-items: center; */
170+
padding: 35px 0px 12px;
171+
gap: 10px;
172+
/* height: 68px; */
173+
width: 343px;
174+
box-shadow: 0px 0.5px 0px rgba(204, 204, 204, 0.5);
175+
}
176+
177+
.placeholderText {
178+
font-family: 'PingFang SC';
179+
font-style: normal;
180+
font-weight: 400;
181+
font-size: 14px;
182+
line-height: 20px;
183+
184+
color: #999999;
185+
}
186+
187+
.schoolTime {
188+
display: flex;
189+
flex-direction: row;
190+
width: 343px;
191+
}
192+
193+
.schoolTimeText {
194+
margin-top: 4px;
195+
margin-right: 7px;
196+
display: flex;
197+
flex-direction: column;
198+
justify-content: flex-end;
199+
/* align-items: center; */
200+
padding: 35px 0px 12px;
201+
gap: 10px;
202+
/* height: 68px; */
203+
width: 50%;
204+
box-shadow: 0px 0.5px 0px rgba(204, 204, 204, 0.5);
123205
}

miniprogram/pages/information/myTag/myTag.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ Page({
3333
},
3434
goHome: function () {
3535
wx.showToast({
36-
title: 'success',
36+
title: '保存成功',
3737
duration: 1800,
3838
mask: true,
3939
success: function () {
4040
// console.log('haha');
4141
setTimeout(function () {
4242
//要延时执行的代码
4343
wx.switchTab({
44-
url: '/pages/postlist/postlist',
44+
url: '/pages/information/mainpage/mainpage',
4545
})
4646
}, 1000) //延迟时间
4747
}

miniprogram/pages/information/workingExperience/workingExperience.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Page({
2929
company: "请输入所在公司",
3030
title: "请输入职位title",
3131
description: "请输入详细描述",
32+
startDate: -1,
33+
endDate: -1,
3234
},
3335

3436
onLoad: function(options){

miniprogram/pages/information/workingExperience/workingExperience.wxml

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</view> -->
2727

2828
<!-- <button class='send-publish' bindtap="send">添加</button>
29-
</view> --> -->
29+
</view> -->
3030

3131

3232
<!-- * @param nickname 昵称
@@ -37,13 +37,34 @@
3737
* @param major 专业
3838
* @param company 会社
3939
* @param university 大学 -->
40-
41-
<view>工作经历上传</view>
40+
<!-- 2.0 -->
41+
<!-- <view>工作经历上传</view>
4242
<view>
4343
工作时期:<input id="up_input" name="duration" placeholder="{{duration}}" bindinput ="duration1"/>
4444
工作地点: <input id="up_input" name="location" placeholder="{{location}}" bindinput ="location1"/>
4545
所在公司: <input id="up_input" name="company" placeholder="{{company}}" bindinput ="company1"/>
4646
职位title: <input id="up_input" name="title" placeholder="{{title}}" bindinput ="title1"/>
4747
详细描述: <input id="up_input" name="description" placeholder="{{description}}" bindinput ="description1"/>
4848
<button class="upload" bindtap="upData">上传</button>
49-
</view>
49+
</view> -->
50+
51+
<view class="infoContainer">
52+
<view class="schoolTime">
53+
<picker class="schoolTimeText" mode="date" bindchange="bindDateChange1" fields="month" start="1978-01" end="2022-09">
54+
<view wx:if="{{startDate != -1}}">{{startDate}}</view>
55+
<view wx:else class="placeholderText">起始时间</view>
56+
</picker>
57+
<picker class="schoolTimeText" mode="date" bindchange="bindDateChange2" fields="month" start="1978-01" end="2022-09">
58+
<view wx:if="{{endDate != -1}}">{{endDate}}</view>
59+
<view wx:else class="placeholderText">结束时间</view>
60+
</picker>
61+
</view>
62+
<input placeholder="所在公司" class="inputText" placeholder-class="placeholderText"></input>
63+
<input placeholder="工作地点" class="inputText" placeholder-class="placeholderText"></input>
64+
<input placeholder="职位" class="inputText" placeholder-class="placeholderText"></input>
65+
<input placeholder="详细描述" class="inputText" placeholder-class="placeholderText"></input>
66+
</view>
67+
68+
<button class="nextButton" bindtap="startFunction">
69+
<view class="nextText">上传</view>
70+
</button>

miniprogram/pages/information/workingExperience/workingExperience.wxss

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,86 @@
120120
.default-input.selected{
121121
background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/sprites/checkbox-sed825af9d3-a6b8540d42.png) 0 -192rpx no-repeat;
122122
background-size: 38rpx 486rpx;
123+
}
124+
.infoContainer {
125+
display: flex;
126+
flex-direction: column;
127+
justify-content: center;
128+
align-items: center;
129+
/* vertical-align: center; */
130+
}
131+
132+
.nextButton {
133+
position: absolute;
134+
left: 16px;
135+
top: 628px;
136+
137+
display: flex;
138+
flex-direction: column;
139+
justify-content: center;
140+
align-items: center;
141+
padding: 11px 137px;
142+
gap: 10px;
143+
144+
height: fit-content;
145+
width: 343px;
146+
147+
background: #4F80FF;
148+
border-radius: 10px;
149+
}
150+
151+
.nextText {
152+
font-family: 'PingFang SC';
153+
font-style: normal;
154+
font-weight: 600;
155+
font-size: 17px;
156+
line-height: 24px;
157+
/* identical to box height */
158+
159+
text-align: center;
160+
161+
color: #FFFFFF;
162+
}
163+
164+
.inputText {
165+
margin-top: 4px;
166+
display: flex;
167+
flex-direction: column;
168+
justify-content: flex-end;
169+
/* align-items: center; */
170+
padding: 35px 0px 12px;
171+
gap: 10px;
172+
/* height: 68px; */
173+
width: 343px;
174+
box-shadow: 0px 0.5px 0px rgba(204, 204, 204, 0.5);
175+
}
176+
177+
.placeholderText {
178+
font-family: 'PingFang SC';
179+
font-style: normal;
180+
font-weight: 400;
181+
font-size: 14px;
182+
line-height: 20px;
183+
184+
color: #999999;
185+
}
186+
187+
.schoolTime {
188+
display: flex;
189+
flex-direction: row;
190+
width: 343px;
191+
}
192+
193+
.schoolTimeText {
194+
margin-top: 4px;
195+
margin-right: 7px;
196+
display: flex;
197+
flex-direction: column;
198+
justify-content: flex-end;
199+
/* align-items: center; */
200+
padding: 35px 0px 12px;
201+
gap: 10px;
202+
/* height: 68px; */
203+
width: 50%;
204+
box-shadow: 0px 0.5px 0px rgba(204, 204, 204, 0.5);
123205
}

0 commit comments

Comments
 (0)