Commit e74e317d by 胡悦

Merge branch 'kuangyq_v2.10.0' of http://192.168.3.233:8090/saas/mini-program/ai…

…-card into kuangyq_v2.10.0
2 parents 79179ac0 8bc1e4e9
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
"pages": [ "pages": [
"pages/tab/index/index", "pages/tab/index/index",
"pages/applicationAccount/applicationAccount", "pages/applicationAccount/applicationAccount",
"pages/applicationPartener/applicationPartener" "pages/applicationPartener/applicationPartener",
"pages/applySuccess/applySuccess"
], ],
"window": { "window": {
"backgroundTextStyle": "light", "backgroundTextStyle": "light",
......
...@@ -11,7 +11,7 @@ Page({ ...@@ -11,7 +11,7 @@ Page({
parternerForm: { parternerForm: {
applyName: '', applyName: '',
telphone: '', telphone: '',
concerContent: '' province: []
} }
}, },
...@@ -23,6 +23,9 @@ Page({ ...@@ -23,6 +23,9 @@ Page({
}, },
telphone: { telphone: {
required: true required: true
},
province: {
required: true
} }
} }
...@@ -32,6 +35,9 @@ Page({ ...@@ -32,6 +35,9 @@ Page({
}, },
telphone: { telphone: {
required: '请填写联系电话' required: '请填写联系电话'
},
province: {
required: '请选择省市'
} }
} }
...@@ -59,6 +65,16 @@ Page({ ...@@ -59,6 +65,16 @@ Page({
this.showModal({ this.showModal({
msg: '提交成功' msg: '提交成功'
}) })
// 跳转申请成功页面
wx.$router.go("applySuccess");
},
// 选择省市
bindRegionChange(e) {
console.log(e.detail.value);
this.setData({
"parternerForm.province": e.detail.value
})
}, },
/** /**
......
{ {
"usingComponents": {} "usingComponents": {},
"navigationBarTitleText": "合作申请"
} }
\ No newline at end of file \ No newline at end of file
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
<view class="apply-top"> <view class="apply-top">
<image class="apply-background" mode="widthFix" webp src="https://img02.glsx.com.cn/weapp/resource/miniprogram/ai-card/home/apply-background.png" bindload="imgSuccess" data-name="logo"></image> <image class="apply-background" mode="widthFix" webp src="https://img02.glsx.com.cn/weapp/resource/miniprogram/ai-card/home/apply-background.png" bindload="imgSuccess" data-name="logo"></image>
<view class="apply-title">申请城市合伙人</view> <view class="apply-title">申请城市合伙人</view>
<button class="add-btn" plain="true"> <!-- <button class="add-btn" plain="true">
<image class="apply-code" mode="widthFix" webp src="https://img02.glsx.com.cn/weapp/resource/miniprogram/ai-card/home/OR-code.png" bindload="imgSuccess" data-name="logo"></image> <image class="apply-code" mode="widthFix" webp src="https://img02.glsx.com.cn/weapp/resource/miniprogram/ai-card/home/OR-code.png" bindload="imgSuccess" data-name="logo"></image>
添加合伙人专员 添加合伙人专员
</button> </button> -->
</view> </view>
<form class="apply-box" bindsubmit="submitParterner"> <form class="apply-box" bindsubmit="submitParterner">
<view class="apply-info"> <view class="apply-info">
...@@ -18,15 +18,24 @@ ...@@ -18,15 +18,24 @@
<text class="info-lable">联系电话<text class="require"> *</text></text> <text class="info-lable">联系电话<text class="require"> *</text></text>
<input name="telphone" type='text' placeholder-style='font-size:28rpx;color: #9E9EA8;' placeholder='您的联系电话' value="{{parternerForm.telphone}}"></input> <input name="telphone" type='text' placeholder-style='font-size:28rpx;color: #9E9EA8;' placeholder='您的联系电话' value="{{parternerForm.telphone}}"></input>
</view> </view>
<picker mode="region" name="province" value="{{parternerForm.province}}" bindchange="bindRegionChange">
<view class='info-list'> <view class='info-list'>
<text class="info-lable">所在省市<text class="require"> *</text></text>
<block wx:if="{{!parternerForm.province.length}}">
<view class="province-placeholder">请选择</view>
</block>
<block wx:else>
<view>{{parternerForm.province}}</view>
</block>
</view>
</picker>
<!-- <view class='info-list'>
<text class="info-lable">关注内容</text> <text class="info-lable">关注内容</text>
<textarea name="concerContent" class="concer-content" placeholder-style='font-size:28rpx;color: #9E9EA8;' placeholder='您关注的内容(选填)' maxlength="200" value="{{parternerForm.concerContent}}"></textarea> <textarea name="concerContent" class="concer-content" placeholder-style='font-size:28rpx;color: #9E9EA8;' placeholder='您关注的内容(选填)' maxlength="200" value="{{parternerForm.concerContent}}"></textarea>
</view> </view> -->
</view> </view>
<button class="submit-btn" form-type="submit"> <button class="submit-btn" form-type="submit">
提交申请 提交申请
</button> </button>
</form> </form>
<view class="contact-inline">
</view>
</view> </view>
\ No newline at end of file \ No newline at end of file
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
font-size: 56rpx; font-size: 56rpx;
color: #2D2D33; color: #2D2D33;
position: absolute; position: absolute;
top: 128rpx; top: 160rpx;
left: 182rpx; left: 182rpx;
} }
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
padding-left: 14rpx; padding-left: 14rpx;
padding-right: 14rpx; padding-right: 14rpx;
position: absolute; position: absolute;
top: 252rpx; top: 512rpx;
left: 232rpx; left: 232rpx;
} }
...@@ -86,6 +86,11 @@ ...@@ -86,6 +86,11 @@
overflow: auto; overflow: auto;
} }
.province-placeholder {
font-size:28rpx;
color: #9E9EA8;
}
textarea { textarea {
width: 475rpx !important; width: 475rpx !important;
} }
...@@ -95,7 +100,7 @@ textarea { ...@@ -95,7 +100,7 @@ textarea {
height: 80rpx; height: 80rpx;
background: #5850FF; background: #5850FF;
border-radius: 8rpx; border-radius: 8rpx;
margin-top: 40rpx; margin-top: 160rpx;
text-align: center; text-align: center;
font-size: 28rpx; font-size: 28rpx;
color: #FFFFFF; color: #FFFFFF;
...@@ -103,12 +108,3 @@ textarea { ...@@ -103,12 +108,3 @@ textarea {
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
line-height: 80rpx; line-height: 80rpx;
} }
.contact-inline {
width: 50rpx;
height: 50rpx;
background-color: aqua;
position: absolute;
right: 10rpx;
top: 930rpx;
}
\ No newline at end of file \ No newline at end of file
// pages/applySuccess/applySuccess.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file \ No newline at end of file
{
"usingComponents": {},
"navigationBarTitleText": "合作申请"
}
\ No newline at end of file \ No newline at end of file
<!--pages/applySuccess/applySuccess.wxml-->
<view class="success-box">
<view>
<image class="success-img" mode="widthFix" webp src="https://img02.glsx.com.cn/weapp/resource/miniprogram/ai-card/home/success.png" bindload="imgSuccess" data-name="logo"></image>
</view>
<view class="success-title">申请成功</view>
<view class="success-text">您的合伙人对外宣传合作案例页面已生成,</view>
<view class="success-text">点击下方按钮进入您的方案管理页面,</view>
<view class="success-text">可对具体案例页面进行分享。</view>
<button class="share-btn">
进入您的可分享页面
</button>
</view>
/* pages/applySuccess/applySuccess.wxss */
.success-box {
text-align: center;
}
.success-img {
width: 448rpx;
height: 192rpx;
margin-top: 240rpx;
}
.success-title {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 56rpx;
color: #2D2D33;
margin: 32rpx 0;
}
.success-text {
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 28rpx;
color: #333333;
line-height: 48rpx;
}
.share-btn {
width: 622rpx;
height: 80rpx;
font-size: 28rpx;
color: #ffffff;
background: #5850FF;
border-radius: 8rpx;
line-height: 80rpx;
margin-top: 160rpx;
}
\ No newline at end of file \ No newline at end of file
...@@ -22,28 +22,25 @@ ...@@ -22,28 +22,25 @@
"checkSiteMap": true, "checkSiteMap": true,
"uploadWithSourceMap": true, "uploadWithSourceMap": true,
"compileHotReLoad": false, "compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true, "useMultiFrameRuntime": true,
"useApiHook": true, "useApiHook": true,
"useApiHostProcess": true,
"babelSetting": { "babelSetting": {
"ignore": [], "ignore": [],
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
}, },
"bundle": false, "useIsolateContext": false,
"useIsolateContext": true,
"useCompilerModule": false,
"userConfirmedUseCompilerModuleSwitch": false,
"userConfirmedBundleSwitch": false, "userConfirmedBundleSwitch": false,
"packNpmManually": false, "packNpmManually": false,
"packNpmRelationList": [], "packNpmRelationList": [],
"minifyWXSS": true, "minifyWXSS": true,
"useApiHostProcess": false,
"lazyloadPlaceholderEnable": false,
"useStaticServer": true,
"showES6CompileOption": false,
"disableUseStrict": false, "disableUseStrict": false,
"minifyWXML": true,
"showES6CompileOption": false,
"useCompilerPlugins": false, "useCompilerPlugins": false,
"minifyWXML": true "ignoreUploadUnusedFiles": true
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.15.0", "libVersion": "2.15.0",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!