| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748 | 
							- <template>
 
-   <view class="container">
 
-     <view v-if="!menushow" class="main">
 
-       <view class="u-page">
 
-         <u-list :class="{ empty: curlist.length === 0 }">
 
-           <template v-if="curlist.length > 0">
 
-             <u-list-item
 
-               class="itemback"
 
-               v-for="(item, index) in curlist"
 
-               :key="index"
 
-             >
 
-               <div @tap="openNewPage(item)">
 
-                 <u-row gutter="5" customStyle="margin-bottom: 10px">
 
-                   <u-col span="24">
 
-                     <image
 
-                       style="position: absolute; width: 18px; height: 18px"
 
-                       class="icon"
 
-                       :src="getIcon(TabCur)"
 
-                       alt="Icon"
 
-                     />
 
-                     <span class="title">{{ item.strinstallpos }}</span>
 
-                   </u-col>
 
-                 </u-row>
 
-                 <u-row gutter="5" customStyle="margin-bottom: 10px">
 
-                   <u-col span="3" style="margin-right: 5rpx">
 
-                     <div v-if="item.netStatus == 0" class="error-tag1">
 
-                       <image
 
-                         src="/static/model/connectFalse.svg"
 
-                         alt=""
 
-                         class="icon-style"
 
-                       />
 
-                       <span style="float: right">断开</span>
 
-                     </div>
 
-                     <div v-else class="success-tag">
 
-                       <image
 
-                         src="/static/model/connectTrue.svg"
 
-                         alt=""
 
-                         class="icon-style"
 
-                       />
 
-                       <span style="float: right">连接</span>
 
-                     </div>
 
-                   </u-col>
 
-                   <u-col span="6">
 
-                     <div v-if="item.warnFlag == 0" class="success-tag">
 
-                       <image
 
-                         src="/static/model/alarmTrue.svg"
 
-                         alt=""
 
-                         class="icon-style"
 
-                       />
 
-                       <span style="float: right">正常</span>
 
-                     </div>
 
-                     <div v-else class="error-tag">
 
-                       <image
 
-                         src="/static/model/alarmFalse.svg"
 
-                         alt=""
 
-                         class="icon-style"
 
-                       />
 
-                       <span style="float: right; text-overflow: ellipsis">{{
 
-                         item.warnDes
 
-                       }}</span>
 
-                     </div>
 
-                   </u-col>
 
-                   <u-col span="3">
 
-                     <u--text class="timetext" :text="item.readTime"></u--text>
 
-                   </u-col>
 
-                 </u-row>
 
-                 <view v-if="TabCur != 'fanmain' && TabCur != 'fanlocal'">
 
-                   <view
 
-                     class="datacard"
 
-                     v-for="(showitem, index) in deviceShowList"
 
-                     :key="index"
 
-                     v-show="
 
-                       showitem.appShow == 1 &&
 
-                       showitem.monitorcode != 'strinstallpos' &&
 
-                       showitem.monitorcode != 'netStatus' &&
 
-                       showitem.monitorcode != 'warnFlag' &&
 
-                       showitem.monitorcode != 'readTime' &&
 
-                       showitem.monitorcode != ''
 
-                     "
 
-                   >
 
-                     <view
 
-                       :class="TabCur"
 
-                       style="
 
-                         padding-top: 10rpx;
 
-                         padding-bottom: 10rpx;
 
-                         display: flex;
 
-                         flex-direction: column;
 
-                         align-items: center;
 
-                         height: 100%;
 
-                       "
 
-                     >
 
-                       <view
 
-                         v-if="
 
-                           showitem.datatype == 1 &&
 
-                           showitem.monitorcode == 'doorUse'
 
-                         "
 
-                         class="demo-layout bg-purple-light"
 
-                         style="
 
-                           margin-top: 10rpx;
 
-                           color: #3787fe;
 
-                           font-size: 30rpx;
 
-                           margin-top: 20rpx;
 
-                         "
 
-                       >
 
-                         {{
 
-                           item[showitem.monitorcode] == "2"
 
-                             ? "行人"
 
-                             : item[showitem.monitorcode] == "1"
 
-                             ? "行车"
 
-                             : "-"
 
-                         }}
 
-                       </view>
 
-                       <view
 
-                         v-else-if="showitem.datatype == 1"
 
-                         class="demo-layout bg-purple-light"
 
-                         style="
 
-                           margin-top: 10rpx;
 
-                           color: #3787fe;
 
-                           font-size: 30rpx;
 
-                           margin-top: 20rpx;
 
-                         "
 
-                       >
 
-                         {{
 
-                           item[showitem.monitorcode] == null ||
 
-                           item[showitem.monitorcode] == ""
 
-                             ? "-"
 
-                             : item[showitem.monitorcode]
 
-                         }}
 
-                       </view>
 
-                       <view
 
-                         v-else-if="showitem.datatype == 2"
 
-                         class="demo-layout bg-purple-light"
 
-                         style="
 
-                           color: #3787fe;
 
-                           font-size: 30rpx;
 
-                           margin-top: 20rpx;
 
-                         "
 
-                       >
 
-                         {{
 
-                           item.readData[showitem.monitorcode] == null ||
 
-                           item.readData[showitem.monitorcode] == ""
 
-                             ? "-"
 
-                             : item.readData[showitem.monitorcode]
 
-                         }}
 
-                       </view>
 
-                       <view
 
-                         class="demo-layout bg-purple-light"
 
-                         style="
 
-                           margin-top: 20rpx;
 
-                           color: #677799;
 
-                           margin-top: 20rpx;
 
-                         "
 
-                       >
 
-                         {{ showitem.des }}
 
-                       </view>
 
-                     </view>
 
-                   </view>
 
-                 </view>
 
-                 <div class="fanContent" v-else>
 
-                   <div class="top">
 
-                     <view>主机</view>
 
-                     <view
 
-                       class="datacard"
 
-                       v-for="(showitem, index) in deviceShowList"
 
-                       :key="index"
 
-                       v-show="
 
-                         showitem.appShow == 1 &&
 
-                         showitem.monitorcode != 'strinstallpos' &&
 
-                         showitem.monitorcode != 'netStatus' &&
 
-                         showitem.monitorcode != 'warnFlag' &&
 
-                         showitem.monitorcode != 'readTime' &&
 
-                         showitem.monitorcode != ''
 
-                       "
 
-                     >
 
-                       <view
 
-                         :class="TabCur"
 
-                         style="
 
-                           padding-top: 10rpx;
 
-                           padding-bottom: 10rpx;
 
-                           display: flex;
 
-                           flex-direction: column;
 
-                           align-items: center;
 
-                           height: 100%;
 
-                         "
 
-                       >
 
-                         <view
 
-                           v-if="
 
-                             showitem.datatype == 1 &&
 
-                             showitem.monitorcode == 'doorUse'
 
-                           "
 
-                           class="demo-layout bg-purple-light"
 
-                           style="
 
-                             margin-top: 10rpx;
 
-                             color: #3787fe;
 
-                             font-size: 30rpx;
 
-                             margin-top: 20rpx;
 
-                           "
 
-                         >
 
-                           {{
 
-                             item[showitem.monitorcode] == "2"
 
-                               ? "行人"
 
-                               : item[showitem.monitorcode] == "1"
 
-                               ? "行车"
 
-                               : "-"
 
-                           }}
 
-                         </view>
 
-                         <view
 
-                           v-else-if="showitem.datatype == 1"
 
-                           class="demo-layout bg-purple-light"
 
-                           style="
 
-                             margin-top: 10rpx;
 
-                             color: #3787fe;
 
-                             font-size: 30rpx;
 
-                             margin-top: 20rpx;
 
-                           "
 
-                         >
 
-                           {{
 
-                             item[
 
-                               showitem.monitorcode.startsWith("Fan")
 
-                                 ? showitem.monitorcode.replace(/^Fan/, "Fan1")
 
-                                 : showitem.monitorcode
 
-                             ] !== undefined &&
 
-                             item[
 
-                               showitem.monitorcode.startsWith("Fan")
 
-                                 ? showitem.monitorcode.replace(/^Fan/, "Fan1")
 
-                                 : showitem.monitorcode
 
-                             ] !== null
 
-                               ? item[
 
-                                   showitem.monitorcode.startsWith("Fan")
 
-                                     ? showitem.monitorcode.replace(
 
-                                         /^Fan/,
 
-                                         "Fan1"
 
-                                       )
 
-                                     : showitem.monitorcode
 
-                                 ]
 
-                               : "-"
 
-                           }}
 
-                         </view>
 
-                         <view
 
-                           v-else-if="showitem.datatype == 2"
 
-                           class="demo-layout bg-purple-light"
 
-                           style="
 
-                             color: #3787fe;
 
-                             font-size: 30rpx;
 
-                             margin-top: 20rpx;
 
-                           "
 
-                         >
 
-                           {{
 
-                             item.readData[
 
-                               showitem.monitorcode.startsWith("Fan")
 
-                                 ? showitem.monitorcode.replace(/^Fan/, "Fan1")
 
-                                 : showitem.monitorcode
 
-                             ] !== undefined &&
 
-                             item.readData[
 
-                               showitem.monitorcode.startsWith("Fan")
 
-                                 ? showitem.monitorcode.replace(/^Fan/, "Fan1")
 
-                                 : showitem.monitorcode
 
-                             ] !== null
 
-                               ? item.readData[
 
-                                   showitem.monitorcode.startsWith("Fan")
 
-                                     ? showitem.monitorcode.replace(
 
-                                         /^Fan/,
 
-                                         "Fan1"
 
-                                       )
 
-                                     : showitem.monitorcode
 
-                                 ]
 
-                               : "-"
 
-                           }}
 
-                         </view>
 
-                         <view
 
-                           class="demo-layout bg-purple-light"
 
-                           style="
 
-                             margin-top: 20rpx;
 
-                             color: #677799;
 
-                             margin-top: 20rpx;
 
-                           "
 
-                         >
 
-                           {{ showitem.des }}
 
-                         </view>
 
-                       </view>
 
-                     </view>
 
-                   </div>
 
-                   <div class="bottom">
 
-                     <view>备机</view>
 
-                     <view
 
-                       class="datacard"
 
-                       v-for="(showitem, index) in deviceShowList"
 
-                       :key="index"
 
-                       v-show="
 
-                         showitem.appShow == 1 &&
 
-                         showitem.monitorcode != 'strinstallpos' &&
 
-                         showitem.monitorcode != 'netStatus' &&
 
-                         showitem.monitorcode != 'warnFlag' &&
 
-                         showitem.monitorcode != 'readTime' &&
 
-                         showitem.monitorcode != ''
 
-                       "
 
-                     >
 
-                       <view
 
-                         :class="TabCur"
 
-                         style="
 
-                           padding-top: 10rpx;
 
-                           padding-bottom: 10rpx;
 
-                           display: flex;
 
-                           flex-direction: column;
 
-                           align-items: center;
 
-                           height: 100%;
 
-                         "
 
-                       >
 
-                         <view
 
-                           v-if="
 
-                             showitem.datatype == 1 &&
 
-                             showitem.monitorcode == 'doorUse'
 
-                           "
 
-                           class="demo-layout bg-purple-light"
 
-                           style="
 
-                             margin-top: 10rpx;
 
-                             color: #3787fe;
 
-                             font-size: 30rpx;
 
-                             margin-top: 20rpx;
 
-                           "
 
-                         >
 
-                           {{
 
-                             item[showitem.monitorcode] == "2"
 
-                               ? "行人"
 
-                               : item[showitem.monitorcode] == "1"
 
-                               ? "行车"
 
-                               : "-"
 
-                           }}
 
-                         </view>
 
-                         <view
 
-                           v-else-if="showitem.datatype == 1"
 
-                           class="demo-layout bg-purple-light"
 
-                           style="
 
-                             margin-top: 10rpx;
 
-                             color: #3787fe;
 
-                             font-size: 30rpx;
 
-                             margin-top: 20rpx;
 
-                           "
 
-                         >
 
-                           {{
 
-                             item[
 
-                               showitem.monitorcode.startsWith("Fan")
 
-                                 ? showitem.monitorcode.replace(/^Fan/, "Fan2")
 
-                                 : showitem.monitorcode
 
-                             ] !== undefined &&
 
-                             item[
 
-                               showitem.monitorcode.startsWith("Fan")
 
-                                 ? showitem.monitorcode.replace(/^Fan/, "Fan2")
 
-                                 : showitem.monitorcode
 
-                             ] !== null
 
-                               ? item[
 
-                                   showitem.monitorcode.startsWith("Fan")
 
-                                     ? showitem.monitorcode.replace(
 
-                                         /^Fan/,
 
-                                         "Fan2"
 
-                                       )
 
-                                     : showitem.monitorcode
 
-                                 ]
 
-                               : "-"
 
-                           }}
 
-                         </view>
 
-                         <view
 
-                           v-else-if="showitem.datatype == 2"
 
-                           class="demo-layout bg-purple-light"
 
-                           style="
 
-                             color: #3787fe;
 
-                             font-size: 30rpx;
 
-                             margin-top: 20rpx;
 
-                           "
 
-                         >
 
-                           {{
 
-                             item.readData[
 
-                               showitem.monitorcode.startsWith("Fan")
 
-                                 ? showitem.monitorcode.replace(/^Fan/, "Fan2")
 
-                                 : showitem.monitorcode
 
-                             ] !== undefined &&
 
-                             item.readData[
 
-                               showitem.monitorcode.startsWith("Fan")
 
-                                 ? showitem.monitorcode.replace(/^Fan/, "Fan2")
 
-                                 : showitem.monitorcode
 
-                             ] !== null
 
-                               ? item.readData[
 
-                                   showitem.monitorcode.startsWith("Fan")
 
-                                     ? showitem.monitorcode.replace(
 
-                                         /^Fan/,
 
-                                         "Fan2"
 
-                                       )
 
-                                     : showitem.monitorcode
 
-                                 ]
 
-                               : "-"
 
-                           }}
 
-                         </view>
 
-                         <view
 
-                           class="demo-layout bg-purple-light"
 
-                           style="
 
-                             margin-top: 20rpx;
 
-                             color: #677799;
 
-                             margin-top: 20rpx;
 
-                           "
 
-                         >
 
-                           {{ showitem.des }}
 
-                         </view>
 
-                       </view>
 
-                     </view>
 
-                   </div>
 
-                 </div>
 
-               </div>
 
-             </u-list-item>
 
-           </template>
 
-           <template v-else>
 
-             <div class="empty-message">数据为空</div>
 
-           </template>
 
-         </u-list>
 
-       </view>
 
-     </view>
 
-   </view>
 
- </template>
 
- <script>
 
- import api from "@/api/api";
 
- import { computed } from "vue";
 
- export default {
 
-   data() {
 
-     return {
 
-       menushow: false,
 
-       TabCur: "gate",
 
-       curlist: [],
 
-       deviceList: {},
 
-       colums: {},
 
-       typeList: [], //详情页展示数据
 
-       deviceShowList: [], //设备展示字段
 
-     };
 
-   },
 
-   props: ["showColum", "deviceType"],
 
-   watch: {
 
-     showColum(data) {
 
-       this.colums = data;
 
-     },
 
-     deviceType: {
 
-       async handler(data) {
 
-         if (data) {
 
-           this.TabCur = data;
 
-           this.curlist = this.deviceList[this.TabCur];
 
-           if (this.curlist == null) {
 
-             this.curlist = [];
 
-           }
 
-           // 选择设备分类,重新获取数据
 
-           await this.loadData(this.TabCur);
 
-           this.$emit("setMenushow", {
 
-             menushow: false,
 
-           });
 
-         }
 
-       },
 
-       immediate: true,
 
-     },
 
-   },
 
-   created() {
 
-     this.colums = this.showColum;
 
-     const key = this.TabCur + "_monitor";
 
-     this.deviceShowList = this.colums[key];
 
-   },
 
-   async mounted() {
 
-     await this.loadData(this.TabCur);
 
-     this.startTimer();
 
-   },
 
-   methods: {
 
-     startTimer() {
 
-       // 每隔一段时间执行某个操作
 
-       this.timer = setInterval(async () => {
 
-         // 执行定时任务
 
-         await this.loadData(this.deviceType);
 
-         console.log("定时任务执行中...");
 
-       }, 5000);
 
-     },
 
-     stopTimer() {
 
-       // 停止定时器
 
-       clearInterval(this.timer);
 
-     },
 
-     getIcon(itemValue) {
 
-       // 根据itemValue获取对应的图标路径,如果找不到对应关系则返回默认图标
 
-       return "/static/sidebar/" + itemValue + ".svg";
 
-     },
 
-     getValueIcon(itemValue) {
 
-       // 根据itemValue获取对应的图标路径,如果找不到对应关系则返回默认图标
 
-       return "/static/sidebar/" + itemValue + ".svg";
 
-     },
 
-     loadData(type) {
 
-       return new Promise((resolve, reject) => {
 
-         api
 
-           .getDeviceMonitor({
 
-             devicetype: type,
 
-             pagetype: "normal",
 
-           })
 
-           .then((response) => {
 
-             if (response.data.code == 200) {
 
-               this.deviceList[type] = response.data.result.msgTxt[0].datalist;
 
-               this.curlist = this.deviceList[type];
 
-               this.curlist.forEach((item) => {
 
-                 if (item.readData.frontGateOpen == 1) {
 
-                   item.readData.frontGateOpen = "打开";
 
-                 } else {
 
-                   item.readData.frontGateOpen = "关闭";
 
-                 }
 
-                 if (item.readData.midGateOpen == 1) {
 
-                   item.readData.midGateOpen = "打开";
 
-                 } else {
 
-                   item.readData.midGateOpen = "关闭";
 
-                 }
 
-                 if (item.readData.rearGateOpen == 1) {
 
-                   item.readData.rearGateOpen = "打开";
 
-                 } else {
 
-                   item.readData.rearGateOpen = "关闭";
 
-                 }
 
-                 if (item.readData.midGateOpen == 1) {
 
-                   item.readData.midGateOpen = "打开";
 
-                 } else {
 
-                   item.readData.midGateOpen = "关闭";
 
-                 }
 
-               });
 
-             } else {
 
-               resolve(response);
 
-             }
 
-           })
 
-           .catch((error) => {
 
-             console.log("catch===>response", response);
 
-             reject(error);
 
-           });
 
-       });
 
-     },
 
-     devicemenuShow(e) {
 
-       this.menushow = !this.menushow;
 
-     },
 
-     //获取app展示字段数据
 
-     getShowList(type) {
 
-       const params = {
 
-         devicekind: type,
 
-         pagetype: "detail",
 
-         pageNo: 1,
 
-         pageSize: 100,
 
-       };
 
-       return new Promise((resolve, reject) => {
 
-         api
 
-           .getShowColumList(params)
 
-           .then((response) => {
 
-             if (response.data.code == 200) {
 
-               this.typeList = response.data.result.records;
 
-               resolve(response);
 
-             } else {
 
-               resolve(response);
 
-             }
 
-           })
 
-           .catch((error) => {
 
-             reject(error);
 
-           });
 
-       });
 
-     },
 
-     openNewPage(params) {
 
-       const reqData = {
 
-         id: params.deviceID,
 
-         name: params.strinstallpos,
 
-         type: this.TabCur,
 
-       };
 
-       const reqparams = uni.$u.queryParams(reqData);
 
-       this.getShowList(this.TabCur).then(() => {
 
-         if (this.typeList.length > 0) {
 
-           this.$destroy();
 
-           uni.navigateTo({
 
-             url: `/pages/home/detail/autodoor/autodoor${reqparams}`,
 
-           });
 
-         }
 
-       });
 
-       //   this.$destroy();
 
-       //   uni.navigateTo({
 
-       //     url: `/pages/home/detail/autodoor/autodoor?id=${params.deviceID}&name=${params.strinstallpos}&type=${this.TabCur}`,
 
-       //   });
 
-       // },
 
-     },
 
-   },
 
-   destroyed() {
 
-     // 停止定时器
 
-     this.stopTimer();
 
-   },
 
- };
 
- </script>
 
- <style>
 
- .empty {
 
-   background: url("/static/empty.png") no-repeat;
 
-   background-size: 100% 50%;
 
- }
 
- .empty-message {
 
-   display: flex;
 
-   justify-content: center;
 
-   align-items: center;
 
-   font-size: 16px;
 
-   line-height: 80vh;
 
-   color: #333;
 
- }
 
- >>> .u-navbar--fixed {
 
-   /* margin-top: 20px; */
 
- }
 
- .main {
 
-   /* margin-top: 100rpx; */
 
-   display: flex;
 
-   flex-direction: column;
 
- }
 
- .card {
 
-   background-color: #ffffff;
 
-   margin: auto;
 
-   margin-top: 20rpx;
 
-   width: 10%;
 
-   height: 280rpx;
 
-   border: 1rpx solid #000000;
 
-   border-radius: 20rpx;
 
- }
 
- .menupage {
 
-   position: absolute;
 
-   z-index: 2;
 
-   width: 100%;
 
- }
 
- .timetext {
 
-   text-align: right;
 
-   float: right;
 
- }
 
- .itemback {
 
-   padding: 20rpx;
 
-   background-color: #ffffff;
 
-   margin-bottom: 5rpx;
 
- }
 
- .fanContent {
 
-   display: flex;
 
-   flex-direction: column;
 
-   margin-top: 10rpx;
 
-   margin-bottom: 10rpx;
 
- }
 
- .top,
 
- .bottom {
 
-   flex: 1; /* 各占 50% */
 
- }
 
- .datacard .content {
 
-   width: 30rpx;
 
-   height: 30rpx;
 
-   left: 0rpx;
 
-   top: 0rpx;
 
-   position: absolute;
 
- }
 
- .datacard {
 
-   border-radius: 10rpx;
 
-   border: rgba(55, 135, 254, 0.28);
 
-   width: 30%;
 
-   margin: 1%;
 
-   float: left;
 
-   height: 190rpx;
 
-   text-align: center;
 
-   background: linear-gradient(
 
-     to right,
 
-     rgba(55, 135, 254, 0.08),
 
-     rgba(4, 184, 255, 0.08),
 
-     rgba(60, 161, 237, 0.08)
 
-   );
 
- }
 
- .datacard .gate {
 
-   background: linear-gradient(
 
-     to right,
 
-     rgba(75, 135, 254, 0.08),
 
-     rgba(24, 184, 255, 0.08),
 
-     rgba(80, 161, 237, 0.08)
 
-   );
 
- }
 
- .datacard .window {
 
-   background: linear-gradient(
 
-     to right,
 
-     rgba(55, 125, 254, 0.08),
 
-     rgba(4, 164, 255, 0.08),
 
-     rgba(60, 131, 237, 0.08)
 
-   );
 
- }
 
- .datacard .windrect {
 
-   background: linear-gradient(
 
-     to right,
 
-     rgba(85, 125, 254, 0.08),
 
-     rgba(34, 164, 255, 0.08),
 
-     rgba(90, 131, 237, 0.08)
 
-   );
 
- }
 
- .error-tag {
 
-   border-radius: 10%;
 
-   display: inline-block;
 
-   color: #e90000;
 
-   line-height: 50rpx;
 
-   font-size: 14px;
 
-   text-align: center;
 
-   width: 240rpx;
 
-   height: 50rpx;
 
-   padding-right: 30rpx;
 
-   background-color: rgba(233, 0, 0, 0.2);
 
- }
 
- .error-tag1 {
 
-   border-radius: 10%;
 
-   display: inline-block;
 
-   color: #696969;
 
-   line-height: 50rpx;
 
-   font-size: 14px;
 
-   text-align: center;
 
-   margin-top: 10rpx;
 
-   width: 120rpx;
 
-   height: 50rpx;
 
-   background-color: rgba(105, 105, 105, 0.2);
 
- }
 
- .success-tag {
 
-   border-radius: 10%;
 
-   color: #42c000;
 
-   line-height: 25px;
 
-   font-size: 14px;
 
-   width: 60px;
 
-   height: 26px;
 
-   padding-right: 15px;
 
-   background-color: rgba(226, 250, 214);
 
- }
 
- .icon-style {
 
-   margin: 7px;
 
-   width: 14px;
 
-   height: 14px;
 
- }
 
- .title {
 
-   margin-left: 40rpx;
 
-   float: left;
 
-   font-size: 28rpx;
 
-   font-weight: 400;
 
- }
 
- </style>
 
 
  |