|
- <template>
- <view class="help-box">
- <view class="top-box">
- <view class="title">{{questions.name}}</view>
- <view class="date">{{questions.date}}</view>
- <view class="answer">{{questions.answer}}</view>
- </view>
- </view>
- </template>
-
- <script>
- let domain = require("@/utils/domain")
- export default {
- data() {
- return {
- questions:{
- name: '如何查看设备是否有电',
- date: '2020-05-07 12:24:20',
- answer: '1、打开小程序查看设备管理查看设备电量;2、通过PC设备监控查看设备电量。'
- },
- };
- },
- onShow() {
- },
- methods: {
- },
- }
- </script>
-
- <style lang="scss">
- .help-box{
- width: 100%;
- min-height: 100vh;
- overflow: hidden;
- background: #F8F8F8;
- padding-top: 20rpx;
- display: flex;
- flex-direction: column;
- .top-box{
- flex: 1;
- background: #fff;
- padding: 30rpx;
- .title{
- height: 45rpx;
- font-size: 32rpx;
- font-family: PingFangSC-Semibold, PingFang SC;
- font-weight: 600;
- color: #333333;
- line-height: 45rpx;
- margin-bottom: 16rpx;
- }
- .date{
- height: 32rpx;
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #303030;
- line-height: 32rpx;
- margin-bottom: 24rpx;
- }
- .answer{
- font-size: 30rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 46rpx;
- }
- }
-
- }
-
- </style>
|