[修改优惠券管理,添加我的优惠券,修改签到页面]
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
unpackage
|
||||
unpackage/*
|
||||
node_modules
|
||||
unpackage/*/**
|
||||
@@ -6,15 +6,16 @@
|
||||
<image class="cover--src" :src="item.cover" mode="aspectFill" />
|
||||
</view>
|
||||
<template v-if='notag === ""'>
|
||||
<span class='is_self'
|
||||
v-if='item.specal_tags.is_self'>{{item.specal_tags.is_self}}</span>
|
||||
<span class='is_self' v-if='item.specal_tags.is_self'>{{item.specal_tags.is_self}}</span>
|
||||
</template>
|
||||
|
||||
<template v-if='notag === ""'>
|
||||
<span class='is_allow_values' v-if='item.specal_tags.is_allow_values'>
|
||||
<image src="/static/imgs/baodan_hot.png" mode="widthFix" />
|
||||
</span>
|
||||
</template>
|
||||
<view class="content">
|
||||
<view class="title">
|
||||
<template v-if='notag === ""'>
|
||||
<span class='is_allow_values'
|
||||
v-if='item.specal_tags.is_allow_values'>{{item.specal_tags.is_allow_values}}</span>
|
||||
</template>
|
||||
{{item.name}}
|
||||
</view>
|
||||
<view class="content-flex">
|
||||
@@ -24,10 +25,10 @@
|
||||
<view class="price cny" v-if="priceType === 'CNY'">
|
||||
<text>¥</text>{{item.price.price_min}}
|
||||
</view>
|
||||
<view class="sales" v-if="item.price.pv>0">
|
||||
<view class="sales">
|
||||
<slot name="statistics" :value="item">
|
||||
<!-- 月销量{{item.sales}} -->
|
||||
贡献值:{{item.price.pv}} <image style="width: 30rpx;" src="/static/icons/crystal-icon.png" mode="widthFix" />
|
||||
月销量{{item.sales}}
|
||||
<!-- 贡献值:{{item.price.pv}} <image style="width: 30rpx;" src="/static/icons/crystal-icon.png" mode="widthFix" /> -->
|
||||
</slot>
|
||||
</view>
|
||||
</view>
|
||||
@@ -96,7 +97,7 @@
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 20rpx;
|
||||
background-image: linear-gradient(to bottom, #ee4c47, #9e312f);
|
||||
background-image: linear-gradient(to bottom, #ee4c47, #f80000);
|
||||
// background-color: #ee4c47;
|
||||
box-shadow: 0 4rpx 10rpx 2rpx rgba($color: #000, $alpha: .3);
|
||||
color: #fff;
|
||||
@@ -105,6 +106,16 @@
|
||||
border-radius: 0 0 50rpx 50rpx;
|
||||
}
|
||||
|
||||
.is_allow_values {
|
||||
position: absolute;
|
||||
top: 264rpx;
|
||||
left: 0;
|
||||
|
||||
image {
|
||||
width: 180rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.cover {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
@@ -129,15 +140,15 @@
|
||||
text-align: justify;
|
||||
@extend .ellipsis;
|
||||
|
||||
.is_allow_values {
|
||||
color: #fff;
|
||||
background-image: linear-gradient(to left, $mian-color, $mian-color-light);
|
||||
padding: 2rpx 14rpx;
|
||||
font-size: 20rpx;
|
||||
text-align: center;
|
||||
border-radius: 30rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
// .is_allow_values {
|
||||
// color: #fff;
|
||||
// background-image: linear-gradient(to left, $mian-color, $mian-color-light);
|
||||
// padding: 2rpx 14rpx;
|
||||
// font-size: 20rpx;
|
||||
// text-align: center;
|
||||
// border-radius: 30rpx;
|
||||
// margin-right: 20rpx;
|
||||
// }
|
||||
}
|
||||
|
||||
.content-flex {
|
||||
@@ -167,10 +178,6 @@
|
||||
color: $text-gray;
|
||||
line-height: 50rpx;
|
||||
text-align: right;
|
||||
@extend .nowrap;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
880
pages.json
880
pages.json
@@ -1,880 +0,0 @@
|
||||
{
|
||||
"pages": [{
|
||||
"path": "pages/guide/guide",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "white",
|
||||
"disableScroll": true
|
||||
}
|
||||
}, {
|
||||
"path": "pages/index/index",
|
||||
"name": "Index",
|
||||
"style": {
|
||||
"navigationBarBackgroundColor": "#1f1922",
|
||||
"backgroundColor": "#1f1922",
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/found/index",
|
||||
"name": "Found",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "发现更多",
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/equity/index",
|
||||
"name": "equity",
|
||||
"style": {
|
||||
"navigationBarTitleText": "通证商城 购你所想",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundColor": "#8b64fd",
|
||||
"buttons": [{
|
||||
"text": "搜索",
|
||||
"fontSize": "14",
|
||||
"color": "#fff"
|
||||
}]
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/equity/search",
|
||||
"name": "Search",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "搜索列表"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/goods/goodsClassify",
|
||||
"name": "goodsClassify",
|
||||
"style": {
|
||||
"navigationBarTitleText": "商品分类",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/goods/lists",
|
||||
"name": "goodsList",
|
||||
"style": {
|
||||
"navigationBarTitleText": "商品列表",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/goods/confirmOrder",
|
||||
"name": "ConfirmOrder",
|
||||
"style": {
|
||||
"navigationBarTitleText": "订单确认页面",
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarBackgroundColor": "#8b64fd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/goods/payStatus",
|
||||
"name": "PayStatus",
|
||||
"style": {
|
||||
"navigationBarTitleText": "支付状态",
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarBackgroundColor": "#8b64fd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/goods/chain",
|
||||
"name": "GoodsChain",
|
||||
"style": {
|
||||
"navigationBarTitleText": "区块链证书",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/goods/attestation",
|
||||
"name": "GoodsAttestation",
|
||||
"style": {
|
||||
"navigationBarTitleText": "商品认证",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/goods/tracedTo",
|
||||
"name": "GoodstracedTo",
|
||||
"style": {
|
||||
"navigationBarTitleText": "商品溯源",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user/index",
|
||||
"name": "User",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "节点中心",
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"type": "transparent",
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)",
|
||||
"buttons": [{
|
||||
"text": "\ue601",
|
||||
"fontSrc": "/static/iconfont.ttf",
|
||||
"background": "rgba(0,0,0,0)"
|
||||
}, {
|
||||
"text": "\ue602",
|
||||
"fontSrc": "/static/iconfont.ttf",
|
||||
"background": "rgba(0,0,0,0)"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user/order/numberWeight",
|
||||
"name": "NumberWeight",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的权证",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user/order/numberWeightInfo",
|
||||
"name": "NumberWeightInfo",
|
||||
"style": {
|
||||
"navigationBarTitleText": "权证详情",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user/order/servicesOrder",
|
||||
"name": "ServicesOrder",
|
||||
"style": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTitleText": "已使用服务类订单",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/user/order/servicesOrderInfo",
|
||||
"name": "ServicesOrderInfo",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTitleText": "订单详情",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user/order/mallShipments",
|
||||
"name": "MallShipments",
|
||||
"style": {
|
||||
"navigationBarTitleText": "已经提货",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/user/order/mallShipmentsRefund",
|
||||
"name": "mallShipmentsRefund",
|
||||
"style": {
|
||||
"navigationBarTitleText": "退货申请",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/user/order/mallRefundsInfo",
|
||||
"name": "MallRefundsInfo",
|
||||
"style": {
|
||||
"navigationBarTitleText": "退货申请",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/user/order/logistics",
|
||||
"name": "Orderlogistics",
|
||||
"style": {
|
||||
"navigationBarTitleText": "查看物流",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/user/order/mallShipmentsInfo",
|
||||
"name": "MallShipmentsInfo",
|
||||
"style": {
|
||||
"navigationBarTitleText": "提货单详情页面",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user/address/list",
|
||||
"name": "AddressList",
|
||||
"style": {
|
||||
"navigationBarTitleText": "地址管理",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/user/address/create",
|
||||
"name": "AddressCreate",
|
||||
"style": {
|
||||
"navigationBarTitleText": "地址新增",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user/code",
|
||||
"name": "userCode",
|
||||
"auth": false,
|
||||
"style": {
|
||||
"navigationBarTitleText": "邀请好友"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/user/help",
|
||||
"name": "userHelp",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "帮助中心"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/user/partner",
|
||||
"name": "userPartner",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的粉丝"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/user/clause",
|
||||
"name": "userClause",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "服务条款"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/user/followOfficial",
|
||||
"name": "Official",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "关注公众号"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/user/coupons",
|
||||
"name": "myCoupons",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的优惠券"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/user/couponsDte",
|
||||
"name": "myCouponsDte",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的优惠券"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/user/couponsList",
|
||||
"name": "myCouponsList",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的优惠券"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/vip/vip",
|
||||
"name": "vipIndex",
|
||||
"style": {
|
||||
"navigationBarTitleText": "开通节点",
|
||||
"navigationBarBackgroundColor": "#774ffd",
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/vip/agree",
|
||||
"name": "vipAgree",
|
||||
"style": {
|
||||
"navigationBarTitleText": "用户协议",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/vip/examine",
|
||||
"name": "Examine",
|
||||
"style": {
|
||||
"navigationBarTitleText": "提交成功"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/setting/setting",
|
||||
"name": "setting",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "设置中心"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/goods/management",
|
||||
"name": "goodsManagement",
|
||||
"style": {
|
||||
"navigationBarTitleText": "商品权证管理",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [{
|
||||
"text": "发布",
|
||||
"width": "78px",
|
||||
"fontSize": "15px",
|
||||
"color": "#8b64fd"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/goods/addClassify",
|
||||
"name": "goodsaddClassify",
|
||||
"style": {
|
||||
"navigationBarTitleText": "发布权证类目"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/goods/details",
|
||||
"name": "goodsDetails",
|
||||
"style": {
|
||||
"navigationBarTitleText": "权证详情",
|
||||
"navigationBarTextStyle": "white",
|
||||
"titleNView": {
|
||||
"backgroundColor": "#7c52fc",
|
||||
"type": "transparent",
|
||||
"buttons": [{
|
||||
"text": "分享",
|
||||
"fontSize": "14",
|
||||
"color": "#fff"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/goods/add",
|
||||
"name": "goodsAdd",
|
||||
"style": {
|
||||
"navigationBarTitleText": "商品权证创建"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/goods/goodsAuth",
|
||||
"name": "goodsAddAuth",
|
||||
"style": {
|
||||
"navigationBarTitleText": "商品权证认证"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/coupons/management",
|
||||
"name": "couponsManagement",
|
||||
"style": {
|
||||
"navigationBarTitleText": "优惠券管理",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [{
|
||||
"text": "创建",
|
||||
"width": "78px",
|
||||
"fontSize": "15px",
|
||||
"color": "#8b64fd"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/coupons/add",
|
||||
"name": "couponsAdd",
|
||||
"style": {
|
||||
"navigationBarTitleText": "创建优惠券",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [{
|
||||
"text": "发布",
|
||||
"width": "78px",
|
||||
"fontSize": "15px",
|
||||
"color": "#8b64fd"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/coupons/magDetails",
|
||||
"name": "couponsDetails",
|
||||
"style": {
|
||||
"navigationBarTitleText": "优惠券详情"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/coupons/selectGoods",
|
||||
"name": "couponsSelectGoods",
|
||||
"style": {
|
||||
"navigationBarTitleText": "关联产品"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/login/login",
|
||||
"name": "Login",
|
||||
"style": {
|
||||
"navigationBarTitleText": "登录",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/login/guide",
|
||||
"name": "loginGuide",
|
||||
"style": {
|
||||
"navigationBarTitleText": "引导页"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/login/agreement",
|
||||
"name": "agreement",
|
||||
"style": {
|
||||
"navigationBarTitleText": "用户隐藏协议"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/certification/personal",
|
||||
"name": "Personal",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "个人认证"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/setting/aboutUs",
|
||||
"name": "aboutUs",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "关于我们"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/company/approve",
|
||||
"name": "companyApprove",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "企业认证"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/news/index",
|
||||
"name": "news",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "消息中心"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/news/detail",
|
||||
"name": "newsDetail",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "消息列表"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/wallet/property",
|
||||
"name": "walletProperty",
|
||||
"style": {
|
||||
"navigationBarTitleText": "通证钱包",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarBackgroundColor": "#976dff"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/wallet/redProperty",
|
||||
"name": "walletRedProperty",
|
||||
"style": {
|
||||
"navigationBarTitleText": "现金红包",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarBackgroundColor": "#976dff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/wallet/extract",
|
||||
"name": "Extract",
|
||||
"style": {
|
||||
"navigationBarTitleText": "提现通证",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarBackgroundColor": "#976dff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/wallet/extractRed",
|
||||
"name": "ExtractRed",
|
||||
"style": {
|
||||
"navigationBarTitleText": "提现红包",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarBackgroundColor": "#976dff"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/verification/index",
|
||||
"name": "verificationIndex",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "扫码核销",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/verification/history",
|
||||
"name": "verificationHistory",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "核销记录",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/shop/lists",
|
||||
"name": "shopLists",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "门店管理",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [{
|
||||
"text": "添加",
|
||||
"width": "78px",
|
||||
"fontSize": "15px",
|
||||
"color": "#8b64fd"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/shop/create",
|
||||
"name": "shopCreate",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "创建门店"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/employees/list",
|
||||
"name": "employeesList",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "员工管理",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [{
|
||||
"text": "添加",
|
||||
"width": "78px",
|
||||
"fontSize": "15px",
|
||||
"color": "#8b64fd"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/employees/add",
|
||||
"name": "employeesAdd",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "添加员工",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [{
|
||||
"text": "保存",
|
||||
"width": "78px",
|
||||
"fontSize": "15px",
|
||||
"color": "#8b64fd"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/instrument/Spread",
|
||||
"name": "instrumentSpread",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "营销推广码"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/instrument/basics",
|
||||
"name": "instrumentBasics",
|
||||
"auth": true,
|
||||
"style": {
|
||||
"navigationBarTitleText": "基础信息",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [{
|
||||
"text": "保存",
|
||||
"width": "78px",
|
||||
"fontSize": "15px",
|
||||
"color": "#8b64fd"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/wallet/fragment",
|
||||
"name": "Fragment",
|
||||
"style": {
|
||||
"navigationBarTitleText": "贡献值记录",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/wallet/addBank",
|
||||
"style": {
|
||||
"navigationBarTitleText": "添加银行卡",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": "addBank"
|
||||
}, {
|
||||
"path": "pages/wallet/bankList",
|
||||
"style": {
|
||||
"navigationBarTitleText": "银行卡列表",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": "bankList"
|
||||
}, {
|
||||
"path": "pages/wallet/withdrawList",
|
||||
"style": {
|
||||
"navigationBarTitleText": "红包提现记录",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundImage": "linear-gradient(to right, #7c52fc, #976dff)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": "withdrawList"
|
||||
}, {
|
||||
"path": "pages/wxAuth/wxAuth",
|
||||
"name": "wxAuth"
|
||||
}, {
|
||||
"path": "pages/clearOpen/clearOpen",
|
||||
"style": {
|
||||
"navigationBarTitleText": "提现记录",
|
||||
"enablePullDownRefresh": false
|
||||
},
|
||||
"name": "clearOpen"
|
||||
}, {
|
||||
"path": "pages/market/index",
|
||||
"name": "Market",
|
||||
"style": {
|
||||
"navigationBarTitleText": "转让市场",
|
||||
"titleNView": {
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"buttons": [{
|
||||
"text": "成交历史",
|
||||
"fontSize": "14",
|
||||
"width": "80",
|
||||
"color": "#555555"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/market/logs",
|
||||
"name": "marketLogs",
|
||||
"style": {
|
||||
"navigationBarTitleText": "成交历史",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/market/details",
|
||||
"name": "marketDetails",
|
||||
"style": {
|
||||
"navigationBarTitleText": "转让详情"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/market/goods",
|
||||
"name": "marketGoods",
|
||||
"style": {
|
||||
"navigationBarTitleText": "锚定商品",
|
||||
"titleNView": {
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"type": "transparent"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/market/transfer",
|
||||
"name": "marketTransfer",
|
||||
"style": {
|
||||
"navigationBarTitleText": "转让权证",
|
||||
"backgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/market/management",
|
||||
"name": "marketManag",
|
||||
"style": {
|
||||
"navigationBarTitleText": "权证转让管理",
|
||||
"titleNView": {
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"buttons": [{
|
||||
"text": "转让记录",
|
||||
"fontSize": "14",
|
||||
"width": "80",
|
||||
"color": "#774ffd"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/store/return",
|
||||
"name": "Return",
|
||||
"style": {
|
||||
"navigationBarTitleText": "退货单处理",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/store/orderDetails",
|
||||
"name": "storeOrderDetails",
|
||||
"style": {
|
||||
"navigationBarTitleText": "订单详情",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/store/deliver",
|
||||
"name": "Deliver",
|
||||
"style": {
|
||||
"navigationBarTitleText": "发货单处理",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/store/deliverForm",
|
||||
"name": "DeliverForm",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我要发货",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/store/logistic",
|
||||
"name": "Logistic",
|
||||
"style": {
|
||||
"navigationBarTitleText": "提货单物流",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/store/journal",
|
||||
"name": "storeJournal",
|
||||
"style": {
|
||||
"navigationBarTitleText": "操作日志",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/store/examine",
|
||||
"name": "storeExamine",
|
||||
"style": {
|
||||
"navigationBarTitleText": "订单审核",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/queue/queue",
|
||||
"style": {
|
||||
"navigationBarTitleText": "队列",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
"backgroundColor": "#F5F5F5",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"navigationBarTextStyle": "black"
|
||||
},
|
||||
"tabBar": {
|
||||
"borderStyle": "white",
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"selectedColor": "#774ffd",
|
||||
"iconWidth": "26px",
|
||||
"spacing": "0",
|
||||
"height": "60px",
|
||||
"list": [{
|
||||
"text": "发现通证",
|
||||
"iconPath": "static/tabBar/tabBar_icon_00.png",
|
||||
"selectedIconPath": "static/tabBar/tabBar_show_00.png",
|
||||
"pagePath": "pages/index/index"
|
||||
}, {
|
||||
"text": "发现更多",
|
||||
"iconPath": "static/tabBar/tabBar_icon_01.png",
|
||||
"selectedIconPath": "static/tabBar/tabBar_show_01.png",
|
||||
"pagePath": "pages/found/index"
|
||||
}, {
|
||||
"text": "通证商城",
|
||||
"iconPath": "static/tabBar/tabBar_icon_03.png",
|
||||
"selectedIconPath": "static/tabBar/tabBar_show_03.png",
|
||||
"pagePath": "pages/equity/index"
|
||||
}, {
|
||||
"text": "转让市场",
|
||||
"iconPath": "static/tabBar/tabBar_icon_04.png",
|
||||
"selectedIconPath": "static/tabBar/tabBar_show_04.png",
|
||||
"pagePath": "pages/market/index"
|
||||
}, {
|
||||
"text": "节点中心",
|
||||
"iconPath": "static/tabBar/tabBar_icon_02.png",
|
||||
"selectedIconPath": "static/tabBar/tabBar_show_02.png",
|
||||
"pagePath": "pages/user/index"
|
||||
}]
|
||||
},
|
||||
"easycom": {
|
||||
"nv": "@/uni_modules/pyh-nv/components/pyh-nv/pyh-nv.vue",
|
||||
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
|
||||
}
|
||||
}
|
||||
@@ -13,11 +13,11 @@
|
||||
<!-- 分类 -->
|
||||
<view class="classify">
|
||||
<view class="classify-item" v-for="(item, index) in classify" :key="index"
|
||||
@click="onClassify(item.category_id)">
|
||||
@click="onClassify(item.category_id,item.name)">
|
||||
<image class="cover" :src="item.cover" mode="aspectFill"></image>
|
||||
<view class="title">{{item.name}}</view>
|
||||
</view>
|
||||
<view class="classify-item" @click="onClassify('')">
|
||||
<view class="classify-item" @click="onClassify('','全部')">
|
||||
<image class="cover" src="../../static/icons/equity_nav.png" mode="aspectFill"></image>
|
||||
<view class="title">查看全部</view>
|
||||
</view>
|
||||
@@ -37,7 +37,7 @@
|
||||
</view>
|
||||
<view class="price"><text>¥</text>{{position.one.original_price}}
|
||||
<span style='font-size: 26rpx;color: #555;font-weight: normal;padding-left: 10rpx;' v-if='position.one.price.pv>0'>
|
||||
贡献值:<span>{{position.one.price.pv}}</span><image style="width: 20rpx;" src="/static/icons/crystal-icon.png" mode="widthFix" />
|
||||
+ <span>{{position.one.price.pv}}</span><image style="width: 20rpx;" src="/static/icons/crystal-icon.png" mode="widthFix" />
|
||||
</span>
|
||||
</view>
|
||||
<span class='is_self' v-if='position.one.specal_tags.is_self'>{{position.one.specal_tags.is_self}}</span>
|
||||
@@ -46,10 +46,10 @@
|
||||
<view class="itme-list" v-for="(item, index) in position.two" :key="index" @click="onGoods(item)">
|
||||
<image class="cover" :src="item.cover" mode="aspectFill"></image>
|
||||
<view class="title">{{item.name}}</view>
|
||||
<view style='font-size: 26rpx;color: #999;font-weight: normal;' v-if='item.price.pv>0'>
|
||||
贡献值:<span>{{item.price.pv}}</span><image style="width: 20rpx;" src="/static/icons/crystal-icon.png" mode="widthFix" />
|
||||
<view style='font-size: 24rpx;color: #999;font-weight: normal;' v-if='item.price.pv>0'>
|
||||
+ <span>{{item.price.pv}}</span><image style="width: 22rpx;" src="/static/icons/crystal-icon.png" mode="widthFix" />
|
||||
</view>
|
||||
<view class="price"><text>¥</text>{{item.original_price}}</view>
|
||||
<view class="price" style="font-size: 28rpx;"><text>¥</text>{{item.original_price}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -93,7 +93,16 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- 优选商品 -->
|
||||
<goods-list :list="goods" priceType="CNY" @on-goods="onGoods" />
|
||||
<goods-list :list="goods" priceType="CNY" @on-goods="onGoods">
|
||||
<template #statistics="good">
|
||||
<view class="goods-pv">
|
||||
<block v-if="good.value.price.pv > 0">
|
||||
+ {{good.value.price.pv}}
|
||||
<image class="goods-pv-icon" src="/static/icons/crystal-icon.png" mode="widthFix" />
|
||||
</block>
|
||||
</view>
|
||||
</template>
|
||||
</goods-list>
|
||||
<!-- 分页 -->
|
||||
<uni-load-more :status="pageStatus" :iconSize="16"></uni-load-more>
|
||||
</view>
|
||||
@@ -183,10 +192,16 @@
|
||||
})
|
||||
},
|
||||
// 易货分类
|
||||
onClassify(id) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/goods/lists?type=id&id=${id}`
|
||||
})
|
||||
onClassify(id,name) {
|
||||
if(id){
|
||||
uni.navigateTo({
|
||||
url: `/pages/goods/lists?type=id&id=${id}&name=${name}`
|
||||
})
|
||||
}else{
|
||||
uni.navigateTo({
|
||||
url: `/pages/goods/goodsClassify`
|
||||
})
|
||||
}
|
||||
},
|
||||
},
|
||||
// 下拉加载
|
||||
@@ -474,369 +489,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
// 热易商家
|
||||
.hot-swiper {
|
||||
margin: 0 $margin $margin $margin;
|
||||
height: 240rpx;
|
||||
|
||||
.hot-box {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
border-radius: ($radius/2);
|
||||
background: white;
|
||||
padding: $padding;
|
||||
box-sizing: border-box;
|
||||
|
||||
.hot-vip {
|
||||
position: absolute;
|
||||
top: $padding;
|
||||
left: $padding;
|
||||
background-color: #191919;
|
||||
color: #f3c8a8;
|
||||
font-size: 24rpx;
|
||||
line-height: 32rpx;
|
||||
padding: 0 8rpx;
|
||||
border-radius: 6rpx 6rpx 6rpx 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.hot-tool {
|
||||
position: absolute;
|
||||
top: 30rpx;
|
||||
right: $padding;
|
||||
;
|
||||
|
||||
.hot-deal {
|
||||
width: 120rpx;
|
||||
height: 120rpx;
|
||||
text-align: center;
|
||||
box-shadow: 0 0 14rpx rgba(260, 60, 80, .9);
|
||||
background: linear-gradient(to bottom, #e1293f, #f85d31);
|
||||
color: #FFFFFF;
|
||||
font-size: 26rpx;
|
||||
border-radius: 50%;
|
||||
padding-top: 25rpx;
|
||||
box-sizing: border-box;
|
||||
font-size: 24rpx;
|
||||
|
||||
.hot-deal-number {
|
||||
font-size: 28rpx;
|
||||
font-weight: 600;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cover {
|
||||
position: absolute;
|
||||
left: $padding;
|
||||
top: $padding;
|
||||
width: calc(198rpx - #{$padding * 2});
|
||||
height: calc(198rpx - #{$padding * 2});
|
||||
}
|
||||
|
||||
.hot-content {
|
||||
padding-left: calc(198rpx - #{$padding});
|
||||
|
||||
.hot-title {
|
||||
font-weight: bold;
|
||||
font-size: $title-size-lg;
|
||||
line-height: 40rpx;
|
||||
height: 40rpx;
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.hot-credit {
|
||||
font-size: 24rpx;
|
||||
display: inline-block;
|
||||
font-weight: normal;
|
||||
color: #ec652f;
|
||||
border: 2rpx solid #ec652f;
|
||||
line-height: 36rpx;
|
||||
border-radius: 6rpx;
|
||||
padding: 0 6rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
|
||||
.hot-trade,
|
||||
.hot-warrant {
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
padding-top: 10rpx;
|
||||
}
|
||||
|
||||
.hot-trade {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.hot-warrant {
|
||||
display: flex;
|
||||
|
||||
.hot-warrant-text {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.hot-bar {
|
||||
display: flex;
|
||||
width: 50%;
|
||||
margin-top: 4rpx;
|
||||
|
||||
.hot-bar-color {
|
||||
background: #ebebeb;
|
||||
border-left: 2rpx solid transparent;
|
||||
border-right: 2rpx solid transparent;
|
||||
width: calc(100% - 50rpx);
|
||||
border-radius: 60rpx;
|
||||
margin: 6rpx 10rpx 0 0;
|
||||
height: 18rpx;
|
||||
|
||||
.hot-bar-strip {
|
||||
background-color: #ff8562;
|
||||
border: 1px solid #ff8562;
|
||||
border-radius: 10px;
|
||||
box-shadow: 1vw 3vh 10vh rgba(168, 7, 7, 0.8);
|
||||
background-size: 3em 3em;
|
||||
background-image: linear-gradient(-45deg, transparent 0em, transparent 0.8em, #ec3950 0.9em, #ec3950 2.1em, transparent 2.1em, transparent 2.9em, #ec3950 3.1em);
|
||||
height: 14rpx;
|
||||
border-radius: 60rpx;
|
||||
position: relative;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
height: 100%;
|
||||
background-image: linear-gradient(to bottom, #db152e, rgba(168, 7, 7, 0.6) 15%, transparent 60%, #db152e);
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.hot-bar-per {
|
||||
font-size: 20rpx;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
transform: scale(.8);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.credibility {
|
||||
height: calc(108rpx - #{$padding * 2});
|
||||
font-size: $title-size-m;
|
||||
color: $text-gray;
|
||||
}
|
||||
|
||||
.trading {
|
||||
line-height: 40rpx;
|
||||
font-size: $title-size-sm;
|
||||
color: $text-gray;
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: $padding;
|
||||
font-size: $title-size-m;
|
||||
background-color: $text-price;
|
||||
color: white;
|
||||
line-height: 50rpx;
|
||||
width: 100rpx;
|
||||
text-align: center;
|
||||
margin-top: -25rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 推荐商家
|
||||
.recommended {
|
||||
white-space: nowrap;
|
||||
|
||||
.item-box {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
background: white;
|
||||
width: 370rpx;
|
||||
margin-left: $margin;
|
||||
border-radius: ($radius/2);
|
||||
padding: ($padding + $padding/2) $padding - 10;
|
||||
box-sizing: border-box;
|
||||
text-align: center;
|
||||
|
||||
&:last-child {
|
||||
margin-right: $margin;
|
||||
}
|
||||
|
||||
.item-cover {
|
||||
background: #eee;
|
||||
width: 120rpx;
|
||||
height: 120rpx;
|
||||
vertical-align: top;
|
||||
border-radius: $radius / 2;
|
||||
}
|
||||
|
||||
.item-vip {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
;
|
||||
top: 20rpx;
|
||||
background-color: #f3ceb3;
|
||||
font-size: 24rpx;
|
||||
line-height: 38rpx;
|
||||
border-radius: 0 6rpx 6rpx 0;
|
||||
display: flex;
|
||||
|
||||
.item-vip-text {
|
||||
background-color: #191919;
|
||||
color: #f3c8a8;
|
||||
padding: 0 6rpx;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.item-vip-tips {
|
||||
padding: 0 6rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.item-title {
|
||||
margin: 20rpx 0 10rpx;
|
||||
}
|
||||
|
||||
.item-trade {
|
||||
font-size: 28rpx;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.item-bar {
|
||||
display: flex;
|
||||
margin: 10rpx 0 20rpx;
|
||||
|
||||
.item-bar-color {
|
||||
background: #ebebeb;
|
||||
border-left: 2rpx solid transparent;
|
||||
border-right: 2rpx solid transparent;
|
||||
width: calc(100% - 50rpx);
|
||||
border-radius: 60rpx;
|
||||
margin: 4rpx 10rpx 0 0;
|
||||
|
||||
.item-bar-strip {
|
||||
background-color: #f3c8a8;
|
||||
border: 2rpx solid #f3c8a8;
|
||||
border-radius: 20rpx;
|
||||
box-shadow: 1vw 3vh 10vh rgba(168, 7, 7, 0.8);
|
||||
background-size: 3em 3em;
|
||||
background-image: linear-gradient(-45deg, transparent 0em, transparent 0.8em, #ee883d 0.9em, #ee883d 2.1em, transparent 2.1em, transparent 2.9em, #ee883d 3.1em);
|
||||
animation: warning-animation 1.4s infinite linear;
|
||||
height: 14rpx;
|
||||
border-radius: 60rpx;
|
||||
position: relative;
|
||||
|
||||
.item-bar-per {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: -6rpx;
|
||||
height: 100%;
|
||||
font-size: 20rpx;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
text-shadow: 0 1px rgba(255, 255, 255, 0.4);
|
||||
transform: scale(.8);
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
height: 100%;
|
||||
background-image: linear-gradient(to bottom, #ee883d, rgba(168, 7, 7, 0.6) 15%, transparent 60%, #ee883d);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
@keyframes warning-animation {
|
||||
0% {
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
background-position: 3em 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.item-bar-strip-img {
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
animation: bounce-up 1.5s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes bounce-up {
|
||||
25% {
|
||||
transform: translateY(2rpx);
|
||||
}
|
||||
|
||||
50%,
|
||||
100% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
75% {
|
||||
transform: translateY(-2rpx);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.item-url {
|
||||
background: linear-gradient(to right, #e1293f, #f85d31);
|
||||
color: #FFFFFF;
|
||||
border-radius: 10rpx;
|
||||
display: flex;
|
||||
line-height: 52rpx;
|
||||
padding: 10rpx;
|
||||
box-sizing: border-box;
|
||||
font-size: 28rpx;
|
||||
|
||||
.item-credit {
|
||||
font-size: 24rpx;
|
||||
border-radius: 6rpx;
|
||||
background-color: #FFFFFF;
|
||||
color: #e1293f;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
text-align: left;
|
||||
padding: 0 10rpx;
|
||||
box-sizing: border-box;
|
||||
|
||||
.item-credit-img {
|
||||
width: 28rpx;
|
||||
height: 28rpx;
|
||||
margin: 12rpx 8rpx 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
.item-btn {
|
||||
padding-left: 20rpx;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
|
||||
image {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
margin-top: 12rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 模块标题
|
||||
.block-title {
|
||||
padding: $padding;
|
||||
@@ -860,4 +512,13 @@
|
||||
color: $text-gray;
|
||||
}
|
||||
}
|
||||
// 加水晶
|
||||
.goods-pv{
|
||||
.goods-pv-icon{
|
||||
width: 20rpx;
|
||||
vertical-align: middle;
|
||||
margin-left: 5rpx;
|
||||
margin-bottom: 5rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -27,7 +27,16 @@
|
||||
</view>
|
||||
<view class="lists">
|
||||
<!-- 优选商品 -->
|
||||
<goods-list :list="searchArr" priceType="CNY" @on-goods="onGoods" />
|
||||
<goods-list :list="searchArr" priceType="CNY" @on-goods="onGoods">
|
||||
<template #statistics="good">
|
||||
<view class="goods-pv">
|
||||
<block v-if="good.value.price.pv > 0">
|
||||
+ {{good.value.price.pv}}
|
||||
<image class="goods-pv-icon" src="/static/icons/crystal-icon.png" mode="widthFix" />
|
||||
</block>
|
||||
</view>
|
||||
</template>
|
||||
</goods-list>
|
||||
</view>
|
||||
<!-- 分页 -->
|
||||
<uni-load-more :status="pageStatus" :iconSize="16" v-if="searchArr.length > 0" />
|
||||
@@ -300,4 +309,13 @@
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
// 加水晶
|
||||
.goods-pv{
|
||||
.goods-pv-icon{
|
||||
width: 28rpx;
|
||||
vertical-align: middle;
|
||||
margin-left: 5rpx;
|
||||
margin-bottom: 5rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<view class="authenticationItemTitle">权证认证</view>
|
||||
<view class="authenticationItemcontent" v-if="info.goods">
|
||||
<view class="authenticationItemcontentItem" v-if="info.goods.name">
|
||||
<view class="title">{{info.goods.type ===1?'权证名称':'项目名称'}}: </view>
|
||||
<view class="title">{{info.goods.type ===1 ? '权证名称':'项目名称'}}: </view>
|
||||
<view class="content">{{info.goods.name || '暂无数据'}}</view>
|
||||
</view>
|
||||
<view class="authenticationItemcontentItem" v-if="info.goods.type ===1 && info.goods.batch">
|
||||
|
||||
@@ -15,7 +15,10 @@
|
||||
<view class="header">
|
||||
<view class="flex-box">
|
||||
<view class="price"><text>¥</text>{{goodsObj.price.show}}</view>
|
||||
<view class="sales">累计交易{{goodsObj.sales}}次</view>
|
||||
<!-- <view class="sales">累计交易{{goodsObj.sales}}次</view> -->
|
||||
<span style='font-size: 26rpx;color: #999;font-weight: normal;padding-left: 20rpx;' v-if='goodsObj.price.pv>0'>
|
||||
贡献值:<span>{{goodsObj.price.pv}}</span><image style="width: 20rpx;" src="/static/icons/crystal-icon.png" mode="widthFix" />
|
||||
</span>
|
||||
</view>
|
||||
<view class="coupon" v-if="couponSee.length > 0" @click="couponsOpne">
|
||||
<view class="coupon-list" v-for="(item, index) in couponSee" :key="index">
|
||||
@@ -32,9 +35,6 @@
|
||||
</view>
|
||||
<view class="title-hot" v-if="goodsObj.specal_tags.is_self">{{goodsObj.specal_tags.is_self}}</view>
|
||||
{{goodsObj.name}}
|
||||
<span style='font-size: 26rpx;color: #999;font-weight: normal;padding-left: 20rpx;' v-if='goodsObj.price.pv>0'>
|
||||
贡献值:<span>{{goodsObj.price.pv}}</span><image style="width: 20rpx;" src="/static/icons/crystal-icon.png" mode="widthFix" />
|
||||
</span>
|
||||
</view>
|
||||
<!-- <view class="sub-title">{{goodsObj.description}}</view> -->
|
||||
</view>
|
||||
@@ -60,7 +60,7 @@
|
||||
</view>
|
||||
<view class="tooSee-label"
|
||||
@click="$Router.push({name: 'GoodsAttestation', params: {id: goodsObj.goods_id}})">
|
||||
权证认证
|
||||
商品认证
|
||||
<image class="tooSee-label-img" src="../../static/icons/equity_arrow_right.png"
|
||||
mode="aspectFill"></image>
|
||||
</view>
|
||||
@@ -255,7 +255,7 @@
|
||||
},
|
||||
|
||||
// 领取优惠券
|
||||
drawCoupons(id) {
|
||||
drawCoupons(id,index) {
|
||||
let token = this.$store.getters.getToken
|
||||
if (token == '') {
|
||||
let userLogin = new userAuth()
|
||||
@@ -268,6 +268,7 @@
|
||||
type: 'primary',
|
||||
duration: 3000
|
||||
})
|
||||
this.coupons[index].can = res.can
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<scroll-view class="second" scroll-y>
|
||||
<!-- @click="goList(item.category_id)" -->
|
||||
<!-- @click="$Router.push({name:'goodsList',query:{id:item.category_id}})" -->
|
||||
<view class="second-item" v-for="(item, index) in category[stairIndex].children" :key="index" @click="goList(item.category_id)">
|
||||
<view class="second-item" v-for="(item, index) in category[stairIndex].children" :key="index" @click="goList(item.category_id,item.name)">
|
||||
{{item.name}}
|
||||
<uni-icons class="arrow-icon" type="arrowright" color="#999" size="14"></uni-icons>
|
||||
</view>
|
||||
@@ -36,11 +36,18 @@
|
||||
this.category = res
|
||||
})
|
||||
},
|
||||
// 点击全部分类跳转页面
|
||||
|
||||
onNavigationBarButtonTap() {
|
||||
uni.navigateTo({
|
||||
url: `/pages/goods/lists?id=&name=全部商品`
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
// 跳转列表页面
|
||||
goList(id) {
|
||||
goList(id,name) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/goods/lists?id=${id}`
|
||||
url: `/pages/goods/lists?id=${id}&name=${name}`
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
{{goodsType[goodsTypeIndex].name}}
|
||||
<image class="tabs-item-arrow" src="@/static/icons/search_row.png" mode="" />
|
||||
</view>
|
||||
<!-- <view class="tabs-item" :class="{'show': tabIndex == 0}" @click="onTabs" data-index="0">最新</view> -->
|
||||
<view class="tabs-item" :class="{'show': tabIndex == 1 && marketType !== ''}" @click="onTabs" data-index="1">
|
||||
价格
|
||||
<image class="icon" mode="widthFix"
|
||||
@@ -17,9 +16,24 @@
|
||||
<image class="icon" mode="widthFix"
|
||||
:src="require(pvType == 'asc' ? '@/static/icons/market_icon_low.png': pvType === ''? '@/static/icons/market_icon_null.png':'@/static/icons/market_icon_high.png')" />
|
||||
</view>
|
||||
|
||||
<view v-if="$Route.query.type !== 'baodan'" class="tabs-item" @click="$Router.push({name:'goodsClassify'})">
|
||||
{{$Route.query.name}}
|
||||
<image class="tabs-item-arrow" src="@/static/icons/search_row.png" mode="" />
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="lists">
|
||||
<goods-list :list="goods" priceType="CNY" @on-goods="onGoods" />
|
||||
<goods-list :list="goods" priceType="CNY" @on-goods="onGoods">
|
||||
<template #statistics="good">
|
||||
<view class="goods-pv">
|
||||
<block v-if="good.value.price.pv > 0">
|
||||
+ {{good.value.price.pv}}
|
||||
<image class="goods-pv-icon" src="/static/icons/crystal-icon.png" mode="widthFix" />
|
||||
</block>
|
||||
</view>
|
||||
</template>
|
||||
</goods-list>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -68,6 +82,13 @@
|
||||
title: '报单通证'
|
||||
})
|
||||
}
|
||||
// else{
|
||||
// if(this.$Route.query.name){
|
||||
// uni.setNavigationBarTitle({
|
||||
// title: this.$Route.query.name+'商品列表' || '商品列表'
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
},
|
||||
methods: {
|
||||
getShopSelf(){
|
||||
@@ -178,12 +199,13 @@
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
}
|
||||
.icon {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
image {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
vertical-align: middle;
|
||||
margin-left: $margin / 3;
|
||||
margin-bottom: 4rpx;
|
||||
|
||||
}
|
||||
&.show {
|
||||
color: $mian-color;
|
||||
@@ -195,4 +217,14 @@
|
||||
.lists {
|
||||
padding-top: 70rpx;
|
||||
}
|
||||
|
||||
// 加水晶
|
||||
.goods-pv{
|
||||
.goods-pv-icon{
|
||||
width: 20rpx !important;
|
||||
vertical-align: middle;
|
||||
margin-left: 5rpx;
|
||||
margin-bottom: 5rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -108,6 +108,9 @@
|
||||
status: this.status,
|
||||
page:this.page
|
||||
}).then(res => {
|
||||
|
||||
console.log(res)
|
||||
|
||||
let countArr = new Array
|
||||
for(let key in res.count){
|
||||
countArr.push(key)
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
</view>
|
||||
<!-- 平台累计盈利,通证 -->
|
||||
<view class="chart">
|
||||
<view class="title">累计盈利和通证价值走势图</view>
|
||||
<view class="title">通证价值走势图</view>
|
||||
<view class="chart-f2">
|
||||
<l-f2 ref="chartChange"></l-f2>
|
||||
</view>
|
||||
@@ -356,41 +356,36 @@
|
||||
})
|
||||
},
|
||||
// 绘制图表
|
||||
showCartc(data) {
|
||||
showCartc(dataInfo) {
|
||||
// 图表信息
|
||||
this.$refs.chartChange.init(config => {
|
||||
config.appendPadding = [10, 30, 10, 15]
|
||||
const chart = new F2.Chart(config);
|
||||
chart.source(data, {
|
||||
config.appendPadding = [8, 30, 10, 15]
|
||||
const chart = new F2.Chart(config)
|
||||
chart.source(dataInfo, {
|
||||
date: {
|
||||
range: [0, 1],
|
||||
type: 'timeCat',
|
||||
mask: 'MM-DD'
|
||||
mask: 'MM/DD',
|
||||
tickCount: 7,
|
||||
range: [ 0, 1 ]
|
||||
},
|
||||
value: {
|
||||
tickCount: 0
|
||||
tickCount: 7,
|
||||
alias: '通证价值'
|
||||
}
|
||||
});
|
||||
chart.legend({
|
||||
position: 'bottom',
|
||||
offsetY: 0,
|
||||
offsetX: 30
|
||||
chart.tooltip({
|
||||
showCrosshairs: true,
|
||||
crosshairsStyle: {
|
||||
stroke: 'rgba(255, 255, 255, 0.25)',
|
||||
lineWidth: 1
|
||||
},
|
||||
tooltipMarkerStyle: {
|
||||
fill: '#fff'
|
||||
}
|
||||
});
|
||||
chart.area()
|
||||
.position('date*value')
|
||||
.color('name', ['#5881d3', '#ca66e0'])
|
||||
.shape('smooth')
|
||||
chart.line()
|
||||
.position('date*value')
|
||||
.color('name', ['#5881d3', '#ca66e0'])
|
||||
.shape('smooth', name => {
|
||||
if (name === '预期收益率') {
|
||||
return 'line';
|
||||
}
|
||||
if (name === '实际收益率') {
|
||||
return 'line';
|
||||
}
|
||||
});
|
||||
chart.line().position('date*value').shape('smooth').color('#ca66e0');
|
||||
chart.point().position('date*value').shape('smooth').color('#ca66e0').style({stroke: '#fff', lineWidth: 1 });
|
||||
chart.area().position('date*value').color('#ca66e0').shape('smooth')
|
||||
chart.render();
|
||||
return chart;
|
||||
})
|
||||
|
||||
34
pages/index/new_file.js
Normal file
34
pages/index/new_file.js
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
config.appendPadding = [10, 30, 10, 15]
|
||||
const chart = new F2.Chart(config);
|
||||
chart.source(data, {
|
||||
date: {
|
||||
range: [0, 1],
|
||||
type: 'timeCat',
|
||||
mask: 'MM-DD'
|
||||
},
|
||||
value: {
|
||||
tickCount: 0
|
||||
}
|
||||
});
|
||||
chart.legend({
|
||||
position: 'bottom',
|
||||
offsetY: 0,
|
||||
offsetX: 30
|
||||
});
|
||||
chart.area()
|
||||
.position('date*value')
|
||||
.color('name', ['#5881d3', '#ca66e0'])
|
||||
.shape('smooth')
|
||||
chart.line()
|
||||
.position('date*value')
|
||||
.color('name', ['#5881d3', '#ca66e0'])
|
||||
.shape('smooth', name => {
|
||||
if (name === '预期收益率') {
|
||||
return 'line';
|
||||
}
|
||||
if (name === '实际收益率') {
|
||||
return 'line';
|
||||
}
|
||||
});
|
||||
chart.render();
|
||||
@@ -7,16 +7,17 @@
|
||||
<span>(≈ {{ cost || '0.00' }} CNY)</span>
|
||||
</view>
|
||||
<view class="balance">{{ balance || '0.00' }}</view>
|
||||
<!-- <view class="frozen" @click="withdrawDetail">提现记录</view> -->
|
||||
<!-- <view class="frozen" @click="withdrawDetail">提现记录</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="withdrawing-content">
|
||||
<view class="item">
|
||||
<view style="flex: 1;">
|
||||
<view class="inputTxt">提现数量</view>
|
||||
<input class="input_num" v-model="withdraw_input" @input='inputNum' type="number"
|
||||
placeholder-style="color:#999;font-weight:normal; font-size:34rpx;"
|
||||
placeholder="请输入提现数量" :disabled="balance===0" />
|
||||
<input class="input_num" ref='inputNumber' v-model="withdraw_input" @input='inputNum'
|
||||
:value="withdraw_input" type="number"
|
||||
placeholder-style="color:#999;font-weight:normal; font-size:34rpx;" placeholder="请输入提现数量"
|
||||
:disabled="balance===0" />
|
||||
</view>
|
||||
<view class="all" @click="all">全部提现</view>
|
||||
</view>
|
||||
@@ -44,7 +45,7 @@
|
||||
withdraw_input: '', // 提现通证数量
|
||||
bank_accounts: 0,
|
||||
bankInfo: {},
|
||||
certification:false,//默认没有认证
|
||||
certification: false, //默认没有认证
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
@@ -60,10 +61,10 @@
|
||||
// 提现基本信息
|
||||
getInfo() {
|
||||
cashsCreate().then(res => {
|
||||
this.withdraw_input = Number(res.balance)
|
||||
// this.withdraw_input = Number(res.balance)
|
||||
this.balance = res.balance
|
||||
this.cost = res.cost
|
||||
this.total = Number(res.balance) * Number(res.cost)
|
||||
// this.total = Number(res.balance) * Number(res.cost)
|
||||
this.certification = res.certification
|
||||
uni.setStorageSync('refresh', false)
|
||||
}).catch(err => {
|
||||
@@ -73,6 +74,7 @@
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
// 输入提现通证数量
|
||||
inputNum(e) {
|
||||
let number = Number(e.detail.value)
|
||||
@@ -92,10 +94,13 @@
|
||||
uni.showToast({
|
||||
title: '最大值能超过' + this.balance + '',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
duration: 2000,
|
||||
mask: true
|
||||
});
|
||||
this.withdraw_input = this.balance
|
||||
this.total = this.balance * this.cost
|
||||
this.$nextTick(() => {
|
||||
this.withdraw_input = this.balance
|
||||
this.total = this.balance * this.cost
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -106,7 +111,7 @@
|
||||
this.total = this.balance * this.cost
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: '啥也没有,我也做不到~',
|
||||
title: '请核对提现金额~',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
})
|
||||
@@ -145,7 +150,7 @@
|
||||
}
|
||||
uni.showModal({
|
||||
title: '温馨提示',
|
||||
content:'您是否确认提现到现金红包账户,交易将免手续费',
|
||||
content: '您是否确认提现到现金红包账户,交易将免手续费',
|
||||
confirmColor: '#7c52fc',
|
||||
cancelColor: '#cacaca',
|
||||
cancelText: '我再想想',
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<view class="item">
|
||||
<view style="flex: 1;">
|
||||
<view class="inputTxt">提现金额</view>
|
||||
<input class="input_num" v-model="withdraw_input" @input='inputNum' type="number" placeholder-style="color:#999;font-weight:normal; font-size:34rpx;" placeholder="请输入提现金额" :disabled="balance===0" />
|
||||
<input class="input_num" ref='inputNuber' v-model="withdraw_input" @input='inputNum' type="number" placeholder-style="color:#999;font-weight:normal; font-size:34rpx;" placeholder="请输入提现金额" :disabled="balance===0" />
|
||||
</view>
|
||||
<view class="all" @click="all">全部提现</view>
|
||||
</view>
|
||||
@@ -96,7 +96,7 @@
|
||||
this.balance = res.balance
|
||||
this.tax = res.tax
|
||||
this.bank_accounts = res.bank_accounts.length
|
||||
this.withdraw_input = Number(res.balance)
|
||||
// this.withdraw_input = Number(res.balance)
|
||||
this.certification = res.certification
|
||||
uni.setStorageSync('refresh', false)
|
||||
}).catch(err => {
|
||||
@@ -117,16 +117,20 @@
|
||||
uni.showToast({
|
||||
title: '当前不能提现',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
duration: 2000,
|
||||
mask: true
|
||||
});
|
||||
this.withdraw_input = 0
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: '最大值能超过' + this.balance + '',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
duration: 2000,
|
||||
mask: true
|
||||
});
|
||||
this.withdraw_input = this.balance
|
||||
this.$nextTick(() => {
|
||||
this.withdraw_input = this.balance
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
BIN
static/imgs/baodan_hot.png
Normal file
BIN
static/imgs/baodan_hot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
3138
unpackage/dist/dev/app-plus/app-service.js
vendored
3138
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user