1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <!-- Concat.vue -->
- <template>
- <view class="div main-content" v-if="storeInfo.store_baozh">
- <flex-line :is-link="true" :show-border="true" @click.native="changeTranslateState()">
- <text>保障</text>
- </flex-line>
- </view>
- </template>
- <script>
- import { mapState, mapMutations } from 'vuex'
- import flexLine from '../../../flexLine'
- export default {
- data () {
- return {}
- },
- components:{flexLine},
- computed: {
- ...mapState({
- storeInfo: state => state.goodsdetail.storeInfo,
- })
- },
- watch: {},
- mounted () {
- this.$nextTick(() => {})
- },
- created () {},
- methods: {
- ...mapMutations({
- saveTranslateState: 'saveTranslateState',
- }),
-
- changeTranslateState () {
- this.saveTranslateState(true)
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- .main-content{padding:0 $pageSpace;background-color: #fff;}
- </style>
|