Merge branch 'develop' of https://gitee.com/qinxingxing/alpha-shopping into develop
# Conflicts: # utils/config.js
@@ -4,7 +4,7 @@
|
|||||||
<view class="flex-r-lr mt-24">
|
<view class="flex-r-lr mt-24">
|
||||||
<view></view>
|
<view></view>
|
||||||
<text class="text-zu1 text-32">{{title}}</text>
|
<text class="text-zu1 text-32">{{title}}</text>
|
||||||
<image src="@/static/new/close.png" @click.stop="onCancel" class="close-img"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/close.png" @click.stop="onCancel" class="close-img"></image>
|
||||||
</view>
|
</view>
|
||||||
<text class="text-zu1 text-48 mt-88">{{articleTitle}}</text>
|
<text class="text-zu1 text-48 mt-88">{{articleTitle}}</text>
|
||||||
<view class="content-text mt-48">
|
<view class="content-text mt-48">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
>
|
>
|
||||||
<view class="home-popup-view" v-if="dataObj">
|
<view class="home-popup-view" v-if="dataObj">
|
||||||
<view class="home-popup-head">
|
<view class="home-popup-head">
|
||||||
<image src="/static/new/logo.png" class="logo-img"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/logo.png" class="logo-img"></image>
|
||||||
<text class="text-28 text-zu" style="margin-left:14rpx">信任桥</text>
|
<text class="text-28 text-zu" style="margin-left:14rpx">信任桥</text>
|
||||||
<text class="text-28 text-fu" style="margin-left:14rpx">分享商品</text>
|
<text class="text-28 text-fu" style="margin-left:14rpx">分享商品</text>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 20 KiB |
@@ -1,170 +0,0 @@
|
|||||||
<!--
|
|
||||||
转盘
|
|
||||||
@Author: mosowe
|
|
||||||
@Date:2023-08-10 18:01:01
|
|
||||||
-->
|
|
||||||
|
|
||||||
<template>
|
|
||||||
<view
|
|
||||||
class="rotary-table-component"
|
|
||||||
:style="{
|
|
||||||
width: props.radius * 2 + 'rpx',
|
|
||||||
height: props.radius * 2 + 'rpx'
|
|
||||||
}">
|
|
||||||
<view
|
|
||||||
class="content-table"
|
|
||||||
:style="{
|
|
||||||
transform: 'rotate(' + deg + 'deg)'
|
|
||||||
}">
|
|
||||||
<!-- <sector :radius="props.height / 2"></sector> -->
|
|
||||||
<sector
|
|
||||||
v-for="(item, index) in props.list"
|
|
||||||
:key="index"
|
|
||||||
:radius="props.radius"
|
|
||||||
:text="item.title"
|
|
||||||
:bgColor="item.bgColor"
|
|
||||||
:color="item.color"
|
|
||||||
:image="item.image"
|
|
||||||
:size="item.size"
|
|
||||||
:imageSize="item.imageSize"
|
|
||||||
:angle="singleAngle"
|
|
||||||
:index="index"></sector>
|
|
||||||
</view>
|
|
||||||
<view
|
|
||||||
class="turntable_pointer"
|
|
||||||
@click="start">
|
|
||||||
<image
|
|
||||||
src="./begin-btn.png"
|
|
||||||
class="icon"></image>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script setup lang="ts">
|
|
||||||
import sector from './sector.vue';
|
|
||||||
import { computed, ref } from 'vue';
|
|
||||||
|
|
||||||
interface listItem {
|
|
||||||
title: string; //文本
|
|
||||||
color?: string; //文字颜色
|
|
||||||
size?: string; // 文字字号
|
|
||||||
bgColor?: string; //区域背景色
|
|
||||||
image?: string; //图片
|
|
||||||
imageSize?: string; //图片宽高
|
|
||||||
}
|
|
||||||
interface Props {
|
|
||||||
list: listItem[]; // 奖项
|
|
||||||
radius?: number; // 圆盘半径
|
|
||||||
speed?: number; // 速度
|
|
||||||
}
|
|
||||||
|
|
||||||
const props = withDefaults(defineProps<Props>(), {
|
|
||||||
radius: 300,
|
|
||||||
speed: 20
|
|
||||||
});
|
|
||||||
|
|
||||||
// emits
|
|
||||||
interface EmitsType {
|
|
||||||
(e: 'start'): void; // 开始抽奖
|
|
||||||
(e: 'end'): void; // 结束
|
|
||||||
}
|
|
||||||
const emits = defineEmits<EmitsType>();
|
|
||||||
|
|
||||||
const deg = ref<number>(0);
|
|
||||||
const singleAngle = computed(() => {
|
|
||||||
return Number((360 / props.list.length).toFixed(2));
|
|
||||||
});
|
|
||||||
const isStart = ref(false);
|
|
||||||
const timer = ref<any>(null);
|
|
||||||
const awardNumer = ref<number>(0); // 中奖序号,0表示还没有给出,1开始算
|
|
||||||
const endAddAngle = computed(() => {
|
|
||||||
return 360 - ((awardNumer.value - 1) * singleAngle.value + singleAngle.value / 2); // 中奖角度
|
|
||||||
});
|
|
||||||
|
|
||||||
// 点击开始抽奖
|
|
||||||
const start = () => {
|
|
||||||
emits('start');
|
|
||||||
};
|
|
||||||
// 开始转
|
|
||||||
const begin = () => {
|
|
||||||
if (isStart.value) return;
|
|
||||||
isStart.value = true;
|
|
||||||
turnRound();
|
|
||||||
};
|
|
||||||
|
|
||||||
// 转动动画
|
|
||||||
const turnRound = () => {
|
|
||||||
let beginDeg = deg.value;
|
|
||||||
let beginSpeed = props.speed;
|
|
||||||
|
|
||||||
const rangeAngle = (Math.floor(Math.random() * 4) + 4) * 360; // 随机旋转几圈再停止
|
|
||||||
|
|
||||||
let cAngle: any;
|
|
||||||
beginDeg = 0;
|
|
||||||
let waitDeg = 0; // 等待接口返回前转的角度
|
|
||||||
|
|
||||||
timer.value = setInterval(() => {
|
|
||||||
if (!awardNumer.value) {
|
|
||||||
beginDeg += beginSpeed;
|
|
||||||
waitDeg = beginDeg;
|
|
||||||
} else {
|
|
||||||
if (waitDeg) {
|
|
||||||
beginDeg = 0;
|
|
||||||
waitDeg = 0;
|
|
||||||
}
|
|
||||||
if (beginDeg < rangeAngle) {
|
|
||||||
beginDeg += beginSpeed;
|
|
||||||
} else {
|
|
||||||
let a = (endAddAngle.value + rangeAngle - beginDeg) / beginSpeed;
|
|
||||||
cAngle = a > beginSpeed ? beginSpeed : a < 1 ? 1 : a;
|
|
||||||
beginDeg += cAngle;
|
|
||||||
|
|
||||||
if (beginDeg >= endAddAngle.value + rangeAngle) {
|
|
||||||
beginDeg = endAddAngle.value + rangeAngle;
|
|
||||||
isStart.value = false;
|
|
||||||
clearInterval(timer.value);
|
|
||||||
emits('end');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
deg.value = beginDeg;
|
|
||||||
}, 1000 / 60);
|
|
||||||
};
|
|
||||||
|
|
||||||
// 准备停止转动
|
|
||||||
const stop = (number: number) => {
|
|
||||||
awardNumer.value = number;
|
|
||||||
};
|
|
||||||
|
|
||||||
defineExpose({
|
|
||||||
begin,
|
|
||||||
stop
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.rotary-table-component {
|
|
||||||
border-radius: 50%;
|
|
||||||
border: 1px solid #999;
|
|
||||||
position: relative;
|
|
||||||
background-color: lightseagreen;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
.content-table {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.turntable_pointer {
|
|
||||||
position: absolute;
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
transform: translateX(-50%) translateY(-50%) rotate(1deg);
|
|
||||||
.icon {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -1,124 +0,0 @@
|
|||||||
V3+ts专属版
|
|
||||||
|
|
||||||
非固定图片式转盘,可自定义传入奖项列表
|
|
||||||
|
|
||||||
## Attributes
|
|
||||||
|
|
||||||
| 属性 | 说明 | 类型 | 默认 |
|
|
||||||
| ------ | ----------- | ---------- | --- |
|
|
||||||
| list | 奖项列表 | listItem[] | [] |
|
|
||||||
| radius | 圆盘半径打,单位rpx | number | 300 |
|
|
||||||
| speed | 转速 | number | 20 |
|
|
||||||
|
|
||||||
### listItem
|
|
||||||
|
|
||||||
| 属性 | 说明 | 类型 |
|
|
||||||
| --------- | -------------- | ------ |
|
|
||||||
| title | 奖项标题 | string |
|
|
||||||
| color | 奖项标题颜色 | string |
|
|
||||||
| size | 奖项标题字号大小,单位rpx | string |
|
|
||||||
| bgColor | 奖项区背景色 | string |
|
|
||||||
| image | 奖项图片地址 | string |
|
|
||||||
| imageSize | 奖项图片尺寸,单位rpx | string |
|
|
||||||
|
|
||||||
## Events
|
|
||||||
|
|
||||||
| Events | 说明 |
|
|
||||||
| ------ | -------- |
|
|
||||||
| start | 点击中心按钮触发 |
|
|
||||||
| end | 结束滚动 |
|
|
||||||
|
|
||||||
## 方法
|
|
||||||
|
|
||||||
通过ref调用
|
|
||||||
|
|
||||||
| 方法名 | 说明 |
|
|
||||||
| ----- | -------------------- |
|
|
||||||
| begin | 开始转动 |
|
|
||||||
| stop | 准备停止转动,参数为中奖序号,从1开始算 |
|
|
||||||
|
|
||||||
## 示例
|
|
||||||
|
|
||||||
```html
|
|
||||||
<template>
|
|
||||||
<view class="rotary-table">
|
|
||||||
<mosowe-rotary-table
|
|
||||||
ref="rotaryTableRef"
|
|
||||||
:list="list"
|
|
||||||
:radius="300"
|
|
||||||
@start="start"
|
|
||||||
@end="end"></mosowe-rotary-table>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script setup lang="ts">
|
|
||||||
import { ref } from 'vue';
|
|
||||||
const list = [
|
|
||||||
{
|
|
||||||
title: '一等奖',
|
|
||||||
bgColor: '#ff0000',
|
|
||||||
color: '#ffffff',
|
|
||||||
image:
|
|
||||||
'https://bearfun-dev.oss-accelerate.aliyuncs.com/crp/3be7bcb2fcc640bb9a27b5c9a9ff7b19.jpg'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '谢谢参与',
|
|
||||||
bgColor: '#eeeeee',
|
|
||||||
color: '#666666'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '二等奖',
|
|
||||||
bgColor: '#E6A23C',
|
|
||||||
color: '#ffffff',
|
|
||||||
image:
|
|
||||||
'https://bearfun-dev.oss-accelerate.aliyuncs.com/crp/3be7bcb2fcc640bb9a27b5c9a9ff7b19.jpg'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '谢谢参与',
|
|
||||||
bgColor: '#eeeeee',
|
|
||||||
color: '#666666'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '',
|
|
||||||
bgColor: '#67C23A',
|
|
||||||
color: '#ffffff',
|
|
||||||
image:
|
|
||||||
'https://bearfun-dev.oss-accelerate.aliyuncs.com/crp/3be7bcb2fcc640bb9a27b5c9a9ff7b19.jpg',
|
|
||||||
imageSize: '120rpx'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '谢谢参与',
|
|
||||||
bgColor: '#eeeeee',
|
|
||||||
color: '#666666'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '安慰奖',
|
|
||||||
bgColor: '#409EFF',
|
|
||||||
color: '#ffffff',
|
|
||||||
image:
|
|
||||||
'https://bearfun-dev.oss-accelerate.aliyuncs.com/crp/3be7bcb2fcc640bb9a27b5c9a9ff7b19.jpg'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '谢谢参与',
|
|
||||||
bgColor: '#eeeeee',
|
|
||||||
color: '#666666'
|
|
||||||
}
|
|
||||||
];
|
|
||||||
const rotaryTableRef = ref<any>(null);
|
|
||||||
// 点击中心抽奖按钮
|
|
||||||
const start = () => {
|
|
||||||
rotaryTableRef.value?.begin(); // 开始转
|
|
||||||
// ...中间请求下接口,查询中奖序号
|
|
||||||
setTimeout(() => {
|
|
||||||
// 准备结束转动,参数数字代表中奖项,即list列表的第几个,从1开始算
|
|
||||||
rotaryTableRef.value?.stop(3);
|
|
||||||
}, 1000);
|
|
||||||
};
|
|
||||||
// 转盘停止转动
|
|
||||||
const end = () => {
|
|
||||||
uni.showToast({
|
|
||||||
title: '66666666'
|
|
||||||
});
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
```
|
|
||||||
@@ -1,144 +0,0 @@
|
|||||||
<!--
|
|
||||||
扇形
|
|
||||||
@Author: mosowe
|
|
||||||
@Date:2023-08-10 15:32:28
|
|
||||||
-->
|
|
||||||
|
|
||||||
<template>
|
|
||||||
<view
|
|
||||||
class="sector-componnet"
|
|
||||||
:style="{
|
|
||||||
'--point-x': threePoint[0],
|
|
||||||
'--point-y': threePoint[1],
|
|
||||||
'--index-rotate': props.index * props.angle + 'deg',
|
|
||||||
'--bg-color': props.bgColor,
|
|
||||||
'--color': props.color,
|
|
||||||
'--size': props.size,
|
|
||||||
'--text-angle': props.angle / 2 - 45 + 'deg',
|
|
||||||
'--text-origin': props.radius + 'rpx',
|
|
||||||
'--text-translate-x-y': translateXY,
|
|
||||||
'--radius': -props.radius + 'rpx',
|
|
||||||
'--text-position': -(props.radius / 6) * 5 + 'rpx',
|
|
||||||
'--image-size': props.imageSize || '30rpx'
|
|
||||||
}">
|
|
||||||
<view class="text-wrap">
|
|
||||||
<view
|
|
||||||
class="text"
|
|
||||||
:class="{
|
|
||||||
hasImage: props.image && props.text,
|
|
||||||
justImage: props.image && !props.text
|
|
||||||
}">
|
|
||||||
<text
|
|
||||||
class="title"
|
|
||||||
v-if="props.text">
|
|
||||||
{{ props.text }}
|
|
||||||
</text>
|
|
||||||
<image
|
|
||||||
v-if="props.image"
|
|
||||||
:src="props.image"
|
|
||||||
class="image"></image>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script setup lang="ts">
|
|
||||||
import { computed } from 'vue';
|
|
||||||
|
|
||||||
interface Props {
|
|
||||||
text?: string;
|
|
||||||
angle?: number;
|
|
||||||
index?: number;
|
|
||||||
bgColor?: string;
|
|
||||||
color?: string;
|
|
||||||
size?: string;
|
|
||||||
radius?: number;
|
|
||||||
image?: string;
|
|
||||||
imageSize?: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
const props = withDefaults(defineProps<Props>(), {
|
|
||||||
text: '测试',
|
|
||||||
angle: 45,
|
|
||||||
index: 0,
|
|
||||||
bgColor: '#ff0000',
|
|
||||||
size: '24rpx',
|
|
||||||
color: '#fff',
|
|
||||||
radius: 300,
|
|
||||||
image: '',
|
|
||||||
imageSize: '60rpx'
|
|
||||||
});
|
|
||||||
|
|
||||||
const threePoint = computed(() => {
|
|
||||||
if (props.angle < 0 || props.angle > 180) {
|
|
||||||
console.error('弧度值取值范围为0~180之间,当前值:' + props.angle);
|
|
||||||
return [0, 0];
|
|
||||||
}
|
|
||||||
const a = (props.angle <= 90 ? props.angle : 180 - props.angle) * (Math.PI / 180); // 弧度转角度
|
|
||||||
const r = props.radius;
|
|
||||||
let x: string = '0%';
|
|
||||||
let y: string = '0%';
|
|
||||||
if (props.angle > 90) {
|
|
||||||
y = '0%';
|
|
||||||
x = (((r + r * Math.cos(a)) / 2 / r) * 100).toFixed(2) + '%';
|
|
||||||
} else if (props.angle === 90) {
|
|
||||||
x = '50%';
|
|
||||||
y = '0%';
|
|
||||||
} else {
|
|
||||||
y = (((r - r * Math.sin(a)) / 2 / r) * 100).toFixed(2) + '%';
|
|
||||||
x = (((r - r * Math.cos(a)) / 2 / r) * 100).toFixed(2) + '%';
|
|
||||||
}
|
|
||||||
return [x, y];
|
|
||||||
});
|
|
||||||
|
|
||||||
const translateXY = computed(() => {
|
|
||||||
return (Math.sqrt(props.radius * props.radius * 2) - props.radius - 30).toFixed(0) + 'rpx';
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.sector-componnet {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
background-color: var(--bg-color);
|
|
||||||
border-radius: 50%;
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
clip-path: polygon(0 0, 0 50%, 50% 50%, var(--point-x) var(--point-y));
|
|
||||||
transform: rotate(calc(var(--index-rotate) + 90deg));
|
|
||||||
.text-wrap {
|
|
||||||
transform-origin: var(--text-origin) var(--text-origin);
|
|
||||||
transform: rotate(var(--text-angle)) translateX(var(--text-translate-x-y))
|
|
||||||
translateY(var(--text-translate-x-y));
|
|
||||||
}
|
|
||||||
.text {
|
|
||||||
writing-mode: vertical-rl;
|
|
||||||
font-size: var(--size);
|
|
||||||
color: var(--color);
|
|
||||||
transform: rotate(-45deg) translateX(75%);
|
|
||||||
vertical-align: middle;
|
|
||||||
/* #ifdef MP-WEIXIN */
|
|
||||||
transform: rotate(-45deg) translateX(50%);
|
|
||||||
/* #endif */
|
|
||||||
&.justImage {
|
|
||||||
transform: rotate(-45deg);
|
|
||||||
}
|
|
||||||
&.hasImage {
|
|
||||||
transform: rotate(-45deg) translateX(calc(var(--image-size) / 2));
|
|
||||||
/* #ifdef MP-WEIXIN */
|
|
||||||
transform: rotate(-45deg) translateX(45%);
|
|
||||||
/* #endif */
|
|
||||||
}
|
|
||||||
.title {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
.image {
|
|
||||||
display: inline-block;
|
|
||||||
width: var(--image-size);
|
|
||||||
height: var(--image-size);
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -5,9 +5,9 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="shop-right-view">
|
<view class="shop-right-view">
|
||||||
<view class="shop-top-img">
|
<view class="shop-top-img">
|
||||||
<image src="/static/home/xyx.png" style="width: 122rpx;height: 28rpx;margin-right: 12rpx;"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/xyx.png" style="width: 122rpx;height: 28rpx;margin-right: 12rpx;"></image>
|
||||||
<image src="/static/home/xs.png" v-if="obj.limitedTime " style="width: 52rpx;height: 28rpx;margin-right: 12rpx;"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/xs.png" v-if="obj.limitedTime " style="width: 52rpx;height: 28rpx;margin-right: 12rpx;"></image>
|
||||||
<image src="/static/home/tg.png" v-if="obj.tag" style="width: 80rpx;height: 28rpx;"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/tg.png" v-if="obj.tag" style="width: 80rpx;height: 28rpx;"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="right-top-view text-overflow1">
|
<view class="right-top-view text-overflow1">
|
||||||
<text class="text-32 text-bold text-zu text-overflow1">{{obj.title}}</text>
|
<text class="text-32 text-bold text-zu text-overflow1">{{obj.title}}</text>
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
<view class="shop-price" @ok.stop="onClick" >
|
<view class="shop-price" @ok.stop="onClick" >
|
||||||
<view class="price-left"><text style="font-size: 24rpx;">¥</text>{{obj.price}}</view>
|
<view class="price-left"><text style="font-size: 24rpx;">¥</text>{{obj.price}}</view>
|
||||||
<view class="price-center">专区立省{{ Number(obj.adPrice) - Number(obj.price) }}元</view>
|
<view class="price-center">专区立省{{ Number(obj.adPrice) - Number(obj.price) }}元</view>
|
||||||
<image src="/static/home/qiang.png" style="width: 80rpx;height: 80rpx;"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/qiang.png" style="width: 80rpx;height: 80rpx;"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -1,7 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* @Author: 秦彦祖 605893810@qq.com
|
||||||
|
* @Date: 2025-11-18 17:06:49
|
||||||
|
* @LastEditors: 秦彦祖 605893810@qq.com
|
||||||
|
* @LastEditTime: 2025-11-18 23:19:56
|
||||||
|
* @FilePath: /alpha-shopping/main.js
|
||||||
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
|
*/
|
||||||
import App from './App'
|
import App from './App'
|
||||||
import messages from './locale/index'
|
import messages from './locale/index'
|
||||||
import uviewPlus from '@/uni_modules/uview-plus'
|
import uviewPlus from '@/uni_modules/uview-plus'
|
||||||
|
// #ifndef MP-WEIXIN
|
||||||
import VueClipboard from 'vue-clipboard2'
|
import VueClipboard from 'vue-clipboard2'
|
||||||
|
// #endif
|
||||||
|
|
||||||
let i18nConfig = {
|
let i18nConfig = {
|
||||||
locale: uni.getLocale(),
|
locale: uni.getLocale(),
|
||||||
@@ -14,7 +24,11 @@ import VueI18n from 'vue-i18n'
|
|||||||
|
|
||||||
import '@/uni_modules/uview-plus/theme.scss' // 引入uView的样式
|
import '@/uni_modules/uview-plus/theme.scss' // 引入uView的样式
|
||||||
|
|
||||||
|
// #ifndef MP-WEIXIN
|
||||||
Vue.use(VueClipboard);
|
Vue.use(VueClipboard);
|
||||||
|
// #endif
|
||||||
|
|
||||||
|
Vue.use(uviewPlus)
|
||||||
Vue.use(VueI18n)
|
Vue.use(VueI18n)
|
||||||
const i18n = new VueI18n(i18nConfig)
|
const i18n = new VueI18n(i18nConfig)
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
@@ -32,7 +46,9 @@ import { createI18n } from 'vue-i18n'
|
|||||||
const i18n = createI18n(i18nConfig)
|
const i18n = createI18n(i18nConfig)
|
||||||
export function createApp() {
|
export function createApp() {
|
||||||
const app = createSSRApp(App)
|
const app = createSSRApp(App)
|
||||||
|
// #ifndef MP-WEIXIN
|
||||||
app.use(VueClipboard);
|
app.use(VueClipboard);
|
||||||
|
// #endif
|
||||||
app.use(i18n)
|
app.use(i18n)
|
||||||
app.use(uviewPlus)
|
app.use(uviewPlus)
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -4,11 +4,11 @@
|
|||||||
<view class="home_header_warp"></view>
|
<view class="home_header_warp"></view>
|
||||||
<view class="home_content_z_warp">
|
<view class="home_content_z_warp">
|
||||||
<view class="header_title_warp">
|
<view class="header_title_warp">
|
||||||
<!-- <up-image src="/static/home/logo.png" width="86" height="30" bgColor="#f1f6ff00"></up-image> -->
|
<!-- <up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/logo.png" width="86" height="30" bgColor="#f1f6ff00"></up-image> -->
|
||||||
<!-- <view class="header_right_warp"> -->
|
<!-- <view class="header_right_warp"> -->
|
||||||
<view class="language_warp" style="width: 100%;justify-content: flex-start;" @click="jumpSearch">
|
<view class="language_warp" style="width: 100%;justify-content: flex-start;" @click="jumpSearch">
|
||||||
<view style="margin-top: 10rpx;">
|
<view style="margin-top: 10rpx;">
|
||||||
<up-image src="/static/home/search_b.png" width="20" height="20" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/search_b.png" width="20" height="20" bgColor="#f1f6ff00"></up-image>
|
||||||
</view>
|
</view>
|
||||||
<text class="search_msg_warp">搜索</text>
|
<text class="search_msg_warp">搜索</text>
|
||||||
</view>
|
</view>
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
<!-- logo分类 -->
|
<!-- logo分类 -->
|
||||||
<view class="logo_banner">
|
<view class="logo_banner">
|
||||||
<view style="padding: 20rpx 0 0 20rpx;">
|
<view style="padding: 20rpx 0 0 20rpx;">
|
||||||
<up-image src="/static/home/logo_banner.png" width="108" height="16" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/logo_banner.png" width="108" height="16" bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="logo_banner_title">TB聚合商城</view>
|
<view class="logo_banner_title">TB聚合商城</view>
|
||||||
<view class="logo_banner_msg">MALL+RWA+DAO的共创共享全球产业生态</view>
|
<view class="logo_banner_msg">MALL+RWA+DAO的共创共享全球产业生态</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
<view class="product_title">
|
<view class="product_title">
|
||||||
<view class="product_title_left">
|
<view class="product_title_left">
|
||||||
<text class="product_title_yp">信任桥优品</text>
|
<text class="product_title_yp">信任桥优品</text>
|
||||||
<up-image src="/static/home/youxuan.png" width="10" height="10" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/youxuan.png" width="10" height="10" bgColor="#f1f6ff00"></up-image>
|
||||||
<text style="margin-left: 6rpx;color: #FFFFFF;">品牌5折秒杀福利</text>
|
<text style="margin-left: 6rpx;color: #FFFFFF;">品牌5折秒杀福利</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="product_title_f" style="font-weight: bold;" >
|
<view class="product_title_f" style="font-weight: bold;" >
|
||||||
@@ -97,7 +97,7 @@
|
|||||||
<view class="min_card_warp">
|
<view class="min_card_warp">
|
||||||
<!-- 积分兑换 -->
|
<!-- 积分兑换 -->
|
||||||
<view class="min_card_item" @click="jumpIntegral">
|
<view class="min_card_item" @click="jumpIntegral">
|
||||||
<!-- <up-image src="/static/home/min_card_jfdh.png" width="60" height="14" bgColor="#f1f6ff00" ></up-image> -->
|
<!-- <up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/min_card_jfdh.png" width="60" height="14" bgColor="#f1f6ff00" ></up-image> -->
|
||||||
<view class="min_card_item_content">
|
<view class="min_card_item_content">
|
||||||
<view class="min_card_item_title">信任桥兑换</view>
|
<view class="min_card_item_title">信任桥兑换</view>
|
||||||
<view class="content_msg">
|
<view class="content_msg">
|
||||||
@@ -109,11 +109,11 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<up-image src="/static/home/min_card_jfdh_2.png" width="66" height="66" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/min_card_jfdh_2.png" width="66" height="66" bgColor="#f1f6ff00"></up-image>
|
||||||
</view>
|
</view>
|
||||||
<!-- 红包抽奖 -->
|
<!-- 红包抽奖 -->
|
||||||
<view class="min_card_item" @click="jumpTurntable">
|
<view class="min_card_item" @click="jumpTurntable">
|
||||||
<!-- <up-image src="/static/home/min_card_hbcj.png" width="60" height="14" bgColor="#f1f6ff00" ></up-image> -->
|
<!-- <up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/min_card_hbcj.png" width="60" height="14" bgColor="#f1f6ff00" ></up-image> -->
|
||||||
<view class="min_card_item_content">
|
<view class="min_card_item_content">
|
||||||
<view class="min_card_item_title">红包抽奖</view>
|
<view class="min_card_item_title">红包抽奖</view>
|
||||||
<view class="content_msg">
|
<view class="content_msg">
|
||||||
@@ -125,7 +125,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<up-image src="/static/home/min_card_hbcj_2.png" width="66" height="66" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/min_card_hbcj_2.png" width="66" height="66" bgColor="#f1f6ff00"></up-image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 好物优选 -->
|
<!-- 好物优选 -->
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</up-modal>
|
</up-modal>
|
||||||
<!-- #ifndef H5 -->
|
<!-- #ifndef H5 || MP-WEIXIN-->
|
||||||
<CustomTabBar :tabIndex="0" />
|
<CustomTabBar :tabIndex="0" />
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<up-action-sheet :actions="languageList" :show="languageShow" cancelText="取消"
|
<up-action-sheet :actions="languageList" :show="languageShow" cancelText="取消"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
:src="
|
:src="
|
||||||
currentUserData.avatarUrl
|
currentUserData.avatarUrl
|
||||||
? currentUserData.avatarUrl
|
? currentUserData.avatarUrl
|
||||||
: '/static/mine/avatar.png'
|
: 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/avatar.png'
|
||||||
"
|
"
|
||||||
shape="circle"
|
shape="circle"
|
||||||
width="54"
|
width="54"
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
}}</text>
|
}}</text>
|
||||||
<view class="level" @click="jumpToTrustBridge">
|
<view class="level" @click="jumpToTrustBridge">
|
||||||
<up-image
|
<up-image
|
||||||
src="/static/mine/rz.png"
|
src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/rz.png"
|
||||||
style="margin-right: 8rpx; margin-top: 6rpx"
|
style="margin-right: 8rpx; margin-top: 6rpx"
|
||||||
shape="circle"
|
shape="circle"
|
||||||
width="12"
|
width="12"
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view @click="jumpSetting">
|
<view @click="jumpSetting">
|
||||||
<up-image
|
<up-image
|
||||||
src="/static/mine/icon_arrow_black_off.png"
|
src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/icon_arrow_black_off.png"
|
||||||
width="22"
|
width="22"
|
||||||
height="22"
|
height="22"
|
||||||
bgColor="#f1f6ff00"
|
bgColor="#f1f6ff00"
|
||||||
@@ -160,7 +160,7 @@
|
|||||||
<view class="enter_item" @click="jumpEnter('merchant')">
|
<view class="enter_item" @click="jumpEnter('merchant')">
|
||||||
<view class="enter_item_cell">
|
<view class="enter_item_cell">
|
||||||
<up-image
|
<up-image
|
||||||
src="/static/mine/enter_sj.png"
|
src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/enter_sj.png"
|
||||||
width="36"
|
width="36"
|
||||||
height="36"
|
height="36"
|
||||||
bgColor="#f1f6ff00"
|
bgColor="#f1f6ff00"
|
||||||
@@ -186,7 +186,7 @@
|
|||||||
<view class="enter_item" @click="jumpEnter('brand')">
|
<view class="enter_item" @click="jumpEnter('brand')">
|
||||||
<view class="enter_item_cell">
|
<view class="enter_item_cell">
|
||||||
<up-image
|
<up-image
|
||||||
src="/static/mine/enter_pp.png"
|
src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/enter_pp.png"
|
||||||
width="36"
|
width="36"
|
||||||
height="36"
|
height="36"
|
||||||
bgColor="#f1f6ff00"
|
bgColor="#f1f6ff00"
|
||||||
@@ -233,7 +233,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- #ifndef H5 -->
|
<!-- #ifndef H5 || MP-WEIXIN-->
|
||||||
<CustomTabBar :tabIndex="4" />
|
<CustomTabBar :tabIndex="4" />
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<!-- 品牌入驻弹框 -->
|
<!-- 品牌入驻弹框 -->
|
||||||
@@ -334,7 +334,7 @@ export default {
|
|||||||
{
|
{
|
||||||
id: ORDER_TYPE.UNPAID,
|
id: ORDER_TYPE.UNPAID,
|
||||||
title: "待支付",
|
title: "待支付",
|
||||||
url: "/static/mine/order_unpaid.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/order_unpaid.png",
|
||||||
path:
|
path:
|
||||||
"/pages/mine_package/mine_order/mine_order?type=" +
|
"/pages/mine_package/mine_order/mine_order?type=" +
|
||||||
MINE_ORDER_TYPE.UNPAID,
|
MINE_ORDER_TYPE.UNPAID,
|
||||||
@@ -343,7 +343,7 @@ export default {
|
|||||||
{
|
{
|
||||||
id: ORDER_TYPE.UNSHIPPED,
|
id: ORDER_TYPE.UNSHIPPED,
|
||||||
title: "待发货",
|
title: "待发货",
|
||||||
url: "/static/mine/order_unshipped.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/order_unshipped.png",
|
||||||
path:
|
path:
|
||||||
"/pages/mine_package/mine_order/mine_order?type=" +
|
"/pages/mine_package/mine_order/mine_order?type=" +
|
||||||
MINE_ORDER_TYPE.UNSHIPPED,
|
MINE_ORDER_TYPE.UNSHIPPED,
|
||||||
@@ -352,7 +352,7 @@ export default {
|
|||||||
{
|
{
|
||||||
id: ORDER_TYPE.NOT_RECEIVE,
|
id: ORDER_TYPE.NOT_RECEIVE,
|
||||||
title: "待收货",
|
title: "待收货",
|
||||||
url: "/static/mine/order_notReceive.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/order_notReceive.png",
|
||||||
path:
|
path:
|
||||||
"/pages/mine_package/mine_order/mine_order?type=" +
|
"/pages/mine_package/mine_order/mine_order?type=" +
|
||||||
MINE_ORDER_TYPE.NOT_RECEIVE,
|
MINE_ORDER_TYPE.NOT_RECEIVE,
|
||||||
@@ -361,7 +361,7 @@ export default {
|
|||||||
{
|
{
|
||||||
id: ORDER_TYPE.SUCCEED,
|
id: ORDER_TYPE.SUCCEED,
|
||||||
title: "已完成",
|
title: "已完成",
|
||||||
url: "/static/mine/order_afterSale.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/order_afterSale.png",
|
||||||
path:
|
path:
|
||||||
"/pages/mine_package/mine_order/mine_order?type=" +
|
"/pages/mine_package/mine_order/mine_order?type=" +
|
||||||
MINE_ORDER_TYPE.SUCCEED,
|
MINE_ORDER_TYPE.SUCCEED,
|
||||||
@@ -370,7 +370,7 @@ export default {
|
|||||||
{
|
{
|
||||||
id: ORDER_TYPE.AFTER_SALE,
|
id: ORDER_TYPE.AFTER_SALE,
|
||||||
title: "售后",
|
title: "售后",
|
||||||
url: "/static/new/shouhou.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/shouhou.png",
|
||||||
path:
|
path:
|
||||||
"/pages/mine_package/mine_order/mine_order?type=" +
|
"/pages/mine_package/mine_order/mine_order?type=" +
|
||||||
MINE_ORDER_TYPE.AFTER_SALE,
|
MINE_ORDER_TYPE.AFTER_SALE,
|
||||||
@@ -381,25 +381,25 @@ export default {
|
|||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
title: "钱包",
|
title: "钱包",
|
||||||
url: "/static/mine/apply_purse.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/apply_purse.png",
|
||||||
path: "/pages/mine_package/mine_purse/mine_purse",
|
path: "/pages/mine_package/mine_purse/mine_purse",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 2,
|
id: 2,
|
||||||
title: "抽奖",
|
title: "抽奖",
|
||||||
url: "/static/mine/apply_prize.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/apply_prize.png",
|
||||||
path: "/pages/other_package/nine-grid/nine-grid",
|
path: "/pages/other_package/nine-grid/nine-grid",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 4,
|
id: 4,
|
||||||
title: "我的推广",
|
title: "我的推广",
|
||||||
url: "/static/mine/tool_team.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/tool_team.png",
|
||||||
path: "/pages/mine_package/mine_my_team/mine_my_team",
|
path: "/pages/mine_package/mine_my_team/mine_my_team",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 5,
|
id: 5,
|
||||||
title: "加速次数",
|
title: "加速次数",
|
||||||
url: "/static/mine/tool_js.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/tool_js.png",
|
||||||
path: "/pages/rwa_package/dongjian/jia",
|
path: "/pages/rwa_package/dongjian/jia",
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
@@ -410,35 +410,35 @@ export default {
|
|||||||
// {
|
// {
|
||||||
// id:4,
|
// id:4,
|
||||||
// title:"贡献值",
|
// title:"贡献值",
|
||||||
// url:'/static/mine/apply_gx.png'
|
// url:'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/apply_gx.png'
|
||||||
// },{
|
// },{
|
||||||
// id:5,
|
// id:5,
|
||||||
// title:"数据",
|
// title:"数据",
|
||||||
// url:'/static/mine/apply_sj.png'
|
// url:'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/apply_sj.png'
|
||||||
// },
|
// },
|
||||||
], // 应用模版
|
], // 应用模版
|
||||||
toolList: [
|
toolList: [
|
||||||
{
|
{
|
||||||
id: 5,
|
id: 5,
|
||||||
title: "地址管理",
|
title: "地址管理",
|
||||||
url: "/static/mine/tool_dz.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/tool_dz.png",
|
||||||
path: "/pages/mine_package/mine_address/mine_address",
|
path: "/pages/mine_package/mine_address/mine_address",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 9,
|
id: 9,
|
||||||
title: "实名认证",
|
title: "实名认证",
|
||||||
url: "/static/mine/tool_sm.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/tool_sm.png",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 10,
|
id: 10,
|
||||||
title: "账户管理",
|
title: "账户管理",
|
||||||
url: "/static/mine/tool_card.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/tool_card.png",
|
||||||
path: "/pages/rwa_package/account/index",
|
path: "/pages/rwa_package/account/index",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 3,
|
id: 3,
|
||||||
title: "邀请好友",
|
title: "邀请好友",
|
||||||
url: "/static/mine/tool_invite.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/tool_invite.png",
|
||||||
path: "/pages/other_package/invite_friends/invite_friends",
|
path: "/pages/other_package/invite_friends/invite_friends",
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
@@ -450,13 +450,13 @@ export default {
|
|||||||
// {
|
// {
|
||||||
// id:6,
|
// id:6,
|
||||||
// title:"卡券",
|
// title:"卡券",
|
||||||
// url:'/static/mine/tool_kj.png',
|
// url:'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/tool_kj.png',
|
||||||
// // path:"/pages/mine_package/mine_coupon/mine_coupon",
|
// // path:"/pages/mine_package/mine_coupon/mine_coupon",
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
id: 7,
|
id: 7,
|
||||||
title: "联系客服",
|
title: "联系客服",
|
||||||
url: "/static/mine/xlkf.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/xlkf.png",
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// id:4,
|
// id:4,
|
||||||
@@ -467,25 +467,25 @@ export default {
|
|||||||
{
|
{
|
||||||
id: 8,
|
id: 8,
|
||||||
title: "商学院资讯",
|
title: "商学院资讯",
|
||||||
url: "/static/mine/tool_sxy.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/tool_sxy.png",
|
||||||
path: "/pages/login_package/news/news",
|
path: "/pages/login_package/news/news",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 12,
|
id: 12,
|
||||||
title: "财务",
|
title: "财务",
|
||||||
url: "/static/mine/tool_cw.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/tool_cw.png",
|
||||||
path: "/pages/rwa_package/dongjian/finance",
|
path: "/pages/rwa_package/dongjian/finance",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 11,
|
id: 11,
|
||||||
title: "股东行权",
|
title: "股东行权",
|
||||||
url: "/static/mine/tool_gdxq.png",
|
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/tool_gdxq.png",
|
||||||
path: "/pages/rwa_package/rwa/rwa",
|
path: "/pages/rwa_package/rwa/rwa",
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// id:1,
|
// id:1,
|
||||||
// title:"IM聊天",
|
// title:"IM聊天",
|
||||||
// url:'/static/mine/tool_im.png'
|
// url:'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/tool_im.png'
|
||||||
// },
|
// },
|
||||||
], // 工具
|
], // 工具
|
||||||
brandShow: false, // 品牌入驻弹框
|
brandShow: false, // 品牌入驻弹框
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="mild-shopping">
|
<view class="mild-shopping">
|
||||||
<web-view
|
<web-view
|
||||||
ref="webview"
|
ref="webview"
|
||||||
:webview-styles="webviewStyles"
|
:webview-styles="webviewStyles"
|
||||||
:src="webviewUrl"
|
:src="webviewUrl"
|
||||||
@message="handlePostMessage"
|
@message="handlePostMessage"
|
||||||
@onPostMessage="handlePostMessage"
|
@onPostMessage="handlePostMessage"
|
||||||
></web-view></view>
|
></web-view
|
||||||
|
></view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { TOKEN_NAME, USER_DATA, getStorageFun } from "@/utils/auth.js";
|
import { TOKEN_NAME, USER_DATA, getStorageFun } from "@/utils/auth.js";
|
||||||
|
import { MILD_BASE_URL } from "@/utils/config.js";
|
||||||
// 全局变量
|
// 全局变量
|
||||||
let wv; // 计划创建的webview
|
let wv; // 计划创建的webview
|
||||||
|
|
||||||
@@ -23,14 +25,16 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
wvNode: null,
|
wvNode: null,
|
||||||
// webviewUrl:'https://agent.o.tbmall.xin/',//中台测试
|
webviewUrl: "",
|
||||||
webviewUrl:'https://agent.tbmall.xin',
|
// webviewUrl:'https://agent.o.tbmall.xin/',//中台测试
|
||||||
|
// webviewUrl:'https://agent.tbmall.xin',
|
||||||
// webviewUrl: "http://192.168.1.29:8004/",
|
// webviewUrl: "http://192.168.1.29:8004/",
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
onShow() {
|
onShow() {
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
|
this.webviewUrl = MILD_BASE_URL;
|
||||||
this.initWebview();
|
this.initWebview();
|
||||||
// #endif
|
// #endif
|
||||||
},
|
},
|
||||||
@@ -43,7 +47,7 @@ export default {
|
|||||||
const currentWebview = this.$scope.$getAppWebview();
|
const currentWebview = this.$scope.$getAppWebview();
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
wv = currentWebview.children()[0];
|
wv = currentWebview.children()[0];
|
||||||
console.log(
|
console.log(
|
||||||
"TOKEN_NAME-1",
|
"TOKEN_NAME-1",
|
||||||
getStorageFun(TOKEN_NAME),
|
getStorageFun(TOKEN_NAME),
|
||||||
getStorageFun(USER_DATA)
|
getStorageFun(USER_DATA)
|
||||||
@@ -112,7 +116,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.mild-shopping{
|
.mild-shopping {
|
||||||
padding-top: var(--status-bar-height);
|
padding-top: var(--status-bar-height);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<Header class="head-view-one" :leftTitle="$t('authentication.title')" left-path-type="switchTab" left-path="/pages/mine/mine" />
|
<Header class="head-view-one" :leftTitle="$t('authentication.title')" left-path-type="switchTab" left-path="/pages/mine/mine" />
|
||||||
<view class="authentication_ok_content" v-if="currentUserData && Object.keys(currentUserData).length !== 0">
|
<view class="authentication_ok_content" v-if="currentUserData && Object.keys(currentUserData).length !== 0">
|
||||||
<view class="authentication_result">
|
<view class="authentication_result">
|
||||||
<up-image src="/static/new/ren.png" mode="widthFix"
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/ren.png" mode="widthFix"
|
||||||
shape="circle" width="90" height="104" bgColor="#f1f6ff00" :fade="true" duration="450"></up-image>
|
shape="circle" width="90" height="104" bgColor="#f1f6ff00" :fade="true" duration="450"></up-image>
|
||||||
<view class="result_value">{{ getValue(CERT_STATUS_OPTION, currentUserData.certStatus) }}</view>
|
<view class="result_value">{{ getValue(CERT_STATUS_OPTION, currentUserData.certStatus) }}</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
<view class="content_list">
|
<view class="content_list">
|
||||||
<view class="content_item purse_info_item" v-for="item in contentList" :key="item.id">
|
<view class="content_item purse_info_item" v-for="item in contentList" :key="item.id">
|
||||||
<view class="purse_info_left">
|
<view class="purse_info_left">
|
||||||
<up-image :src="item.type === 1 ? '/static/mine/purse_j.png' : '/static/mine/purse_t.png'" width="40"
|
<up-image :src="item.type === 1 ? 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/purse_j.png' : 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/purse_t.png'" width="40"
|
||||||
height="40" bgColor="#f1f6ff00"></up-image>
|
height="40" bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="purse_data_warp">
|
<view class="purse_data_warp">
|
||||||
<view class="purse_info_name">{{ item.name }}</view>
|
<view class="purse_info_name">{{ item.name }}</view>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<view class="recharge_balance">
|
<view class="recharge_balance">
|
||||||
<view class="recharge_balance_image">
|
<view class="recharge_balance_image">
|
||||||
<view style="margin-top: 6rpx;">
|
<view style="margin-top: 6rpx;">
|
||||||
<up-image src="/static/mine/exchange.png" width="20" height="20" bgColor="#f1f6ff00" />
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/exchange.png" width="20" height="20" bgColor="#f1f6ff00" />
|
||||||
</view>
|
</view>
|
||||||
<view class="msg_">可兑换余额</view>
|
<view class="msg_">可兑换余额</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -38,8 +38,8 @@
|
|||||||
<view v-for="item in orderList" :key="item.id" class="purse_info_item-mine"
|
<view v-for="item in orderList" :key="item.id" class="purse_info_item-mine"
|
||||||
v-if="orderList && orderList.length !== 0">
|
v-if="orderList && orderList.length !== 0">
|
||||||
<view class="purse_info_left">
|
<view class="purse_info_left">
|
||||||
<!-- <up-image :src="item.type === 1? '/static/mine/purse_sf.png' : '/static/mine/purse_xf.png'" width="40" height="40" bgColor="#f1f6ff00"></up-image> -->
|
<!-- <up-image :src="item.type === 1? 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/purse_sf.png' : 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/purse_xf.png'" width="40" height="40" bgColor="#f1f6ff00"></up-image> -->
|
||||||
<up-image :src="item.amount > 0 ? '/static/mine/zhen.png' : '/static/mine/fu.png'" width="32" height="32" bgColor="#f1f6ff00"></up-image>
|
<up-image :src="item.amount > 0 ? 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/zhen.png' : 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/fu.png'" width="32" height="32" bgColor="#f1f6ff00"></up-image>
|
||||||
|
|
||||||
<view class="purse_data_warp">
|
<view class="purse_data_warp">
|
||||||
<view class="purse_info_name">{{ getValue(BALANCE_TYPE, item.type) }}</view>
|
<view class="purse_info_name">{{ getValue(BALANCE_TYPE, item.type) }}</view>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<view class="purse_recharge_cntent">
|
<view class="purse_recharge_cntent">
|
||||||
<view class="recharge_balance">
|
<view class="recharge_balance">
|
||||||
<view class="recharge_balance_image">
|
<view class="recharge_balance_image">
|
||||||
<up-image src="/static/mine/recharge.png" width="20" height="20" bgColor="#f1f6ff00" />
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/recharge.png" width="20" height="20" bgColor="#f1f6ff00" />
|
||||||
<view class="msg_">现金余额</view>
|
<view class="msg_">现金余额</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="recharge_balance_">{{ proAmount }}</view>
|
<view class="recharge_balance_">{{ proAmount }}</view>
|
||||||
|
|||||||
@@ -234,19 +234,19 @@
|
|||||||
<view class="way-option-item">
|
<view class="way-option-item">
|
||||||
<image
|
<image
|
||||||
v-if="item.type == 'wechat'"
|
v-if="item.type == 'wechat'"
|
||||||
src="@/static/new/wx.png"
|
src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/wx.png"
|
||||||
></image>
|
></image>
|
||||||
<image
|
<image
|
||||||
v-if="item.type == 'alipay'"
|
v-if="item.type == 'alipay'"
|
||||||
src="@/static/new/zfb.png"
|
src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/zfb.png"
|
||||||
></image>
|
></image>
|
||||||
<image
|
<image
|
||||||
v-if="item.type == 'balance'"
|
v-if="item.type == 'balance'"
|
||||||
src="@/static/new/bank.png"
|
src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/bank.png"
|
||||||
></image>
|
></image>
|
||||||
<image
|
<image
|
||||||
v-if="item.type == 'redpacket'"
|
v-if="item.type == 'redpacket'"
|
||||||
src="@/static/new/jf.png"
|
src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/jf.png"
|
||||||
></image>
|
></image>
|
||||||
<text
|
<text
|
||||||
v-if="item.type == 'wechat' || item.type == 'alipay'"
|
v-if="item.type == 'wechat' || item.type == 'alipay'"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="share-btn-view">
|
<view class="share-btn-view">
|
||||||
<view class="share-box" @click="onBtn(index)" v-for="(item,index) in btnList" :key="index">
|
<view class="share-box" @click="onBtn(index)" v-for="(item,index) in btnList" :key="index">
|
||||||
<image :src="`/static/new/share_${index}.png`" class="share-img"></image>
|
<image :src="`https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/share_${index}.png`" class="share-img"></image>
|
||||||
<text class="text-24 text-zu1">{{item}}</text>
|
<text class="text-24 text-zu1">{{item}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Func from '/utils/func'
|
import Func from '/utils/func'
|
||||||
import tkiQrcode from '@/components/tki-qrcode/tki-qrcode.vue'
|
import tkiQrcode from './tki-qrcode/tki-qrcode.vue'
|
||||||
import {SHARE_URL} from '@/utils/config.js'
|
import {SHARE_URL} from '@/utils/config.js'
|
||||||
export default {
|
export default {
|
||||||
components:{tkiQrcode},
|
components:{tkiQrcode},
|
||||||
@@ -450,7 +450,7 @@
|
|||||||
import { getGoodsDetail, addGoods, getGoodsSpecs } from "@/api/product.js";
|
import { getGoodsDetail, addGoods, getGoodsSpecs } from "@/api/product.js";
|
||||||
import { getValue, PRODUCT_DELIVERY_TIME } from "@/utils/enumUtils.js";
|
import { getValue, PRODUCT_DELIVERY_TIME } from "@/utils/enumUtils.js";
|
||||||
import { copyData } from "@/utils/index.js";
|
import { copyData } from "@/utils/index.js";
|
||||||
import SharePopup from "@/components/common/share-popup.vue"
|
import SharePopup from "@/pages/other_package/components/share-popup.vue"
|
||||||
import MyBtn from '@/components/common/my-btn.vue'
|
import MyBtn from '@/components/common/my-btn.vue'
|
||||||
import { getPostageQuery } from "@/api/cart.js";
|
import { getPostageQuery } from "@/api/cart.js";
|
||||||
import { assembleAddress } from "@/utils/index.js";
|
import { assembleAddress } from "@/utils/index.js";
|
||||||
@@ -647,7 +647,7 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
last = await qsc.drawImg({
|
last = await qsc.drawImg({
|
||||||
val: '../../../static/new/di.png',
|
val: 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/di.png',
|
||||||
x: 0,
|
x: 0,
|
||||||
y: 0,
|
y: 0,
|
||||||
height: 480,
|
height: 480,
|
||||||
@@ -655,7 +655,7 @@ export default {
|
|||||||
})
|
})
|
||||||
|
|
||||||
last = await qsc.drawImg({
|
last = await qsc.drawImg({
|
||||||
val: '../../../static/new/logo.png',
|
val: 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/logo.png',
|
||||||
x: 228,
|
x: 228,
|
||||||
y: 393,
|
y: 393,
|
||||||
height: 62,
|
height: 62,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="shop-item-view" v-if="dataItem">
|
<view class="shop-item-view" v-if="dataItem">
|
||||||
<image src="/static/new/alpha.png" v-if="dataItem.name != 'WALLET'"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/alpha.png" v-if="dataItem.name != 'WALLET'"></image>
|
||||||
<image src="/static/new/no_black_data.png" v-else></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/no_black_data.png" v-else></image>
|
||||||
<view class="shop-mid-view-one" v-if="dataItem.name != 'WALLET'">
|
<view class="shop-mid-view-one" v-if="dataItem.name != 'WALLET'">
|
||||||
<text class="text-32 text-zu1 text-overflow">{{dataItem.account}}</text>
|
<text class="text-32 text-zu1 text-overflow">{{dataItem.account}}</text>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="shop-item-view" >
|
<view class="shop-item-view" >
|
||||||
<image :src="type == 2 ? '../../../static/new/zfb.png' : '../../../static/new/wx.png'" ></image>
|
<image :src="type == 2 ? 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/zfb.png' : 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/wx.png'" ></image>
|
||||||
<view class="show-item-left">
|
<view class="show-item-left">
|
||||||
<text class="text-32 text-zu1">{{itemData.name}}</text>
|
<text class="text-32 text-zu1">{{itemData.name}}</text>
|
||||||
<text class="text-26 text-fu1">账号:{{itemData.account}}</text>
|
<text class="text-26 text-fu1">账号:{{itemData.account}}</text>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="item-mid-view" v-if="data.length">
|
<view class="item-mid-view" v-if="data.length">
|
||||||
<view class="item-mid-list" v-for="(item,index) in data" :key="item.id">
|
<view class="item-mid-list" v-for="(item,index) in data" :key="item.id">
|
||||||
<image :src="type == 1 ? '../../../static/new/zfb.png' : '../../../static/new/wx.png'" ></image>
|
<image :src="type == 1 ? 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/zfb.png' : 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/wx.png'" ></image>
|
||||||
<view class="show-item-left">
|
<view class="show-item-left">
|
||||||
<text class="text-32 text-zu1">{{item.name}}</text>
|
<text class="text-32 text-zu1">{{item.name}}</text>
|
||||||
<text class="text-26 text-fu1">账号:{{item.account}}</text>
|
<text class="text-26 text-fu1">账号:{{item.account}}</text>
|
||||||
@@ -19,10 +19,10 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item-mid-view-two" @click="onAdd" v-if="!data.length">
|
<view class="item-mid-view-two" @click="onAdd" v-if="!data.length">
|
||||||
<image src="/static/new/no_black_data.png" class="no-data-black"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/no_black_data.png" class="no-data-black"></image>
|
||||||
<text class="text-28 text-fu mt-48">{{`请先绑定一个${type == 0 ? '微信' : '支付宝'}账户,用于收款`}}</text>
|
<text class="text-28 text-fu mt-48">{{`请先绑定一个${type == 0 ? '微信' : '支付宝'}账户,用于收款`}}</text>
|
||||||
<view class="add-btn mt-48">
|
<view class="add-btn mt-48">
|
||||||
<image src="/static/new/add.png" style="margin-right:5rpx;"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/add.png" style="margin-right:5rpx;"></image>
|
||||||
<text class="text-32 text-zi text-bold" style="margin-left:5rpx;">添加</text>
|
<text class="text-32 text-zi text-bold" style="margin-left:5rpx;">添加</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -8,17 +8,17 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="item-mid-view" v-if="data.length">
|
<view class="item-mid-view" v-if="data.length">
|
||||||
<view class="item-mid-list" @click="onOk(item)" v-for="(item,index) in data" :key="item.id">
|
<view class="item-mid-list" @click="onOk(item)" v-for="(item,index) in data" :key="item.id">
|
||||||
<image src="/static/new/alpha.png" style="min-width:88rpx;heihgt:88rpx;"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/alpha.png" style="min-width:88rpx;heihgt:88rpx;"></image>
|
||||||
<view class="item-mid-li">
|
<view class="item-mid-li">
|
||||||
<text class="text-28 text-fu">{{item.account}}</text>
|
<text class="text-28 text-fu">{{item.account}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item-mid-view-two" @click="onAdd" v-if="!data.length">
|
<view class="item-mid-view-two" @click="onAdd" v-if="!data.length">
|
||||||
<image src="/static/new/no_black_data.png" class="no-data-black"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/no_black_data.png" class="no-data-black"></image>
|
||||||
<text class="text-28 text-fu mt-48">{{`请先绑定一个ALPHACEX账户,用于收款`}}</text>
|
<text class="text-28 text-fu mt-48">{{`请先绑定一个ALPHACEX账户,用于收款`}}</text>
|
||||||
<view class="add-btn mt-48">
|
<view class="add-btn mt-48">
|
||||||
<image src="/static/new/add.png" style="margin-right:5rpx;"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/add.png" style="margin-right:5rpx;"></image>
|
||||||
<text class="text-32 text-zi text-bold" style="margin-left:5rpx;">添加</text>
|
<text class="text-32 text-zi text-bold" style="margin-left:5rpx;">添加</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="item-mid-view" v-if="data.length">
|
<view class="item-mid-view" v-if="data.length">
|
||||||
<view class="item-mid-list" @click="onOk(item)" v-for="(item,index) in data" :key="item.id">
|
<view class="item-mid-list" @click="onOk(item)" v-for="(item,index) in data" :key="item.id">
|
||||||
<image src="/static/new/no_black_data.png" style="min-width:88rpx;heihgt:88rpx;"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/no_black_data.png" style="min-width:88rpx;heihgt:88rpx;"></image>
|
||||||
<view class="item-mid-li">
|
<view class="item-mid-li">
|
||||||
<text class="text-32 text-zu1">BNB Smart Chain(BEP20)</text>
|
<text class="text-32 text-zu1">BNB Smart Chain(BEP20)</text>
|
||||||
<text class="text-28 text-fu">{{item.addressOne}}</text>
|
<text class="text-28 text-fu">{{item.addressOne}}</text>
|
||||||
@@ -16,10 +16,10 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item-mid-view-two" @click="onAdd" v-if="!data.length">
|
<view class="item-mid-view-two" @click="onAdd" v-if="!data.length">
|
||||||
<image src="/static/new/no_black_data.png" class="no-data-black"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/no_black_data.png" class="no-data-black"></image>
|
||||||
<text class="text-28 text-fu mt-48">{{`请先绑定一个区块链账户,用于收款`}}</text>
|
<text class="text-28 text-fu mt-48">{{`请先绑定一个区块链账户,用于收款`}}</text>
|
||||||
<view class="add-btn mt-48">
|
<view class="add-btn mt-48">
|
||||||
<image src="/static/new/add.png" style="margin-right:5rpx;"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/add.png" style="margin-right:5rpx;"></image>
|
||||||
<text class="text-32 text-zi text-bold" style="margin-left:5rpx;">添加</text>
|
<text class="text-32 text-zi text-bold" style="margin-left:5rpx;">添加</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<u-icon name="close" color="#333" size="16" @click="onClose"></u-icon>
|
<u-icon name="close" color="#333" size="16" @click="onClose"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
<view class="select-box" @click="onOk(0)">
|
<view class="select-box" @click="onOk(0)">
|
||||||
<image src="@/static/new/shu_0.png"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/shu_0.png"></image>
|
||||||
<view class="select-box-one">
|
<view class="select-box-one">
|
||||||
<text class="text-32 text-zu1">区块链数字积分</text>
|
<text class="text-32 text-zu1">区块链数字积分</text>
|
||||||
<text class="text-26 text-fu1">通过区块链兑换</text>
|
<text class="text-26 text-fu1">通过区块链兑换</text>
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
<u-icon name="arrow-right" color="#999" size="14" class="select-icon"></u-icon>
|
<u-icon name="arrow-right" color="#999" size="14" class="select-icon"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="select-box" @click="onOk(1)">
|
<!-- <view class="select-box" @click="onOk(1)">
|
||||||
<image src="@/static/new/shu_1.png"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/shu_1.png"></image>
|
||||||
<view class="select-box-one">
|
<view class="select-box-one">
|
||||||
<text class="text-32 text-zu1">alpha数字积分</text>
|
<text class="text-32 text-zu1">alpha数字积分</text>
|
||||||
<text class="text-26 text-fu1">通过邮箱兑换</text>
|
<text class="text-26 text-fu1">通过邮箱兑换</text>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
placeholder="请输入或选择地址"
|
placeholder="请输入或选择地址"
|
||||||
placeholder-style="color:#999;font-weight:400;"
|
placeholder-style="color:#999;font-weight:400;"
|
||||||
border="0" v-model="inputOne" :customStyle="inputCss"></input>
|
border="0" v-model="inputOne" :customStyle="inputCss"></input>
|
||||||
<image src="@/static/new/right_icon.png" class="right-img" @click="onSelectAddress"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/right_icon.png" class="right-img" @click="onSelectAddress"></image>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<text class="text-32 text-fu" style="margin:54rpx 0 32rpx">主网络</text>
|
<text class="text-32 text-fu" style="margin:54rpx 0 32rpx">主网络</text>
|
||||||
@@ -44,12 +44,12 @@
|
|||||||
@input="onInputTwo"
|
@input="onInputTwo"
|
||||||
border="0" v-model="inputFour" :customStyle="inputCss"></input>
|
border="0" v-model="inputFour" :customStyle="inputCss"></input>
|
||||||
|
|
||||||
<image @click="onIsSys" :src="`/static/new/eye_${isEve}.png`" class="right-img"></image>
|
<image @click="onIsSys" :src="`https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/eye_${isEve}.png`" class="right-img"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="bottom-btn">
|
<view class="bottom-btn">
|
||||||
<view class="bottom-top">
|
<view class="bottom-top">
|
||||||
<image src="/static/new/icon.png"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/icon.png"></image>
|
||||||
<text class="text-24 text-zi">为了保障用户体验感,额外赠送0.0001主网gas</text>
|
<text class="text-24 text-zi">为了保障用户体验感,额外赠送0.0001主网gas</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="bottom-view">
|
<view class="bottom-view">
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<text class="text-zu1 text-32">{{type == 0 ? '提现' : '充值'}}方式</text>
|
<text class="text-zu1 text-32">{{type == 0 ? '提现' : '充值'}}方式</text>
|
||||||
|
|
||||||
<view class="item-view" @click="onSelect('0')" v-if="!isWeb || type != 0">
|
<view class="item-view" @click="onSelect('0')" v-if="!isWeb || type != 0">
|
||||||
<image src="../../../static/new/wx.png"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/wx.png"></image>
|
||||||
<text class="text-zu1 text-32 " style="margin-left:20rpx;">微信</text>
|
<text class="text-zu1 text-32 " style="margin-left:20rpx;">微信</text>
|
||||||
<view class="right-icon-view" v-if="type == 1">
|
<view class="right-icon-view" v-if="type == 1">
|
||||||
<u-radio-group v-model="curSelect">
|
<u-radio-group v-model="curSelect">
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item-view" @click="onSelect('1')" style="border-width: 0;" >
|
<view class="item-view" @click="onSelect('1')" style="border-width: 0;" >
|
||||||
<image src="../../../static/new/zfb.png"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/zfb.png"></image>
|
||||||
<text class="text-zu1 text-32 " style="margin-left:20rpx;">支付宝</text>
|
<text class="text-zu1 text-32 " style="margin-left:20rpx;">支付宝</text>
|
||||||
<view class="right-icon-view" v-if="type == 1">
|
<view class="right-icon-view" v-if="type == 1">
|
||||||
<u-radio-group v-model="curSelect">
|
<u-radio-group v-model="curSelect">
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<Header title="查看合同" />
|
<Header title="查看合同" />
|
||||||
<view class="contract-view">
|
<view class="contract-view">
|
||||||
<view class="top-info flex-r-lr">
|
<view class="top-info flex-r-lr">
|
||||||
<image src="@/static/new/he.png"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/he.png"></image>
|
||||||
<view class="right-view">
|
<view class="right-view">
|
||||||
<text class="text-36 text-zu">{{ obj.contractName }}</text>
|
<text class="text-36 text-zu">{{ obj.contractName }}</text>
|
||||||
<view class="bottom-panel">
|
<view class="bottom-panel">
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
placeholder-style="color:#999;font-weight:400;"
|
placeholder-style="color:#999;font-weight:400;"
|
||||||
disabled
|
disabled
|
||||||
border="0" v-model="inputOne" :customStyle="inputCss"></input>
|
border="0" v-model="inputOne" :customStyle="inputCss"></input>
|
||||||
<image src="@/static/new/right_icon.png" class="right-img" @click="onSelectAddress"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/right_icon.png" class="right-img" @click="onSelectAddress"></image>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<text class="text-32 text-fu" style="margin:54rpx 0 32rpx">行权金额
|
<text class="text-32 text-fu" style="margin:54rpx 0 32rpx">行权金额
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
@input="onInputTwo"
|
@input="onInputTwo"
|
||||||
border="0" v-model="inputFour" :customStyle="inputCss"></input>
|
border="0" v-model="inputFour" :customStyle="inputCss"></input>
|
||||||
|
|
||||||
<image @click="onIsSys" :src="`/static/new/eye_${isEve}.png`" class="right-img"></image>
|
<image @click="onIsSys" :src="`https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/eye_${isEve}.png`" class="right-img"></image>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<text class="text-32 text-fu" style="marign-top:32rpx;margin-bottom:32rpx">备注:</text>
|
<text class="text-32 text-fu" style="marign-top:32rpx;margin-bottom:32rpx">备注:</text>
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="bottom-btn">
|
<view class="bottom-btn">
|
||||||
<!-- <view class="bottom-top">
|
<!-- <view class="bottom-top">
|
||||||
<image src="/static/new/icon.png"></image>
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/icon.png"></image>
|
||||||
<text class="text-24 text-zi">为了保障用户体验感,额外赠送0.0001主网gas</text>
|
<text class="text-24 text-zi">为了保障用户体验感,额外赠送0.0001主网gas</text>
|
||||||
</view> -->
|
</view> -->
|
||||||
<view class="bottom-view">
|
<view class="bottom-view">
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<TopSafe></TopSafe>
|
<TopSafe></TopSafe>
|
||||||
<Header :title="zhaoList[type]" />
|
<Header :title="zhaoList[type]" />
|
||||||
<view class="setting-view">
|
<view class="setting-view">
|
||||||
<image :src="`/static/new/zi_${type + 1}.png`" mode="widthFix" ></image>
|
<image :src="`https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/zi_${type + 1}.png`" mode="widthFix" ></image>
|
||||||
</view>
|
</view>
|
||||||
<up-toast ref="uToastRef"></up-toast>
|
<up-toast ref="uToastRef"></up-toast>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
style="height: 80rpx; display: flex; align-items: center"
|
style="height: 80rpx; display: flex; align-items: center"
|
||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
src="/static/home/shop-title.png"
|
src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/shop-title.png"
|
||||||
style="width: 240rpx; height: 38rpx"
|
style="width: 240rpx; height: 38rpx"
|
||||||
></image>
|
></image>
|
||||||
</view>
|
</view>
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
>
|
>
|
||||||
<view style="margin-top: 10rpx">
|
<view style="margin-top: 10rpx">
|
||||||
<up-image
|
<up-image
|
||||||
src="/static/home/shop-search.png"
|
src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/shop-search.png"
|
||||||
width="20"
|
width="20"
|
||||||
height="20"
|
height="20"
|
||||||
bgColor="#f1f6ff00"
|
bgColor="#f1f6ff00"
|
||||||
@@ -47,13 +47,13 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="swiper-title">
|
<view class="swiper-title">
|
||||||
<image
|
<image
|
||||||
src="/static/home/shop-intro.png"
|
src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/shop-intro.png"
|
||||||
style="width: 308rpx; height: 30rpx"
|
style="width: 308rpx; height: 30rpx"
|
||||||
></image>
|
></image>
|
||||||
<view class="swiper-center text-zi">信任桥-畅享全球好物</view>
|
<view class="swiper-center text-zi">信任桥-畅享全球好物</view>
|
||||||
<image
|
<image
|
||||||
@click="goShare"
|
@click="goShare"
|
||||||
src="/static/home/shop-go.png"
|
src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/home/shop-go.png"
|
||||||
style="width: 75rpx; height: 30rpx"
|
style="width: 75rpx; height: 30rpx"
|
||||||
></image>
|
></image>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -193,7 +193,7 @@
|
|||||||
<up-toast ref="uToastRef"></up-toast>
|
<up-toast ref="uToastRef"></up-toast>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- #ifndef H5 -->
|
<!-- #ifndef H5 || MP-WEIXIN-->
|
||||||
<CustomTabBar :tabIndex="3" />
|
<CustomTabBar :tabIndex="3" />
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -100,7 +100,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
<!-- #ifndef H5 -->
|
<!-- #ifndef H5 || MP-WEIXIN-->
|
||||||
<CustomTabBar :tabIndex="1" />
|
<CustomTabBar :tabIndex="1" />
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -69,7 +69,7 @@
|
|||||||
</mescroll-uni>
|
</mescroll-uni>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- #ifndef H5 -->
|
<!-- #ifndef H5 || MP-WEIXIN-->
|
||||||
<CustomTabBar :tabIndex="2" />
|
<CustomTabBar :tabIndex="2" />
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<up-toast ref="uToastRef"></up-toast>
|
<up-toast ref="uToastRef"></up-toast>
|
||||||
|
|||||||
@@ -0,0 +1,118 @@
|
|||||||
|
lockfileVersion: '9.0'
|
||||||
|
|
||||||
|
settings:
|
||||||
|
autoInstallPeers: true
|
||||||
|
excludeLinksFromLockfile: false
|
||||||
|
|
||||||
|
importers:
|
||||||
|
|
||||||
|
.:
|
||||||
|
dependencies:
|
||||||
|
crypto-js:
|
||||||
|
specifier: ^4.2.0
|
||||||
|
version: 4.2.0
|
||||||
|
dayjs:
|
||||||
|
specifier: ^1.11.13
|
||||||
|
version: 1.11.19
|
||||||
|
decimal.js:
|
||||||
|
specifier: ^10.6.0
|
||||||
|
version: 10.6.0
|
||||||
|
echarts:
|
||||||
|
specifier: ^5.1.2
|
||||||
|
version: 5.6.0
|
||||||
|
qs-canvas:
|
||||||
|
specifier: ^1.0.11
|
||||||
|
version: 1.0.11
|
||||||
|
tabber-component:
|
||||||
|
specifier: ^1.0.0
|
||||||
|
version: 1.0.0
|
||||||
|
vue-clipboard2:
|
||||||
|
specifier: ^0.3.3
|
||||||
|
version: 0.3.3
|
||||||
|
|
||||||
|
packages:
|
||||||
|
|
||||||
|
clipboard@2.0.11:
|
||||||
|
resolution: {integrity: sha512-C+0bbOqkezLIsmWSvlsXS0Q0bmkugu7jcfMIACB+RDEntIzQIkdr148we28AfSloQLRdZlYL/QYyrq05j/3Faw==}
|
||||||
|
|
||||||
|
crypto-js@4.2.0:
|
||||||
|
resolution: {integrity: sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==}
|
||||||
|
|
||||||
|
dayjs@1.11.19:
|
||||||
|
resolution: {integrity: sha512-t5EcLVS6QPBNqM2z8fakk/NKel+Xzshgt8FFKAn+qwlD1pzZWxh0nVCrvFK7ZDb6XucZeF9z8C7CBWTRIVApAw==}
|
||||||
|
|
||||||
|
decimal.js@10.6.0:
|
||||||
|
resolution: {integrity: sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==}
|
||||||
|
|
||||||
|
delegate@3.2.0:
|
||||||
|
resolution: {integrity: sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==}
|
||||||
|
|
||||||
|
echarts@5.6.0:
|
||||||
|
resolution: {integrity: sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA==}
|
||||||
|
|
||||||
|
good-listener@1.2.2:
|
||||||
|
resolution: {integrity: sha512-goW1b+d9q/HIwbVYZzZ6SsTr4IgE+WA44A0GmPIQstuOrgsFcT7VEJ48nmr9GaRtNu0XTKacFLGnBPAM6Afouw==}
|
||||||
|
|
||||||
|
qs-canvas@1.0.11:
|
||||||
|
resolution: {integrity: sha512-WJwLwrAA1++ZqT6eR2F4Qa42yowybDUtQ2TDPtDOwhD1i4DzEOotug5N20cDkHat9l69ThOWoxV4qJbLKAjkNg==}
|
||||||
|
|
||||||
|
select@1.1.2:
|
||||||
|
resolution: {integrity: sha512-OwpTSOfy6xSs1+pwcNrv0RBMOzI39Lp3qQKUTPVVPRjCdNa5JH/oPRiqsesIskK8TVgmRiHwO4KXlV2Li9dANA==}
|
||||||
|
|
||||||
|
tabber-component@1.0.0:
|
||||||
|
resolution: {integrity: sha512-tL1cMqSlus8DtxY/VGY2qZoe3wV/D/QcL6YVO7FZhXARmmNt5ztGmm0474pZ7UgNb7j2aPv29PLERH0s1xQW8w==}
|
||||||
|
|
||||||
|
tiny-emitter@2.1.0:
|
||||||
|
resolution: {integrity: sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==}
|
||||||
|
|
||||||
|
tslib@2.3.0:
|
||||||
|
resolution: {integrity: sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==}
|
||||||
|
|
||||||
|
vue-clipboard2@0.3.3:
|
||||||
|
resolution: {integrity: sha512-aNWXIL2DKgJyY/1OOeITwAQz1fHaCIGvUFHf9h8UcoQBG5a74MkdhS/xqoYe7DNZdQmZRL+TAdIbtUs9OyVjbw==}
|
||||||
|
|
||||||
|
zrender@5.6.1:
|
||||||
|
resolution: {integrity: sha512-OFXkDJKcrlx5su2XbzJvj/34Q3m6PvyCZkVPHGYpcCJ52ek4U/ymZyfuV1nKE23AyBJ51E/6Yr0mhZ7xGTO4ag==}
|
||||||
|
|
||||||
|
snapshots:
|
||||||
|
|
||||||
|
clipboard@2.0.11:
|
||||||
|
dependencies:
|
||||||
|
good-listener: 1.2.2
|
||||||
|
select: 1.1.2
|
||||||
|
tiny-emitter: 2.1.0
|
||||||
|
|
||||||
|
crypto-js@4.2.0: {}
|
||||||
|
|
||||||
|
dayjs@1.11.19: {}
|
||||||
|
|
||||||
|
decimal.js@10.6.0: {}
|
||||||
|
|
||||||
|
delegate@3.2.0: {}
|
||||||
|
|
||||||
|
echarts@5.6.0:
|
||||||
|
dependencies:
|
||||||
|
tslib: 2.3.0
|
||||||
|
zrender: 5.6.1
|
||||||
|
|
||||||
|
good-listener@1.2.2:
|
||||||
|
dependencies:
|
||||||
|
delegate: 3.2.0
|
||||||
|
|
||||||
|
qs-canvas@1.0.11: {}
|
||||||
|
|
||||||
|
select@1.1.2: {}
|
||||||
|
|
||||||
|
tabber-component@1.0.0: {}
|
||||||
|
|
||||||
|
tiny-emitter@2.1.0: {}
|
||||||
|
|
||||||
|
tslib@2.3.0: {}
|
||||||
|
|
||||||
|
vue-clipboard2@0.3.3:
|
||||||
|
dependencies:
|
||||||
|
clipboard: 2.0.11
|
||||||
|
|
||||||
|
zrender@5.6.1:
|
||||||
|
dependencies:
|
||||||
|
tslib: 2.3.0
|
||||||
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 608 B |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 635 B |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 760 B |
|
Before Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 708 B |
|
Before Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 764 B |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 766 B |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 969 B |
|
Before Width: | Height: | Size: 905 B |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 237 B |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 543 B |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 914 B |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 15 KiB |