diff --git a/src/pages/index/index.less b/src/pages/index/index.less index 59babf1..aa3df80 100644 --- a/src/pages/index/index.less +++ b/src/pages/index/index.less @@ -516,7 +516,44 @@ page { border-radius: 30rpx; background: #fff; } - +.MembraneCloth { + position: relative; + width: 670rpx; + height: 840rpx; + border-radius: 30rpx; + background: #fff; + .btn1 { + font-style: normal; + width: 270rpx; + height: 90rpx; + line-height: 90rpx; + background: #000000; + text-align: center; + border-radius: 45rpx; + font-size: 32rpx; + font-weight: bold; + margin-top: 55rpx; + color: #ffffff; + } + .center{ + height: 70%; + background-color: red; + .list{ + width: 100%; + height: 117rpx; + background-color: #41a9fc; + border-bottom: 2rpx solid black; + display: flex; + } + } +} +.MembraneCloth .title { + font-weight: bold; + text-align: center; + font-size: 36rpx; + color: #030000; + padding-top: 39rpx; +} .popbox .title { font-weight: bold; text-align: center; diff --git a/src/pages/index/index.tsx b/src/pages/index/index.tsx index 2857db3..cb1e1e1 100644 --- a/src/pages/index/index.tsx +++ b/src/pages/index/index.tsx @@ -13,7 +13,7 @@ import { RichText, PageMeta, } from "@tarojs/components"; -import { Popup } from "@antmjs/vantui"; +import { Popup,Radio } from "@antmjs/vantui"; /*** redux ***/ import { connect } from "react-redux"; import { userRefresh, tokenRefresh } from "@/store/features/userInfo"; @@ -83,8 +83,24 @@ class Index extends Component { userinfo: { mobile: Taro.getStorageSync("mobile"), }, - - list: [], + // 膜布列表 + MembraneClothList:[ { + name:'mox名字' + }, + { + name:'mox名字' + }, + { + name:'mox名字' + }, { + name:'mox名字' + }, { + name:'mox名字' + },], + checkedMembraneCloth:'', + list: [ + + ], params: "", messageCount: Taro.getStorageSync("messageCount") || 0, offlineDialogType: 1, //1离线弹窗 2升级弹窗 @@ -1092,6 +1108,7 @@ class Index extends Component { show, isCommonError, commonErrorText, + MembraneClothList, calendarComplete, calendarInComplete, currentDate, @@ -1457,6 +1474,32 @@ class Index extends Component { 你已绑定所有设备 + + + + 膜布选择 + + {MembraneClothList.map((item, index) => { + return ( + + {item.name} + + + ); + })} + + + + 确认 + + + + + + {/* */} {/*