diff --git a/components/detail-basis/detail-basis.js b/components/detail-basis/detail-basis.js index d0e67b4..3cc4b17 100644 --- a/components/detail-basis/detail-basis.js +++ b/components/detail-basis/detail-basis.js @@ -1,5 +1,8 @@ // components/detail-basis/datail-basis.js Component({ + options: { + addGlobalClass: true + }, /** * 组件的属性列表 */ diff --git a/components/detail-basis/detail-basis.wxml b/components/detail-basis/detail-basis.wxml index c9ca859..6a1347c 100644 --- a/components/detail-basis/detail-basis.wxml +++ b/components/detail-basis/detail-basis.wxml @@ -1,2 +1,91 @@ -components/detail-basis/datail-basis.wxml + + 产品定价 + + + 住宅定价: + + 元/m + + + 商业定价: + + 元/m + + + 商务定价: + + 元/m + + + 车位定价: + + 元/m + + + + + + 指标定义 + + + 车配配比: + + 个/100m + + + 单车指标: + + 个/m + + + 车位可售: + + % + + + 单方成本: + + 元/m + + + + + + 系统默认值 + + + 商业配比: + + % + + + 商务配比: + + % + + + + + + 三费费率 + + + 管理费率: + + % + + + 销售费率: + + % + + + 财务费率: + + % + + + + + diff --git a/components/detail-basis/detail-basis.wxss b/components/detail-basis/detail-basis.wxss index 336cf7b..94a72b3 100644 --- a/components/detail-basis/detail-basis.wxss +++ b/components/detail-basis/detail-basis.wxss @@ -1 +1,40 @@ -/* components/detail-basis/datail-basis.wxss */ \ No newline at end of file +/* components/detail-basis/datail-basis.wxss */ +.table-box{ + padding: 20rpx; + min-height: 192rpx; + box-sizing: border-box; +} +.table-title { + line-height: 50rpx; +} +.table-form { + display: flex; + justify-content: space-between; + flex-wrap: wrap; +} + +.form-input { + width: 90rpx; + min-height: 34rpx; + height: 34rpx; + background: #FFFFFF; + border: 1px solid #838B99; + border-radius: 4rpx; + text-align: center; +} + +.input-back{ + background-color: #DEE5F0; +} + +.form-item { + display: flex; + align-items: center; + padding-top: 14rpx; + font-size: 26rpx; + color: #838B99; +} + +.unit { + text-indent: 8rpx; +} \ No newline at end of file diff --git a/pages/look-detail/look-detail.js b/pages/look-detail/look-detail.js index f0e9f4e..f7e6910 100644 --- a/pages/look-detail/look-detail.js +++ b/pages/look-detail/look-detail.js @@ -5,10 +5,10 @@ Page({ * 页面的初始数据 */ data: { - state: true, + state: false, tabList: [{id:1,name:'公告信息'},{id:2,name:'成交信息'},{id:3,name:'呈现项目'}], sedTabList: [{id:4,name:'基础测算'},{id:5,name:'高级测算'}], - active: 2, + active: 4, markShow: false, annoutInfo:{}, clinchInfo: { diff --git a/utils/api.js b/utils/api.js index dc210e0..099e90e 100644 --- a/utils/api.js +++ b/utils/api.js @@ -35,7 +35,7 @@ const API = { getOpenid: (data) => request(GET, `oauth/token?grant_type=password&username=${data.admin}&password=${data.password}`), getUserAuth: (data) => request(POST, `social/token?code=MINI@${data}`,'',false), registerBind: (data) => request(POST, `social/register-bind`, data,false), - getUserInfo: () => request(GET, `user/info`), + getUserInfo: () => request(GET, `user/info`), //获取用户信息 }; module.exports = { API: API