12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <template>
- <view class="myShopTour-wrap">
- <!-- 自定义标题 -->
- <u-navbar :is-back="false" :border-bottom="false" :background="background" id="navbar">
- <view class="slot-wrap">
- <view class="back-icon" @click="goBack">
- <u-icon name="arrow-left" color="#fff" size="32"></u-icon>
- </view>
- <view class="left-icon">132213</view>
- </view>
- </u-navbar>
- </view>
- </template>
- <script>
- export default{
- data(){
- return{
- background: {
- // 渐变色
- backgroundImage: 'linear-gradient(45deg, rgb(85, 170, 255), rgb(21, 102, 223))'
- },
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- page{
- background-color: #f8f8f8;
- height: calc(100vh - 44px);
- }
- .myShopTour-wrap{
- height: 100%;
- .slot-wrap {
- width: 100%;
- color: #fff;
- .left-icon{
- text-align: center;
- }
- }
- }
- </style>
|