我的样式修改

master
zsk 2 years ago
parent 7ba70848cc
commit cf362e39fb

@ -458,13 +458,13 @@ button.weui-btn_primary::after {
button[type="primary"] {
color: #ffffff;
background-color: #027aff;
background-color: var(--color-yc);
}
.button-hover[type="primary"] {
color: #ffffff;
/* opacity: 0.8; */
background-color: #1f6bbf;
background-color: var(--color-ych);
}
button[disabled][type="primary"] {

@ -2,7 +2,7 @@
<block>
<view class="tc" wx:if="{{!hasAddress}}">
<i class="t-icon t-icon-dizhi" style=" width: 92px;height: 92px;margin-top: 90px;"></i>
<i class="t-icon t-icon-zanwu" style=" width: 92px;height: 92px;margin-top: 90px;"></i>
<view class="mt20 cccc">暂无收货地址</view>
</view>
</block>

@ -84,21 +84,22 @@ Page({
header: app.globalData.headers,
data: formData,
success: function (res) {
// wx.redirectTo({
// url: "../success/index?applyType=" + that.data.applyType
// });
wx.showToast({
icon: "success",
title: "报名成功",
duration: 3000,
success(){
that.setData({
inputUserName:'',
phoneNumber:'',
btnLoading: false
})
}
wx.redirectTo({
url: "../success/index?applyType=0"
// + that.data.applyType
});
// wx.showToast({
// icon: "success",
// title: "报名成功",
// duration: 3000,
// success(){
// that.setData({
// inputUserName:'',
// phoneNumber:'',
// btnLoading: false
// })
// }
// });
}
})

@ -1,4 +1,4 @@
{
"navigationBarBackgroundColor":"#027AFF",
"navigationBarBackgroundColor":"#0dcc91",
"navigationBarTextStyle": "white"
}

@ -21,10 +21,10 @@
</view>
<view class="uploadZheng" hover-class="thover" data-id="1" bindtap="TT">
<image src="{{user.idcardImgFrontm != null ? user.idcardImgFrontm : '//matripe.oss-cn-beijing.aliyuncs.com/tuiguang/renxiang.png'}}"></image>
<image src="{{user.idcardImgFrontm ? user.idcardImgFrontm : '//matripe.oss-cn-beijing.aliyuncs.com/tuiguang/renxiang.png'}}"></image>
</view>
<view class="uploadFan" hover-class="thover" data-id="2" bindtap="TT">
<image src="{{user.idcardImgBackm != null ? user.idcardImgBackm : '//matripe.oss-cn-beijing.aliyuncs.com/tuiguang/guohui.png'}}"></image>
<image src="{{user.idcardImgBackm ? user.idcardImgBackm : '//matripe.oss-cn-beijing.aliyuncs.com/tuiguang/guohui.png'}}"></image>
</view>
</view>

@ -32,3 +32,6 @@ page{
.mt36{
margin-top:36px;
}
.wx-list-li {
padding: 16px 10px;
}

@ -1,5 +1,5 @@
{
"navigationBarBackgroundColor":"#027AFF",
"navigationBarBackgroundColor":"#0dcc91",
"backgroundColor": "#fff",
"navigationBarTextStyle":"white",
"navigationBarTitleText": "我的"

@ -12,7 +12,12 @@
</view>
<view class="userName flex-1" style="display: flex;flex-direction: column;justify-content: space-between;padding: 4px 0;">
<view class="va-center">
<block wx:if="{{user.userName !='' && user.userName!= null && user.userName != 'undefined'}}">
<text class="mr8 fwb" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;max-width: 160px;font-size:20px;">{{user.userName}}</text>
</block>
<block wx:else>
<open-data type="userNickName" class="mr8 fwb" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;max-width: 160px;font-size:20px;"></open-data>
</block>
<button wx:if="{{(isLogin && hasUserInfo - 0 == 0) || user.userName =='微信用户'}}" style="position: absolute;top: 26px;opacity: 0;" open-type="getUserInfo" bindtap="getUserInfoBtn">未获取昵称</button>
<block wx:if="{{isLogin}}">
<i class="iconfont icon-nv3 f12" style="color:#fb8585;line-height:20px" wx:if="{{user.sex == 2}}"></i>

@ -28,7 +28,12 @@
用户名
</view>
<view class="section flex-right">
<text class="c6 mr8">{{user.userName != null ? user.userName : ''}}</text>
<block wx:if="{{user.userName !='' && user.userName!= null && user.userName != 'undefined'}}">
<text class="c6 mr8">{{user.userName}}</text>
</block>
<block wx:else>
<text class="c9 mr8">去设置</text>
</block>
<i class="iconfont icon-you f12 c9"></i>
</view>
</navigator>
@ -80,7 +85,7 @@
<view class="wx-text-list br8 mt10">
<view class='wx-list-li' style="padding: 14px 10px;">
<view class='f16 mw-label display-flex'>
实名认证<view class='iconfont icon-yirenzheng ysd-base-color fw400 f18 ml4 flex-1' style="line-height:1.3;color: #ff4400;"></view>
实名认证<view class='iconfont icon-yirenzheng ysd-base-color fw400 f18 ml4 flex-1' wx:if="{{user.idauth - 1 == 0}}" style="line-height:1.3;color: #ff4400;"></view>
</view>
<view class="section flex-right" bindtap="goAuth" wx:if="{{user.idauth - 1 != 0}}">
<view class="c9">去认证</view>

@ -18,7 +18,7 @@ Page({
var that = this;
if (that.data.applyType == 0) {
wx.navigateTo({
wx.switchTab({
url: "../index/index"
});
} else {

Loading…
Cancel
Save