发布第一版

This commit is contained in:
高健 2021-09-06 09:18:46 +08:00
parent b8cc34ad4b
commit 8ac5111337
7 changed files with 43 additions and 21 deletions

View File

@ -5,7 +5,7 @@
<view class="content-box">
<view>
<view class="money">
<text style="font-size: 40rpx;line-height: 20rpx;">¥</text>
<text style="font-size: 80rpx;line-height: 80rpx;">¥</text>
<text
style="font-size: 80rpx;line-height: 80rpx;margin-left: 15rpx;">{{accountInfo.accountMoney/100}}</text>
</view>
@ -13,11 +13,13 @@
</view>
</view>
<view class="cash-box">
<view class="title">提现金额</view>
<view class="title-box">
<view class="title">提现金额</view>
<view catchtap="takeAll">全部提现</view>
</view>
<view class="input-box">
<text style="line-height: 1.4rem;text-align: center;">¥</text>
<text style="text-align: center;">¥</text>
<input type="digit" value="{{takeValue}}" bindinput="inputWatch" />
<view style="width: 25%;" catchtap="takeAll">全部提现</view>
</view>
</view>
<text class="cuIcon-edit text-white" style="font-size: 60rpx;position: absolute;top: 150rpx;right: 30rpx;"

View File

@ -24,12 +24,11 @@
padding: 15rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
justify-content: space-around;
align-items: flex-start;
width: 90%;
background-color: #fff;
border-radius: 15rpx;
min-height: 200rpx;
position: absolute;
top: 450rpx;
box-shadow: 0 4rpx 8rpx 0 #DFDBDB, 0 6rpx 20rpx 0 #DFDBDB;
@ -45,9 +44,21 @@
flex-direction: row;
align-items: center;
justify-content: space-between;
font-size: 80rpx;
}
.input-box input {
padding-left: 15rpx;
width: 100%;
text-align: center;
line-height: 80rpx;
height: 80rpx;
}
.title-box {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
width: 100%;
font-size: 32rpx;
}

View File

@ -890,16 +890,16 @@ Page({
// 展示名片码
showBarCode: function () {
// TODO 测试
wx.navigateTo({
url: '/packagecard/moments/publish/momentpublish',
})
// this.setData({
// isNeedRefresh: false
// })
// var _self = this
// wx.navigateTo({
// url: '/packagecard/sharePage/cardcode?cardImg=' + _self.data.cardInfo.cardTemplateUsePhotoUrl + '&id=' + _self.data.cardInfo.cardTemplateUseBarcode,
// url: '/packagecard/moments/publish/momentpublish',
// })
this.setData({
isNeedRefresh: false
})
var _self = this
wx.navigateTo({
url: '/packagecard/sharePage/cardcode?cardImg=' + _self.data.cardInfo.cardTemplateUsePhotoUrl + '&id=' + _self.data.cardInfo.cardTemplateUseBarcode,
})
},
// 隐藏名片码
hideBarCode: function () {

View File

@ -101,7 +101,8 @@
<view class="text-28">钱包</view>
</view>
<view class="item">
<view class="price">¥{{accountInfo.accountMoney/100}}</view>
<view class="price">
¥{{accountInfo.accountMoney/100}}</view>
<view class="text-28">余额</view>
</view>
</view>

View File

@ -277,6 +277,13 @@ map,
.price {
font-size: 32rpx;
color: #000;
line-height: 64rpx;
height: 64rpx;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 180rpx;
}
.img-48 {

View File

@ -21,9 +21,9 @@
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"useMultiFrameRuntime": false,
"useApiHook": false,
"useApiHostProcess": false,
"babelSetting": {
"ignore": [],
"disablePlugins": [],

View File

@ -21,6 +21,7 @@ var apis = {
shopUrl: `https://www.tenlion.com.cn/systemcard/app/shoptemplateconfig/pagerelease/`,
// shopUrl: `http://192.168.0.115:8091/systemcard/app/shoptemplateconfig/pagerelease/`,
doSaveUserInfo: `app/miniapp/user/update-info`, //保存微信头像与名称
doUpdatePhone: `app/miniapp/update-phone`, //绑定手机号 token, {phone:''} put
doUploadImg: `app/file/uploadimage`, //上传图片
@ -114,13 +115,13 @@ var apis = {
getMomentsField: `app/configcolumndata/listfield/{configColumnId}`, //获取栏目字段列表
doDelMoment: `app/configcolumndata/delete/{configColumnId}/{uid}`, //删除栏目数据
getMomentsContent: `app/configcolumndata/get/{configColumnId}/{uid}`, //获取栏目数据
getMainColumn: `app/configcolumn/listhome`, //获取首页显示栏目
getMainColumn: `app/cardconfigcolumn/listhome`, //获取首页显示栏目
getColumnListByGroupId: `app/cardconfigcolumn/list`, //根据栏目组id获取栏目? configColumnGroupId
getMainMoment: `app/configcolumndata/list/{configColumnId}`, //获取首页栏目数据 通过栏目ID获取栏目下的数据列表(包含每条数据的字段集合) 传入userId参数则查询指定人的 , 没传入userId参数则查询当前token的
getMineColumnList: `app/configcolumnset/list`, //获取我的栏目配置列表
doSaveColumnDisplay: `app/configcolumnset/savedisplay`, //保存我的栏目隐藏显示
doSaveColumnName: `app/configcolumnset/savename`, //保存我的栏目名称
doOrderColumn: `app/configcolumnset/saveorder`, //保存栏目排序, post {configColumnId, configColumnOrder}
getColumnListByGroupId: `app/configcolumn/list`, //根据栏目组id获取栏目? configColumnGroupId
//评论 点赞 收藏
doSaveCollect: `app/contentcollect/save`, //保存取消收藏 businessId=xxx&projectId=poster
doSaveLike: `app/contentlike/save`, //保存取消点赞 ?businessId