Browse Source

修改样式

master
longjieli 5 months ago
parent
commit
a4e25d99bc
44 changed files with 139 additions and 149 deletions
  1. +7
    -7
      api/api.js
  2. +7
    -7
      api/http.js
  3. +33
    -30
      api/model/index.js
  4. +4
    -5
      components/product/productItem.vue
  5. +12
    -13
      config.js
  6. +1
    -1
      manifest.json
  7. +1
    -3
      pages.json
  8. +1
    -2
      pages/index/category.vue
  9. +7
    -6
      pages/index/center.vue
  10. +23
    -11
      pages/index/index.vue
  11. +0
    -9
      pages_order/mine/balance.vue
  12. +5
    -5
      pages_order/mine/card.vue
  13. +1
    -1
      pages_order/mine/memberCenter.vue
  14. +3
    -15
      pages_order/mine/promotion.vue
  15. +24
    -24
      pages_order/mine/withdraw.vue
  16. +10
    -10
      pages_order/order/createOrder.vue
  17. BIN
      pages_order/static/address/icon1.png
  18. BIN
      pages_order/static/address/selectIcon.png
  19. BIN
      pages_order/static/card/diamond-min.png
  20. BIN
      pages_order/static/card/diamond.png
  21. BIN
      pages_order/static/card/gold-min.png
  22. BIN
      pages_order/static/card/gold.png
  23. BIN
      pages_order/static/card/profilePhoto.png
  24. BIN
      pages_order/static/card/silver.png
  25. BIN
      pages_order/static/card/sliver-min.png
  26. BIN
      pages_order/static/memberCenter/equity.png
  27. BIN
      pages_order/static/order/icon.png
  28. BIN
      pages_order/static/product/like.png
  29. BIN
      pages_order/static/withdraw/cz.png
  30. BIN
      static/image/category/diamond-price.png
  31. BIN
      static/image/category/gold-card-price.png
  32. BIN
      static/image/category/silver-card-price.png
  33. BIN
      static/image/home/0.png
  34. BIN
      static/image/home/1.png
  35. BIN
      static/image/home/10.png
  36. BIN
      static/image/home/2.png
  37. BIN
      static/image/home/3.png
  38. BIN
      static/image/home/4.png
  39. BIN
      static/image/home/5.png
  40. BIN
      static/image/home/6.png
  41. BIN
      static/image/home/7.png
  42. BIN
      static/image/home/8.png
  43. BIN
      static/image/home/9.png
  44. BIN
      static/image/home/logo.png

+ 7
- 7
api/api.js View File

@ -46,13 +46,13 @@ export function api(key, data, callback, loadingTitle) {
} }
//必须登录 //必须登录
// if (req.auth) {
// if (!uni.getStorageSync('token')) {
// utils.toLogin()
// console.error('需要登录')
// return
// }
// }
if (req.auth) {
if (!uni.getStorageSync('token')) {
utils.toLogin()
console.error('需要登录')
return
}
}
// 接口防抖 // 接口防抖
if(req.debounce){ if(req.debounce){


+ 7
- 7
api/http.js View File

@ -25,13 +25,13 @@ function http(uri, data, callback, method = 'GET', showLoading, title) {
uni.hideLoading(); uni.hideLoading();
} }
// if(res.statusCode == 401 ||
// res.data.message == '操作失败,token非法无效!' ||
// res.data.message == '操作失败,用户不存在!'){
// uni.removeStorageSync('token')
// console.error('登录过期');
// utils.toLogin()
// }
if(res.statusCode == 401 ||
res.data.message == '操作失败,token非法无效!' ||
res.data.message == '操作失败,用户不存在!'){
uni.removeStorageSync('token')
console.error('登录过期');
utils.toLogin()
}
if(res.statusCode == 200 && res.data.code != 200 if(res.statusCode == 200 && res.data.code != 200
&& res.data.code != 902){ && res.data.code != 902){


+ 33
- 30
api/model/index.js View File

@ -1,12 +1,10 @@
// 首页相关接口 // 首页相关接口
const api = { const api = {
// 获取首页轮播图 // 获取首页轮播图
getRiceBanner: { getRiceBanner: {
url: '/index_common/getRiceBanner', url: '/index_common/getRiceBanner',
method: 'GET',
method: 'GET',
}, },
// 获取首页常规产品【废弃】 // 获取首页常规产品【废弃】
// getRiceCommonProductList: { // getRiceCommonProductList: {
@ -16,32 +14,32 @@ const api = {
// 获取首页跳转图标 // 获取首页跳转图标
getRiceIconList: { getRiceIconList: {
url: '/index_common/getRiceIconList', url: '/index_common/getRiceIconList',
method: 'GET',
method: 'GET',
}, },
// 获取首页新闻详情 // 获取首页新闻详情
getRiceNewsDetail: { getRiceNewsDetail: {
url: '/index_common/getCommonNewsDetail', url: '/index_common/getCommonNewsDetail',
method: 'GET',
method: 'GET',
}, },
// 获取首页新闻列表 // 获取首页新闻列表
getRiceNewsList: { getRiceNewsList: {
url: '/index_common/getRiceNewsList', url: '/index_common/getRiceNewsList',
method: 'GET',
method: 'GET',
}, },
// 获取首页公告列表 // 获取首页公告列表
getRiceNoticeList: { getRiceNoticeList: {
url: '/index_common/getRiceNoticeList', url: '/index_common/getRiceNoticeList',
method: 'GET',
method: 'GET',
}, },
// 获取首页商品详情 // 获取首页商品详情
getRiceProductDetail: { getRiceProductDetail: {
url: '/index_common/getRiceProductDetail', url: '/index_common/getRiceProductDetail',
method: 'GET',
method: 'GET',
}, },
// 获取首页体验产品 // 获取首页体验产品
getRiceProductList: { getRiceProductList: {
url: '/index_common/getRiceProductList', url: '/index_common/getRiceProductList',
method: 'GET',
method: 'GET',
}, },
// 查询分类接口 // 查询分类接口
getCategoryList: { getCategoryList: {
@ -57,62 +55,67 @@ const api = {
addCart: { addCart: {
url: '/index_common/addCart', url: '/index_common/addCart',
method: 'GET', method: 'GET',
auth : true,
showLoading : true,
auth: true,
showLoading: true,
}, },
// 删除购物车信息 // 删除购物车信息
deleteCart: { deleteCart: {
url: '/index_common/deleteCart', url: '/index_common/deleteCart',
method: 'DELETE', method: 'DELETE',
auth : true,
showLoading : true,
auth: true,
showLoading: true,
}, },
// 修改购物车信息数量 // 修改购物车信息数量
updateCartNum: { updateCartNum: {
url: '/index_common/updateCartNum', url: '/index_common/updateCartNum',
method: 'POST', method: 'POST',
auth : true,
debounce : 300,
auth: true,
debounce: 300,
}, },
// 创建订单 // 创建订单
createOrder: { createOrder: {
url: '/index_common/createOrder', url: '/index_common/createOrder',
method: 'GET', method: 'GET',
auth : true,
limit : 1000,
showLoading : true,
auth: true,
limit: 1000,
showLoading: true,
}, },
// 创建订单-再次支付 // 创建订单-再次支付
createOrderTwo: { createOrderTwo: {
url: '/index_common/createOrderTwo', url: '/index_common/createOrderTwo',
method: 'GET', method: 'GET',
auth : true,
limit : 1000,
showLoading : true,
auth: true,
limit: 1000,
showLoading: true,
}, },
// 多商品创建订单 // 多商品创建订单
createSumOrder: { createSumOrder: {
url: '/index_common/createSumOrder', url: '/index_common/createSumOrder',
method: 'POST', method: 'POST',
auth : true,
limit : 1000,
showLoading : true,
auth: true,
limit: 1000,
showLoading: true,
}, },
// 多商品订单再次支付 // 多商品订单再次支付
createSumOrderAgain: { createSumOrderAgain: {
url: '/index_common/createSumOrderAgain', url: '/index_common/createSumOrderAgain',
method: 'POST', method: 'POST',
auth : true,
limit : 1000,
showLoading : true,
auth: true,
limit: 1000,
showLoading: true,
}, },
// 确认收货 // 确认收货
confirmOrder: { confirmOrder: {
url: '/index_common/confirmOrder', url: '/index_common/confirmOrder',
method: 'GET', method: 'GET',
auth : true,
limit : 1000,
showLoading : true,
auth: true,
limit: 1000,
showLoading: true,
},
// 获取首页广告列表
getRiceProductList: {
url: '/index_common/getRiceAdList',
method: 'GET',
}, },
} }

+ 4
- 5
components/product/productItem.vue View File

@ -20,11 +20,10 @@
<text>{{ item.vipPrice }}/元每件</text> <text>{{ item.vipPrice }}/元每件</text>
</view> </view>
<view class="price-imgs"> <view class="price-imgs">
<image src="@/static/image/category/gold-card-price.png" mode="widthFix" class="price-img"></image>
<image v-if="false" src="@/static/image/category/silver-card-price.png" mode="widthFix"
class="price-img"></image>
<image v-if="false" src="@/static/image/category/diamond-price.png" mode="widthFix"
class="price-img"></image>
<image :src="configList.vip_money_one" mode="widthFix" class="price-img"></image>
<image v-if="false" :src="configList.vip_money_onevip_money_two" mode="widthFix" class="price-img">
</image>
<image v-if="false" :src="configList.vip_money_three" mode="widthFix" class="price-img"></image>
</view> </view>
</view> </view>


+ 12
- 13
config.js View File

@ -1,4 +1,3 @@
import Vue from 'vue' import Vue from 'vue'
import api from '@/api/api.js' import api from '@/api/api.js'
import utils from './utils/utils.js' import utils from './utils/utils.js'
@ -12,30 +11,30 @@ const type = 'dev'
// 环境配置 // 环境配置
const config = { const config = {
dev : {
baseUrl : 'http://h5.xzaiyp.top/jewelry-admin',
dev: {
baseUrl: 'http://h5.xzaiyp.top/jewelry-admin',
}, },
prod : {
baseUrl : 'https://jewelry-admin.hhlm1688.com/jewelry-admin',
prod: {
baseUrl: 'https://jewelry-admin.hhlm1688.com/jewelry-admin',
} }
} }
// 默认配置 // 默认配置
const defaultConfig = { const defaultConfig = {
mapKey : 'XMBBZ-BCPCV-SXPPQ-5Y7MY-PHZXK-YFFVU',
aliOss : {
url : 'https://tennis-oss.xzaiyp.top/',
config : {
mapKey: 'XMBBZ-BCPCV-SXPPQ-5Y7MY-PHZXK-YFFVU',
aliOss: {
url: 'https://image.hhlm1688.com/',
config: {
//桶的地址 //桶的地址
region: 'oss-cn-guangzhou', region: 'oss-cn-guangzhou',
//id //id
accessKeyId:'LTAI5tNycA46YTwm383dRvMV',
accessKeyId: 'LTAI5tQSs47izVy8DLVdwUU9',
//密钥 //密钥
accessKeySecret:'tAdbYQCmdur6jbZ8hjvgB7T1Z52mIG',
accessKeySecret: 'qHI7C3PaXYZySr84HTToviC71AYlFq',
//桶的名字 //桶的名字
bucket: 'zhuoqiu-image',
endpoint:'oss-cn-guangzhou.aliyuncs.com',
bucket: 'hanhaiimage',
endpoint: 'oss-cn-shenzhen.aliyuncs.com',
} }
}, },
} }


+ 1
- 1
manifest.json View File

@ -52,7 +52,7 @@
"quickapp" : {}, "quickapp" : {},
/* */ /* */
"mp-weixin" : { "mp-weixin" : {
"appid" : "wx0839bc52e7849c13",
"appid" : "wx28679cb649907e7e",
"setting" : { "setting" : {
"urlCheck" : false "urlCheck" : false
}, },


+ 1
- 3
pages.json View File

@ -48,9 +48,7 @@
}, },
"subPackages": [{ "subPackages": [{
"root": "pages_order", "root": "pages_order",
"pages": [{
"path": "mine/card"
},
"pages": [
{ {
"path": "mine/partner" "path": "mine/partner"
}, },


+ 1
- 2
pages/index/category.vue View File

@ -15,7 +15,7 @@
<view class="list"> <view class="list">
<uv-vtabs-item> <uv-vtabs-item>
<productItem v-for="(item, index) in list" :key="index" :item="item" <productItem v-for="(item, index) in list" :key="index" :item="item"
@click="$utils.navigateTo('/pages_order/mine/moreCommodity')" />
@click="$utils.navigateTo(`/pages_order/product/productDetail?id=${item.id}`)" />
</uv-vtabs-item> </uv-vtabs-item>
</view> </view>
</uv-vtabs> </uv-vtabs>
@ -23,7 +23,6 @@
<!-- tabbar --> <!-- tabbar -->
<tabber select="category" /> <tabber select="category" />
</view> </view>
</template> </template>


+ 7
- 6
pages/index/center.vue View File

@ -12,7 +12,7 @@
<view class="user-info"> <view class="user-info">
<view class="user-base-info"> <view class="user-base-info">
<view class="user-base-top"> <view class="user-base-top">
<view class="user-name">倾心.临时决定离开军队费时费力士大夫</view>
<view class="user-name">{{ userInfo.nickName}}</view>
<view class="member-level"> <view class="member-level">
<image src="@/static/image/center/diamond-min.png" mode="widthFix" class="level"></image> <image src="@/static/image/center/diamond-min.png" mode="widthFix" class="level"></image>
<image v-if="false" src="@/static/image/center/gold-min.png" mode="widthFix" class="level"> <image v-if="false" src="@/static/image/center/gold-min.png" mode="widthFix" class="level">
@ -62,7 +62,7 @@
<!-- 佣金数据 --> <!-- 佣金数据 -->
<view class="brokerage-data"> <view class="brokerage-data">
<view class="brokerage"> <view class="brokerage">
<image src="@/static/image/center/brokerage.png" mode="widthFix" class="brokerage-img"></image>
<image :src="configList.money_image" mode="widthFix" class="brokerage-img"></image>
<div class="main"> <div class="main">
<div class="title">我的佣金</div> <div class="title">我的佣金</div>
@ -71,7 +71,7 @@
</view> </view>
<view class="balance"> <view class="balance">
<image src="@/static/image/center/balance.png" mode="widthFix" class="balance-img"></image>
<image :src="configList.price_image" mode="widthFix" class="balance-img"></image>
<div class="main"> <div class="main">
<div class="title">我的余额</div> <div class="title">我的余额</div>
@ -99,7 +99,7 @@
<image src="@/static/image/center/3.png" mode="widthFix" /> <image src="@/static/image/center/3.png" mode="widthFix" />
<view class="title">联系客服</view> <view class="title">联系客服</view>
</view> </view>
<view class="boxs" @click="$utils.navigateTo('/pages/index/order?type=4')">
<view class="boxs" @click="$utils.navigateTo('/pages_order/mine/promotion')">
<image src="@/static/image/center/4.png" mode="widthFix" /> <image src="@/static/image/center/4.png" mode="widthFix" />
<view class="title">邀请好友</view> <view class="title">邀请好友</view>
</view> </view>
@ -118,7 +118,7 @@
<image src="@/static/image/center/7.png" mode="widthFix" /> <image src="@/static/image/center/7.png" mode="widthFix" />
<view class="title">优惠券</view> <view class="title">优惠券</view>
</view> </view>
<view class="boxs" @click="$utils.navigateTo('/pages/index/order?type=4')">
<view class="boxs" @click="$utils.navigateTo('/pages_order/mine/help')">
<image src="@/static/image/center/8.png" mode="widthFix" /> <image src="@/static/image/center/8.png" mode="widthFix" />
<view class="title">帮助与反馈</view> <view class="title">帮助与反馈</view>
</view> </view>
@ -155,13 +155,14 @@
mapState mapState
} from 'vuex' } from 'vuex'
import customerServicePopup from '@/components/config/customerServicePopup.vue' import customerServicePopup from '@/components/config/customerServicePopup.vue'
export default { export default {
components: { components: {
tabber, tabber,
customerServicePopup, customerServicePopup,
}, },
computed: { computed: {
...mapState(['userInfo', 'riceInfo']),
...mapState(['userInfo', 'riceInfo','configList']),
}, },
data() { data() {
return { return {


+ 23
- 11
pages/index/index.vue View File

@ -46,8 +46,8 @@
<view class="red-packet"> <view class="red-packet">
<image src="@/static/image/home/red-packet.png" mode="widthFix"></image> <image src="@/static/image/home/red-packet.png" mode="widthFix"></image>
</view> </view>
<view v-for="item in 4" :key="item" class="activity">
<image src="@/static/image/home/necklace.png" mode="widthFix"></image>
<view v-for="item in adList" :key="item.id" class="activity">
<image :src="item.icon" mode="widthFix"></image>
<image src="@/static/image/home/exclusive.png" mode="widthFix"></image> <image src="@/static/image/home/exclusive.png" mode="widthFix"></image>
<view class="product-price"> <view class="product-price">
100 100
@ -63,7 +63,7 @@
</view> </view>
<view class="video-list"> <view class="video-list">
<scroll-view class="scroll-view_H" scroll-x="true" @scroll="scroll"> <scroll-view class="scroll-view_H" scroll-x="true" @scroll="scroll">
<view v-for="item in 10" class="video-item">
<view v-for="item in 10" :key="item" class="video-item">
<video src="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/2minute-demo.mp4" <video src="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/2minute-demo.mp4"
@error="videoErrorCallback" :danmu-list="danmuList" controls class="product-video"></video> @error="videoErrorCallback" :danmu-list="danmuList" controls class="product-video"></video>
</view> </view>
@ -89,7 +89,7 @@
<!-- tabbar --> <!-- tabbar -->
<tabber select="home" /> <tabber select="home" />
<!-- 优惠券弹窗 --> <!-- 优惠券弹窗 -->
<couponPopup v-model="showCouponPopup" @examine="toCoupon"></couponPopup> <couponPopup v-model="showCouponPopup" @examine="toCoupon"></couponPopup>
</view> </view>
@ -126,7 +126,8 @@
riceProductList: [], // riceProductList: [], //
newList: [], // newList: [], //
mixinsListApi: 'getClassShophomeList', mixinsListApi: 'getClassShophomeList',
showCouponPopup : true
showCouponPopup: true,
adList : []
} }
}, },
computed: {}, computed: {},
@ -139,6 +140,7 @@
this.getBanner() this.getBanner()
this.getRiceNoticeList() this.getRiceNoticeList()
this.getRiceIconList() this.getRiceIconList()
this.getRiceAdList()
// this.getRiceCommonProductList() // this.getRiceCommonProductList()
}, },
onPullDownRefresh() { onPullDownRefresh() {
@ -204,7 +206,16 @@
getRiceIconList() { getRiceIconList() {
this.$api('getRiceIconList', res => { this.$api('getRiceIconList', res => {
if (res.code == 200) { if (res.code == 200) {
this.baseList = res.result.slice(0, 5)
this.baseList = res.result
}
})
},
//广
getRiceAdList() {
this.$api('getRiceProductList', res => {
if (res.code == 200) {
this.adList = res.result.records
} }
}) })
}, },
@ -240,11 +251,11 @@
scroll: function(e) { scroll: function(e) {
}, },
// //
toCoupon() { toCoupon() {
uni.navigateTo({ uni.navigateTo({
url: "/pages_order/mine/withdraw"
url: "/pages_order/mine/coupon"
}) })
} }
}, },
@ -374,6 +385,7 @@
padding: 20rpx; padding: 20rpx;
background: white; background: white;
font-size: 34rpx; font-size: 34rpx;
.line { .line {
height: 40rpx; height: 40rpx;
width: 10rpx; width: 10rpx;
@ -382,7 +394,7 @@
margin-right: 10rpx; margin-right: 10rpx;
} }
} }
.video-list { .video-list {
.scroll-view_H { .scroll-view_H {
white-space: nowrap; white-space: nowrap;
@ -409,11 +421,11 @@
background: white; background: white;
margin: 20rpx 0rpx; margin: 20rpx 0rpx;
padding: 20rpx; padding: 20rpx;
.recommend-title { .recommend-title {
font-size: 36rpx; font-size: 36rpx;
} }
.recommend-more { .recommend-more {
color: $uni-color; color: $uni-color;
} }


+ 0
- 9
pages_order/mine/balance.vue View File

@ -8,15 +8,6 @@
<view class="bg"/> <view class="bg"/>
<!-- <view class="price">
<view class="title">
我的余额
</view>
<view class="num">
{{ riceInfo.balance || 0 }}
</view>
</view> -->
<view class="cell"> <view class="cell">
<view class="cell-top">收支明细</view> <view class="cell-top">收支明细</view>
<view class="cell-box" <view class="cell-box"


+ 5
- 5
pages_order/mine/card.vue View File

@ -1,10 +1,10 @@
<!-- 会员卡片页面 -->
<!-- 会员卡片页面
<template> <template>
<view class="member-card"> <view class="member-card">
<!-- 导航栏 -->
导航栏
<navbar title="会员" leftClick @leftClick="$utils.navigateBack" /> <navbar title="会员" leftClick @leftClick="$utils.navigateBack" />
<!-- 会员列表 -->
会员列表
<view class="member-list"> <view class="member-list">
<view v-for="item in memberList" :key="item.id" class="member-item"> <view v-for="item in memberList" :key="item.id" class="member-item">
<image :src="item.memberBg" mode="widthFix" class="member-image"></image> <image :src="item.memberBg" mode="widthFix" class="member-image"></image>
@ -22,7 +22,7 @@
</view> </view>
</view> </view>
<!-- 小会员列表 -->
小会员列表
<view class="member-list-min"> <view class="member-list-min">
<image v-for="item in minMemberList" :key="item.id" :src="item.icon" mode="heightFix" class="member-icon"></image> <image v-for="item in minMemberList" :key="item.id" :src="item.icon" mode="heightFix" class="member-icon"></image>
</view> </view>
@ -138,4 +138,4 @@
} }
} }
} }
</style>
</style> -->

+ 1
- 1
pages_order/mine/memberCenter.vue View File

@ -47,7 +47,7 @@
<!-- 会员权益 --> <!-- 会员权益 -->
<view class="member-equity-title"> <view class="member-equity-title">
<image src="@/pages_order/static/memberCenter/equity.png" mode="widthFix" class="eqyity-img"></image>
<image :src="configList.vip_qy_image" mode="widthFix" class="eqyity-img"></image>
</view> </view>
<view class="equity-card-list"> <view class="equity-card-list">
<view v-for="(item,index) in equityList" :key="item.id" class="equity-card"> <view v-for="(item,index) in equityList" :key="item.id" class="equity-card">


+ 3
- 15
pages_order/mine/promotion.vue View File

@ -1,24 +1,12 @@
<template> <template>
<view class="promotion"> <view class="promotion">
<navbar title="二维码" <navbar title="二维码"
bgColor="#A3D250"
bgColor="#E3441A"
color="#fff" color="#fff"
leftClick @leftClick="$utils.navigateBack" /> leftClick @leftClick="$utils.navigateBack" />
<view class="promotion-card"> <view class="promotion-card">
<!-- <view class="user-info"> -->
<!-- <image class="image" :src="userInfo.headImage" mode="widthFix"></image> -->
<!-- <image class="image" src="../../static/logo.png" mode="widthFix"></image> -->
<!-- <view class="user-name">{{ userInfo.nickName }}</view> -->
<!-- <view class="user-name">湖南第一深情</view> -->
<!-- </view> -->
<!-- <view class="invitation-code-img">
<image
style="width: 400rpx;"
:src="imagePath" mode="widthFix"></image>
</view> -->
<image :src="userInfo.headImage" mode="aspectFill" <image :src="userInfo.headImage" mode="aspectFill"
class="headImage"></image> class="headImage"></image>
@ -44,8 +32,8 @@
data() { data() {
return { return {
url: '', url: '',
title: '123123',
baseUrl: 'https://dianpin-img.xzaiyp.top/',
title: '',
baseUrl: 'https://image.hhlm1688.com/',
canvas: {}, canvas: {},
imagePath: '', imagePath: '',
} }


+ 24
- 24
pages_order/mine/withdraw.vue View File

@ -5,7 +5,7 @@
<!-- 佣金信息 --> <!-- 佣金信息 -->
<view class="b-relative center font-m"> <view class="b-relative center font-m">
<image src="@/pages_order/static/withdraw/cz.png" />
<image :src="configList.tx_image" />
<view class="user-money"> <view class="user-money">
<view class="title">总佣金</view> <view class="title">总佣金</view>
@ -29,20 +29,17 @@
<!-- 我要提现 --> <!-- 我要提现 -->
<view class="from-body"> <view class="from-body">
<view>我要提现</view>
<view class="title">我要提现</view>
<view class="money"> <view class="money">
<van-cell-group inset>
<van-field type="number" v-model="form.price" placeholder="请输入提现金额"
style="background-color: #F5F5F5; margin: 10rpx 0px; border-radius: 20px;" />
<van-field v-model="form.bank" placeholder="请输入开户行"
style="background-color: #F5F5F5; margin: 10rpx 0px; border-radius: 20px;" />
<van-field v-model="form.card" placeholder="请输入卡号"
style="background-color: #F5F5F5; margin: 10rpx 0px; border-radius: 20px;" />
</van-cell-group>
<uv-input placeholder="请输入提现金额" border="surround" v-model="form.money"></uv-input>
</view> </view>
<view v-html="withdrawalStatement" class="withdrawal-statement"></view>
</view>
<!-- 提现说明 -->
<view class="withdrawal-statement">
<view class="title">提现说明</view>
<view v-html="configList.recharge_instructions" class="withdrawal-statement"></view>
</view> </view>
<view class="recharge"> <view class="recharge">
@ -67,9 +64,7 @@
type: ['+', '-'], type: ['+', '-'],
state: ['未到账', '已到账'], state: ['未到账', '已到账'],
form: { form: {
money: '',
bankNo: '',
bankName: '',
money: ''
}, },
} }
}, },
@ -78,7 +73,6 @@
}, },
data() { data() {
return { return {
withdrawalStatement: '', //
form: { form: {
type: 1, type: 1,
price: undefined, price: undefined,
@ -237,18 +231,24 @@
text-align: left; text-align: left;
color: #333333; color: #333333;
} }
.from-body .title{
font-size: 36rpx;
}
.money { .money {
margin: 20rpx 0rpx; margin: 20rpx 0rpx;
} }
.money .van-cell-group--inset {
margin: 0;
}
.money .van-field {
padding: auto 0rpx;
margin-bottom: 30rpx !important;
//
.withdrawal-statement {
padding: 0rpx 20rpx;
box-sizing: border-box;
.title {
font-size: 36rpx;
margin-bottom: 20rpx;
}
} }
.recharge { .recharge {


+ 10
- 10
pages_order/order/createOrder.vue View File

@ -33,8 +33,8 @@
<view @click="openAddress" class="cell-item"> <view @click="openAddress" class="cell-item">
<view class="cell-item-left"> <view class="cell-item-left">
<image src="@/pages_order/static/createOrder/address.png" mode="widthFix" class="cell-icon"></image> <image src="@/pages_order/static/createOrder/address.png" mode="widthFix" class="cell-icon"></image>
<view class="user-name">李满和</view>
<view class="user-address">城南故事C3栋2802数据都是佛山佛挡杀佛</view>
<view class="user-name">{{ address.name }}</view>
<view class="user-address">{{ address.address}}</view>
</view> </view>
<view class="cell-item-right"> <view class="cell-item-right">
<uv-icon name="arrow-right"></uv-icon> <uv-icon name="arrow-right"></uv-icon>
@ -48,7 +48,7 @@
<image src="@/pages_order/static/createOrder/account.png" mode="widthFix" class="cell-icon"> <image src="@/pages_order/static/createOrder/account.png" mode="widthFix" class="cell-icon">
</image> </image>
<view class="user-name">账户余额</view> <view class="user-name">账户余额</view>
<view class="descript">(余额: 300)</view>
<view class="descript">(余额: {{ userInfo.money}})</view>
</view> </view>
<view class="cell-item-right"> <view class="cell-item-right">
@ -64,7 +64,7 @@
<view class="descript"></view> <view class="descript"></view>
</view> </view>
<view class="cell-item-right"> <view class="cell-item-right">
</view> </view>
</view> </view>
</view> </view>
@ -77,7 +77,7 @@
<view class="descript">$20</view> <view class="descript">$20</view>
</view> </view>
<view class="cell-item-right"> <view class="cell-item-right">
</view> </view>
</view> </view>
@ -117,7 +117,7 @@
<script> <script>
import addressList from '../components/address/addressList.vue' import addressList from '../components/address/addressList.vue'
import { import {
mapState mapState
} from 'vuex' } from 'vuex'
@ -384,7 +384,7 @@
padding-left: 20rpx; padding-left: 20rpx;
box-sizing: border-box; box-sizing: border-box;
} }
.descript { .descript {
color: #888888; color: #888888;
} }
@ -433,7 +433,7 @@
color: $uni-color; color: $uni-color;
} }
} }
// //
.submit { .submit {
position: fixed; position: fixed;
@ -445,12 +445,12 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
.price { .price {
color: #F39637; color: #F39637;
padding: 0 20px; padding: 0 20px;
} }
.btn { .btn {
background: $uni-color; background: $uni-color;
color: white; color: white;


BIN
pages_order/static/address/icon1.png View File

Before After
Width: 101  |  Height: 111  |  Size: 7.1 KiB

BIN
pages_order/static/address/selectIcon.png View File

Before After
Width: 28  |  Height: 36  |  Size: 1.3 KiB

BIN
pages_order/static/card/diamond-min.png View File

Before After
Width: 171  |  Height: 90  |  Size: 12 KiB

BIN
pages_order/static/card/diamond.png View File

Before After
Width: 870  |  Height: 387  |  Size: 92 KiB

BIN
pages_order/static/card/gold-min.png View File

Before After
Width: 180  |  Height: 99  |  Size: 11 KiB

BIN
pages_order/static/card/gold.png View File

Before After
Width: 870  |  Height: 417  |  Size: 104 KiB

BIN
pages_order/static/card/profilePhoto.png View File

Before After
Width: 75  |  Height: 75  |  Size: 12 KiB

BIN
pages_order/static/card/silver.png View File

Before After
Width: 870  |  Height: 414  |  Size: 92 KiB

BIN
pages_order/static/card/sliver-min.png View File

Before After
Width: 191  |  Height: 87  |  Size: 8.9 KiB

BIN
pages_order/static/memberCenter/equity.png View File

Before After
Width: 318  |  Height: 48  |  Size: 6.5 KiB

BIN
pages_order/static/order/icon.png View File

Before After
Width: 82  |  Height: 82  |  Size: 3.0 KiB

BIN
pages_order/static/product/like.png View File

Before After
Width: 25  |  Height: 22  |  Size: 1.1 KiB

BIN
pages_order/static/withdraw/cz.png View File

Before After
Width: 1068  |  Height: 480  |  Size: 184 KiB

BIN
static/image/category/diamond-price.png View File

Before After
Width: 99  |  Height: 36  |  Size: 2.9 KiB

BIN
static/image/category/gold-card-price.png View File

Before After
Width: 99  |  Height: 36  |  Size: 2.9 KiB

BIN
static/image/category/silver-card-price.png View File

Before After
Width: 99  |  Height: 36  |  Size: 2.9 KiB

BIN
static/image/home/0.png View File

Before After
Width: 200  |  Height: 200  |  Size: 21 KiB

BIN
static/image/home/1.png View File

Before After
Width: 200  |  Height: 200  |  Size: 25 KiB

BIN
static/image/home/10.png View File

Before After
Width: 720  |  Height: 720  |  Size: 32 KiB

BIN
static/image/home/2.png View File

Before After
Width: 200  |  Height: 200  |  Size: 13 KiB

BIN
static/image/home/3.png View File

Before After
Width: 200  |  Height: 200  |  Size: 18 KiB

BIN
static/image/home/4.png View File

Before After
Width: 200  |  Height: 200  |  Size: 19 KiB

BIN
static/image/home/5.png View File

Before After
Width: 200  |  Height: 200  |  Size: 14 KiB

BIN
static/image/home/6.png View File

Before After
Width: 200  |  Height: 200  |  Size: 16 KiB

BIN
static/image/home/7.png View File

Before After
Width: 200  |  Height: 200  |  Size: 26 KiB

BIN
static/image/home/8.png View File

Before After
Width: 1420  |  Height: 234  |  Size: 57 KiB

BIN
static/image/home/9.png View File

Before After
Width: 272  |  Height: 272  |  Size: 101 KiB

BIN
static/image/home/logo.png View File

Before After
Width: 2240  |  Height: 436  |  Size: 45 KiB

Loading…
Cancel
Save