tijiao
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,8 @@
|
||||
<template>
|
||||
<page-meta :page-font-size="$baseFontSize()+'px'" :root-font-size="$baseFontSize()+'px'"></page-meta>
|
||||
<page-meta
|
||||
:page-font-size="$baseFontSize() + 'px'"
|
||||
:root-font-size="$baseFontSize() + 'px'"
|
||||
></page-meta>
|
||||
<view class="page commonPage"
|
||||
><public-module></public-module>
|
||||
|
||||
@@ -209,12 +212,12 @@ import md5 from "@/plugins/md5";
|
||||
//1、密码为八位及以上并且字母数字特殊字符三项都包括
|
||||
var strongRegex = new RegExp(
|
||||
"^(?=.{8,})(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*\\W).*$",
|
||||
"g"
|
||||
"g",
|
||||
);
|
||||
//2、密码为八位及以上并且字母、数字、特殊字符三项中有两项,强度是中等
|
||||
var mediumRegex = new RegExp(
|
||||
"^(?=.{8,})(((?=.*[A-Z])(?=.*[a-z]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[a-z])(?=.*\\W))|((?=.*[0-9])(?=.*\\W))|((?=.*[A-Z])(?=.*\\W))).*$",
|
||||
"g"
|
||||
"g",
|
||||
);
|
||||
|
||||
var enoughRegex = new RegExp("(?=.{8,}).*", "g");
|
||||
@@ -363,7 +366,7 @@ export default {
|
||||
this.isPassWordPhone
|
||||
? this.urlList.sendcode
|
||||
: this.urlList.sendEmailcode,
|
||||
data
|
||||
data,
|
||||
)
|
||||
.then((res) => {
|
||||
this.getCodeState();
|
||||
@@ -456,7 +459,7 @@ export default {
|
||||
this.$commonJS.showToast(this.note);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
this.$http
|
||||
.post(this.urlList.setPassword, {
|
||||
phone: this.resetForm.phone,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -8,16 +8,24 @@
|
||||
|
||||
<view v-if="selected == 1">
|
||||
<view class="header_box"></view>
|
||||
|
||||
|
||||
<view class="main_content_box">
|
||||
<view class="cate_box" v-if="cateList.length>0">
|
||||
<view class="cate_item_box" v-for="(v, i) in cateList" @click="handleClickCate(v)">
|
||||
<view class="cate_item_border">
|
||||
<image :src="v.icon" mode="aspectFill" style="width: 49rpx; height: 49rpx"></image>
|
||||
</view>
|
||||
<view class="cate_item_name">{{ v.title }}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="cate_box" v-if="cateList.length > 0">
|
||||
<view
|
||||
class="cate_item_box"
|
||||
v-for="(v, i) in cateList"
|
||||
@click="handleClickCate(v)"
|
||||
>
|
||||
<view class="cate_item_border">
|
||||
<image
|
||||
:src="v.icon"
|
||||
mode="aspectFill"
|
||||
style="width: 49rpx; height: 49rpx"
|
||||
></image>
|
||||
</view>
|
||||
<view class="cate_item_name">{{ v.title }}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="flash_sale_box notice_box">
|
||||
<view class="flash_sale_top">
|
||||
<image
|
||||
@@ -43,7 +51,7 @@
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<view class="flash_sale_box">
|
||||
<view class="flash_sale_top">
|
||||
<image
|
||||
@@ -52,7 +60,9 @@
|
||||
mode="aspectFill"
|
||||
style="width: 36rpx; height: 44rpx"
|
||||
></image>
|
||||
<text class="miaoShaTitle" @click="goVideo" style="width: auto;">秒杀</text>
|
||||
<text class="miaoShaTitle" @click="goVideo" style="width: auto"
|
||||
>秒杀</text
|
||||
>
|
||||
<view class="miaoShaContent">
|
||||
<!-- {{ miaoShaContent }} -->
|
||||
</view>
|
||||
@@ -85,7 +95,6 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<!-- <view class="learning_box listening_box bottomBox">
|
||||
<view class="item_img" @click="handleGoApp">
|
||||
<image src="@/static/tab/bottom1.png" mode="aspectFill"></image>
|
||||
@@ -105,10 +114,19 @@
|
||||
font-size: 28rpx;
|
||||
"
|
||||
>
|
||||
<view class="bg_top">
|
||||
<u-icon @click="goSetting" class="setIcon" labelColor="#fff" labelPos="bottom" label="设置" name="setting"
|
||||
:style="`top:${(10 + statusBarHeight) * 2}rpx`" color="#fff" size="28"></u-icon>
|
||||
</view>
|
||||
<view class="bg_top">
|
||||
<u-icon
|
||||
@click="goSetting"
|
||||
class="setIcon"
|
||||
labelColor="#fff"
|
||||
labelPos="bottom"
|
||||
label="设置"
|
||||
name="setting"
|
||||
:style="`top:${(10 + statusBarHeight) * 2}rpx`"
|
||||
color="#fff"
|
||||
size="28"
|
||||
></u-icon>
|
||||
</view>
|
||||
<view style="height: 50rpx"></view>
|
||||
<view class="per_mes" style="display: flex; align-items: center">
|
||||
<image src="@/static/icon/fengziIcon.png" class="per_mes_img"></image>
|
||||
@@ -398,7 +416,7 @@ export default {
|
||||
},
|
||||
function (e) {
|
||||
console.log("Open system default browser failed: " + e.message);
|
||||
}
|
||||
},
|
||||
);
|
||||
} else if (plus.os.name == "iOS") {
|
||||
// plus.runtime.launchApplication(
|
||||
@@ -456,7 +474,7 @@ export default {
|
||||
isBook: 0, //是否是疯子读书
|
||||
isMedical: 0, //是否是吴门医述
|
||||
isSociology: 1, //是否是众妙之门
|
||||
isPsyche:0,
|
||||
isPsyche: 0,
|
||||
};
|
||||
this.$http
|
||||
.request({
|
||||
@@ -639,7 +657,7 @@ export default {
|
||||
//这链接会判断你手机是ios还是Android,Android进入应用宝下载app
|
||||
//跟下面的是一个链接
|
||||
console.log(res);
|
||||
}
|
||||
},
|
||||
);
|
||||
}
|
||||
} else if (plus.os.name == "iOS") {
|
||||
@@ -658,18 +676,19 @@ export default {
|
||||
//这链接会判断你手机是ios还是Android,ios进入应用宝下载app
|
||||
//跟上面的是一个链接
|
||||
console.log(res);
|
||||
}
|
||||
},
|
||||
);
|
||||
}
|
||||
},
|
||||
);
|
||||
// }
|
||||
}
|
||||
},goSetting() {
|
||||
},
|
||||
goSetting() {
|
||||
uni.navigateTo({
|
||||
url: "/pages/mine/set/index",
|
||||
});
|
||||
// this.onPageJump("/pages/mine/set/index");
|
||||
},
|
||||
url: "/pages/mine/set/index",
|
||||
});
|
||||
// this.onPageJump("/pages/mine/set/index");
|
||||
},
|
||||
goGoodsDetail(v) {
|
||||
console.log(v);
|
||||
uni.navigateTo({
|
||||
@@ -679,7 +698,6 @@ export default {
|
||||
},
|
||||
|
||||
handleClickCurriculum(v) {
|
||||
|
||||
console.log(v);
|
||||
if (v.url) {
|
||||
uni.navigateTo({
|
||||
@@ -691,7 +709,7 @@ export default {
|
||||
},
|
||||
handleClickCate(v) {
|
||||
console.log(v);
|
||||
|
||||
|
||||
uni.navigateTo({
|
||||
url: `/pages/user/cateList?navTitle=${v.title}&title=${v.title}&id=${v.id}`,
|
||||
});
|
||||
@@ -1386,17 +1404,16 @@ function calcTimer(timer) {
|
||||
// background: #fff;
|
||||
}
|
||||
.bg_top {
|
||||
// background-position: center center;
|
||||
padding: 0 30rpx;
|
||||
// background-position: center center;
|
||||
padding: 0 30rpx;
|
||||
|
||||
height: 40rpx;
|
||||
position: relative;
|
||||
|
||||
.setIcon {
|
||||
position: absolute;
|
||||
right: 30rpx;
|
||||
// top: 30rpx;
|
||||
}
|
||||
}
|
||||
height: 40rpx;
|
||||
position: relative;
|
||||
|
||||
.setIcon {
|
||||
position: absolute;
|
||||
right: 30rpx;
|
||||
// top: 30rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user