调整企业基础信息数据格式增加商品权证管理发型模块
This commit is contained in:
30
apis/interfaces/employees.js
Normal file
30
apis/interfaces/employees.js
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
|
||||||
|
/**
|
||||||
|
* Web唐明明
|
||||||
|
* 匆匆数载恍如梦,岁月迢迢华发增。
|
||||||
|
* 碌碌无为枉半生,一朝惊醒万事空。
|
||||||
|
* moduleName: 企业员工管理
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { request } from '../index'
|
||||||
|
|
||||||
|
// 员工列表
|
||||||
|
const employees = () => {
|
||||||
|
return request({
|
||||||
|
url: 'companies/employees'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 添加员工
|
||||||
|
const addEmployees = (data) => {
|
||||||
|
return request({
|
||||||
|
url: 'companies/employees',
|
||||||
|
method: 'POST',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export {
|
||||||
|
employees,
|
||||||
|
addEmployees
|
||||||
|
}
|
||||||
@@ -29,8 +29,73 @@ const goods = id => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 商品管理-商品列表
|
||||||
|
const managesGoodsIndex = data => {
|
||||||
|
return request({
|
||||||
|
url: 'manages/goods/index',
|
||||||
|
data:data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// // 商品管理-商品增发
|
||||||
|
// const managesGoodsMint = data => {
|
||||||
|
// return request({
|
||||||
|
// url: 'manages/goods/'+data.id+'/mint',
|
||||||
|
// data:data,
|
||||||
|
// method:'POST'
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
|
||||||
|
// // 商品管理-商品燃烧
|
||||||
|
// const managesGoodsBurn = data => {
|
||||||
|
// return request({
|
||||||
|
// url: 'manages/goods/'+data.id+'/burn',
|
||||||
|
// data:data,
|
||||||
|
// method:'POST'
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
|
||||||
|
// // 商品管理-商品上架
|
||||||
|
// const managesGoodsOnsale = id => {
|
||||||
|
// return request({
|
||||||
|
// url: 'manages/goods/'+id+'/onsale',
|
||||||
|
// method:'PUT'
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
|
||||||
|
// // 商品管理-商品下架
|
||||||
|
// const managesGoodsOffsale = id => {
|
||||||
|
// return request({
|
||||||
|
// url: 'manages/goods/'+id+'/offsale',
|
||||||
|
// method:'PUT'
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
|
||||||
|
// // 发布商品前置 manages/goods/create
|
||||||
|
// const managesGoodsCreateBefore = () => {
|
||||||
|
// return request({
|
||||||
|
// url: 'manages/goods/create'
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
|
||||||
|
// 发布商品
|
||||||
|
const managesGoodsCreate = (data) => {
|
||||||
|
return request({
|
||||||
|
url: 'manages/goods',
|
||||||
|
method:'POST',
|
||||||
|
data:data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
export {
|
export {
|
||||||
mall,
|
mall,
|
||||||
list,
|
list,
|
||||||
goods
|
goods,
|
||||||
|
managesGoodsIndex,
|
||||||
|
// managesGoodsMint,
|
||||||
|
// managesGoodsBurn,
|
||||||
|
// managesGoodsOnsale,
|
||||||
|
// managesGoodsOffsale,
|
||||||
|
// managesGoodsCreateBefore,
|
||||||
|
managesGoodsCreate
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,9 +15,14 @@
|
|||||||
<view class="price cny" v-if="priceType === 'CNY'">
|
<view class="price cny" v-if="priceType === 'CNY'">
|
||||||
<text>¥</text>{{item.original_price}}
|
<text>¥</text>{{item.original_price}}
|
||||||
</view>
|
</view>
|
||||||
<view class="sales">已易{{item.sales}}</view>
|
<view class="sales">
|
||||||
|
<slot name="statistics" :value="item">
|
||||||
|
已易{{item.sales}}
|
||||||
|
</slot>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<slot name="footer" :value="item" />
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
<block v-else>
|
<block v-else>
|
||||||
@@ -92,14 +97,16 @@ export default {
|
|||||||
@extend .ellipsis;
|
@extend .ellipsis;
|
||||||
}
|
}
|
||||||
.content-flex{
|
.content-flex{
|
||||||
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: flex-end;
|
|
||||||
padding-top: $padding/2;
|
padding-top: $padding/2;
|
||||||
.price{
|
.price{
|
||||||
|
width: 50%;
|
||||||
color: $text-price;
|
color: $text-price;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: $title-size;
|
font-size: $title-size;
|
||||||
|
@extend .nowrap;
|
||||||
text{
|
text{
|
||||||
font-size: $title-size-sm;
|
font-size: $title-size-sm;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@@ -108,9 +115,12 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.sales{
|
.sales{
|
||||||
|
width: 50%;
|
||||||
font-size: $title-size-sm;
|
font-size: $title-size-sm;
|
||||||
color: $text-gray;
|
color: $text-gray;
|
||||||
line-height: 50rpx;
|
line-height: 50rpx;
|
||||||
|
text-align: right;
|
||||||
|
@extend .nowrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
20
pages.json
20
pages.json
@@ -213,13 +213,27 @@
|
|||||||
"path" : "pages/goods/management",
|
"path" : "pages/goods/management",
|
||||||
"name" : "GoodsMag",
|
"name" : "GoodsMag",
|
||||||
"style" :{
|
"style" :{
|
||||||
"navigationBarTitleText": "商品权证"
|
"navigationBarTitleText": "产品权证",
|
||||||
|
"app-plus":{
|
||||||
|
"titleNView": {
|
||||||
|
"backgroundColor": "#FFFFFF",
|
||||||
|
"buttons": [
|
||||||
|
{
|
||||||
|
"text": "发布",
|
||||||
|
"fontSize": "16",
|
||||||
|
"width": "80",
|
||||||
|
"color": "#c82626"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
"path" : "pages/goods/add",
|
"path" : "pages/goods/add",
|
||||||
"name" : "GoodsMagAdd",
|
"name" : "GoodsMagAdd",
|
||||||
"style":{
|
"style":{
|
||||||
"navigationBarTitleText": "添加权证"
|
"navigationBarTitleText": "发布权证",
|
||||||
|
"navigationBarBackgroundColor":"#FFFFFF"
|
||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
"path" : "pages/coupons/index",
|
"path" : "pages/coupons/index",
|
||||||
@@ -248,7 +262,7 @@
|
|||||||
"path" : "pages/coupons/add",
|
"path" : "pages/coupons/add",
|
||||||
"name" : "couponsAdd",
|
"name" : "couponsAdd",
|
||||||
"style":{
|
"style":{
|
||||||
"navigationBarTitleText": "添加优惠券",
|
"navigationBarTitleText": "发布优惠券",
|
||||||
"navigationBarBackgroundColor":"#FFFFFF"
|
"navigationBarBackgroundColor":"#FFFFFF"
|
||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
|
|||||||
@@ -48,6 +48,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="mian">
|
<view class="mian">
|
||||||
|
<block v-if="details.goods.length > 0">
|
||||||
<view class="mian-title">适用权证</view>
|
<view class="mian-title">适用权证</view>
|
||||||
<view class="mian-goods">
|
<view class="mian-goods">
|
||||||
<view class="item" v-for="(item, index) in details.goods" :key="index">
|
<view class="item" v-for="(item, index) in details.goods" :key="index">
|
||||||
@@ -55,6 +56,7 @@
|
|||||||
<view class="item-price nowrap">¥{{item.price}}</view>
|
<view class="item-price nowrap">¥{{item.price}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</block>
|
||||||
<view class="mian-title">使用说明</view>
|
<view class="mian-title">使用说明</view>
|
||||||
<view class="mian-text">
|
<view class="mian-text">
|
||||||
<text>{{details.description || '-'}}</text>
|
<text>{{details.description || '-'}}</text>
|
||||||
@@ -83,7 +85,7 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
magCouponsInfo(16).then(res => {
|
magCouponsInfo(this.$Route.query.couponId).then(res => {
|
||||||
this.isLoding = false
|
this.isLoding = false
|
||||||
this.details = res
|
this.details = res
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -6,8 +6,9 @@
|
|||||||
<view class="item" :class="{'show': listType == '2'}" @click="onTabs('2')">代金券</view>
|
<view class="item" :class="{'show': listType == '2'}" @click="onTabs('2')">代金券</view>
|
||||||
<view class="item" :class="{'show': listType == '3'}" @click="onTabs('3')">提货券</view>
|
<view class="item" :class="{'show': listType == '3'}" @click="onTabs('3')">提货券</view>
|
||||||
</view>
|
</view>
|
||||||
|
<block v-if="coupons.length > 0">
|
||||||
<view class="coupons">
|
<view class="coupons">
|
||||||
<view class="coupons-flex" v-for="(item, index) in coupons" :key="index">
|
<view class="coupons-flex" v-for="(item, index) in coupons" :key="index" @click="$Router.push({name: 'magDetails', params: {couponId: item.coupon_id}})">
|
||||||
<view class="item cover">
|
<view class="item cover">
|
||||||
<image class="cover-img" :src="item.cover" mode="aspectFill" />
|
<image class="cover-img" :src="item.cover" mode="aspectFill" />
|
||||||
</view>
|
</view>
|
||||||
@@ -25,6 +26,13 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</block>
|
||||||
|
<block v-else>
|
||||||
|
<view class="list-null">
|
||||||
|
<image class="icon" src="@/static/icons/approve-icon.png" mode="widthFix"></image>
|
||||||
|
<view class="sub-title">暂无相关优惠券</view>
|
||||||
|
</view>
|
||||||
|
</block>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -44,6 +52,7 @@
|
|||||||
methods:{
|
methods:{
|
||||||
// 选择类型
|
// 选择类型
|
||||||
onTabs(value){
|
onTabs(value){
|
||||||
|
if(value == this.listType) return
|
||||||
this.listType = value
|
this.listType = value
|
||||||
this.getCoupons()
|
this.getCoupons()
|
||||||
},
|
},
|
||||||
@@ -91,6 +100,23 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// 空提示
|
||||||
|
.list-null{
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
padding-bottom: 20vh;
|
||||||
|
box-sizing: border-box;
|
||||||
|
background: white;
|
||||||
|
text-align: center;
|
||||||
|
@extend .vertical;
|
||||||
|
.sub-title{
|
||||||
|
color: $text-gray;
|
||||||
|
font-size: $title-size-m;
|
||||||
|
}
|
||||||
|
.icon{
|
||||||
|
width: 288rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
// 订单管理
|
// 订单管理
|
||||||
.coupons{
|
.coupons{
|
||||||
padding-top: 90rpx;
|
padding-top: 90rpx;
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
if(val.isSelect) selectArr.push(val.goods_sku_id)
|
if(val.isSelect) selectArr.push(val.goods_sku_id)
|
||||||
}
|
}
|
||||||
this.selectGoods = selectArr
|
this.selectGoods = selectArr
|
||||||
if(selectArr.length == this.goods.length) this.allSelect = true
|
if(selectArr.length == this.goods.length && this.goods.length != 0) this.allSelect = true
|
||||||
else this.allSelect = false
|
else this.allSelect = false
|
||||||
},
|
},
|
||||||
// 添加设置产品
|
// 添加设置产品
|
||||||
|
|||||||
@@ -40,10 +40,16 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { employees } from '@/apis/interfaces/employees'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {};
|
return {};
|
||||||
},
|
},
|
||||||
|
onShow(){
|
||||||
|
employees().then(res => {
|
||||||
|
console.log(res)
|
||||||
|
})
|
||||||
|
},
|
||||||
onNavigationBarButtonTap() {
|
onNavigationBarButtonTap() {
|
||||||
this.$Router.push({name: 'addEmployees'})
|
this.$Router.push({name: 'addEmployees'})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,19 +1,274 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view class="content">
|
||||||
添加权证
|
<!-- 商品图片 -->
|
||||||
|
<view class="form-block">
|
||||||
|
<view class="form-upd">
|
||||||
|
<view class="form-title">商品轮播图<text>(首图为产品封面)</text></view>
|
||||||
|
<view class="form-imgs">
|
||||||
|
<view class="item" v-for="(item, index) in cover" :key="index">
|
||||||
|
<image class="item-cover" src="@/static/dev/good_cover_00.jpg" mode="aspectFill"></image>
|
||||||
|
</view>
|
||||||
|
<view class="item item-add">
|
||||||
|
<image class="item-cover" src="@/static/icons/add-icon.png" mode="aspectFill"></image>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 商品基本信息 -->
|
||||||
|
<view class="form-block">
|
||||||
|
<view class="form-box inputs-flex">
|
||||||
|
<label class="form-label">标题</label>
|
||||||
|
<input type="text" v-model="name" placeholder="输入商品标题"/>
|
||||||
|
</view>
|
||||||
|
<view class="form-box inputs-flex">
|
||||||
|
<label class="form-label">商品描述</label>
|
||||||
|
<input type="text" v-model="description" placeholder="输入商品描述"/>
|
||||||
|
</view>
|
||||||
|
<view class="form-box picker-flex">
|
||||||
|
<label class="form-label">产品详情</label>
|
||||||
|
<view class="picker-text">
|
||||||
|
<uni-icons class="picker-icon" type="arrowright" color="#999"></uni-icons>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 商品价格 -->
|
||||||
|
<view class="form-block">
|
||||||
|
<view class="form-box inputs-flex input-unit">
|
||||||
|
<label class="form-label">划线价</label>
|
||||||
|
<input type="digit" v-model="original_price" placeholder="0.00"/>
|
||||||
|
<text class="units">元/件</text>
|
||||||
|
</view>
|
||||||
|
<view class="form-box inputs-flex input-unit">
|
||||||
|
<label class="form-label">市场价格</label>
|
||||||
|
<input type="digit" v-model="skus_cost" placeholder="0.00"/>
|
||||||
|
<text class="units">元/件</text>
|
||||||
|
</view>
|
||||||
|
<view class="form-box inputs-flex input-unit">
|
||||||
|
<label class="form-label">销售价格</label>
|
||||||
|
<input type="digit" v-model="skus_price" placeholder="0.00"/>
|
||||||
|
<text class="units">元/件</text>
|
||||||
|
</view>
|
||||||
|
<view class="form-box inputs-flex input-unit">
|
||||||
|
<label class="form-label">资产</label>
|
||||||
|
<input type="digit" v-model="skus_assets" placeholder="0.00"/>
|
||||||
|
<text class="units">元/件</text>
|
||||||
|
</view>
|
||||||
|
<view class="form-box inputs-flex input-unit">
|
||||||
|
<label class="form-label">分销佣金</label>
|
||||||
|
<input type="digit" v-model="skus_charge" placeholder="0.00"/>
|
||||||
|
<text class="units">元/件</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 商品详情介绍 -->
|
||||||
|
<view class="form-block">
|
||||||
|
<view class="form-box inputs-flex">
|
||||||
|
<label class="form-label">易货起购数量</label>
|
||||||
|
<input type="number" v-model="skus_number" placeholder="输入易货起购数量"/>
|
||||||
|
</view>
|
||||||
|
<view class="form-box inputs-flex">
|
||||||
|
<label class="form-label">商品库存</label>
|
||||||
|
<input type="number" v-model="skus_stock" placeholder="输入商品库存"/>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 售后服务 -->
|
||||||
|
<view class="form-block">
|
||||||
|
<view class="form-box picker-flex">
|
||||||
|
<label class="form-label">分类</label>
|
||||||
|
<picker mode="selector">
|
||||||
|
<view class="picker-text">
|
||||||
|
请选择分类
|
||||||
|
<uni-icons class="picker-icon" type="arrowright" color="#999"></uni-icons>
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
<view class="form-box picker-flex">
|
||||||
|
<label class="form-label">支付方式</label>
|
||||||
|
<picker mode="selector">
|
||||||
|
<view class="picker-text">
|
||||||
|
请选择支付方式
|
||||||
|
<uni-icons class="picker-icon" type="arrowright" color="#999"></uni-icons>
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
<view class="form-box picker-flex">
|
||||||
|
<label class="form-label">允许售后</label>
|
||||||
|
<picker mode="selector">
|
||||||
|
<view class="picker-text">
|
||||||
|
是
|
||||||
|
<uni-icons class="picker-icon" type="arrowright" color="#999"></uni-icons>
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
<view class="form-box picker-flex">
|
||||||
|
<label class="form-label">可选服务</label>
|
||||||
|
<view class="picker-text">
|
||||||
|
<uni-icons class="picker-icon" type="arrowright" color="#999"></uni-icons>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 安全区 -->
|
||||||
|
<view class="ios-bottom"></view>
|
||||||
|
<!-- footer -->
|
||||||
|
<view class="footer">
|
||||||
|
<button class="footer-btn" type="default">发布</button>
|
||||||
|
<view class="ios-bottom"></view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { managesGoodsCreate } from '@/apis/interfaces/goods'
|
||||||
|
import { uploads } from '@/apis/interfaces/uploading'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
cover : [],
|
||||||
|
name : '',
|
||||||
|
description : '',
|
||||||
|
original_price : '',
|
||||||
|
skus_cost : '',
|
||||||
|
skus_price : '',
|
||||||
|
skus_assets : '',
|
||||||
|
skus_charge : '',
|
||||||
|
skus_number : '',
|
||||||
|
skus_stock : ''
|
||||||
};
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss" scoped>
|
||||||
|
.content{
|
||||||
|
padding-bottom: 150rpx;
|
||||||
|
}
|
||||||
|
// 表单
|
||||||
|
.form-block{
|
||||||
|
background: white;
|
||||||
|
margin-top: $margin - 10;
|
||||||
|
.form-box{
|
||||||
|
position: relative;
|
||||||
|
padding-left: 240rpx;
|
||||||
|
padding-right: $padding;
|
||||||
|
font-size: $title-size-lg;
|
||||||
|
min-height: 80rpx;
|
||||||
|
&::after{
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: $margin;
|
||||||
|
right: 0;
|
||||||
|
height: 1rpx;
|
||||||
|
content: " ";
|
||||||
|
background: $border-color;
|
||||||
|
}
|
||||||
|
&:last-child::after{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.form-label{
|
||||||
|
position: absolute;
|
||||||
|
left: $margin;
|
||||||
|
line-height: 80rpx;
|
||||||
|
top: 0;
|
||||||
|
width: calc(240rpx - #{$margin});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.inputs-flex{
|
||||||
|
input{
|
||||||
|
height: 80rpx;
|
||||||
|
line-height: 80rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.input-unit{
|
||||||
|
padding-right: 200rpx;
|
||||||
|
.units{
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
line-height: 80rpx;
|
||||||
|
height: 80rpx;
|
||||||
|
width: 200rpx;
|
||||||
|
padding-right: $padding;
|
||||||
|
text-align: right;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.picker-flex{
|
||||||
|
.picker-text{
|
||||||
|
position: relative;
|
||||||
|
line-height: 80rpx;
|
||||||
|
min-height: 80rpx;
|
||||||
|
padding-right: 80rpx;
|
||||||
|
@extend .nowrap;
|
||||||
|
.picker-icon{
|
||||||
|
right: 0;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.form-upd{
|
||||||
|
.form-title{
|
||||||
|
font-size: $title-size-lg;
|
||||||
|
line-height: 80rpx;
|
||||||
|
padding: 0 $padding;
|
||||||
|
text{
|
||||||
|
font-size: 80%;
|
||||||
|
color: $text-gray;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.form-imgs{
|
||||||
|
margin-top: -($margin/3);
|
||||||
|
padding: 0 20rpx 20rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
.item{
|
||||||
|
width: calc(20% - 14rpx);
|
||||||
|
padding-top: calc(20% - 14rpx);
|
||||||
|
margin: 7rpx;
|
||||||
|
position: relative;
|
||||||
|
.item-cover{
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.item-add{
|
||||||
|
border: dashed 2rpx $border-color;
|
||||||
|
box-sizing: border-box;
|
||||||
|
.item-cover{
|
||||||
|
top: calc(15% - 2rpx);
|
||||||
|
left: calc(15% - 2rpx);
|
||||||
|
width: 70%;
|
||||||
|
height: 70%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 发布
|
||||||
|
.footer{
|
||||||
|
background: white;
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
padding: 20rpx $padding;
|
||||||
|
box-shadow: 0 0 4rpx 4rpx rgba($color: #000000, $alpha: .02);
|
||||||
|
z-index: 99;
|
||||||
|
.footer-btn{
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
background: $text-price;
|
||||||
|
height: 90rpx;
|
||||||
|
line-height: 90rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: $title-size;
|
||||||
|
color: white;
|
||||||
|
&::after{
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,22 +1,113 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view class="content">
|
||||||
权证管理
|
<!-- 分类 -->
|
||||||
|
<view class="tabs">
|
||||||
|
<view class="item" :class="{'show': status == '1'}" @click="onTabs('1')">已上架</view>
|
||||||
|
<view class="item" :class="{'show': status == '3'}" @click="onTabs('3')">已下架</view>
|
||||||
|
<view class="item" :class="{'show': status == '0'}" @click="onTabs('0')">审核中</view>
|
||||||
|
<view class="item" :class="{'show': status == '2'}" @click="onTabs('2')">已驳回</view>
|
||||||
|
</view>
|
||||||
|
<!-- 优选商品 -->
|
||||||
|
<goodsList :list="goods" priceType="CNY" :status='status' toast="暂无产品权证">
|
||||||
|
<template v-slot:statistics="goods">
|
||||||
|
<view>库存{{goods.value.stock}}</view>
|
||||||
|
</template>
|
||||||
|
<template v-slot:footer="goods">
|
||||||
|
<view class="footer-btns">
|
||||||
|
<button class="button-item" size="mini">销毁</button>
|
||||||
|
<button class="button-item" size="mini">下架</button>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
</goodsList>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { managesGoodsIndex } from '@/apis/interfaces/goods'
|
||||||
|
import goodsList from '@/components/goods-list/goods-list'
|
||||||
export default {
|
export default {
|
||||||
|
components: {
|
||||||
|
goodsList
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
status : 1,
|
||||||
|
goods : [],
|
||||||
|
pages : {}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
onShow() {
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
// tabs
|
||||||
|
onTabs(value){
|
||||||
|
if(value == this.status) return
|
||||||
|
this.status = value
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
|
// 权证列表
|
||||||
|
getList(){
|
||||||
|
managesGoodsIndex({
|
||||||
|
status: this.status
|
||||||
|
}).then(res => {
|
||||||
|
this.goods = res.data
|
||||||
|
this.pages = res.page
|
||||||
|
console.log(res)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onNavigationBarButtonTap() {
|
||||||
|
this.$Router.push({name: 'GoodsMagAdd'})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss" scoped>
|
||||||
|
.content{
|
||||||
|
padding-top: 90rpx;
|
||||||
|
}
|
||||||
|
// tabs
|
||||||
|
.tabs{
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
z-index: 99;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
background: white;
|
||||||
|
padding: 15rpx 0;
|
||||||
|
font-size: $title-size-lg;
|
||||||
|
color: $text-gray;
|
||||||
|
.item{
|
||||||
|
height: 60rpx;
|
||||||
|
line-height: 60rpx;
|
||||||
|
&.show{
|
||||||
|
color: $text-price;
|
||||||
|
border-bottom: solid 4rpx $text-price;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 按钮组
|
||||||
|
.footer-btns{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding-top: $padding/2;
|
||||||
|
margin-left: -10rpx;
|
||||||
|
margin-right: -10rpx;
|
||||||
|
.button-item[size='mini']{
|
||||||
|
padding: 0;
|
||||||
|
margin: 0 10rpx;
|
||||||
|
height: 60rpx;
|
||||||
|
line-height: 60rpx;
|
||||||
|
border-radius: 0;
|
||||||
|
width: calc(50% - 20rpx);
|
||||||
|
background: $border-color-lg;
|
||||||
|
color: $text-gray;
|
||||||
|
&::after{
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -33,12 +33,19 @@
|
|||||||
<view class="module-imgs">
|
<view class="module-imgs">
|
||||||
<view
|
<view
|
||||||
class="item"
|
class="item"
|
||||||
v-for="(item, index) in module.content.image.showpath"
|
v-for="(item, index) in module.content.image"
|
||||||
:key="index"
|
:key="index"
|
||||||
@click="openImg(module.content.image.showpath, index)"
|
|
||||||
@longpress="removeImg('imgs', moduleIndex, index)"
|
|
||||||
>
|
>
|
||||||
<image class="cover" :src="item" mode="aspectFill"></image>
|
<image
|
||||||
|
class="cover"
|
||||||
|
:src="item.showpath"
|
||||||
|
mode="aspectFill"
|
||||||
|
@click="openImg(module.content.image, index, 'imgs')"
|
||||||
|
@longpress="removeImg('imgs', moduleIndex, index)"
|
||||||
|
/>
|
||||||
|
<view class="item-input">
|
||||||
|
<input type="text" v-model="item.title" placeholder="输入标题" />
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item" @click="updImgs(moduleIndex)">
|
<view class="item" @click="updImgs(moduleIndex)">
|
||||||
<view class="item-upd cover">
|
<view class="item-upd cover">
|
||||||
@@ -56,18 +63,21 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="module-videos">
|
<view class="module-videos">
|
||||||
<view class="item">
|
<view class="item">
|
||||||
|
<block v-if="module.content.video_image.showpath != ''">
|
||||||
<image
|
<image
|
||||||
class="cover"
|
class="cover"
|
||||||
v-if="module.content.video_image.showpath != ''"
|
|
||||||
:src="module.content.video_image.showpath"
|
:src="module.content.video_image.showpath"
|
||||||
mode="aspectFill"
|
mode="aspectFill"
|
||||||
@click="openImg([module.content.video_image.showpath], 0)"
|
@click="openImg([module.content.video_image.showpath], 0, 'videos')"
|
||||||
@longpress="removeImg('videoCover', moduleIndex, '')"
|
@longpress="removeImg('videoCover', moduleIndex, '')"
|
||||||
/>
|
/>
|
||||||
<view class="item-upd" @click="updImg('videoCover', moduleIndex)" v-else>
|
</block>
|
||||||
|
<block v-else>
|
||||||
|
<view class="item-upd" @click="updImg('videoCover', moduleIndex)">
|
||||||
<uni-icons type="plus" size="20" color="#999"/>
|
<uni-icons type="plus" size="20" color="#999"/>
|
||||||
<view>上传视频封面</view>
|
<view>上传视频封面</view>
|
||||||
</view>
|
</view>
|
||||||
|
</block>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<video
|
<video
|
||||||
@@ -106,6 +116,8 @@
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
Promise.all([basicsInfo('GET', {}), basicsConfig()]).then(res => {
|
Promise.all([basicsInfo('GET', {}), basicsConfig()]).then(res => {
|
||||||
|
console.log(res)
|
||||||
|
|
||||||
let info = res[0]
|
let info = res[0]
|
||||||
this.logo = info.base.cover
|
this.logo = info.base.cover
|
||||||
this.description = info.base.description
|
this.description = info.base.description
|
||||||
@@ -114,18 +126,19 @@
|
|||||||
this.modulesType = res[1]
|
this.modulesType = res[1]
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: err,
|
title: err.message,
|
||||||
icon : 'none'
|
icon : 'none'
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
// 图片预览
|
// 图片预览
|
||||||
openImg(paths, index){
|
openImg(paths, index, type){
|
||||||
|
if(type === 'imgs'){
|
||||||
console.log(paths)
|
paths = paths.map(val => {
|
||||||
console.log(index)
|
return val.showpath
|
||||||
|
})
|
||||||
|
}
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
urls : paths,
|
urls : paths,
|
||||||
current : index,
|
current : index,
|
||||||
@@ -140,8 +153,7 @@
|
|||||||
modulesObj.content.video_image.path = ''
|
modulesObj.content.video_image.path = ''
|
||||||
}
|
}
|
||||||
if(type === 'imgs'){
|
if(type === 'imgs'){
|
||||||
modulesObj.content.image.showpath.splice(index, 1)
|
modulesObj.content.image.splice(index, 1)
|
||||||
modulesObj.content.image.path.splice(index, 1)
|
|
||||||
}
|
}
|
||||||
if(type === 'video'){
|
if(type === 'video'){
|
||||||
modulesObj.content.video_url.showpath = ''
|
modulesObj.content.video_url.showpath = ''
|
||||||
@@ -224,11 +236,16 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
uploads(path).then(pathRes => {
|
uploads(path).then(pathRes => {
|
||||||
let modulesObj = this.modules[index]
|
let modulesObj = this.modules[index],
|
||||||
|
paths = []
|
||||||
modulesObj.content.image.showpath = [...modulesObj.content.image.showpath, ...pathRes.url]
|
for(let i in pathRes.path){
|
||||||
modulesObj.content.image.path = [...modulesObj.content.image.path, ...pathRes.path]
|
paths.push({
|
||||||
|
showpath: pathRes.url[i],
|
||||||
|
path : pathRes.path[i],
|
||||||
|
title : ''
|
||||||
|
})
|
||||||
|
}
|
||||||
|
modulesObj.content.image = [...modulesObj.content.image, ...paths]
|
||||||
this.$set(this.modules, index, modulesObj)
|
this.$set(this.modules, index, modulesObj)
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
@@ -257,10 +274,11 @@
|
|||||||
break
|
break
|
||||||
case 2:
|
case 2:
|
||||||
content = {
|
content = {
|
||||||
image: {
|
image: [{
|
||||||
showpath: [],
|
showpath: '',
|
||||||
path : []
|
path : '',
|
||||||
}
|
title : ''
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case 3:
|
case 3:
|
||||||
@@ -442,6 +460,21 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
.item-input{
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
background: rgba($color: #000000, $alpha: .7);
|
||||||
|
input{
|
||||||
|
height: 50rpx;
|
||||||
|
line-height: 50rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
text-align: center;
|
||||||
|
z-index: 4;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
}
|
||||||
.item-upd{
|
.item-upd{
|
||||||
@extend .vertical;
|
@extend .vertical;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
BIN
static/icons/ticket-icon.png
Normal file
BIN
static/icons/ticket-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -1,8 +1,8 @@
|
|||||||
|
|
||||||
var isReady=false;var onReadyCallbacks=[];
|
var isReady=false;var onReadyCallbacks=[];
|
||||||
var isServiceReady=false;var onServiceReadyCallbacks=[];
|
var isServiceReady=false;var onServiceReadyCallbacks=[];
|
||||||
var __uniConfig = {"pages":["pages/equity/index","pages/market/index","pages/store/index","pages/property/index","pages/goods/details","pages/login/login","pages/company/registered","pages/company/prompt","pages/vip/index","pages/equity/search","pages/market/logs","pages/order/buy","pages/order/index","pages/order/details","pages/order/sales","pages/goods/lists","pages/company/approve","pages/store/visitors","pages/store/customer","pages/store/basics","pages/employees/list","pages/employees/add","pages/goods/management","pages/goods/add","pages/coupons/index","pages/coupons/management","pages/coupons/add","pages/coupons/selectGoods","pages/coupons/magDetails","pages/verification/index","pages/verification/details"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"易货","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"tabBar":{"color":"#bababa","selectedColor":"#c82626","backgroundColor":"#FFFFFF","borderStyle":"white","list":[{"pagePath":"pages/equity/index","text":"通证权易","iconPath":"static/tabBar/tabBar_icon_00.png","selectedIconPath":"static/tabBar/tabBar_show_00.png"},{"pagePath":"pages/market/index","text":"转让市场","iconPath":"static/tabBar/tabBar_icon_01.png","selectedIconPath":"static/tabBar/tabBar_show_01.png"},{"pagePath":"pages/store/index","text":"企业工具","iconPath":"static/tabBar/tabBar_icon_02.png","selectedIconPath":"static/tabBar/tabBar_show_02.png"},{"pagePath":"pages/property/index","text":"我的资产","iconPath":"static/tabBar/tabBar_icon_03.png","selectedIconPath":"static/tabBar/tabBar_show_03.png"}]},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":false,"autoclose":true},"appname":"易品新境","compilerVersion":"3.2.3","entryPagePath":"pages/coupons/magDetails","entryPageQuery":"","realEntryPagePath":"pages/equity/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
|
var __uniConfig = {"pages":["pages/equity/index","pages/market/index","pages/store/index","pages/property/index","pages/goods/details","pages/login/login","pages/company/registered","pages/company/prompt","pages/vip/index","pages/equity/search","pages/market/logs","pages/order/buy","pages/order/index","pages/order/details","pages/order/sales","pages/goods/lists","pages/company/approve","pages/store/visitors","pages/store/customer","pages/store/basics","pages/employees/list","pages/employees/add","pages/goods/management","pages/goods/add","pages/coupons/index","pages/coupons/management","pages/coupons/add","pages/coupons/selectGoods","pages/coupons/magDetails","pages/verification/index","pages/verification/details"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"易货","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"tabBar":{"color":"#bababa","selectedColor":"#c82626","backgroundColor":"#FFFFFF","borderStyle":"white","list":[{"pagePath":"pages/equity/index","text":"通证权易","iconPath":"static/tabBar/tabBar_icon_00.png","selectedIconPath":"static/tabBar/tabBar_show_00.png"},{"pagePath":"pages/market/index","text":"转让市场","iconPath":"static/tabBar/tabBar_icon_01.png","selectedIconPath":"static/tabBar/tabBar_show_01.png"},{"pagePath":"pages/store/index","text":"企业工具","iconPath":"static/tabBar/tabBar_icon_02.png","selectedIconPath":"static/tabBar/tabBar_show_02.png"},{"pagePath":"pages/property/index","text":"我的资产","iconPath":"static/tabBar/tabBar_icon_03.png","selectedIconPath":"static/tabBar/tabBar_show_03.png"}]},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":false,"autoclose":true},"appname":"易品新境","compilerVersion":"3.2.3","entryPagePath":"pages/store/basics","entryPageQuery":"","realEntryPagePath":"pages/equity/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
|
||||||
var __uniRoutes = [{"path":"/pages/equity/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationStyle":"custom","navigationBarTextStyle":"white"}},{"path":"/pages/market/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"转让市场","titleNView":{"backgroundColor":"#FFFFFF","buttons":[{"text":"成交历史","fontSize":"14","width":"80","color":"#555555"}]}}},{"path":"/pages/store/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationStyle":"custom","navigationBarTitleText":"企业工具","navigationBarTextStyle":"white","navigationBarBackgroundColor":"#c82626"}},{"path":"/pages/property/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"","navigationStyle":"custom"}},{"path":"/pages/goods/details","meta":{},"window":{"navigationBarTitleText":"","titleNView":{"backgroundColor":"#FFFFFF","type":"transparent","buttons":[{"text":"分享","fontSize":"12","color":"#555555"}]}}},{"path":"/pages/login/login","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#FFFFFF","disableScroll":true}},{"path":"/pages/company/registered","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/company/prompt","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#FFFFFF","disableScroll":true,"titleNView":{"backgroundColor":"#FFFFFF","buttons":[{"text":"先逛一逛","fontSize":"14","width":"80","color":"#555555"}]}}},{"path":"/pages/vip/index","meta":{},"window":{"navigationBarTitleText":"会员","navigationBarBackgroundColor":"#1f1b1c","navigationBarTextStyle":"white","backgroundColor":"#fefaef"}},{"path":"/pages/equity/search","meta":{},"window":{"navigationBarTitleText":"搜索"}},{"path":"/pages/market/logs","meta":{},"window":{"navigationBarTitleText":"成交历史"}},{"path":"/pages/order/buy","meta":{},"window":{"navigationBarTitleText":"确认订单","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/order/index","meta":{},"window":{"navigationBarTitleText":"订单管理"}},{"path":"/pages/order/details","meta":{},"window":{"navigationBarTitleText":"订单详情"}},{"path":"/pages/order/sales","meta":{},"window":{"navigationBarTitleText":"售后"}},{"path":"/pages/goods/lists","meta":{},"window":{"navigationBarTitleText":"商品列表","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/company/approve","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/store/visitors","meta":{},"window":{"navigationBarTitleText":"访客统计","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/store/customer","meta":{},"window":{"navigationBarTitleText":"成交客户","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/store/basics","meta":{},"window":{"navigationBarTitleText":"基础信息","titleNView":{"backgroundColor":"#FFFFFF","buttons":[{"text":"保存","fontSize":"16","width":"80","color":"#c82626"}]}}},{"path":"/pages/employees/list","meta":{},"window":{"navigationBarTitleText":"员工","titleNView":{"backgroundColor":"#FFFFFF","buttons":[{"text":"添加","fontSize":"14","width":"80","color":"#c82626"}]}}},{"path":"/pages/employees/add","meta":{},"window":{"navigationBarTitleText":"添加员工","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/goods/management","meta":{},"window":{"navigationBarTitleText":"商品权证"}},{"path":"/pages/goods/add","meta":{},"window":{"navigationBarTitleText":"添加权证"}},{"path":"/pages/coupons/index","meta":{},"window":{"navigationBarTitleText":"优惠券"}},{"path":"/pages/coupons/management","meta":{},"window":{"navigationBarTitleText":"优惠券管理","titleNView":{"backgroundColor":"#FFFFFF","buttons":[{"text":"发布","fontSize":"14","width":"80","color":"#c82626"}]}}},{"path":"/pages/coupons/add","meta":{},"window":{"navigationBarTitleText":"添加优惠券","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/coupons/selectGoods","meta":{},"window":{"navigationBarTitleText":"选择产品","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/coupons/magDetails","meta":{},"window":{"navigationBarTitleText":"优惠券详情"}},{"path":"/pages/verification/index","meta":{},"window":{"navigationBarTitleText":"扫码验证"}},{"path":"/pages/verification/details","meta":{},"window":{"navigationBarTitleText":"核销券详情"}}];
|
var __uniRoutes = [{"path":"/pages/equity/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationStyle":"custom","navigationBarTextStyle":"white"}},{"path":"/pages/market/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"转让市场","titleNView":{"backgroundColor":"#FFFFFF","buttons":[{"text":"成交历史","fontSize":"14","width":"80","color":"#555555"}]}}},{"path":"/pages/store/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationStyle":"custom","navigationBarTitleText":"企业工具","navigationBarTextStyle":"white","navigationBarBackgroundColor":"#c82626"}},{"path":"/pages/property/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"","navigationStyle":"custom"}},{"path":"/pages/goods/details","meta":{},"window":{"navigationBarTitleText":"","titleNView":{"backgroundColor":"#FFFFFF","type":"transparent","buttons":[{"text":"分享","fontSize":"12","color":"#555555"}]}}},{"path":"/pages/login/login","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#FFFFFF","disableScroll":true}},{"path":"/pages/company/registered","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/company/prompt","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#FFFFFF","disableScroll":true,"titleNView":{"backgroundColor":"#FFFFFF","buttons":[{"text":"先逛一逛","fontSize":"14","width":"80","color":"#555555"}]}}},{"path":"/pages/vip/index","meta":{},"window":{"navigationBarTitleText":"会员","navigationBarBackgroundColor":"#1f1b1c","navigationBarTextStyle":"white","backgroundColor":"#fefaef"}},{"path":"/pages/equity/search","meta":{},"window":{"navigationBarTitleText":"搜索"}},{"path":"/pages/market/logs","meta":{},"window":{"navigationBarTitleText":"成交历史"}},{"path":"/pages/order/buy","meta":{},"window":{"navigationBarTitleText":"确认订单","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/order/index","meta":{},"window":{"navigationBarTitleText":"订单管理"}},{"path":"/pages/order/details","meta":{},"window":{"navigationBarTitleText":"订单详情"}},{"path":"/pages/order/sales","meta":{},"window":{"navigationBarTitleText":"售后"}},{"path":"/pages/goods/lists","meta":{},"window":{"navigationBarTitleText":"商品列表","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/company/approve","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/store/visitors","meta":{},"window":{"navigationBarTitleText":"访客统计","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/store/customer","meta":{},"window":{"navigationBarTitleText":"成交客户","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/store/basics","meta":{},"window":{"navigationBarTitleText":"基础信息","titleNView":{"backgroundColor":"#FFFFFF","buttons":[{"text":"保存","fontSize":"16","width":"80","color":"#c82626"}]}}},{"path":"/pages/employees/list","meta":{},"window":{"navigationBarTitleText":"员工","titleNView":{"backgroundColor":"#FFFFFF","buttons":[{"text":"添加","fontSize":"14","width":"80","color":"#c82626"}]}}},{"path":"/pages/employees/add","meta":{},"window":{"navigationBarTitleText":"添加员工","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/goods/management","meta":{},"window":{"navigationBarTitleText":"产品权证","titleNView":{"backgroundColor":"#FFFFFF","buttons":[{"text":"发布","fontSize":"16","width":"80","color":"#c82626"}]}}},{"path":"/pages/goods/add","meta":{},"window":{"navigationBarTitleText":"发布权证","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/coupons/index","meta":{},"window":{"navigationBarTitleText":"优惠券"}},{"path":"/pages/coupons/management","meta":{},"window":{"navigationBarTitleText":"优惠券管理","titleNView":{"backgroundColor":"#FFFFFF","buttons":[{"text":"发布","fontSize":"14","width":"80","color":"#c82626"}]}}},{"path":"/pages/coupons/add","meta":{},"window":{"navigationBarTitleText":"发布优惠券","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/coupons/selectGoods","meta":{},"window":{"navigationBarTitleText":"选择产品","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/coupons/magDetails","meta":{},"window":{"navigationBarTitleText":"优惠券详情"}},{"path":"/pages/verification/index","meta":{},"window":{"navigationBarTitleText":"扫码验证"}},{"path":"/pages/verification/details","meta":{},"window":{"navigationBarTitleText":"核销券详情"}}];
|
||||||
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
||||||
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
||||||
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});
|
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});
|
||||||
|
|||||||
1405
unpackage/dist/dev/app-plus/app-service.js
vendored
1405
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
1504
unpackage/dist/dev/app-plus/app-view.js
vendored
1504
unpackage/dist/dev/app-plus/app-view.js
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/dev/app-plus/manifest.json
vendored
2
unpackage/dist/dev/app-plus/manifest.json
vendored
@@ -1 +1 @@
|
|||||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__CD19AAD","name":"易品新境","version":{"name":"1.0.0","code":"100"},"description":"易品新境为商家提供营销引流工具","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"OAuth":{},"Payment":{},"Share":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":false,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"safearea":{"bottom":{"offset":"none"}},"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"splashscreen":{"androidStyle":"common"},"google":{"permissions":["\u003cuses-feature android:name\u003d\"android.hardware.camera\"/\u003e","\u003cuses-feature android:name\u003d\"android.hardware.camera.autofocus\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.ACCESS_NETWORK_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.ACCESS_WIFI_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.CAMERA\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.CHANGE_NETWORK_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.CHANGE_WIFI_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.FLASHLIGHT\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.GET_ACCOUNTS\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.MODIFY_AUDIO_SETTINGS\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.READ_LOGS\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.READ_PHONE_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.VIBRATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.WAKE_LOCK\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.WRITE_SETTINGS\"/\u003e"]},"apple":{},"plugins":{"oauth":{"univerify":{},"weixin":{"appid":"wx222fbe58feee7819","appsecret":"3d24525a636d7573a8fae885097d5cf7","UniversalLinks":""}},"payment":{"weixin":{"__platform__":["android"],"appid":"wx222fbe58feee7819","UniversalLinks":""}},"share":{"weixin":{"appid":"wx222fbe58feee7819","UniversalLinks":""}},"maps":{},"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.2.3","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#bababa","selectedColor":"#c82626","backgroundColor":"#FFFFFF","borderStyle":"rgba(255,255,255,0.4)","list":[{"pagePath":"pages/equity/index","text":"通证权易","iconPath":"static/tabBar/tabBar_icon_00.png","selectedIconPath":"static/tabBar/tabBar_show_00.png"},{"pagePath":"pages/market/index","text":"转让市场","iconPath":"static/tabBar/tabBar_icon_01.png","selectedIconPath":"static/tabBar/tabBar_show_01.png"},{"pagePath":"pages/store/index","text":"企业工具","iconPath":"static/tabBar/tabBar_icon_02.png","selectedIconPath":"static/tabBar/tabBar_show_02.png"},{"pagePath":"pages/property/index","text":"我的资产","iconPath":"static/tabBar/tabBar_icon_03.png","selectedIconPath":"static/tabBar/tabBar_show_03.png"}],"height":"50px"},"launch_path":"__uniappview.html","arguments":"{\"pathName\":\"pages/coupons/magDetails\",\"query\":\"\"}"}}
|
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__CD19AAD","name":"易品新境","version":{"name":"1.0.0","code":"100"},"description":"易品新境为商家提供营销引流工具","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"OAuth":{},"Payment":{},"Share":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":false,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"safearea":{"bottom":{"offset":"none"}},"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"splashscreen":{"androidStyle":"common"},"google":{"permissions":["\u003cuses-feature android:name\u003d\"android.hardware.camera\"/\u003e","\u003cuses-feature android:name\u003d\"android.hardware.camera.autofocus\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.ACCESS_NETWORK_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.ACCESS_WIFI_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.CAMERA\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.CHANGE_NETWORK_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.CHANGE_WIFI_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.FLASHLIGHT\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.GET_ACCOUNTS\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.MODIFY_AUDIO_SETTINGS\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.READ_LOGS\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.READ_PHONE_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.VIBRATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.WAKE_LOCK\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.WRITE_SETTINGS\"/\u003e"]},"apple":{},"plugins":{"oauth":{"univerify":{},"weixin":{"appid":"wx222fbe58feee7819","appsecret":"3d24525a636d7573a8fae885097d5cf7","UniversalLinks":""}},"payment":{"weixin":{"__platform__":["android"],"appid":"wx222fbe58feee7819","UniversalLinks":""}},"share":{"weixin":{"appid":"wx222fbe58feee7819","UniversalLinks":""}},"maps":{},"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.2.3","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#bababa","selectedColor":"#c82626","backgroundColor":"#FFFFFF","borderStyle":"rgba(255,255,255,0.4)","list":[{"pagePath":"pages/equity/index","text":"通证权易","iconPath":"static/tabBar/tabBar_icon_00.png","selectedIconPath":"static/tabBar/tabBar_show_00.png"},{"pagePath":"pages/market/index","text":"转让市场","iconPath":"static/tabBar/tabBar_icon_01.png","selectedIconPath":"static/tabBar/tabBar_show_01.png"},{"pagePath":"pages/store/index","text":"企业工具","iconPath":"static/tabBar/tabBar_icon_02.png","selectedIconPath":"static/tabBar/tabBar_show_02.png"},{"pagePath":"pages/property/index","text":"我的资产","iconPath":"static/tabBar/tabBar_icon_03.png","selectedIconPath":"static/tabBar/tabBar_show_03.png"}],"height":"50px"},"launch_path":"__uniappview.html","arguments":"{\"pathName\":\"pages/store/basics\",\"query\":\"\"}"}}
|
||||||
BIN
unpackage/dist/dev/app-plus/static/icons/ticket-icon.png
vendored
Normal file
BIN
unpackage/dist/dev/app-plus/static/icons/ticket-icon.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Reference in New Issue
Block a user