diff --git a/pages/goods/add.vue b/pages/goods/add.vue
index 4e52788..09a39c0 100644
--- a/pages/goods/add.vue
+++ b/pages/goods/add.vue
@@ -107,7 +107,7 @@
-
+
@@ -355,7 +355,14 @@
submitAdd(){
let pictures = this.pictures.map(val => {return val.path}),
content = this.content.map(val => {return val.path})
-
+
+ if(this.pictures.length <= 0) {
+ uni.showToast({
+ title: '商品轮播图不能为空',
+ icon : 'none'
+ })
+ return
+ }
let submitData = {
name : this.name,
cover : this.pictures[0].path,
diff --git a/pages/user/code.vue b/pages/user/code.vue
index a82eefd..c684e92 100644
--- a/pages/user/code.vue
+++ b/pages/user/code.vue
@@ -50,7 +50,7 @@
长按图片保存
- 确定
+ 取消
diff --git a/pages/user/index.vue b/pages/user/index.vue
index 36d706c..317f6a4 100644
--- a/pages/user/index.vue
+++ b/pages/user/index.vue
@@ -641,7 +641,7 @@ export default {
// 会员信息
.header {
background-image: linear-gradient(to right, #7c52fc, #976dff);
- height: 314px;
+ height: 334px;
// user工具
.user-tool {
text-align: right;
@@ -760,7 +760,7 @@ export default {
}
// 按钮内容
.mian {
- margin-top: -130px;
+ margin-top: -150px;
padding: 15px 30rpx 5px;
background: #F5F5F5;
// 我的资产模块
diff --git a/router/index.js b/router/index.js
index d04e494..ca262ed 100644
--- a/router/index.js
+++ b/router/index.js
@@ -24,11 +24,11 @@ const router = createRouter({
router.beforeEach((to, from, next) => {
const token = store.getters.getToken || uni.getStorageSync('token')
// 检查是否需要微信授权
- if(store.getters.getCode === '' && to.name != 'wxAuth'){
- next({
- name: 'wxAuth'
- })
- }
+ // if(store.getters.getCode === '' && to.name != 'wxAuth'){
+ // next({
+ // name: 'wxAuth'
+ // })
+ // }
// 检查是否需要登录
if(to.auth && token === ''){
next({
diff --git a/unpackage/dist/build/h5/index.html b/unpackage/dist/build/h5/index.html
index 2b19699..2223310 100644
--- a/unpackage/dist/build/h5/index.html
+++ b/unpackage/dist/build/h5/index.html
@@ -1,2 +1,2 @@
链商星球
\ No newline at end of file
+ document.write('')