Commit 04c2e332 by LJM

js

parent 084799fc
...@@ -136,6 +136,24 @@ ...@@ -136,6 +136,24 @@
font-weight: bold; font-weight: bold;
} }
} }
.success {
.iconfont {
font-size: 96rpx;
color: #1969f9;
}
.success-text {
margin-left: 32rpx;
.t1 {
font-size: 32rpx;
color: #292b33;
font-weight: bold;
}
.t2 {
font-size: 24rpx;
color: #919399;
}
}
}
.btn { .btn {
height: 68rpx; height: 68rpx;
background: #1969f9; background: #1969f9;
......
...@@ -67,14 +67,20 @@ ...@@ -67,14 +67,20 @@
</view> </view>
<view class="btn row rowCenter verCenter" @click="submit()">提交</view> <view class="btn row rowCenter verCenter" @click="submit()">提交</view>
</view> </view>
<!-- 获取电子券信息 --> <!-- 提交成功 -->
<uni-popup ref="popup" type="center"> <uni-popup ref="popup" type="center">
<view class="layer-box"> <view class="layer-box">
<view class="title row verCenter bothSide"> <view class="title row verCenter bothSide">
<view class="left"></view> <view class="left"></view>
<view class="right row"><text class="iconfont icon-xxx" @click="close()"></text></view> <view class="right row"><text class="iconfont icon-xxx" @click="close()"></text></view>
</view> </view>
<view class="success"></view> <view class="success row">
<text class="iconfont icon-huaban"></text>
<view class="success-text column">
<text class="t1">提交成功</text>
<text class="t2">正在为您安排专人对接,请注意接听预留电话</text>
</view>
</view>
<view class="btn row rowCenter verCenter">确定</view> <view class="btn row rowCenter verCenter">确定</view>
</view> </view>
</uni-popup> </uni-popup>
......
...@@ -174,6 +174,7 @@ router.beforeEach((to, from, next) => { ...@@ -174,6 +174,7 @@ router.beforeEach((to, from, next) => {
if (res.err_code === 0) { if (res.err_code === 0) {
setCookie('Yo4teW_gid', res.data.Yo4teW_gid, 15); setCookie('Yo4teW_gid', res.data.Yo4teW_gid, 15);
setCookie('Yo4teW_csrf', res.data.Yo4teW_csrf, 15); setCookie('Yo4teW_csrf', res.data.Yo4teW_csrf, 15);
setCookie('Yo4teW_uid', res.data.Yo4teW_uid, 15);
next() next()
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment