123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <template>
- <!-- 商城订单 -->
- <view class="mall">
- <view class="mall-top"> <text class="mall-title">{{i18n.mallOrders}}</text>
- <view class="all" @click="toOrderFrom(1)"> <text>{{i18n.whole}}</text>
- <image class="right" src='../../../static/mine/right.png' mode=""></image>
- </view>
- </view>
- <view class="order-form">
- <view class="icon-center" @click="toOrderFrom(2)">
- <image class="form-icon" src='../../../static/mine/310.png' mode=""></image>
- <view class="characters">{{i18n.pendingPayment}}</view>
- </view>
- <view class="icon-center" @click="toOrderFrom(3)">
- <image class="form-icon" src='../../../static/mine/311.png' mode=""></image>
- <view class="characters">{{i18n.joiningGroups}}</view>
- </view>
- <view class="icon-center" @click="toOrderFrom(4)">
- <image class="form-icon" src='../../../static/mine/312.png' mode=""></image>
- <view class="characters">{{i18n.toBeShipped}}</view>
- </view>
- <view class="icon-center" @click="toOrderFrom(5)">
- <image class="form-icon" src='../../../static/mine/313.png' mode=""></image>
- <view class="characters">{{i18n.toBeReceived}}</view>
- </view>
- <view class="icon-center" @click="toOrderFrom(7)">
- <image class="form-icon" src='../../../static/mine/314.png' mode=""></image>
- <view class="characters">{{i18n.refund}}</view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data(){
- return {}
- },
- computed:{
- i18n(){
- return this.$t('index')
- }
- },
- methods:{
- toOrderFrom(num){
- uni.navigateTo({
- url:`/pageC/orderForm/orderForm?followId=${num}`
- })
- }
- }
- }
- </script>
- <style lang="scss">
- .mall{
- height: 100px;
- width: 100%;
- background-color: #fff;
- border-radius: 10px;
- padding-top: 14px;
- margin-top: 10px;
- .mall-top{
- display: flex;
- justify-content: space-between;
- margin: 0 10px;
- .mall-title{
- font-size: 14px;
- color: #222;
- font-weight: 600;
- }
- .all{
- color: #333;
- font-size: 12px;
- display: flex;
- align-items: center;
- .right{
- width: 10px;
- height: 10px;
- }
- }
- }
- .order-form{
- display: flex;
- justify-content: space-around;
- margin-top: 18px;
- .icon-center{
- width: 15%;
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- flex-direction: column;
- align-items: center;
- }
- .form-icon{
- width: 24px;
- height: 22px;
- }
- .characters{
- color: #202020;
- font-size: 12px;
- margin-top: 10px;
- }
- }
- }
- </style>
|