123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <style lang='less' scoped>
- page {
- height: 100%;
- background: #ebf5fa;
- }
- .operating {
- padding-top: 244rpx;
- padding-left: 56rpx;
- padding-right: 56rpx;
- height: 600rpx;
- background: linear-gradient(
- 180deg,
- rgba(61, 203, 204, 0.2) 0%,
- rgba(61, 203, 204, 0) 100.34%
- );
- .each-row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- .each-box {
- .title {
- font-family: PingFang SC;
- font-size: 36rpx;
- font-weight: 600;
- line-height: 56rpx;
- color: #1b2129;
- }
- .text {
- width: 416rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- font-family: PingFang SC;
- font-size: 26rpx;
- font-weight: 400;
- line-height: 40rpx;
- color: #626c78;
- }
- }
- .each-img {
- width: 94px;
- height: 78px;
- border-radius: 12px;
- }
- }
- .divider {
- border-top: 1px solid #c4c9cf4d;
- margin-top: 48rpx;
- margin-bottom: 48rpx;
- }
- }
- </style>
- <!-- 操作指引 -->
- <template>
- <page-top-bar
- title="操作指引"
- titleColor="#1B2129"
- icon="{{h5Static+'/page-top-bar/return-icon.svg'}}"
- ></page-top-bar>
- <div class="operating">
- <div
- v-for="(item,idx) in arr"
- :key="item.title"
- >
- <div class="each-row">
- <div class="each-box">
- <div class="title">{{item.title}}</div>
- <div class="text">{{item.text}}</div>
- </div>
- <image
- class="each-img"
- src="{{h5StaticPath}}/{{ item.img }}"
- />
- </div>
- <div class="divider" v-if="idx != arr.length-1"> </div>
- </div>
- </div>
- </template>
- <script>
- import wepy from '@wepy/core'
- import config from '@/config'
- wepy.page({
- props: {},
- data: {
- h5Static: config.h5StaticPath,
- h5StaticPath: config.h5StaticPath + '/page-personalCenter',
- arr: [
- { title: '如何置常驻工区?', text: '设定后将在首页置顶显示,方便调节', img: 'operation-work.png', url: '' },
- { title: '如何获取碳积分?', text: '这是一句解释,这是一句解释', img: 'operation-carbon.png', url: '' },
- { title: '如何预约加时?', text: '这是一句解释,这是一句解释', img: 'operation-time.png', url: '' }
- ]
- },
- computed: {},
- methods: {
- },
- // 生命周期 - 创建完成(可以访问当前this实例)
- created() {
- },
- // 生命周期 - 挂载完成(可以访问DOM元素)
- mounted() {
- }
- })
- </script>
- <config>
- {
- navigationStyle:"custom",
- backgroundColor: '#EBF5FA',
- usingComponents: {
- 'page-top-bar': '~@/components/common/page-top-bar',
- 'footer':'./footer'
- }
- }
- </config>
|