提交 befc6c95 编写于 作者: 王闪闪T013479

wss

上级 f2e4c497
......@@ -132,6 +132,18 @@
font-weight: 500;
font-family: "Ping Fang";
}
table{
width: 100%;
text-align: center;
border-spacing: 0;
border-collapse: collapse;
}
.table-bordered {
border: 1px solid #ddd;
}
.table-bordered tbody tr td, .table-bordered tfoot tr td {
border: 1px solid #ddd;
}
.flex-bet{
display: flex;
justify-content: space-between;
......
let host = ''
// 接口请求地址
let host = '';
// 图片、文件路径地址
// const absoluteHost = 'http://paipai.ip189.lhyw.net'
const absoluteHost = "https://www.ppzxchina.cn"
//#ifdef APP-PLUS
// host = 'http://paipai.ip189.lhyw.net'
......@@ -6,5 +11,6 @@ let host = ''
//#endif
export {
host
host,
absoluteHost
}
\ No newline at end of file
// const host = "http://paipai.ip189.lhyw.net"
const host = "https://www.ppzxchina.cn"
import { absoluteHost } from './config.js'
import store from '../store/index'
// Toast提示
function showToast(msg, duration){
uni.showToast({
......@@ -123,7 +123,7 @@ function virifyRegisterPassword(password, password2){
}
function getAbsoluteUrl(url){
return host + url
return absoluteHost + url
}
// 原始数据中的路径拼接成绝对路径
function filterDatasPath(datas, paths){
......
<template>
<view class="nav-search">
<image class="search-icon" src="/static/search-icon.png" mode="aspectFit"></image>
<text class="bold">请输入搜索拍品</text>
<text class="bold">输入关键字搜索</text>
</view>
</template>
......
......@@ -107,20 +107,20 @@
"usingComponents" : true
},
"h5" : {
"devServer" : {
"https" : false,
"proxy" : {
"/interfaces" : {
/* "target" : "http://paipai.ip189.lhyw.net/interfaces", */
"target" : "https://www.ppzxchina.cn/interfaces",
"changeOrigin" : true,
"secure" : false,
"pathRewrite" : {
"^/interfaces" : ""
}
}
}
},
// "devServer" : {
// "https" : false,
// "proxy" : {
// "/interfaces" : {
// /* "target" : "http://paipai.ip189.lhyw.net/interfaces", */
// "target" : "https://www.ppzxchina.cn/interfaces",
// "changeOrigin" : true,
// "secure" : false,
// "pathRewrite" : {
// "^/interfaces" : ""
// }
// }
// }
// },
"uniStatistics" : {
"enable" : false
}
......
......@@ -15,15 +15,15 @@
<view class="item"><text class="name">项目编号</text><text class="desc">{{goods.item_num}}</text></view>
<view class="item"><text class="name">竞拍结束</text><text class="desc">{{goods.end_time}}</text></view>
<view class="item" v-if="(goods.show_type == 2 && goods.type == 1) || goods.show_type == 8">
<text class="name">当 前 价</text><text class="price"><text class="sign"></text>{{goods.current_price}}</text>
<text class="name">当 前 价</text><text class="price"><text class="sign"></text>{{goods.current_price}}{{goods.unit}}</text>
</view>
<view class="item" v-if="goods.show_type == 7">
<text class="name">您已出价</text><text class="price"><text class="sign"></text>{{goods.pay_one_price}}{{goods.unit}}</text>
<text class="name">您已出价</text><text class="price"><text class="sign"></text>{{goods.pay_one_price}}{{goods.unit}}</text>
<view class="pay-succ">
您已完成出价,请等待结束后公布结果
</view>
</view>
<view class="item" v-if="goods.show_type == 3 || goods.show_type == 5 "><text class="name">成 交 价</text><text class="price"><text class="sign"></text>{{goods.order_price}}</text></view>
<view class="item" v-if="goods.show_type == 3 || goods.show_type == 5 "><text class="name">成 交 价</text><text class="price"><text class="sign"></text>{{goods.order_price}}{{goods.unit}}</text></view>
<view class="back-box" v-if="goods.show_type==2 || goods.show_type==1">
<text v-if="goods.show_type==2" class="back-text">距结束</text>
<text v-else class="back-text">距开始</text>
......@@ -41,11 +41,11 @@
</view>
</view>
<view class="good-info">
<view class="good-info-item"><text class="name">起拍价</text><text class="desc">¥{{goods.s_price}}</text></view>
<view class="good-info-item"><text class="name">加价幅度</text><text class="desc">¥{{goods.range}}</text></view>
<view class="good-info-item"><text class="name">起拍价</text><text class="desc">¥{{goods.s_price}}{{goods.unit}}</text></view>
<view class="good-info-item"><text class="name">加价幅度</text><text class="desc">¥{{goods.range}}{{goods.unit}}</text></view>
<view class="good-info-item"><text class="name">类 型</text><text class="desc">{{goods.type == 1 ? '网络竞价' : '询比价'}}</text></view>
<view class="good-info-item"><text class="name">服务费</text><text class="desc">{{goods.fee != 0 && goods.fee != null? goods.fee + '' : ''}}</text></view>
<view class="good-info-item"><text class="name">评估价</text><text class="desc">¥{{goods.v_price}}</text></view>
<view class="good-info-item"><text class="name">服务费</text><text class="desc">{{goods.fee != 0 && goods.fee != null? goods.fee.indexOf('%') > -1 ? goods.fee : goods.fee + '' : ''}}</text></view>
<view class="good-info-item"><text class="name">评估价</text><text class="desc">¥{{goods.v_price}}{{goods.unit}}</text></view>
<view class="good-info-item"><text class="name">竞价周期</text><text class="desc">{{goods.auction_cycle}}</text></view>
<view class="good-info-item"><text class="name">优先购买权</text><text class="desc">{{goods.is_preemption == 1 ? '' : ''}}</text></view>
<view class="good-info-item"><text class="name">保证金</text><text class="desc">¥{{goods.earnest}}</text></view>
......
......@@ -5,10 +5,11 @@
<image class="guide-item" mode="aspectFill" src="../../static/guide_1.jpg"></image>
</swiper-item>
<swiper-item>
<image class="guide-item" mode="aspectFill" src="../../static/guide_1.jpg"></image>
<image class="guide-item" mode="aspectFill" src="../../static/guide_2.jpg"></image>
</swiper-item>
<swiper-item>
<swiper-item @touchstart="touchstart" @touchend="touchend">
<image class="guide-item" mode="aspectFill" src="../../static/guide_3.jpg"></image>
<view class="income-btn" @click="jump">立即体验</view>
</swiper-item>
</swiper>
<view class="jump-btn" @click="jump">跳过</view>
......@@ -19,19 +20,21 @@
export default {
data() {
return {
startX: 0
}
},
onLoad() {
// var hasGuide = uni.getStorageSync('hasGuide')
// if(hasGuide === '1'){
// this.jump()
// }else {
// uni.setStorageSync('hasGuide', '1')
// }
},
methods: {
touchstart(e){
this.startX = e.changedTouches[0].clientX
},
touchend(e){
const endX = e.changedTouches[0].clientX
if(endX < this.startX){
this.jump()
}
},
jump(){
uni.switchTab({
url: '/pages/index/index'
......@@ -86,4 +89,20 @@
color: #fff;
background-color: #dd9d97;
}
.income-btn {
position: absolute;
left: 0;
right: 0;
bottom: 55px;
width: 140px;
line-height: 32px;
border-radius: 16px;
margin: 0 auto;
background: #e73e33;
color: #fff;
font-size: 16px;
text-align: center;
font-weight: bold;
}
</style>
......@@ -30,7 +30,7 @@
<!-- banner -->
<swiper class="banner-box" autoplay :interval="3000" :duration="1000" previous-margin="40rpx"
next-margin="40rpx" @change="changeBanner">
next-margin="40rpx" @change="changeBanner" circular>
<template v-for="(banner, index) in banners">
<swiper-item>
<navigator url="url" hover-class="none">
......
......@@ -20,7 +20,7 @@
</view>
</view>
</view>
<view class="db-title">所含拍品</view>
<!-- 分类导航 -->
<pp-second-category ref="secCate" @changeSecondCate="changeSecondCate" />
<!-- 拍品列表 -->
......@@ -161,4 +161,23 @@
.profile .arrow-bottom.all {
transform: rotate(180deg);
}
.db-title{
position: relative;
font-size: 28rpx;
line-height: 100rpx;
color: #fe5341;
padding-left: 20rpx;
margin: 0 20rpx -20rpx;
}
.db-title:after{
position: absolute;
left: 0;
top: 50%;
display: block;
content:'';
width: 2rpx;
height: 24rpx;
background-color: #fe5341;
margin-top: -12rpx;
}
</style>
......@@ -3,7 +3,7 @@ const bodyParser = require('body-parser')
const path = require('path');
module.exports = {
// devServer: {
devServer: {
// contentBase: path.join(__dirname, 'mock'),
// compress: true,
// open: false,
......@@ -16,15 +16,16 @@ module.exports = {
// app.use(bodyParser.urlencoded({extended: false}))
// Mock(app)
// },
// proxy : {
// "/interfaces" : {
// "target" : "http://paipai.ip189.lhyw.net/interfaces",
// "changeOrigin" : true,
// "secure" : false,
// "pathRewrite" : {
// "^/interfaces" : ""
// }
// }
// }
// }
proxy : {
"/interfaces" : {
// "target" : "http://paipai.ip189.lhyw.net/interfaces",
"target" : "https://www.ppzxchina.cn/interfaces",
"changeOrigin" : true,
"secure" : false,
"pathRewrite" : {
"^/interfaces" : ""
}
}
}
}
};
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册