修改home/index为index/index
This commit is contained in:
parent
6ef97fbed3
commit
559f48a955
@ -4,8 +4,8 @@
|
|||||||
<u-empty :show="jurisdiction" marginTop="260" mode="permission" :text="emptyText"
|
<u-empty :show="jurisdiction" marginTop="260" mode="permission" :text="emptyText"
|
||||||
icon="http://cdn.uviewui.com/uview/empty/permission.png"></u-empty>
|
icon="http://cdn.uviewui.com/uview/empty/permission.png"></u-empty>
|
||||||
<block v-if="isLogin">
|
<block v-if="isLogin">
|
||||||
<view class="special_work com" v-if="userInfoData.mer_info.type_id === 12">
|
<!-- <view class="special_work com" v-if="userInfoData.mer_info.type_id === 12"> -->
|
||||||
<!-- <view class="special_work com" v-if="true"> -->
|
<view class="special_work com" v-if="true">
|
||||||
<view class="title">市级供应链</view>
|
<view class="title">市级供应链</view>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="examine" @click="navigator(`/pages/nongKe/supply_chain/goods_list?merid=${mer_id}`)">
|
<view class="examine" @click="navigator(`/pages/nongKe/supply_chain/goods_list?merid=${mer_id}`)">
|
||||||
@ -38,8 +38,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="business com" v-if="userInfoData.mer_info.type_id === 10">
|
<!-- <view class="business com" v-if="userInfoData.mer_info.type_id === 10"> -->
|
||||||
<!-- <view class="business com" v-if="true"> -->
|
<view class="business com" v-if="true">
|
||||||
<view class="special_work com">
|
<view class="special_work com">
|
||||||
<view class="title">我的店铺</view>
|
<view class="title">我的店铺</view>
|
||||||
<view class="content ">
|
<view class="content ">
|
||||||
@ -100,8 +100,8 @@
|
|||||||
<!-- <gatherBusiness :userInfoData="userInfoData" /> -->
|
<!-- <gatherBusiness :userInfoData="userInfoData" /> -->
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="business com" v-if="userInfoData.mer_info.type_id === 11">
|
<!-- <view class="business com" v-if="userInfoData.mer_info.type_id === 11"> -->
|
||||||
<!-- <view class="business com" v-if="true"> -->
|
<view class="business com" v-if="true">
|
||||||
<view class="special_work com">
|
<view class="special_work com">
|
||||||
<view class="title">里海云仓</view>
|
<view class="title">里海云仓</view>
|
||||||
<view class="content ">
|
<view class="content ">
|
||||||
|
@ -674,7 +674,7 @@
|
|||||||
this.getCategory();
|
this.getCategory();
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
this.where={
|
this.where = {
|
||||||
order: '',
|
order: '',
|
||||||
keyword: '',
|
keyword: '',
|
||||||
page: 1,
|
page: 1,
|
||||||
@ -1115,12 +1115,12 @@
|
|||||||
// 首页
|
// 首页
|
||||||
goHome() {
|
goHome() {
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/home/index'
|
url: '/pages/index/index'
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 商铺底部切换
|
// 商铺底部切换
|
||||||
tab: function(param) {
|
tab: function(param) {
|
||||||
if(this.tabActive==param){
|
if (this.tabActive == param) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.goods = []
|
this.goods = []
|
||||||
|
@ -13,27 +13,29 @@
|
|||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name">商户名称</text>
|
<text class="item-name">商户名称</text>
|
||||||
<input type="text" maxlength="30" placeholder="请输入商户名称" v-model="merchantData.enterprise_name" @input="validateBtn"
|
<input type="text" maxlength="30" placeholder="请输入商户名称" v-model="merchantData.enterprise_name"
|
||||||
placeholder-class='placeholder' />
|
@input="validateBtn" placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name">用户姓名</text>
|
<text class="item-name">用户姓名</text>
|
||||||
<input type="text" placeholder="请输入姓名" v-model="merchantData.user_name" @input="validateBtn" placeholder-class='placeholder' />
|
<input type="text" placeholder="请输入姓名" v-model="merchantData.user_name" @input="validateBtn"
|
||||||
|
placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name">联系电话</text>
|
<text class="item-name">联系电话</text>
|
||||||
<input type="text" placeholder="请输入手机号" v-model="merchantData.phone" @input="validateBtn" placeholder-class='placeholder' />
|
<input type="text" placeholder="请输入手机号" v-model="merchantData.phone" @input="validateBtn"
|
||||||
|
placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item rel">
|
<view class="item rel">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name">验证码</text>
|
<text class="item-name">验证码</text>
|
||||||
<input type="text" placeholder="填写验证码" v-model="merchantData.yanzhengma" @input="validateBtn" class="codeIput"
|
<input type="text" placeholder="填写验证码" v-model="merchantData.yanzhengma" @input="validateBtn"
|
||||||
placeholder-class='placeholder' />
|
class="codeIput" placeholder-class='placeholder' />
|
||||||
<button class="code" :disabled="disabled" :class="disabled === true ? 'on' : ''" @click="handleVerify">
|
<button class="code" :disabled="disabled" :class="disabled === true ? 'on' : ''" @click="handleVerify">
|
||||||
{{ text }}
|
{{ text }}
|
||||||
</button>
|
</button>
|
||||||
@ -44,7 +46,9 @@
|
|||||||
<text class="item-name">验证码</text>
|
<text class="item-name">验证码</text>
|
||||||
<input type="text" placeholder="请输入验证码" class="codeIput" v-model="codeVal" @input="validateBtn"
|
<input type="text" placeholder="请输入验证码" class="codeIput" v-model="codeVal" @input="validateBtn"
|
||||||
placeholder-class='placeholder' />
|
placeholder-class='placeholder' />
|
||||||
<view class="imageCode" @click="again"><image :src="codeUrl" /></view>
|
<view class="imageCode" @click="again">
|
||||||
|
<image :src="codeUrl" />
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
@ -80,7 +84,8 @@
|
|||||||
<text class="item-title">请上传营业执照及行业相关资质证明图片</text>
|
<text class="item-title">请上传营业执照及行业相关资质证明图片</text>
|
||||||
<text class="item-desc">(图片最多可上传10张,图片格式支持JPG、PNG、JPEG)</text>
|
<text class="item-desc">(图片最多可上传10张,图片格式支持JPG、PNG、JPEG)</text>
|
||||||
<view class="upload">
|
<view class="upload">
|
||||||
<view class='pictrue' v-for="(item,index) in pics" :key="index" :data-index="index" @click="getPhotoClickIdx">
|
<view class='pictrue' v-for="(item,index) in pics" :key="index" :data-index="index"
|
||||||
|
@click="getPhotoClickIdx">
|
||||||
<image :src='item'></image>
|
<image :src='item'></image>
|
||||||
<text class='iconfont icon-guanbi1' @click.stop='DelPic(index)'></text>
|
<text class='iconfont icon-guanbi1' @click.stop='DelPic(index)'></text>
|
||||||
</view>
|
</view>
|
||||||
@ -93,7 +98,8 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="item no-border">
|
<view class="item no-border">
|
||||||
<checkbox-group @change='ChangeIsAgree'>
|
<checkbox-group @change='ChangeIsAgree'>
|
||||||
<checkbox class="checkbox" :checked="isAgree ? true : false" />已阅读并同意</checkbox-group>
|
<checkbox class="checkbox" :checked="isAgree ? true : false" />已阅读并同意
|
||||||
|
</checkbox-group>
|
||||||
<button class="settleAgree" @click="getConfig">《入驻协议》</button>
|
<button class="settleAgree" @click="getConfig">《入驻协议》</button>
|
||||||
</view>
|
</view>
|
||||||
<button class='submitBtn' :class="validate === true ? 'on':''" @click="formSubmit">提交申请</button>
|
<button class='submitBtn' :class="validate === true ? 'on':''" @click="formSubmit">提交申请</button>
|
||||||
@ -114,7 +120,8 @@
|
|||||||
<text class='loading iconfont icon-jiazai' :hidden='loading==false'></text>
|
<text class='loading iconfont icon-jiazai' :hidden='loading==false'></text>
|
||||||
</view>
|
</view>
|
||||||
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
|
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
|
||||||
<Verify @success="success" :captchaType="'blockPuzzle'" :imgSize="{ width: '330px', height: '155px' }" ref="verify"></Verify>
|
<Verify @success="success" :captchaType="'blockPuzzle'" :imgSize="{ width: '330px', height: '155px' }" ref="verify">
|
||||||
|
</Verify>
|
||||||
</view>
|
</view>
|
||||||
<view class="settledSuccessMain" v-else :style="viewColor">
|
<view class="settledSuccessMain" v-else :style="viewColor">
|
||||||
<view class="settledSuccessful">
|
<view class="settledSuccessful">
|
||||||
@ -212,7 +219,7 @@
|
|||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
clearTimeout(this.timer)
|
clearTimeout(this.timer)
|
||||||
},
|
},
|
||||||
computed: configMap({sys_intention_agree:''},mapGetters(['isLogin','viewColor','keyColor'])),
|
computed: configMap({ sys_intention_agree: '' }, mapGetters(['isLogin', 'viewColor', 'keyColor'])),
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
if (this.isLogin) {
|
if (this.isLogin) {
|
||||||
this.getClassfication();
|
this.getClassfication();
|
||||||
@ -352,7 +359,7 @@
|
|||||||
// 首页
|
// 首页
|
||||||
goHome() {
|
goHome() {
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/home/index'
|
url: '/pages/index/index'
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
again() {
|
again() {
|
||||||
@ -518,7 +525,7 @@
|
|||||||
that.validate = false;
|
that.validate = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else{
|
} else {
|
||||||
that.validate = false;
|
that.validate = false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -580,18 +587,22 @@
|
|||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
/deep/checkbox .uni-checkbox-input.uni-checkbox-input-checked,
|
/deep/checkbox .uni-checkbox-input.uni-checkbox-input-checked,
|
||||||
/deep/checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
/deep/checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid var(--view-theme)!important;
|
border: 1px solid var(--view-theme) !important;
|
||||||
background-color: var(--view-theme)!important;
|
background-color: var(--view-theme) !important;
|
||||||
color: #fff!important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uni-input-placeholder {
|
.uni-input-placeholder {
|
||||||
color: #B2B2B2;
|
color: #B2B2B2;
|
||||||
}
|
}
|
||||||
.item-name{
|
|
||||||
|
.item-name {
|
||||||
width: 190rpx;
|
width: 190rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uni-list-cell {
|
.uni-list-cell {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.iconfont {
|
.iconfont {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #7a7a7a;
|
color: #7a7a7a;
|
||||||
@ -599,21 +610,26 @@
|
|||||||
right: 15px;
|
right: 15px;
|
||||||
top: 7rpx;
|
top: 7rpx;
|
||||||
}
|
}
|
||||||
.icon-guanbi2{
|
|
||||||
|
.icon-guanbi2 {
|
||||||
right: 35px;
|
right: 35px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.merchantBgCount{
|
|
||||||
|
.merchantBgCount {
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled {
|
.merchantsSettled {
|
||||||
background-image: linear-gradient(var(--view-bntColor21) 0%, var(--view-bntColor22) 100%);
|
background-image: linear-gradient(var(--view-bntColor21) 0%, var(--view-bntColor22) 100%);
|
||||||
height: 140vh;
|
height: 140vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .merchantBg {
|
.merchantsSettled .merchantBg {
|
||||||
width: 750rpx;
|
width: 750rpx;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .list {
|
.merchantsSettled .list {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
@ -624,6 +640,7 @@
|
|||||||
width: calc(100% - 30px);
|
width: calc(100% - 30px);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.application-record {
|
.application-record {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -636,21 +653,25 @@
|
|||||||
padding: 8rpx 18rpx;
|
padding: 8rpx 18rpx;
|
||||||
border-radius: 20px 0px 0px 20px;
|
border-radius: 20px 0px 0px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .list .item {
|
.merchantsSettled .list .item {
|
||||||
padding: 50rpx 0 20rpx;
|
padding: 50rpx 0 20rpx;
|
||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 0 20px;
|
margin: 0 20px;
|
||||||
|
|
||||||
&.no-border {
|
&.no-border {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-title {
|
.item-title {
|
||||||
color: #666666;
|
color: #666666;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-desc {
|
.item-desc {
|
||||||
color: #B2B2B2;
|
color: #B2B2B2;
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
@ -659,7 +680,9 @@
|
|||||||
line-height: 36rpx;
|
line-height: 36rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.acea-row,.upload {
|
|
||||||
|
.acea-row,
|
||||||
|
.upload {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -moz-box;
|
display: -moz-box;
|
||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
@ -672,9 +695,11 @@
|
|||||||
-ms-flex-wrap: wrap;
|
-ms-flex-wrap: wrap;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.upload {
|
.upload {
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.acea-row.row-middle {
|
.acea-row.row-middle {
|
||||||
-webkit-box-align: center;
|
-webkit-box-align: center;
|
||||||
-moz-box-align: center;
|
-moz-box-align: center;
|
||||||
@ -684,6 +709,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
padding-left: 2px;
|
padding-left: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.acea-row.row-column {
|
.acea-row.row-column {
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
-moz-box-orient: vertical;
|
-moz-box-orient: vertical;
|
||||||
@ -692,6 +718,7 @@
|
|||||||
-ms-flex-direction: column;
|
-ms-flex-direction: column;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.acea-row.row-center-wrapper {
|
.acea-row.row-center-wrapper {
|
||||||
-webkit-box-align: center;
|
-webkit-box-align: center;
|
||||||
-moz-box-align: center;
|
-moz-box-align: center;
|
||||||
@ -706,6 +733,7 @@
|
|||||||
-webkit-justify-content: center;
|
-webkit-justify-content: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .list .item .pictrue {
|
.merchantsSettled .list .item .pictrue {
|
||||||
width: 130rpx;
|
width: 130rpx;
|
||||||
height: 130rpx;
|
height: 130rpx;
|
||||||
@ -713,18 +741,22 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
color: #bbb;
|
color: #bbb;
|
||||||
|
|
||||||
&:nth-child(4n) {
|
&:nth-child(4n) {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-last-child(1) {
|
&:nth-last-child(1) {
|
||||||
border: 0.5px solid #ddd;
|
border: 0.5px solid #ddd;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
uni-image,
|
uni-image,
|
||||||
image {
|
image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
border-radius: 1px;
|
border-radius: 1px;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
@ -738,6 +770,7 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-guanbi1 {
|
.icon-guanbi1 {
|
||||||
font-size: 33rpx;
|
font-size: 33rpx;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -745,10 +778,12 @@
|
|||||||
right: -10px;
|
right: -10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.uni-list-cell-db{
|
|
||||||
|
.uni-list-cell-db {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.wenhao{
|
|
||||||
|
.wenhao {
|
||||||
width: 34rpx;
|
width: 34rpx;
|
||||||
height: 34rpx;
|
height: 34rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -757,44 +792,53 @@
|
|||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: #E3E3E3;
|
background: #E3E3E3;
|
||||||
color: #ffffff!important;
|
color: #ffffff !important;
|
||||||
margin-left: 4rpx;
|
margin-left: 4rpx;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 122rpx;
|
left: 122rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .list .item .imageCode {
|
.merchantsSettled .list .item .imageCode {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 7px;
|
top: 7px;
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .list .item .icon {
|
.merchantsSettled .list .item .icon {
|
||||||
font-size: 40rpx;
|
font-size: 40rpx;
|
||||||
color: #b4b1b4;
|
color: #b4b1b4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .list .item input {
|
.merchantsSettled .list .item input {
|
||||||
width: 400rpx;
|
width: 400rpx;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .list .item .placeholder {
|
.merchantsSettled .list .item .placeholder {
|
||||||
color: #b2b2b2;
|
color: #b2b2b2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .default {
|
.merchantsSettled .default {
|
||||||
padding: 0 30rpx;
|
padding: 0 30rpx;
|
||||||
height: 90rpx;
|
height: 90rpx;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
margin-top: 23rpx;
|
margin-top: 23rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .default checkbox {
|
.merchantsSettled .default checkbox {
|
||||||
margin-right: 15rpx;
|
margin-right: 15rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .acea-row uni-image {
|
.merchantsSettled .acea-row uni-image {
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .list .item .codeIput {
|
.merchantsSettled .list .item .codeIput {
|
||||||
width: 125px;
|
width: 125px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uni-input-input {
|
.uni-input-input {
|
||||||
display: block;
|
display: block;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -810,6 +854,7 @@
|
|||||||
text-transform: inherit;
|
text-transform: inherit;
|
||||||
text-shadow: inherit;
|
text-shadow: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .list .item .code {
|
.merchantsSettled .list .item .code {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 93px;
|
width: 93px;
|
||||||
@ -822,11 +867,13 @@
|
|||||||
right: 0;
|
right: 0;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .list .item .code.on {
|
.merchantsSettled .list .item .code.on {
|
||||||
background-color: #bbb;
|
background-color: #bbb;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-color: #bbb;
|
border-color: #bbb;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .submitBtn {
|
.merchantsSettled .submitBtn {
|
||||||
width: 588rpx;
|
width: 588rpx;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@ -840,30 +887,36 @@
|
|||||||
margin-top: 25px;
|
margin-top: 25px;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled .submitBtn.on {
|
.merchantsSettled .submitBtn.on {
|
||||||
background: var(--view-theme);
|
background: var(--view-theme);
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
}
|
}
|
||||||
|
|
||||||
uni-checkbox-group,
|
uni-checkbox-group,
|
||||||
.settleAgree {
|
.settleAgree {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
uni-checkbox-group {
|
uni-checkbox-group {
|
||||||
color: #b2b2b2;
|
color: #b2b2b2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settleAgree {
|
.settleAgree {
|
||||||
color: var(--view-theme);
|
color: var(--view-theme);
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 2px;
|
top: 2px;
|
||||||
left: 8px;
|
left: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.merchantsSettled uni-checkbox .uni-checkbox-wrapper {
|
.merchantsSettled uni-checkbox .uni-checkbox-wrapper {
|
||||||
width: 30rpx;
|
width: 30rpx;
|
||||||
height: 30rpx;
|
height: 30rpx;
|
||||||
border: 2rpx solid #C3C3C3;
|
border: 2rpx solid #C3C3C3;
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settlementAgreement {
|
.settlementAgreement {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -873,6 +926,7 @@
|
|||||||
background: rgba(0, 0, 0, .5);
|
background: rgba(0, 0, 0, .5);
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settlementAgreement .setAgCount {
|
.settlementAgreement .setAgCount {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
width: 656rpx;
|
width: 656rpx;
|
||||||
@ -887,18 +941,22 @@
|
|||||||
-moz-transform: translate(-50%, -50%);
|
-moz-transform: translate(-50%, -50%);
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
height: 900rpx;
|
height: 900rpx;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
|
||||||
/deep/ p {
|
/deep/ p {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ img {
|
/deep/ img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.settlementAgreement .setAgCount .icon {
|
.settlementAgreement .setAgCount .icon {
|
||||||
font-size: 42rpx;
|
font-size: 42rpx;
|
||||||
color: #b4b1b4;
|
color: #b4b1b4;
|
||||||
@ -906,12 +964,14 @@
|
|||||||
top: 15rpx;
|
top: 15rpx;
|
||||||
right: 15rpx;
|
right: 15rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settlementAgreement .setAgCount .title {
|
.settlementAgreement .setAgCount .title {
|
||||||
color: #333;
|
color: #333;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settlementAgreement .setAgCount .content {
|
.settlementAgreement .setAgCount .content {
|
||||||
margin-top: 32rpx;
|
margin-top: 32rpx;
|
||||||
color: #333;
|
color: #333;
|
||||||
@ -922,12 +982,14 @@
|
|||||||
height: 756rpx;
|
height: 756rpx;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settledSuccessMain {
|
.settledSuccessMain {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settledSuccessful {
|
.settledSuccessful {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -936,22 +998,26 @@
|
|||||||
background: #fff;
|
background: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settledSuccessful .image {
|
.settledSuccessful .image {
|
||||||
width: 189px;
|
width: 189px;
|
||||||
height: 157px;
|
height: 157px;
|
||||||
margin-top: 66px;
|
margin-top: 66px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settledSuccessful .title {
|
.settledSuccessful .title {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-top: 35px;
|
margin-top: 35px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settledSuccessful .info {
|
.settledSuccessful .info {
|
||||||
color: #A0A0A0;
|
color: #A0A0A0;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settledSuccessful .goHome {
|
.settledSuccessful .goHome {
|
||||||
margin: 60px auto 0;
|
margin: 60px auto 0;
|
||||||
line-height: 43px;
|
line-height: 43px;
|
||||||
@ -960,14 +1026,17 @@
|
|||||||
border: 1px solid #B4B4B4;
|
border: 1px solid #B4B4B4;
|
||||||
border-radius: 60px;
|
border-radius: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ uni-checkbox .uni-checkbox-input {
|
/deep/ uni-checkbox .uni-checkbox-input {
|
||||||
width: 15px;
|
width: 15px;
|
||||||
height: 15px;
|
height: 15px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked:before {
|
/deep/ uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked:before {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.loadingicon {
|
.loadingicon {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@ -975,21 +1044,26 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-xiangyou {
|
.icon-xiangyou {
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
// #ifdef MP
|
// #ifdef MP
|
||||||
checkbox-group {
|
checkbox-group {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
// #endif
|
// #endif
|
||||||
.setAgCount{
|
.setAgCount {
|
||||||
/deep/ table{
|
/deep/ table {
|
||||||
border: 1px solid #DDD;
|
border: 1px solid #DDD;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
}
|
}
|
||||||
/deep/ td, th {
|
|
||||||
|
/deep/ td,
|
||||||
|
th {
|
||||||
padding: 5rpx 10rpx;
|
padding: 5rpx 10rpx;
|
||||||
border-bottom: 1px solid #DDD;
|
border-bottom: 1px solid #DDD;
|
||||||
border-right: 1px solid #DDD;
|
border-right: 1px solid #DDD;
|
||||||
|
@ -199,15 +199,16 @@
|
|||||||
// #ifdef MP
|
// #ifdef MP
|
||||||
//用户没有绑定openid,授权并绑定
|
//用户没有绑定openid,授权并绑定
|
||||||
if (data.user.wechat_user_id === 0) {
|
if (data.user.wechat_user_id === 0) {
|
||||||
let that=this
|
let that = this
|
||||||
wx.getUserInfo({
|
wx.getUserInfo({
|
||||||
success: function (res) {
|
success: function(res) {
|
||||||
const encryptedData = res.encryptedData
|
const encryptedData = res.encryptedData
|
||||||
const iv = res.iv
|
const iv = res.iv
|
||||||
wx.login({
|
wx.login({
|
||||||
success (res) {
|
success(res) {
|
||||||
if (res.code) {
|
if (res.code) {
|
||||||
bindMp({code: res.code, iv: iv, encryptedData: encryptedData,phone: that.account}).then(res => {
|
bindMp({ code: res.code, iv: iv, encryptedData: encryptedData, phone: that
|
||||||
|
.account }).then(res => {
|
||||||
// console.log(res);
|
// console.log(res);
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
@ -224,7 +225,7 @@
|
|||||||
// #endif
|
// #endif
|
||||||
console.log('验证码登录', data);
|
console.log('验证码登录', data);
|
||||||
let time = data.expires_time - Cache.time();
|
let time = data.expires_time - Cache.time();
|
||||||
const backUrl = that.$Cache.get(BACK_URL) || "/pages/home/index";
|
const backUrl = that.$Cache.get(BACK_URL) || "/pages/index/index";
|
||||||
that.$Cache.clear(BACK_URL);
|
that.$Cache.clear(BACK_URL);
|
||||||
that.$store.commit("LOGIN", {
|
that.$store.commit("LOGIN", {
|
||||||
'token': data.token,
|
'token': data.token,
|
||||||
@ -238,7 +239,7 @@
|
|||||||
Cache.set(USER_INFO, data.user, time);
|
Cache.set(USER_INFO, data.user, time);
|
||||||
// #endif
|
// #endif
|
||||||
let method
|
let method
|
||||||
let indexPat = ['/pages/home/index', '/pages/order_addcart/order_addcart',
|
let indexPat = ['/pages/index/index', '/pages/order_addcart/order_addcart',
|
||||||
'/pages/goods_cate/goods_cate',
|
'/pages/goods_cate/goods_cate',
|
||||||
'/pages/user/index'
|
'/pages/user/index'
|
||||||
]
|
]
|
||||||
@ -249,7 +250,7 @@
|
|||||||
}
|
}
|
||||||
if (this.getPath(backUrl) === '/pages/users/login/index') {
|
if (this.getPath(backUrl) === '/pages/users/login/index') {
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/home/index'
|
url: '/pages/index/index'
|
||||||
});
|
});
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -305,7 +305,7 @@
|
|||||||
.then(res => {
|
.then(res => {
|
||||||
that.$store.commit("LOGOUT");
|
that.$store.commit("LOGOUT");
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url: '/pages/home/index',
|
url: '/pages/index/index',
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user