调整商品发布图片提示
This commit is contained in:
@@ -107,7 +107,7 @@
|
|||||||
<view class="form-box picker-flex">
|
<view class="form-box picker-flex">
|
||||||
<label class="form-label">允许售后</label>
|
<label class="form-label">允许售后</label>
|
||||||
<view class="picker-switch">
|
<view class="picker-switch">
|
||||||
<switch :checked="isPostSale" color="#e93340" @change="pickerChange($event, 'isPostSale')"/>
|
<switch :checked="isPostSale" color="#8b64fd" @change="pickerChange($event, 'isPostSale')"/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="form-box picker-flex">
|
<view class="form-box picker-flex">
|
||||||
@@ -355,7 +355,14 @@
|
|||||||
submitAdd(){
|
submitAdd(){
|
||||||
let pictures = this.pictures.map(val => {return val.path}),
|
let pictures = this.pictures.map(val => {return val.path}),
|
||||||
content = this.content.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 = {
|
let submitData = {
|
||||||
name : this.name,
|
name : this.name,
|
||||||
cover : this.pictures[0].path,
|
cover : this.pictures[0].path,
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="poster-btn">
|
<view class="poster-btn">
|
||||||
<view class="operate">长按图片保存</view>
|
<view class="operate">长按图片保存</view>
|
||||||
<view class="operate operate-cancel" @tap="posterShow = false">确定</view>
|
<view class="operate operate-cancel" @tap="posterShow = false">取消</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -641,7 +641,7 @@ export default {
|
|||||||
// 会员信息
|
// 会员信息
|
||||||
.header {
|
.header {
|
||||||
background-image: linear-gradient(to right, #7c52fc, #976dff);
|
background-image: linear-gradient(to right, #7c52fc, #976dff);
|
||||||
height: 314px;
|
height: 334px;
|
||||||
// user工具
|
// user工具
|
||||||
.user-tool {
|
.user-tool {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
@@ -760,7 +760,7 @@ export default {
|
|||||||
}
|
}
|
||||||
// 按钮内容
|
// 按钮内容
|
||||||
.mian {
|
.mian {
|
||||||
margin-top: -130px;
|
margin-top: -150px;
|
||||||
padding: 15px 30rpx 5px;
|
padding: 15px 30rpx 5px;
|
||||||
background: #F5F5F5;
|
background: #F5F5F5;
|
||||||
// 我的资产模块
|
// 我的资产模块
|
||||||
|
|||||||
@@ -24,11 +24,11 @@ const router = createRouter({
|
|||||||
router.beforeEach((to, from, next) => {
|
router.beforeEach((to, from, next) => {
|
||||||
const token = store.getters.getToken || uni.getStorageSync('token')
|
const token = store.getters.getToken || uni.getStorageSync('token')
|
||||||
// 检查是否需要微信授权
|
// 检查是否需要微信授权
|
||||||
if(store.getters.getCode === '' && to.name != 'wxAuth'){
|
// if(store.getters.getCode === '' && to.name != 'wxAuth'){
|
||||||
next({
|
// next({
|
||||||
name: 'wxAuth'
|
// name: 'wxAuth'
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
// 检查是否需要登录
|
// 检查是否需要登录
|
||||||
if(to.auth && token === ''){
|
if(to.auth && token === ''){
|
||||||
next({
|
next({
|
||||||
|
|||||||
2
unpackage/dist/build/h5/index.html
vendored
2
unpackage/dist/build/h5/index.html
vendored
@@ -1,2 +1,2 @@
|
|||||||
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>链商星球</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>链商星球</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
||||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.5e7e3b56.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.61332aa4.js></script><script src=/static/js/index.f88560eb.js></script></body></html>
|
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.5e7e3b56.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.61332aa4.js></script><script src=/static/js/index.e319a908.js></script></body></html>
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/h5/static/js/pages-shop-lists.e95122c8.js
vendored
Normal file
1
unpackage/dist/build/h5/static/js/pages-shop-lists.e95122c8.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/h5/static/js/pages-user-code.8fbb2154.js
vendored
Normal file
1
unpackage/dist/build/h5/static/js/pages-user-code.8fbb2154.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/h5/static/js/pages-user-index.5c033534.js
vendored
Normal file
1
unpackage/dist/build/h5/static/js/pages-user-index.5c033534.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/h5/static/js/pages-vip-vip.f458f114.js
vendored
Normal file
1
unpackage/dist/build/h5/static/js/pages-vip-vip.f458f114.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/h5/static/js/pages-wallet-property.3223dcad.js
vendored
Normal file
1
unpackage/dist/build/h5/static/js/pages-wallet-property.3223dcad.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user