12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <template>
- <view >
- <image src="../../static/bg.png" mode="" class="bg" ></image>
- <view class="" style="margin-left: 30rpx;padding-top: 44rpx;">
- <image src="../../static/index/goback.png" mode="" style="width: 64rpx;height: 64rpx;" @click="goback"></image>
- </view>
- <view class="content">
- <image :src="item.show_image" mode="" class="avr"></image>
- <view class="title">
- {{item.title}}
- </view>
- <view class="intro">
- 商家介绍
- </view>
- <view class="" v-html="item.content">
-
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- onLoad(e) {
- console.log(e.item)
- this.item=uni.getStorageSync('item')
- },
- data() {
- return {
- item:{}
- }
- },
- methods: {
- goback(){
- uni.navigateBack()
- }
- }
- }
- </script>
- <style lang="scss">
- .content{
- position: relative;
- box-sizing: border-box;
- padding: 20rpx;
- margin: 80rpx auto 0;
- width: 690rpx;
- min-height: 800rpx;
- background: #FFFFFF;
- border-radius: 20rpx;
- .avr{
- position: absolute;
- top: -44rpx;
- left: 28rpx;
- width: 132rpx;
- height: 132rpx;
- border-radius: 16rpx;
- }
- .title{
- font-size: 36rpx;
- font-weight: 600;
- text-align: center;
- }
- .intro{
- margin: 44rpx 0 20rpx;
- font-size: 32rpx;
- font-weight: 600;
- }
- }
- </style>
|